placeholder image to represent content

VPC

Quiz by Robin d.

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
20 questions
Show answers
  • Q1
    Your developers are in the process of creating a new application for your business unit. The developers work only on weekdays. To save costs, you shut down the web server (EC2 server) on the weekend and again start them on Monday. Every Monday the developers face issues while connecting to the web server. The client via which they connect to the web server stores the IP address. Since the IP address changes every week, they need to reconfigure it. What can you do to fix the problem for developers? Since your main intention is saving money, you can’t run the EC2 servers over the weekend.
    Use an EIP address with the web server.
    Use an ENI with the web server.
    Use an IPv6 IP address with the web server.
    Create the web server in the private subnet.
    120s
  • Q2
    You have created a VPC with a CIDR block of 200.0.0.0/16 with a public subnet of 20.0.0.0/24. You launched an EC2 instance in the public subnet, and you are hosting your web site from that EC2 instance. You have already configured the security groups correctly. What do you need to do from network ACLs so that the web site is accessible from your home network of 192.168.1.0/24?
    Allow inbound traffic from 192.168.1.0/24 on port 80
    Allow inbound traffic from 192.168.1.0/24 on port 443 and outbound traffic to destination 192.168.1.0/24 on 443.
    Allow inbound traffic from source 192.168.1.0/24 on port 443.
    Allow inbound traffic from 192.168.1.0/24 on port 80 and outbound traffic to destination 192.168.1.0/24 on an ephemeral port.
    120s
  • Q3
    You have created a customer subnet, but you forgot to add a route for Internet connectivity. As a result, all the web servers running in that subnet don’t have any Internet access. How will you make sure all the web servers can access the Internet?
    Attach a VPC endpoint to the subnet.
    Attach an Internet gateway to the subnet for destination 0.0.0.0/0.
    Attach a virtual private gateway to the subnet for destination 0.0.0.0/0.
    Attach an Internet gateway to the security group of EC2 instances for the destination 0.0.0.0/0.
    120s
  • Q4
    You are deploying a three-tier architecture in AWS. The web servers are going to reside in a private subnet, and the database and application servers are going to reside in a public subnet. You have chosen two AZs for high availability; thus, you are going to have two web servers, one in each AZ; two application servers, one in each AZ; and an RDS database in master standby mode where the standby database is running on a different AZ. In addition, you are using a NAT instance so that the application server and the database server can connect to the Internet if needed. You have two load balancers: one external load balancer connected to the web server and one internal load balancer connected to the application servers. What can you do to eliminate the single point of failure in this architecture?
    Use three AZs in this architecture.
    Use a NAT gateway.
    Use two external load balancer.
    Use two internal load balancers.
    120s
  • Q5
    You have going to deploy an application across six EC2 servers. You are planning to use three availability zones for deploying the EC2 instances, but your business needs 100 percent fault tolerance if any of the AZs go down. How do you ensure you are able to meet your business needs? You are planning to use us-east-1, us-east-2, and us-east-3 as AZs for deploying your application.
    Use three EC2 instances in us-east-1, three EC2 instances in us-east-2, and three EC2 instances in us-east-3.
    Use two EC2 instances in us-east-1, two EC2 instances in us-east-2, and two EC2 instances in us-east-3.
    Use four EC2 instances in us-east-1, two EC2 instances in us-east-2, and two EC2 instances in us-east-3.
    Use three EC2 instances in us-east-1, three EC2 instances in us-east-2, and zero EC2 instances in us-east-3.
    120s
  • Q6
    You are deploying a three-tier application and want to make sure the application is secured at all layers. What should you be doing to make sure it is taken care of?
    Create the web tier in the public subnet, and create the application and database tiers in a private subnet. Use HTTP for all the communication to the web tier. There is no need to encrypt the data since it is already running in AWS.
    Create the web tier in the public subnet, and create the application and database tiers in the private subnet. Use HTTP for all the communication to the web tier and encrypt the data at rest and in transit.
    Create the web tier in a public subnet, and create the application and database tiers in the private subnet. Use HTTPS for all the communication to the web tier and encrypt the data at rest and in transit.
    Create the web tier and application tier in the public subnet, and create the database tier in the private subnet. Use HTTPS for all the communication to the web tier and encrypt the data at rest and in transit.
    120s
  • Q7
    When you define a CIDR block with an IP address range, you can’t use all the IP addresses. AWS reserves a few IP addresses for its own networking purposes. How many IP addresses does AWS reserve?
    5
    2
    3
    4
    120s
  • Q8
    You have created a VPC using the VPC wizard with a CIDR block of 100.0.0.0/16. You selected a private subnet and a VPN connection using the VPC wizard and launched an EC2 instance in the private subnet. Now you need to connect to the EC2 instance via SSH. What do you need to connect to the EC2 instance?
    Allow inbound traffic on port 22 on your network.
    Create a pubic subnet and from there connect to the EC2 instance.
    Connect to the instance on a private subnet using a NAT instance.
    Allow inbound traffic on ports 80 and 22 to the private subnet.
    120s
  • Q9
    What does a public subnet have in a VPC?
    A network access control list (NACL) permitting outbound traffic to 0.0.0.0/0
    At least one route in its associated routing table that uses an Internet gateway (IGW)
    A connection with the on-premise data center
    Includes a route in its routing table for a Network Address Translation (NAT) instance
    120s
  • Q10
    You have created a VPC with the CIDR block 10.0.0.0/16 and have created a public subnet and a private subnet, 10.0.0.0/24 and 10.0.0.0/24, respectively, within it. Which entries should be present in the main route table to allow the instances in VPC to communicate with each other?
    Destination: 10.0.0.0/0 and Target ALL
    Destination: 10.0.0.0/24 and Target VPC
    Destination: 10.0.0.0/16 and Target ALL
    Destination: 10.0.0.0/16 and Target Local
    120s
  • Q11
    You want to have a static public IP address for your EC2 instance running in a public subnet. How do you achieve this?
    Attach an EIP to the instance.
    Use a public IP address.
    Use a private IP address.
    Attach an elastic load balancer with the EC2 instance and provide the ELB address.
    120s
  • Q12
    Your company is doing business in North America, and all your customers are based in the United States and Canada. You are using us-east as a primary region and using the us-west region for disaster recovery. You have a VPC in both the regions for hosting all the applications supporting the business. On weekends you are seeing a sudden spike in traffic from China. While going through the log files, you find out that some users from China are scanning the open ports to gain entry to your server. How do you restrict the users from China from connecting to your VPC?
    Using a network access control list
    Using security groups
    Using CloudTrail
    Using a VPC endpoint
    120s
  • Q13
    You just deployed a three-tier architecture in AWS. The web tier is in a public subnet, and the application and database tiers are in a private subnet. You need to download some OS updates for the application. You want a permanent solution for this, which at the same time should be highly available. What is the best way to achieve this?
    Use a NAT gateway.
    Use a VPC endpoint.
    Use a NAT instance
    Use an Internet gateway
    120s
  • Q14
    What is the range of CIDR blocks that can be used inside a VPC?
    Between /18 to /24
    Between /16 and /28
    Between /14 and /24
    Between /16 and /30
    120s
  • Q15
    You are a developing an application, and you have associated an EIP with the application tier, which is an EC2 instance. Since you are in the development cycle, you have to frequently stop and start the application server. What is going to happen to the EIP when you start/stop the application server?
    Even after the shutdown, the EIP remains associated with the instance, so no action is needed.
    After shutting down the EC2 instance, the EIP is released from your account, and you have to re-request it before you can use it.
    Every time the EC2 instance is stopped, the EIP is de-associated, and you must manually attach it whenever it is started again.
    Every time the EC2 instance is stopped, the EIP is de-associated, and a new EIP is associated when you start it.
    120s

Teachers give this quiz to your class