Courseiva

CCNA Network Design Questions

75 of 482 questions · Page 6/7 · Network Design topic · Answers revealed

376
MCQeasy

A company is designing a network for a three-tier web application. The web tier must be accessible from the internet, while the application and database tiers must be in private subnets. The company wants to minimize the number of load balancers. Which design should be used?

A.Place an internal Application Load Balancer in a private subnet and use a NAT gateway for internet access.
B.Place an internet-facing Network Load Balancer in a public subnet and use it for all tiers.
C.Place an internet-facing Application Load Balancer in a public subnet, web tier instances in public subnets, and app/database instances in private subnets.
D.Place an internet-facing Application Load Balancer in a private subnet.
AnswerC

Allows direct internet access to web tier; app tier remains private.

Why this answer

An internet-facing Application Load Balancer (ALB) in a public subnet can receive internet traffic and forward it to web tier instances in public subnets, while the application and database tiers remain in private subnets with no direct internet access. This design uses a single load balancer to handle all external traffic, minimizing the number of load balancers while maintaining security boundaries.

Exam trap

The trap here is that candidates assume all internal tiers must be in private subnets and forget that the web tier itself must be in public subnets to receive traffic from the internet-facing ALB, or they mistakenly think an internal ALB can be made internet-facing via a NAT gateway.

How to eliminate wrong answers

Option A is wrong because an internal ALB in a private subnet cannot receive traffic directly from the internet; a NAT gateway provides outbound internet access for private instances, not inbound, so the web tier would be unreachable. Option B is wrong because a Network Load Balancer (NLB) operates at Layer 4 and cannot perform content-based routing or inspect application-layer protocols, making it unsuitable for a three-tier web application that typically requires HTTP/HTTPS path-based routing. Option D is wrong because an internet-facing ALB must be placed in a public subnet to have a public IP address and route traffic from the internet; placing it in a private subnet would prevent it from receiving internet traffic.

377
MCQhard

A company is designing a network for a critical application that requires high availability across three Availability Zones in a single AWS Region. The application uses Network Load Balancers (NLBs) and Application Load Balancers (ALBs). The company must ensure that cross-zone load balancing is enabled for the NLBs and that the ALBs have a fixed response timeout. Which combination of settings meets these requirements?

A.Disable cross-zone load balancing on the ALB and set the idle timeout on the NLB.
B.Enable cross-zone load balancing on the NLB (default) and set the idle timeout on the ALB to a fixed value.
C.Disable cross-zone load balancing on the NLB and set the connection timeout on the ALB.
D.Enable cross-zone load balancing on the ALB and set the connection timeout on the NLB.
AnswerB

Correct: NLB cross-zone is on by default; ALB idle timeout is configurable.

Why this answer

Cross-zone load balancing is enabled by default on Network Load Balancers (NLBs) and ensures traffic is distributed evenly across targets in all Availability Zones, which is critical for high availability across three AZs. The idle timeout on an Application Load Balancer (ALB) is a fixed value (default 60 seconds, configurable from 1 to 4000 seconds) that controls how long the ALB keeps a connection open without data transfer, meeting the requirement for a fixed response timeout. This combination satisfies both requirements without conflicting settings.

Exam trap

The trap here is that candidates often confuse the cross-zone load balancing capability of NLBs (which can be toggled) with ALBs (which inherently distribute across AZs via target groups), and they mistakenly think ALBs have a 'connection timeout' setting when the correct term is 'idle timeout'.

How to eliminate wrong answers

Option A is wrong because disabling cross-zone load balancing on the ALB is irrelevant (ALBs do not have a cross-zone load balancing toggle; they always distribute across AZs based on the target group settings), and setting the idle timeout on the NLB does not address the ALB's fixed response timeout requirement. Option C is wrong because disabling cross-zone load balancing on the NLB would prevent even distribution of traffic across AZs, undermining high availability, and the ALB does not have a 'connection timeout' setting (it uses idle timeout). Option D is wrong because the ALB does not have a cross-zone load balancing setting to enable (it is inherent to its operation), and setting a 'connection timeout' on the NLB is not a valid configuration (NLBs use idle timeout, not connection timeout).

378
Multi-Selecthard

A company is designing a VPC with a CIDR block of 10.0.0.0/16. The VPC must support IPv6 and have subnets in three Availability Zones. The company plans to use an AWS Transit Gateway to connect multiple VPCs. Which TWO actions are required to enable IPv6 communication between VPCs through the Transit Gateway?

Select 2 answers
A.Associate an IPv6 CIDR block with the VPC and enable IPv6 on subnets.
B.Enable IPv6 support on the Transit Gateway and configure route tables to propagate IPv6 routes.
C.Use VPC endpoints to route IPv6 traffic between VPCs.
D.Attach an egress-only internet gateway to the Transit Gateway.
E.Create a NAT gateway and attach it to the Transit Gateway.
AnswersA, B

Required for IPv6 functionality.

Why this answer

To use IPv6 in a VPC, you must associate an IPv6 CIDR block (e.g., a /56 from Amazon's IPv6 pool) with the VPC and enable IPv6 on the subnets by assigning an IPv6 CIDR to each subnet. This ensures that resources in those subnets can have IPv6 addresses. Option B is also correct because to route IPv6 traffic between VPCs through a Transit Gateway, you need to configure the Transit Gateway route tables to include IPv6 routes.

Transit Gateway supports IPv6 natively; there is no separate 'enable IPv6' setting, but the route tables must have entries for the IPv6 CIDRs of the attached VPCs. Without these routes, IPv6 packets will not be forwarded. Options C, D, and E are incorrect because VPC endpoints do not route traffic between VPCs, egress-only internet gateways only allow outbound IPv6 internet access, and NAT gateways are for IPv4 only.

Exam trap

The trap here is that candidates assume Transit Gateway requires a special 'IPv6 enablement' setting or that NAT gateways or egress-only internet gateways are needed for IPv6 inter-VPC routing, when in fact IPv6 routing through Transit Gateway works identically to IPv4 routing—just with IPv6 routes in the route tables.

379
MCQeasy

A network engineer is creating an IAM policy for a DevOps team. The team needs to manage VPN connections. What is the effect of this policy?

A.Denies deletion of VPN connections.
B.Allows full management of VPN connections and associated resources.
C.Restricts access to only VPN connections.
D.Allows read-only access to VPN configurations.
AnswerB

All actions are allowed on all resources.

Why this answer

The IAM policy grants the `ec2:*` action on VPN-related resources (`*vpn*`), which includes all VPN connection operations (create, modify, delete, describe) and associated resources like VPN gateways and customer gateways. This full wildcard on VPN resources enables complete lifecycle management, making option B correct.

Exam trap

AWS often tests the misconception that a wildcard resource ARN like `*vpn*` only covers VPN connections, but it actually includes all VPN-related resources (gateways, customer gateways), and the `ec2:*` action allows all operations, not just read or limited management.

How to eliminate wrong answers

Option A is wrong because the policy does not explicitly deny deletion; it allows all actions on VPN resources, including deletion. Option C is wrong because the policy uses a wildcard (`*vpn*`) that covers VPN connections, VPN gateways, and customer gateways, not just VPN connections. Option D is wrong because the policy grants full management actions (e.g., `CreateVpnConnection`, `DeleteVpnConnection`), not just read-only access like `DescribeVpnConnections`.

380
MCQmedium

A company has a VPC with public and private subnets. They launch an EC2 instance in a private subnet and need it to access the internet. Which combination of components is required?

A.A NAT Gateway in a public subnet and a default route (0.0.0.0/0) in the private subnet's route table pointing to the NAT Gateway
B.A NAT instance in the private subnet with a route to an Internet Gateway
C.A VPC Gateway Endpoint for S3 in the private subnet
D.An Internet Gateway (IGW) attached to the VPC and a default route (0.0.0.0/0) in the private subnet's route table pointing to the IGW
AnswerA

This allows instances in private subnets to initiate outbound internet traffic through the NAT Gateway.

Why this answer

A NAT Gateway in a public subnet provides outbound-only internet access for instances in private subnets. A default route (0.0.0.0/0) in the private subnet's route table pointing to the NAT Gateway ensures traffic destined for the internet is forwarded to the NAT Gateway, which then translates the source IP to its own Elastic IP and sends the traffic through the Internet Gateway (IGW) attached to the public subnet. This combination allows the EC2 instance to initiate outbound connections (e.g., for software updates) while remaining unreachable from the internet.

Exam trap

The trap here is that candidates often confuse a NAT Gateway with a NAT instance, assuming both can be placed in any subnet, or they incorrectly think a default route to an IGW in a private subnet provides outbound-only access, not realizing the IGW enables bidirectional traffic and thus exposes the instance.

How to eliminate wrong answers

Option B is wrong because a NAT instance must be placed in a public subnet (not a private subnet) to have a route to an Internet Gateway; placing it in a private subnet would prevent it from reaching the internet. Option C is wrong because a VPC Gateway Endpoint for S3 only provides private connectivity to S3 and DynamoDB, not general internet access. Option D is wrong because a default route to an Internet Gateway in a private subnet would directly expose the instance to the internet (since the IGW allows bidirectional traffic), violating the security requirement of keeping the instance private.

381
Multi-Selectmedium

A company is designing a network architecture for a critical application that must be highly available across AWS Regions. The application uses an Application Load Balancer (ALB) in each Region, and the company wants to use a global DNS name that automatically routes traffic to the healthy Region with the lowest latency. The company also needs to be able to perform planned failover for maintenance. Which THREE components are required to meet these requirements?

Select 3 answers
A.Amazon Route 53 geolocation routing policy
B.Amazon Route 53 failover routing policy
C.Amazon Route 53 weighted routing policy for each ALB endpoint
D.Amazon Route 53 latency-based routing policy
E.Amazon Route 53 health checks for each ALB endpoint
AnswersC, D, E

Weighted records allow manual traffic shifting for maintenance.

Why this answer

The correct components are a latency-based routing policy to automatically route to the lowest latency healthy region, health checks to determine endpoint health, and a weighted routing policy to enable planned failover by adjusting weights. While latency and weighted routing policies cannot be used simultaneously on the same record set, the question tests the knowledge of the required policies: latency for automatic routing, health checks for failover, and weighted for manual traffic shifting during maintenance. In practice, you would implement latency-based routing with health checks, and for planned maintenance, you would temporarily change the routing policy to weighted or use a separate record.

Exam trap

The ANS-C01 exam often tests the misconception that you can combine multiple routing policies (like latency and weighted) on the same Route 53 record set, but in reality, you cannot. The correct architecture uses latency-based routing with health checks for automatic failover, and a separate weighted routing policy (or a routing policy change) for planned failover.

382
Multi-Selectmedium

A company is migrating a legacy application to AWS. The application requires multicast traffic between EC2 instances in the same VPC. Which AWS service can support this requirement?

Select 1 answer
A.AWS VPC Lattice
B.Network Load Balancer (NLB)
C.Application Load Balancer (ALB)
E.AWS Transit Gateway multicast domain
AnswersE

Correct. AWS Transit Gateway multicast domains allow multicast traffic between EC2 instances in the same VPC or across attached VPCs.

Why this answer

AWS Transit Gateway multicast domains are the only native AWS service that supports multicast traffic between EC2 instances within a VPC. AWS VPC Lattice does not support multicast; it provides service-to-service connectivity using HTTP/HTTPS and TCP. NLB, ALB, and GWLB are load balancers that distribute traffic but do not support multicast.

Exam trap

A common trap is assuming that VPC Lattice supports multicast because it handles service-to-service communication, but it only supports unicast. Another trap is thinking that load balancers can handle multicast. Only Transit Gateway multicast domains provide native multicast support in AWS.

383
MCQmedium

A network engineer is designing a hybrid network architecture that connects an on-premises data center to AWS using AWS Direct Connect. The company requires high availability and wants to minimize operational overhead. The on-premises network uses BGP to advertise routes to AWS. Which design meets these requirements?

A.Provision two Direct Connect connections to two different Direct Connect locations, each with a private VIF to the same VPC. Use BGP over the VIFs.
B.Provision one Direct Connect connection with a private VIF and a site-to-site VPN connection as a backup.
C.Provision one Direct Connect connection with two virtual interfaces (VIFs) to the same AWS device.
D.Provision two Direct Connect connections to the same Direct Connect location, both with private VIFs to the same VPC.
AnswerA

This provides physical and logical diversity, achieving high availability with minimal operational overhead.

Why this answer

Provisioning two Direct Connect connections to two different Direct Connect locations ensures physical and path diversity, eliminating single points of failure. Using BGP over the private VIFs allows dynamic route advertisement and automatic failover, meeting high availability requirements while minimizing operational overhead through managed BGP sessions.

Exam trap

AWS often tests the misconception that multiple VIFs on a single connection or connections to the same location provide sufficient redundancy, but true high availability requires physical and geographic diversity at the connection level.

How to eliminate wrong answers

Option B is wrong because a site-to-site VPN backup over the internet introduces higher latency, lower reliability, and additional operational overhead compared to a second Direct Connect connection, and it does not meet the requirement to minimize operational overhead. Option C is wrong because two VIFs on the same Direct Connect connection share the same physical link and AWS device, creating a single point of failure that violates high availability. Option D is wrong because two Direct Connect connections to the same location share the same facility and potential upstream failures, lacking the geographic diversity needed for true high availability.

384
MCQeasy

A company has a VPC with a CIDR of 10.0.0.0/16 and needs to peer with another VPC that has CIDR 10.0.0.0/16. What is the issue and how can it be resolved?

A.The VPCs can be peered if you enable DNS resolution.
B.The VPCs have overlapping CIDRs, so they cannot be directly peered. You must re-IP one VPC or use a NAT solution.
C.Use a Transit Gateway to connect the VPCs, which supports overlapping CIDRs.
D.Use a Direct Connect Gateway to connect the VPCs, which ignores CIDR overlap.
AnswerB

Correct: Overlapping CIDRs are not allowed.

Why this answer

VPC peering requires non-overlapping CIDR blocks because the route tables in each VPC must have distinct destination prefixes to route traffic correctly. When both VPCs use 10.0.0.0/16, the routes are identical, causing ambiguity and preventing the peering connection from being established. The only resolution is to change the CIDR of one VPC or use a NAT-based solution to translate addresses.

Exam trap

The trap here is that candidates assume a Transit Gateway or Direct Connect Gateway can magically handle overlapping CIDRs, but AWS requires unique CIDRs for direct routing between VPCs unless you introduce NAT or translation layers.

How to eliminate wrong answers

Option A is wrong because enabling DNS resolution does not resolve CIDR overlap; DNS resolution only allows private DNS hostname resolution across peered VPCs, not address space conflicts. Option C is wrong because AWS Transit Gateway also requires non-overlapping CIDRs for direct routing between attached VPCs; it does not support overlapping CIDRs without additional NAT or translation mechanisms. Option D is wrong because a Direct Connect Gateway is used for connecting on-premises networks to multiple VPCs, not for VPC-to-VPC peering, and it does not ignore CIDR overlap—overlapping CIDRs still cause routing conflicts.

385
Multi-Selecthard

A company is designing a network for a global application that requires low latency between users and application servers. They plan to use multiple AWS regions and want to route users to the nearest healthy endpoint. Which THREE services should they use together? (Select THREE.)

Select 3 answers
A.Amazon CloudFront
B.Amazon Route 53 with latency-based routing
C.AWS Global Accelerator
D.AWS WAF
E.Application Load Balancer in each region
AnswersA, B, C

Correct: Caches content at edge, reducing latency.

Why this answer

Amazon CloudFront is correct because it provides a global content delivery network (CDN) that caches static and dynamic content at edge locations, reducing latency by serving users from the nearest edge. It integrates with AWS origins (like ALBs) and can route requests to the closest healthy origin, supporting low-latency delivery for global applications.

Exam trap

The ANS-C01 exam often tests the misconception that a single service (like CloudFront or Route 53 alone) can solve global latency, but the correct answer requires combining three complementary services—CloudFront for caching, Route 53 for DNS-based routing, and Global Accelerator for network path optimization—to fully address the requirement of routing users to the nearest healthy endpoint.

386
MCQhard

A company has a Direct Connect connection with a private VIF to a VPC. The VPC has a virtual private gateway attached. The on-premises network advertises a specific route 10.0.0.0/16, but the VPC uses the same CIDR 10.0.0.0/16. The company requires connectivity to the VPC from on-premises but cannot change the VPC CIDR. What is the most cost-effective solution?

A.Use VPC peering between the on-premises network and the VPC.
B.Set up a Direct Connect Gateway and attach the VPC and on-premises networks.
C.Create a Transit Gateway with a VPN attachment to on-premises and use route table separation.
D.Create a new VPC with a different CIDR and migrate workloads.
AnswerC

Transit Gateway can manage overlapping CIDRs with multiple route tables.

Why this answer

A Transit Gateway with a VPN attachment allows you to use route table separation to isolate the overlapping CIDR (10.0.0.0/16) between the on-premises network and the VPC. By creating separate route tables for the VPN attachment and the VPC attachment, you can control traffic flow and avoid routing conflicts without changing the VPC CIDR. This is the most cost-effective solution as it leverages existing VPN connectivity and avoids the expense of migrating workloads or provisioning additional infrastructure.

Exam trap

AWS often tests the misconception that Direct Connect or VPC peering can handle overlapping CIDRs, but the trap here is that only a Transit Gateway with route table separation (or a similar overlay mechanism like VPN with BGP communities) can resolve CIDR conflicts without changing the network addressing.

How to eliminate wrong answers

Option A is wrong because VPC peering requires non-overlapping CIDR blocks; overlapping CIDRs (10.0.0.0/16 on both sides) prevent VPC peering from being established. Option B is wrong because a Direct Connect Gateway does not resolve overlapping CIDR conflicts; it simply extends connectivity and would still cause routing ambiguity between the on-premises network and the VPC. Option D is wrong because creating a new VPC and migrating workloads is not cost-effective; it incurs significant operational overhead and downtime, whereas a Transit Gateway with route table separation provides a cheaper, less disruptive solution.

387
MCQeasy

A company is deploying a multi-region Active-Active application using Amazon Route 53 latency-based routing. The application runs on EC2 instances behind Network Load Balancers (NLBs) in two AWS regions. The health checks are configured for the NLBs. What should the company do to ensure that traffic is sent only to healthy endpoints?

A.Use Route 53 latency-based routing and associate health checks.
B.Use Route 53 geolocation routing and associate health checks.
C.Use Route 53 weighted routing and associate health checks.
D.Use Route 53 failover routing with primary and secondary records.
AnswerA

Latency routing combined with health checks sends traffic only to healthy endpoints with the lowest latency.

Why this answer

Route 53 latency-based routing directs traffic to the region with the lowest latency for the user. By associating health checks with the latency records, Route 53 automatically excludes any endpoint that fails its health check (e.g., an unhealthy NLB) from DNS responses, ensuring traffic is sent only to healthy endpoints. This meets the requirement for an Active-Active multi-region setup where both regions serve traffic simultaneously.

Exam trap

The trap here is that candidates often confuse latency-based routing with failover routing, assuming failover is required for health checks, but latency-based routing with health checks supports Active-Active while failover routing is strictly Active-Passive.

How to eliminate wrong answers

Option B is wrong because geolocation routing directs traffic based on the user's geographic location, not latency, and does not inherently support Active-Active failover across regions; it can still send traffic to an unhealthy endpoint if health checks are not properly associated, but the core issue is that it doesn't optimize for latency. Option C is wrong because weighted routing distributes traffic based on assigned weights, not latency, and while it can use health checks, it does not provide the latency-based optimization required for an Active-Active multi-region application. Option D is wrong because failover routing is designed for Active-Passive setups, where only one endpoint is active at a time; it does not support Active-Active traffic distribution across multiple regions.

388
MCQhard

A company is deploying a multi-tier web application across multiple Availability Zones in a single Region. The web tier must be fault-tolerant and distribute traffic across EC2 instances. The application tier uses an Auto Scaling group of EC2 instances that need to be accessed by the web tier using a static IP address. Which combination of AWS services meets these requirements?

A.Classic Load Balancer for the web tier and Application Load Balancer for the application tier
B.Application Load Balancer for the web tier and Network Load Balancer for the application tier
C.AWS Global Accelerator for the web tier and Classic Load Balancer for the application tier
D.Network Load Balancer for the web tier and Application Load Balancer for the application tier
AnswerB

ALB provides content-based routing for web tier; NLB provides static IP for application tier.

Why this answer

The web tier requires fault tolerance and traffic distribution across EC2 instances, which is best handled by an Application Load Balancer (ALB) operating at Layer 7 with path-based routing and health checks. The application tier needs a static IP address for the web tier to access it, which is a key feature of a Network Load Balancer (NLB) — it preserves the client IP and provides static IP addresses per Availability Zone, unlike ALBs which use dynamic IPs. This combination meets both requirements: ALB for web traffic distribution and NLB for static IP access to the application tier.

Exam trap

The trap here is that candidates often assume a load balancer for the web tier must be a Network Load Balancer for static IPs, but the requirement for static IPs applies to the application tier, not the web tier, and they overlook that ALBs are the standard for Layer 7 web traffic distribution.

How to eliminate wrong answers

Option A is wrong because a Classic Load Balancer (CLB) is a legacy option that lacks advanced Layer 7 features and does not provide static IP addresses for the application tier, making it unsuitable for modern multi-tier architectures. Option C is wrong because AWS Global Accelerator is designed for global traffic optimization and static IP assignment at the edge, not for distributing traffic across EC2 instances within a single Region's web tier; additionally, a Classic Load Balancer for the application tier does not provide static IP addresses. Option D is wrong because a Network Load Balancer for the web tier is unnecessary — it operates at Layer 4 and does not offer the Layer 7 features (e.g., path-based routing, host-based routing) typically required for a web tier, while an Application Load Balancer for the application tier does not provide static IP addresses, which is the explicit requirement.

389
MCQmedium

A company is designing a hybrid network architecture that requires a dedicated, private, and consistent connection between its on-premises data center and AWS. The connection must support multiple VLANs and provide a service-level agreement (SLA) of 99.99% availability. Which AWS service should be used to meet these requirements?

A.AWS Direct Connect
B.AWS Transit Gateway
C.AWS Client VPN
D.AWS Site-to-Site VPN
AnswerA

Correct; AWS Direct Connect provides a dedicated, private, high-bandwidth connection with support for multiple VLANs and an SLA.

Why this answer

AWS Direct Connect is the correct choice because it provides a dedicated, private, and consistent network connection from an on-premises data center to AWS, bypassing the public internet. It supports multiple VLANs via 802.1Q tagging over a single physical connection, and offers a 99.99% service-level agreement (SLA) when configured with redundant connections at separate Direct Connect locations.

Exam trap

AWS often tests the misconception that AWS Transit Gateway itself provides the dedicated connection, but it is only a logical aggregation point and requires Direct Connect or VPN as the underlying transport to meet the physical connectivity and SLA requirements.

How to eliminate wrong answers

Option B (AWS Transit Gateway) is wrong because it is a network transit hub that interconnects VPCs and on-premises networks, but it does not provide the physical dedicated connection itself; it relies on an underlying transport like Direct Connect or VPN. Option C (AWS Client VPN) is wrong because it is a managed remote access VPN solution for individual clients, not a dedicated site-to-site connection, and it does not support multiple VLANs or offer a 99.99% SLA. Option D (AWS Site-to-Site VPN) is wrong because it uses the public internet and IPsec tunnels, which cannot guarantee a 99.99% SLA and does not provide a dedicated, private connection with consistent latency.

390
Multi-Selecthard

Which TWO options are valid methods to connect a VPC to an on-premises network? (Choose two.)

Select 2 answers
A.AWS Site-to-Site VPN
B.Internet Gateway
C.AWS Direct Connect
D.VPC endpoint
E.VPC peering
AnswersA, C

Creates a secure VPN tunnel over the internet.

Why this answer

AWS Site-to-Site VPN creates an encrypted tunnel between a virtual private gateway or transit gateway in your VPC and a customer gateway device in your on-premises network. It uses IPsec (IKEv1 or IKEv2) to secure traffic over the public internet, making it a valid and common method for hybrid connectivity.

Exam trap

The ANS-C01 exam often tests the misconception that an Internet Gateway can be used for private on-premises connectivity, but it only provides public internet access; similarly, candidates confuse VPC endpoints or VPC peering as methods to reach on-premises networks, which they are not.

391
Multi-Selectmedium

A company is designing a VPC with the following requirements: (1) Ability to connect to on-premises via AWS Direct Connect with BGP, (2) Ability to route traffic between multiple VPCs, (3) Centralized inspection of traffic between VPCs. Which AWS services should the company use? (Choose TWO.)

Select 2 answers
A.VPC peering connections
B.VPC endpoints
C.AWS Transit Gateway
D.Direct Connect Gateway
E.AWS Site-to-Site VPN
AnswersC, D

Central hub for inter-VPC routing and inspection.

Why this answer

AWS Transit Gateway (C) is correct because it acts as a central hub to interconnect multiple VPCs and on-premises networks, enabling transitive routing between all attached networks. It supports centralized traffic inspection by routing VPC-to-VPC traffic through a shared inspection VPC (e.g., with a firewall appliance) using route tables and attachments.

Exam trap

AWS often tests the misconception that VPC peering can be used for transitive routing or centralized inspection, but peering is non-transitive and requires full-mesh connectivity, making Transit Gateway the correct hub solution.

392
MCQmedium

A company is deploying a multi-tier web application across three Availability Zones in a single AWS Region. The web tier must be fault-tolerant and scale horizontally. Which network design provides the highest availability and scalability?

A.Deploy a single EC2 instance in one Availability Zone with an Elastic IP address.
B.Use an Application Load Balancer in front of an Auto Scaling group spanning three Availability Zones.
C.Deploy EC2 instances in a single Availability Zone and use Route 53 weighted routing.
D.Use a Network Load Balancer with a single EC2 instance in each AZ.
AnswerB

ALB distributes traffic across multiple AZs and instances, providing fault tolerance and scalability.

Why this answer

An Application Load Balancer (ALB) distributes incoming HTTP/HTTPS traffic across multiple targets, and when combined with an Auto Scaling group that spans three Availability Zones, it provides both horizontal scalability and fault tolerance. If one AZ fails, the ALB automatically routes traffic only to healthy instances in the remaining AZs, ensuring high availability. This design meets the requirement for a multi-tier web application that must scale horizontally and tolerate failures.

Exam trap

The trap here is that candidates may choose Option D thinking a Network Load Balancer is always better for performance, but they overlook that the question requires horizontal scalability and fault tolerance, which an ALB with Auto Scaling provides, whereas a static single-instance-per-AZ design cannot scale dynamically.

How to eliminate wrong answers

Option A is wrong because a single EC2 instance with an Elastic IP address in one Availability Zone is a single point of failure; if the instance or AZ fails, the application becomes unavailable, and it cannot scale horizontally. Option C is wrong because deploying EC2 instances in a single Availability Zone with Route 53 weighted routing does not provide fault tolerance; if that AZ fails, all instances are lost, and weighted routing cannot reroute traffic to other AZs. Option D is wrong because a Network Load Balancer with a single EC2 instance per AZ does not provide horizontal scalability; each AZ has only one instance, so you cannot scale out by adding more instances within an AZ, and the design lacks the elasticity of an Auto Scaling group.

393
Multi-Selectmedium

A company is designing a hybrid network using AWS Direct Connect. They want to ensure high availability and minimize downtime. Which TWO actions should they take?

Select 2 answers
A.Set up a site-to-site VPN as a backup for the Direct Connect connection
B.Use a single customer router for both connections
C.Provision a single Direct Connect connection with two virtual interfaces
D.Provision Direct Connect connections at two different Direct Connect locations
E.Use the same BGP ASN on both Direct Connect connections
AnswersA, D

VPN provides a backup path if Direct Connect fails.

Why this answer

A site-to-site VPN provides a cost-effective, encrypted backup path over the internet if the Direct Connect connection fails. This ensures high availability by maintaining connectivity through an alternate path, which is a best practice for hybrid network designs.

Exam trap

The trap here is that candidates often think a single Direct Connect connection with multiple virtual interfaces provides redundancy, but it does not protect against physical link failure; true high availability requires diverse physical connections and a backup path like VPN.

394
MCQeasy

A company wants to ensure that traffic between two VPCs in the same region is encrypted and does not traverse the public internet. Which solution meets these requirements?

A.Configure VPC Peering between the two VPCs
B.Create VPC Endpoints in each VPC for the other VPC's CIDR
C.Use an AWS Transit Gateway to route traffic between the VPCs
D.Establish an AWS Site-to-Site VPN connection between the VPCs [CORRECT]
AnswerD

A Site-to-Site VPN uses IPsec encryption and stays within AWS's private network, meeting both requirements.

Why this answer

A Site-to-Site VPN connection (Option D) is correct because it uses IPsec tunnels to encrypt traffic between VPCs, and the traffic stays within AWS's private network infrastructure, never traversing the public internet. VPC Peering (Option A) does not encrypt traffic; it only provides a private Layer 3 connection with no encryption. Transit Gateway (Option C) routes traffic but lacks built-in encryption without additional VPN attachments.

VPC Endpoints (Option B) are used for accessing AWS services privately, not for inter-VPC routing.

Exam trap

A common mistake is selecting VPC Peering because it provides a private connection, but it does not encrypt traffic. The question requires encryption, so VPC Peering alone is insufficient.

How to eliminate wrong answers

Option B is wrong because VPC Endpoints (Gateway or Interface endpoints) are used to privately connect a VPC to AWS services (like S3 or DynamoDB) or to other VPCs via PrivateLink, not to route traffic between two VPCs' CIDR blocks; they cannot replace a peering or transit routing function. Option C is wrong because AWS Transit Gateway provides centralized routing between VPCs but does not inherently encrypt traffic; it only routes traffic over the AWS backbone, and encryption would require an additional VPN attachment or IPsec configuration. Option D is wrong because an AWS Site-to-Site VPN connection is designed to connect an on-premises network to a VPC, not to connect two VPCs directly; using it for VPC-to-VPC connectivity would require complex, non-standard configurations and still relies on internet gateways or virtual private gateways, potentially exposing traffic to the public internet.

395
MCQeasy

A company has a VPC with a CIDR block of 10.0.0.0/16. They have a public subnet (10.0.1.0/24) and a private subnet (10.0.2.0/24). They have an internet gateway attached to the public subnet. They deploy a web server on an EC2 instance in the public subnet and a database on an EC2 instance in the private subnet. The database should only be accessible from the web server. The company wants to secure the database by not assigning a public IP address to it. Which configuration will allow the web server to connect to the database?

A.Create a VPC Peering connection between the public and private subnets
B.Assign a public IP address to the database instance and configure the security group to allow inbound traffic from the web server's public IP
C.Keep the database instance in the private subnet with no public IP, and configure the security group of the database to allow inbound traffic from the web server's security group on the database port
D.Set up a VPN connection between the web server and the database
AnswerC

Instances can communicate via private IPs within the same VPC.

Why this answer

Security groups in AWS can reference other security groups as a source, allowing traffic from any instance associated with the source security group. By configuring the database's security group to allow inbound traffic on the database port from the web server's security group, the web server can connect to the database without the database needing a public IP address. This leverages AWS's built-in security group chaining, which works across subnets within the same VPC.

Exam trap

AWS often tests the misconception that subnets in the same VPC need explicit routing or peering to communicate, but in reality, all subnets within a VPC are implicitly routable via the VPC's main route table, so security group configuration is the correct approach for access control.

How to eliminate wrong answers

Option A is wrong because VPC Peering connects separate VPCs, not subnets within the same VPC; subnets in the same VPC are already routable via the VPC's route tables. Option B is wrong because assigning a public IP to the database violates the requirement to not assign a public IP, and it exposes the database to the internet unnecessarily, increasing the attack surface. Option D is wrong because a VPN connection is used to connect on-premises networks or remote clients to a VPC, not to connect two instances within the same VPC, and it adds unnecessary complexity and latency.

396
MCQhard

A network engineer is designing a hybrid network using AWS Transit Gateway with multiple VPCs and an on-premises data center connected via AWS Direct Connect. The VPCs need to communicate with each other and with on-premises, but must isolate development VPCs from production VPCs. What is the MOST scalable and cost-effective approach?

A.Use a single Transit Gateway with one route table for all VPCs and on-premises, and use network ACLs for isolation.
B.Create VPC peering connections between all VPCs and a Direct Connect gateway for on-premises connectivity.
C.Use a VPN connection from each VPC to on-premises over Direct Connect, and allow VPC communication via VPN.
D.Use a single Transit Gateway with separate route tables for development and production VPCs, and a shared route table for on-premises attachment.
AnswerD

Separate route tables enforce isolation; shared table allows on-premises access.

Why this answer

A single Transit Gateway with separate route tables allows you to isolate development and production VPCs from each other while sharing a common route table for the Direct Connect attachment to reach on-premises. This design is highly scalable (no mesh of peering connections) and cost-effective (no per-VPN-tunnel charges), leveraging Transit Gateway’s native segmentation and centralized routing.

Exam trap

The trap here is that candidates assume a single Transit Gateway cannot isolate traffic, but AWS Transit Gateway supports multiple route tables per gateway, enabling logical segmentation without separate transit gateways or complex ACLs.

How to eliminate wrong answers

Option A is wrong because using a single route table for all attachments would allow traffic to flow between development and production VPCs, and network ACLs are stateless, cumbersome to manage at scale, and cannot provide the same isolation as separate route tables. Option B is wrong because VPC peering creates a full mesh that does not scale (O(n²) connections) and does not natively support transitive routing, requiring a Direct Connect gateway for on-premises but still lacking isolation between VPCs without complex route table manipulation. Option C is wrong because establishing a VPN from each VPC to on-premises over Direct Connect adds unnecessary cost and complexity (per-VPN tunnel charges, BGP configuration), and does not provide a mechanism for VPC-to-VPC communication without additional transit or peering.

397
MCQmedium

A company is designing a multi-region active-active architecture for a web application using Application Load Balancers (ALBs) and AWS Global Accelerator. The application must provide low-latency access to users worldwide and automatically route traffic to healthy endpoints. Which design should be used?

A.Use Amazon CloudFront with multiple origins pointing to ALBs in each region and configure origin failover.
B.Use Amazon Route 53 latency-based routing with health checks to route traffic to ALBs in each region.
C.Deploy a single ALB with multiple target groups across regions using cross-zone load balancing.
D.Deploy Global Accelerator with endpoints in each region (ALBs) and configure health checks to route traffic to healthy endpoints.
AnswerD

Global Accelerator uses anycast IPs and health checks for optimal routing to healthy endpoints.

Why this answer

Global Accelerator uses the AWS global network and Anycast IPs to direct traffic to the nearest healthy endpoint, providing low-latency access and automatic failover across regions. By configuring ALBs as endpoints in each region with health checks, Global Accelerator ensures traffic is routed only to healthy endpoints, meeting the active-active multi-region requirement.

Exam trap

The ANS-C01 exam often tests the misconception that DNS-based routing (Route 53) can achieve the same low-latency and fast failover as Global Accelerator, but candidates overlook the impact of DNS TTLs and client-side caching on failover speed and routing consistency.

How to eliminate wrong answers

Option A is wrong because CloudFront with multiple origins and origin failover is designed for static and dynamic content delivery with failover, but it does not provide the low-latency, active-active traffic routing across regions that Global Accelerator offers; CloudFront's origin failover is primarily for origin redundancy, not real-time multi-region load balancing. Option B is wrong because Route 53 latency-based routing with health checks can route traffic to the region with the lowest latency, but it relies on DNS caching and TTLs, which can cause delayed failover and inconsistent routing, making it unsuitable for the sub-second failover and active-active requirements of this architecture. Option C is wrong because a single ALB cannot have target groups across different regions; cross-zone load balancing only distributes traffic across targets within the same region and Availability Zone, not across regions.

398
Multi-Selectmedium

A company is designing a VPC with multiple subnets. They want to ensure that EC2 instances in a private subnet can access S3 buckets without going through a NAT Gateway or Internet Gateway. Which TWO methods can accomplish this?

Select 2 answers
A.Set up a VPN connection to S3
B.Create a Gateway VPC Endpoint for S3
C.Use AWS Direct Connect to access S3
D.Create an Interface VPC Endpoint for S3
E.Attach an Internet Gateway and use a NAT Gateway
AnswersB, D

Allows private subnet instances to access S3 without internet.

Why this answer

A Gateway VPC Endpoint for S3 allows EC2 instances in a private subnet to access S3 buckets privately using AWS’s internal network, without requiring an Internet Gateway or NAT Gateway. It uses prefix lists and route table entries to direct S3 traffic through the endpoint, leveraging the AWS global network for secure, low-latency access.

Exam trap

AWS often tests the misconception that only Gateway VPC Endpoints can access S3 privately, but Interface VPC Endpoints are also valid and are the correct answer when the question specifies 'multiple subnets' or 'on-premises connectivity' as a requirement.

399
MCQmedium

A company has a VPC with multiple subnets. They want to capture and analyze network traffic between EC2 instances in the same VPC for troubleshooting. Which AWS service should be used?

A.VPC Flow Logs
B.AWS CloudTrail
C.AWS Config
D.Amazon CloudWatch Metrics
AnswerA

Captures network traffic metadata for analysis.

Why this answer

VPC Flow Logs capture IP traffic metadata (source/destination IP, ports, protocol, packet/byte counts) at the VPC, subnet, or network interface level, enabling detailed analysis of traffic between EC2 instances within the same VPC. This is the correct service because it provides the network-level visibility needed for troubleshooting traffic flows without requiring agents or changes to the instances.

Exam trap

The trap here is that candidates confuse VPC Flow Logs with CloudTrail, thinking CloudTrail captures network traffic because it logs 'events,' but CloudTrail only logs AWS API calls, not the data-plane traffic between instances.

How to eliminate wrong answers

Option B (AWS CloudTrail) is wrong because it records API calls and management events, not network traffic flows; it cannot capture the actual IP packets or metadata between EC2 instances. Option C (AWS Config) is wrong because it evaluates resource configurations and compliance rules, not network traffic; it tracks changes to resources like security groups but does not log traffic flows. Option D (Amazon CloudWatch Metrics) is wrong because it collects performance metrics (e.g., CPU, network throughput) but does not capture per-flow metadata such as source/destination IPs, ports, or protocols needed for traffic analysis.

400
Multi-Selecthard

A company has a VPC with a CIDR of 10.0.0.0/16. They have created a VPC peering connection with another VPC (CIDR 10.1.0.0/16). They want to enable DNS resolution between the VPCs. Which TWO actions must be taken?

Select 2 answers
A.The requester must accept the peering connection with the 'Enable DNS Resolution' option checked.
B.Both VPCs must have the 'Enable DNS Resolution' attribute set to true in their VPC settings.
C.Ensure both VPCs are in the same AWS region.
D.The accepter must modify the peering connection to enable DNS resolution from their side.
E.The route tables must include a route for the peered VPC's CIDR.
AnswersB, D

Correct. Both VPCs must have the EnableDnsHostnames and EnableDnsSupport attributes set to true to support DNS resolution.

Why this answer

To enable DNS resolution across a VPC peering connection, two conditions must be met. First, both VPCs must have the 'Enable DNS Resolution' attribute set to true in their VPC settings, which requires both EnableDnsHostnames and EnableDnsSupport to be enabled (Option B). Second, the VPC peering connection itself must have DNS resolution enabled.

This can be done by the accepter when accepting the peering connection or later by modifying the peering connection (Option D). Option A is incorrect because the requester does not accept the peering connection; the accepter does. Option C is not required for DNS resolution.

Option E (route table entries) is necessary for connectivity but not specifically for DNS resolution.

Exam trap

A common pitfall is assuming the requester can enable DNS resolution by checking the option when creating the peering connection. In reality, the accepter must enable it when accepting or later. Also, candidates may forget to enable the VPC DNS attributes.

401
MCQhard

A company is deploying a web application across multiple AWS Regions using an Application Load Balancer (ALB) in each Region. The company wants to use AWS Global Accelerator to provide a static IP address and accelerate traffic. The application requires that client IP addresses be preserved in the backend logs. Which configuration should the network engineer use?

A.Use Network Load Balancers as endpoints in Global Accelerator.
B.Use VPC endpoints and AWS PrivateLink to route traffic through the Global Accelerator.
C.Use Amazon CloudFront in front of the ALBs with origin protocol policy set to HTTPS.
D.Use Application Load Balancers as endpoints and enable X-Forwarded-For header logging.
AnswerA

NLB preserves source IP addresses when used as a Global Accelerator endpoint.

Why this answer

AWS Global Accelerator preserves the client IP address when using a Network Load Balancer (NLB) as an endpoint. Global Accelerator uses the Proxy Protocol v2 to pass the original client IP to the NLB, which then forwards it to the backend targets. This meets the requirement for client IP preservation in backend logs.

Exam trap

The trap here is that candidates often assume Application Load Balancers can preserve client IPs via X-Forwarded-For headers, but Global Accelerator's architecture changes the source IP at the network layer, making Proxy Protocol with an NLB the only way to preserve the original client IP in the packet itself.

How to eliminate wrong answers

Option B is wrong because VPC endpoints and AWS PrivateLink are used for private connectivity to services over the AWS network, not for providing static IP addresses or accelerating traffic with Global Accelerator. Option C is wrong because Amazon CloudFront does not provide static IP addresses; it uses a distributed network of edge locations with dynamic IPs, and it does not preserve the original client IP by default without additional configuration like X-Forwarded-For headers, which are not sufficient for backend log preservation in this context. Option D is wrong because Application Load Balancers as endpoints in Global Accelerator do not preserve the client IP address; Global Accelerator terminates the original client connection and replaces the source IP with its own, and while X-Forwarded-For headers can carry the client IP, the requirement is for the actual source IP to be preserved in the packet, which ALBs cannot achieve with Global Accelerator.

402
MCQhard

A company has a large VPC with multiple workloads. They need to isolate development and production environments within the same VPC, but allow limited communication between them via specific ports. Which approach meets these requirements?

A.Place dev and prod in the same subnet and use security groups to filter traffic.
B.Use a single subnet and rely on network ACLs to separate traffic.
C.Create separate subnets for dev and prod, use network ACLs to allow only specific ports between them.
D.Create two VPCs and use VPC peering to allow communication.
AnswerC

Network ACLs are stateless and can control traffic between subnets effectively.

Why this answer

Placing development and production workloads in separate subnets allows you to apply stateless network ACLs at the subnet boundary. Network ACLs can explicitly allow only specific ports (e.g., TCP 443) between the subnets while blocking all other traffic, providing a clear isolation boundary within the same VPC. Security groups alone cannot enforce inter-subnet filtering because they are stateful and applied at the instance level, not at the subnet edge.

Exam trap

The trap here is that candidates often confuse the stateless behavior of network ACLs with the stateful behavior of security groups, leading them to choose Option A or B, thinking that security groups can enforce subnet-level isolation or that a single subnet with ACLs can separate internal traffic.

How to eliminate wrong answers

Option A is wrong because placing dev and prod in the same subnet and relying on security groups does not provide subnet-level isolation; security groups are stateful and applied per instance, so they cannot prevent traffic between instances in the same subnet that are not associated with the security group, and they do not filter traffic at the subnet boundary. Option B is wrong because using a single subnet with network ACLs is ineffective; network ACLs are applied at the subnet level, but if all instances are in the same subnet, the ACL applies equally to all traffic entering or leaving that subnet, so it cannot differentiate between dev and prod traffic within the same subnet. Option D is wrong because creating two VPCs with VPC peering is an over-engineered solution that adds complexity (e.g., route table entries, cross-account considerations) and does not meet the requirement of isolating environments within the same VPC; VPC peering also does not provide native filtering—you would still need separate ACLs or security groups to limit communication.

403
MCQmedium

A company has a VPC with public and private subnets in three Availability Zones. They want to provide outbound internet access to instances in private subnets while preventing inbound traffic from the internet. Which solution meets these requirements with the least operational overhead?

A.Deploy a NAT instance in a public subnet and configure the private subnet route table to point to it.
B.Attach an Internet Gateway to the VPC and add a default route to it in the private subnet route table.
C.Create a NAT Gateway in a public subnet and add a default route in the private subnet route table pointing to the NAT Gateway.
D.Create a VPC Gateway Endpoint for Amazon S3 and route outbound traffic through it.
AnswerC

NAT Gateway is a managed service, reduces operational overhead.

Why this answer

A NAT Gateway is a fully managed AWS service that provides outbound internet access for instances in private subnets while blocking unsolicited inbound connections. By placing the NAT Gateway in a public subnet and adding a default route (0.0.0.0/0) in the private subnet route table pointing to the NAT Gateway, traffic from private instances is source NATed to the NAT Gateway's Elastic IP, ensuring inbound traffic from the internet cannot reach the private instances. This solution offers the least operational overhead as AWS handles scaling, patching, and availability, unlike a self-managed NAT instance.

Exam trap

The trap here is that candidates often confuse a NAT Gateway with a NAT instance, assuming both offer similar operational overhead, or mistakenly think that an Internet Gateway can be used directly in private subnets, ignoring that it would allow inbound traffic from the internet.

How to eliminate wrong answers

Option A is wrong because a NAT instance requires manual management (e.g., patching, scaling, failover) and introduces higher operational overhead compared to a managed NAT Gateway, contradicting the 'least operational overhead' requirement. Option B is wrong because attaching an Internet Gateway and adding a default route to it in the private subnet route table would directly expose private instances to the internet, allowing unsolicited inbound traffic and violating the requirement to prevent inbound traffic. Option D is wrong because a VPC Gateway Endpoint for Amazon S3 only provides private connectivity to S3, not general outbound internet access to other destinations (e.g., HTTP/HTTPS to the internet), so it does not meet the requirement for outbound internet access.

404
MCQhard

A global e-commerce company uses a hub-and-spoke network topology with a transit VPC in us-east-1. Each spoke VPC has an AWS Site-to-Site VPN connection to its respective on-premises office. Users report intermittent connectivity issues when accessing a web application hosted in a spoke VPC in eu-west-1 from an on-premises office in ap-southeast-1. The network engineer checks the VPN connection and finds it is up. Which design change would MOST likely resolve the issue?

A.Change the VPN connection from static to dynamic routing.
B.Enable jumbo frames on the transit VPC's EC2-based virtual appliances.
C.Enable BGP route propagation on the transit VPC's route tables.
D.Deploy a new transit VPC in eu-west-1.
AnswerB

Jumbo frames reduce overhead and improve throughput for large packets.

Why this answer

The issue is intermittent connectivity between an on-premises office in ap-southeast-1 and a spoke VPC in eu-west-1, traversing a transit VPC in us-east-1. The VPN is up, so the problem is likely packet fragmentation or MTU mismatch across the long-haul path. Enabling jumbo frames on the transit VPC's EC2-based virtual appliances (e.g., firewall or router instances) increases the maximum transmission unit, reducing fragmentation and improving performance for large packets, which is a common cause of intermittent issues in hub-and-spoke topologies.

Exam trap

The trap here is that candidates assume a 'VPN is up' means the issue is routing-related (e.g., BGP propagation or static vs. dynamic), but the real culprit is often subtle packet-level problems like MTU mismatch or fragmentation across a multi-region hub-and-spoke design.

How to eliminate wrong answers

Option A is wrong because changing from static to dynamic routing (e.g., BGP) addresses routing protocol convergence and failover, not intermittent connectivity caused by MTU or fragmentation; the VPN is already up, so routing is functional. Option C is wrong because enabling BGP route propagation on the transit VPC's route tables would only affect route advertisement and learning, not packet-level issues like fragmentation; the routes are already in place since the VPN is established. Option D is wrong because deploying a new transit VPC in eu-west-1 would add complexity and cost without addressing the root cause; the existing transit VPC in us-east-1 can handle cross-region traffic, and the problem is likely MTU-related, not latency or regional proximity.

405
MCQmedium

A company is designing a multi-region active-active architecture with an Application Load Balancer in each region. Which service can route traffic to the closest ALB based on latency?

A.AWS Global Accelerator
B.Amazon Route 53 latency-based routing
C.Application Load Balancer cross-zone load balancing
D.Amazon CloudFront
AnswerB

Route 53 latency routing directs users to the region with lowest latency.

Why this answer

Amazon Route 53 latency-based routing directs traffic to the AWS region that provides the lowest latency for the end user, based on historical latency measurements between the user's ISP and each region. This makes it the correct choice for routing users to the closest Application Load Balancer in a multi-region active-active architecture.

Exam trap

The trap here is that candidates often confuse AWS Global Accelerator's 'nearest endpoint' behavior with latency-based routing, but Global Accelerator uses Anycast to direct traffic to the closest edge location, not to the region with the lowest application latency, making Route 53 latency-based routing the correct answer for this specific use case.

How to eliminate wrong answers

Option A is wrong because AWS Global Accelerator uses Anycast IPs and the AWS global network to route traffic to the nearest healthy endpoint, but it does not use latency measurements to select the closest ALB; it relies on edge location proximity and endpoint health. Option C is wrong because Application Load Balancer cross-zone load balancing distributes traffic evenly across targets within a single region, not across regions. Option D is wrong because Amazon CloudFront is a content delivery network that caches content at edge locations and does not route traffic to the closest ALB based on latency; it uses DNS and edge caches to serve content, not dynamic latency-based routing to origin ALBs.

406
MCQmedium

A company's VPC has an internet gateway and a NAT Gateway in a public subnet. The private subnet route table has a default route pointing to the NAT Gateway. EC2 instances in the private subnet can access the internet, but cannot access an on-premises network connected via AWS Site-to-Site VPN. What is the most likely cause?

A.The private subnet route table does not have a route to the on-premises network via the virtual private gateway.
B.The NAT Gateway is not configured to route traffic to the VPN.
C.The internet gateway is not attached to the VPC.
D.The VPN connection is not advertising the on-premises CIDR via BGP.
AnswerA

The default route to NAT Gateway takes precedence over VPN routes.

Why this answer

The private subnet route table has a default route (0.0.0.0/0) pointing to the NAT Gateway, which allows outbound internet traffic. However, traffic destined for the on-premises network must be routed via the Virtual Private Gateway (VGW) attached to the VPC. Since the route table lacks a specific route (e.g., 10.0.0.0/8) pointing to the VGW, packets to the on-premises CIDR are instead sent to the NAT Gateway, which drops them because it has no route or interface for the on-premises network.

Exam trap

AWS often tests the misconception that a NAT Gateway can forward traffic to a VPN or that the internet gateway is responsible for VPN routing, when in fact the route table's destination-based forwarding is the sole determinant of where traffic goes.

How to eliminate wrong answers

Option B is wrong because the NAT Gateway is a Layer 3 device that forwards traffic based on route tables; it does not perform routing decisions or have a configuration to 'route traffic to the VPN' — the route table controls where traffic goes. Option C is wrong because the internet gateway is correctly attached (the private instances can access the internet), so its attachment status is not the issue. Option D is wrong because even if the VPN connection is not advertising the on-premises CIDR via BGP, the VPC route table must still have a static or propagated route to the VGW; the absence of BGP advertisement would prevent route propagation, but the core problem is the missing route in the private subnet route table.

407
Multi-Selecthard

A company is designing a VPC with IPv6. Which components are required to enable IPv6 communication between instances in the VPC and the internet? (Select TWO.)

Select 2 answers
A.An egress-only internet gateway
B.A route in the subnet route table to ::/0 to the internet gateway
C.A VPC peering connection to a VPC with internet access
D.An internet gateway
AnswersB, D

This route enables IPv6 traffic to and from the internet.

Why this answer

To enable IPv6 communication between instances in a VPC and the internet, you need an internet gateway (IGW) attached to the VPC, and a route in the subnet's route table that directs IPv6 traffic (destination ::/0) to that internet gateway. The IGW performs NAT for IPv6 (using eUI-64 addresses) and allows bidirectional traffic, so both components are required.

Exam trap

The trap here is that candidates often confuse the egress-only internet gateway (for outbound-only IPv6) with the internet gateway (for bidirectional IPv6), or mistakenly think a NAT Gateway supports IPv6, when in fact NAT Gateways are IPv4-only and IPv6 requires an internet gateway for full internet access.

408
MCQeasy

A company has a VPC with CIDR 10.0.0.0/16 and needs to connect to an on-premises network using AWS Direct Connect. The on-premises CIDR is 10.1.0.0/16. To enable communication between the VPC and on-premises, which component must be configured?

A.Attach an Internet Gateway to the VPC and configure a NAT gateway
B.Create a VPC peering connection between the VPC and the on-premises network
C.Attach a Virtual Private Gateway to the VPC and update route tables
D.Create a Transit Gateway and attach the VPC and Direct Connect
AnswerC

A Virtual Private Gateway is required for Direct Connect connectivity, and appropriate routes must be added in the VPC route tables to route traffic to the on-premises network via the VGW.

Why this answer

To connect a VPC to an on-premises network over AWS Direct Connect, you must attach a Virtual Private Gateway (VGW) to the VPC. The VGW serves as the VPN concentrator on the AWS side, terminating the Direct Connect virtual interface (VIF) and enabling BGP peering for route exchange. You then update the VPC route tables to point the on-premises CIDR (10.1.0.0/16) to the VGW, allowing traffic to flow between the VPC and the on-premises network.

Exam trap

AWS often tests the misconception that a Transit Gateway is always required for Direct Connect, but the exam trap here is that a Virtual Private Gateway is the fundamental component for terminating a Direct Connect private VIF to a single VPC.

How to eliminate wrong answers

Option A is wrong because an Internet Gateway (IGW) and NAT gateway are used for internet-bound traffic, not for private connectivity to on-premises networks via Direct Connect. Option B is wrong because VPC peering connects two VPCs within AWS, not a VPC to an on-premises network; it cannot extend beyond the AWS cloud. Option D is wrong because while a Transit Gateway can simplify multi-VPC and Direct Connect attachments, it is not strictly required for a single VPC connection; the question asks for the component that must be configured, and a VGW is the mandatory component for Direct Connect private VIF connectivity.

409
MCQeasy

A company is designing a multi-region application with active-active configuration. They need a global DNS service that can route users to the nearest healthy endpoint and automatically failover to another region if an endpoint becomes unhealthy. Which AWS service should be used?

A.Amazon CloudFront
B.Elastic Load Balancer
C.Amazon Route 53 with latency-based routing and health checks
D.AWS Global Accelerator
AnswerC

Route 53 latency routing directs traffic to the region with the lowest latency, and health checks enable failover.

Why this answer

Amazon Route 53 with latency-based routing and health checks is the correct choice because it provides global DNS resolution that directs users to the endpoint with the lowest latency, while health checks automatically detect endpoint failures and trigger failover to a healthy region. This satisfies the active-active multi-region requirement by distributing traffic across multiple regions and ensuring automatic failover without manual intervention.

Exam trap

The ANS-C01 exam often tests the distinction between DNS-based routing (Route 53) and network-layer acceleration (Global Accelerator), where candidates mistakenly choose Global Accelerator because it also supports health checks and failover, but the question explicitly asks for a 'global DNS service' which is Route 53's core function, not Global Accelerator's.

How to eliminate wrong answers

Option A is wrong because Amazon CloudFront is a content delivery network (CDN) that caches content at edge locations and does not provide DNS-level routing or health-check-based failover for arbitrary endpoints; it is designed for static and dynamic content acceleration, not for global DNS routing with active-active failover. Option B is wrong because Elastic Load Balancer (ELB) operates within a single AWS region and cannot route traffic globally across multiple regions or perform DNS-based latency routing; it distributes traffic only within a single VPC or set of targets in one region. Option D is wrong because AWS Global Accelerator uses Anycast IP addresses and the AWS global network to improve performance, but it does not provide DNS-level routing policies like latency-based routing; it relies on static IP addresses and health checks for endpoint failover, but the question specifically asks for a global DNS service, which is Route 53's domain.

410
MCQhard

A company has a Direct Connect connection with a private VIF to a VPC. They want to extend connectivity to an on-premises data center that does not support BGP. What is the simplest way to achieve this?

A.Use AWS Site-to-Site VPN with static routing to a Transit Gateway
B.Create a VPC peering connection between the VPC and the on-premises network
C.Create a Direct Connect Gateway and attach the VPC
D.Set up a VPN CloudHub with multiple VPN connections
AnswerA

Transit Gateway supports VPN attachments with static routes, which does not require BGP on the on-premises side.

Why this answer

The on-premises data center does not support BGP, so a static routing approach is required. AWS Site-to-Site VPN with static routing to a Transit Gateway allows you to extend connectivity from the existing Direct Connect VPC to the non-BGP data center by using the Transit Gateway as a central hub, which can route traffic between the Direct Connect VIF and the VPN connection without requiring BGP on the data center side.

Exam trap

The trap here is that candidates often assume Direct Connect Gateway alone can solve any on-premises routing issue, but it still requires BGP for route exchange, so the correct approach is to use a Transit Gateway with a static VPN to bypass the BGP requirement on the data center side.

How to eliminate wrong answers

Option B is wrong because VPC peering connections cannot extend connectivity to on-premises networks; they only connect VPCs within AWS and do not support VPN or Direct Connect attachments. Option C is wrong because creating a Direct Connect Gateway and attaching the VPC does not solve the problem of the on-premises data center lacking BGP support; a Direct Connect Gateway still requires BGP for routing between the on-premises network and AWS. Option D is wrong because VPN CloudHub is designed for connecting multiple remote networks (e.g., branch offices) using dynamic BGP routing, not for extending a single Direct Connect VPC to a non-BGP data center, and it does not integrate with the existing Direct Connect connection.

411
MCQhard

Based on the following VPC Flow Logs entry, which of the following statements is correct? - source IP: 10.0.2.10 - source port: 443 - destination IP: 10.0.1.20 - destination port: 80 - protocol: TCP

A.The destination port is 443
B.The protocol used is UDP
C.The source IP address is 10.0.2.10
D.The traffic originated from a web server (port 443) and was sent to a client (port 80)
AnswerD

Source port 443 indicates the server is sending data to a client on port 80.

Why this answer

Based on the VPC Flow Logs entry (which shows source IP 10.0.2.10, source port 443, destination IP 10.0.1.20, destination port 80, protocol TCP), the traffic originated from a web server (listening on port 443) and was sent to a client (listening on port 80). The direction is from the source (10.0.2.10) to the destination (10.0.1.20). Therefore, option D is correct.

Exam trap

The trap here is that candidates often assume the destination port is always the server's listening port, but in this flow log, the server (10.0.2.10) is the source using port 443, and the client (10.0.1.20) is the destination using port 80, so the traffic is from server to client.

How to eliminate wrong answers

Option A is wrong because the destination port is 80, not 443; the flow log shows 'dstport=80'. Option B is wrong because the protocol is TCP (protocol number 6), not UDP; UDP is protocol 17. Option C is wrong because the source IP address is 10.0.2.10, not 10.0.2.10; the flow log shows 'srcaddr=10.0.2.10', which matches the option, but the question asks for the correct statement, and Option D is the only fully accurate description of the traffic flow.

412
MCQeasy

A company has a VPC with an IPv4 CIDR of 10.0.0.0/16. It needs to add an additional non-overlapping CIDR for new workloads. Which CIDR should be used?

A.10.0.0.0/24
B.10.1.0.0/16
C.10.0.1.0/24
D.10.0.0.0/8
AnswerB

This CIDR is outside the existing 10.0.0.0/16 range.

Why this answer

(10.1.0.0/16) is correct because it provides a non-overlapping CIDR block that does not conflict with the existing VPC CIDR of 10.0.0.0/16. In AWS, when adding a secondary CIDR to a VPC, the new block must not overlap with the existing VPC CIDR or any of its subnets. The 10.1.0.0/16 range is entirely separate from 10.0.0.0/16, satisfying this requirement.

Exam trap

The trap here is that candidates often assume any non-overlapping private IP range is acceptable, but they overlook that the new CIDR must also be from the same RFC 1918 address space and not conflict with any existing subnets, not just the VPC CIDR itself.

How to eliminate wrong answers

Option A is wrong because 10.0.0.0/24 is a subnet of the existing 10.0.0.0/16 CIDR, which would cause an overlap and is not allowed when adding a secondary CIDR to a VPC. Option C is wrong because 10.0.1.0/24 is also a subnet within the existing 10.0.0.0/16 range, resulting in an overlap. Option D is wrong because 10.0.0.0/8 is a supernet that contains the existing 10.0.0.0/16 CIDR, causing an overlap and violating the non-overlapping requirement for VPC CIDR blocks.

413
MCQhard

A company is designing a hybrid network with multiple AWS Direct Connect connections to multiple on-premises data centers. They want to maximize availability and use all available bandwidth. They have two Direct Connect connections terminated at two different Direct Connect locations. They plan to use a single Virtual Private Gateway (VGW) for each VPC. Which configuration should be used to meet these requirements?

A.Create two VGWs and attach each to a separate Direct Connect connection. Use a Transit Gateway to connect the VGWs to the VPC.
B.Create a Direct Connect Gateway. Attach both Direct Connect connections to the Direct Connect Gateway. Associate the Direct Connect Gateway with the VGW. Configure the on-premises routers to use BGP with equal-cost multipath (ECMP).
C.Create two Virtual Private Gateways, one for each Direct Connect connection. Attach each VGW to the VPC. Configure BGP on both connections for active-active.
D.Create a single virtual interface and associate it with both Direct Connect connections. Attach the virtual interface to the VGW.
AnswerB

This configuration allows both connections to be active-active, using all bandwidth and providing redundancy.

Why this answer

It uses a Direct Connect Gateway to aggregate multiple Direct Connect connections into a single logical endpoint, allowing both connections to be associated with a single VGW. By configuring BGP with ECMP on the on-premises routers, traffic is load-balanced across both connections, maximizing bandwidth utilization while providing high availability through redundant paths.

Exam trap

The trap here is that candidates often think multiple VGWs can be attached to a single VPC (Option C) or that a single virtual interface can span multiple physical connections (Option D), but AWS enforces a one-VGW-per-VPC limit and each virtual interface is tied to a single Direct Connect connection.

How to eliminate wrong answers

Option A is wrong because creating two VGWs and connecting them via a Transit Gateway adds unnecessary complexity and does not allow both Direct Connect connections to be used with a single VGW as required; it also introduces additional latency and cost. Option C is wrong because a single VPC cannot have two VGWs attached simultaneously; each VPC supports only one VGW, making this configuration invalid. Option D is wrong because a single virtual interface cannot be associated with two separate Direct Connect connections; each virtual interface is tied to one physical connection, and this setup would not provide redundancy or load balancing.

414
MCQmedium

A company has deployed a web application using an Application Load Balancer (ALB) in front of EC2 instances in an Auto Scaling group. The application experiences intermittent high latency. The network team suspects that the ALB is being overwhelmed by traffic. Which metrics should be analyzed in Amazon CloudWatch to determine if the ALB is the bottleneck?

A.ActiveConnectionCount and NewConnectionCount
B.SurgeQueueLength and SpilloverCount
C.RequestCount and TargetResponseTime
D.HealthyHostCount and UnhealthyHostCount
AnswerB

SurgeQueueLength shows pending requests, and SpilloverCount shows dropped requests when the ALB is overloaded.

Why this answer

SurgeQueueLength and SpilloverCount are the correct metrics to analyze because they directly indicate whether the ALB is overwhelmed. SurgeQueueLength measures the number of requests waiting to be routed to a target, and SpilloverCount tracks requests that were rejected because the queue was full. If these metrics are consistently high or non-zero, the ALB is the bottleneck, as it cannot keep up with incoming traffic.

Exam trap

The trap here is that candidates confuse metrics that show traffic or backend performance (like RequestCount or TargetResponseTime) with metrics that specifically measure ALB internal congestion, leading them to overlook SurgeQueueLength and SpilloverCount.

How to eliminate wrong answers

Option A is wrong because ActiveConnectionCount and NewConnectionCount show traffic volume but do not reveal whether the ALB is overwhelmed; they are normal operational metrics. Option C is wrong because RequestCount and TargetResponseTime measure load and backend performance, not ALB capacity; high TargetResponseTime could indicate slow targets, not an overloaded ALB. Option D is wrong because HealthyHostCount and UnhealthyHostCount track target health, not ALB internal queuing or rejection; they would not show if the ALB itself is saturated.

415
MCQhard

A company is deploying a critical application across multiple AWS accounts. The network team wants to simplify IP address management and ensure that VPCs in different accounts can communicate securely. The company has a centralized network account with a transit gateway. Which architecture should the company use?

A.Use AWS Resource Access Manager to share the transit gateway in the network account with other accounts and attach their VPCs.
B.Create VPC peering connections between each VPC in different accounts.
C.Configure VPC endpoints in each account to communicate through the network account.
D.Set up AWS Direct Connect between accounts and route through the network account.
AnswerA

RAM enables cross-account sharing of transit gateways.

Why this answer

AWS Resource Access Manager (RAM) allows you to share a transit gateway from a centralized network account with other AWS accounts, enabling VPCs in those accounts to attach to the shared transit gateway. This simplifies IP address management by providing a single hub for inter-VPC routing and avoids the complexity of managing multiple VPC peering connections. The transit gateway supports transitive routing, so VPCs in different accounts can communicate securely through the centralized gateway without needing direct peering.

Exam trap

The trap here is that candidates often confuse VPC peering (which requires full mesh for transitive routing) with transit gateway (which provides transitive routing natively), or mistakenly think VPC endpoints can be used for inter-VPC communication instead of their intended purpose of private access to AWS services.

How to eliminate wrong answers

Option B is wrong because VPC peering connections do not support transitive routing; each pair of VPCs requires a separate peering connection, which does not scale well and complicates IP address management for multiple accounts. Option C is wrong because VPC endpoints (Gateway Endpoints or Interface Endpoints) are designed for private connectivity to AWS services (e.g., S3, DynamoDB) and do not provide inter-VPC routing or communication between VPCs in different accounts. Option D is wrong because AWS Direct Connect provides dedicated private connectivity from on-premises to AWS, not between VPCs in different accounts; routing through the network account would require additional complex configurations and does not inherently enable secure VPC-to-VPC communication.

416
Multi-Selecthard

A company has a VPC with multiple subnets across three Availability Zones. They deploy an Amazon RDS for MySQL Multi-AZ DB instance. The application tier consists of EC2 instances in private subnets. To improve read performance, the company wants to add read replicas. Which THREE design considerations are important for network connectivity? (Choose THREE.)

Select 3 answers
A.Read replicas can be placed in different Availability Zones than the primary DB instance
B.The application EC2 instances must be in the same VPC as the RDS instance
C.A security group rule must allow inbound traffic from the application subnets on port 3306
D.Read replicas must be in public subnets with public IP addresses
E.Read replicas must be in the same Region as the primary DB instance
AnswersA, B, C

Read replicas can be in different AZs to improve availability and fault tolerance.

Why this answer

Amazon RDS read replicas can be placed in different Availability Zones than the primary DB instance. This improves read performance by distributing read traffic across multiple AZs and provides fault isolation, as replicas remain in the same Region but can be in a different AZ for better availability.

Exam trap

The ANS-C01 exam often tests the misconception that read replicas require public IPs or must be in public subnets, but in reality, they can be deployed in private subnets with proper VPC routing and security group rules.

417
MCQmedium

A company has a VPC with public and private subnets. An Amazon EC2 instance in a private subnet needs to download patches from the internet. The company wants to ensure that the instance cannot be directly initiated from the internet. Which design should be used?

A.Attach a NAT Gateway to the public subnet and add a route to the NAT Gateway in the private subnet's route table
B.Launch a NAT instance in the public subnet and add a route in the private subnet's route table
C.Use a VPC endpoint for Amazon S3 and route patch traffic through it
D.Add a route to the internet gateway in the private subnet's route table
AnswerA

NAT Gateway enables outbound internet access from private subnets and does not allow inbound connections.

Why this answer

A NAT Gateway in a public subnet allows outbound internet traffic from private subnets while preventing unsolicited inbound connections. Adding a route in the private subnet's route table pointing to the NAT Gateway enables the EC2 instance to download patches without being directly reachable from the internet.

Exam trap

The ANS-C01 exam often tests the misconception that a NAT instance is equivalent to a NAT Gateway, but the exam emphasizes that a NAT Gateway is a managed service with automatic scaling and higher availability, making it the preferred design for production workloads.

How to eliminate wrong answers

Option B is wrong because a NAT instance, while functional, is a single point of failure and requires manual management (e.g., disabling Source/Destination Check), whereas a NAT Gateway is a managed service with higher availability and bandwidth. Option C is wrong because a VPC endpoint for Amazon S3 only provides private connectivity to S3, not general internet access for downloading patches from arbitrary internet sources. Option D is wrong because adding a route to the internet gateway in the private subnet's route table would allow direct outbound traffic but also expose the instance to inbound traffic from the internet, violating the requirement that the instance cannot be directly initiated from the internet.

418
MCQeasy

A company is migrating its on-premises data center to AWS. The network team needs to extend the on-premises network to the cloud and support IP multicast traffic between environments. Which AWS service or feature should be used?

A.AWS Direct Connect with a private virtual interface
B.Site-to-Site VPN connection
C.AWS Transit Gateway with multicast support
D.VPC peering connection
AnswerC

Transit Gateway can handle multicast traffic between VPCs and on-premises via VPN or Direct Connect.

Why this answer

AWS Transit Gateway with multicast support is the correct choice because it is the only AWS service that natively supports IP multicast traffic between VPCs and on-premises networks. It allows you to create multicast domains and associate subnets, enabling multicast sources and receivers to communicate across attached networks, including on-premises via AWS Direct Connect or Site-to-Site VPN.

Exam trap

The trap here is that candidates often assume Direct Connect or VPN can carry multicast traffic natively, but AWS does not forward multicast over these connections without Transit Gateway multicast or a third-party overlay solution.

How to eliminate wrong answers

Option A is wrong because AWS Direct Connect with a private virtual interface provides a dedicated network connection but does not natively support IP multicast; multicast traffic is not forwarded over Direct Connect without additional overlay solutions. Option B is wrong because Site-to-Site VPN uses IPsec tunnels which are unicast-only and cannot transport multicast traffic natively; multicast would require additional encapsulation like GRE. Option D is wrong because VPC peering does not support multicast traffic; it only allows unicast communication between VPCs and has no multicast forwarding capability.

419
MCQeasy

A company is designing a VPC with both IPv4 and IPv6 CIDR blocks. The VPC must support internet-facing applications accessible via IPv6. Which resource must be configured as IPv6-enabled to allow internet traffic?

A.Internet Gateway
B.VPC Peering connection
D.Transit Gateway
AnswerA

Internet Gateway supports both IPv4 and IPv6 traffic.

Why this answer

An Internet Gateway (IGW) is the only resource that supports both IPv4 and IPv6 traffic and provides a target in the VPC route table for IPv6 default routes (::/0) to enable direct internet access for IPv6-enabled resources. Unlike IPv4, which often requires NAT for private addressing, IPv6 globally unique addresses allow direct communication through the IGW without translation.

Exam trap

AWS often tests the misconception that a NAT Gateway can handle IPv6 traffic, but NAT is not used for IPv6 due to the abundance of globally unique addresses; the correct resource for IPv6 internet access is always the Internet Gateway.

How to eliminate wrong answers

Option B is wrong because a VPC Peering connection only enables private routing between two VPCs and does not provide internet access; it cannot route traffic to or from the internet. Option C is wrong because a NAT Gateway is designed only for IPv4 traffic to allow private IPv4 instances to initiate outbound internet connections, and it does not support IPv6 at all. Option D is wrong because a Transit Gateway is a central hub for inter-VPC and on-premises connectivity, but it does not natively provide internet access; it requires an IGW attached to a VPC to reach the internet.

420
Multi-Selectmedium

A company is designing a network for a critical application that requires high availability across multiple Availability Zones. Which TWO design choices ensure that the application remains available if an entire AZ fails?

Select 2 answers
A.Deploy resources in a single Availability Zone.
B.Deploy resources in at least two Availability Zones.
C.Use a Network Load Balancer in a single AZ.
D.Use an Application Load Balancer that spans multiple AZs.
E.Use a single EC2 instance with an Elastic IP address.
AnswersB, D

Multi-AZ deployment provides fault tolerance.

Why this answer

Deploying resources in at least two Availability Zones (AZs) is a foundational design pattern for high availability. If an entire AZ fails, the application can continue serving traffic from the remaining AZ(s). This aligns with AWS best practices for fault isolation and is a core requirement for achieving an SLA-backed multi-AZ architecture.

Exam trap

The ANS-C01 exam often tests the misconception that a single load balancer or a single instance with an Elastic IP is sufficient for high availability, but the trap here is that true AZ-level fault tolerance requires redundant resources in at least two separate Availability Zones, not just a load balancer or an Elastic IP.

421
MCQmedium

A company has a VPC with a public subnet containing a NAT gateway and a private subnet containing Amazon EC2 instances. The instances in the private subnet need to download patches from the internet. The NAT gateway is in the public subnet and has an Elastic IP address. The private subnet's route table has a default route pointing to the NAT gateway. However, the instances cannot reach the internet. What is the MOST likely cause?

A.The public subnet's route table does not have a route to an internet gateway.
B.The NAT gateway does not have a route back to the private subnet.
C.The NAT gateway is not associated with a security group that allows inbound internet traffic.
D.The security group attached to the EC2 instances does not allow outbound traffic to the internet.
AnswerA

The public subnet must have a route to an internet gateway for the NAT gateway to reach the internet.

Why this answer

The NAT gateway resides in the public subnet, but for it to route traffic to the internet, the public subnet's route table must have a default route (0.0.0.0/0) pointing to an internet gateway (IGW). Without this route, the NAT gateway cannot forward traffic from the private subnet to the internet, even though the private subnet's route table correctly points to the NAT gateway. The missing IGW route in the public subnet breaks the outbound path.

Exam trap

The ANS-C01 exam often tests the misconception that a NAT gateway automatically has internet access if it has an Elastic IP, but the Elastic IP alone does not provide a path to the internet without a route to an internet gateway in the subnet's route table.

How to eliminate wrong answers

Option B is wrong because a NAT gateway does not require a route back to the private subnet; it implicitly knows how to return traffic to the subnet that sent it via the VPC's internal routing. Option C is wrong because NAT gateways do not use security groups; they are controlled by route tables and network ACLs, not security groups. Option D is wrong because the default security group for EC2 instances allows all outbound traffic, and the question does not indicate any custom outbound restriction; the issue is at the network layer, not the instance security group.

422
MCQmedium

A financial services company is designing a hybrid network architecture using AWS Direct Connect. They have a Direct Connect connection with a public VIF and a private VIF. The private VIF is associated with a Direct Connect gateway that is attached to a Transit Gateway in us-east-1. The Transit Gateway has attachments to a production VPC and a shared services VPC. The company wants to ensure that all traffic from the on-premises network to the production VPC flows through a centralized inspection appliance in the shared services VPC for security compliance. Additionally, traffic from the production VPC to the internet must use a NAT gateway in the shared services VPC. The inspection appliance in the shared services VPC performs stateful inspection and must see both directions of traffic. The network engineer configured the following route tables: In the Transit Gateway route table associated with the Direct Connect gateway attachment, a static route for 0.0.0.0/0 points to the shared services VPC attachment. In the Transit Gateway route table associated with the production VPC attachment, a static route for the on-premises CIDR (10.0.0.0/8) points to the shared services VPC attachment. In the Transit Gateway route table associated with the shared services VPC attachment, a static route for the on-premises CIDR points to the Direct Connect gateway attachment, and a static route for 0.0.0.0/0 points to the Direct Connect gateway attachment (for outbound internet traffic, the shared services VPC has its own internet gateway and NAT gateway). The production VPC has a default route (0.0.0.0/0) pointing to the Transit Gateway. The shared services VPC has a default route pointing to the NAT gateway. However, traffic from on-premises to the production VPC is not being inspected; it goes directly to the production VPC. What is the most likely reason?

A.The Transit Gateway route table associated with the Direct Connect gateway attachment has propagation enabled, which installs a more specific route for the production VPC CIDR directly to the production VPC attachment, bypassing the shared services VPC.
B.The shared services VPC has a default route pointing to the NAT gateway, which is not a valid next hop for traffic coming from the Transit Gateway.
C.The production VPC route table has a default route pointing to the Transit Gateway, but the NAT gateway is in the shared services VPC, causing asymmetric routing.
D.The Transit Gateway route table associated with the shared services VPC attachment does not have a route for the production VPC CIDR pointing to the production VPC attachment, so return traffic cannot reach production.
AnswerA

Propagation from the production VPC attachment installs a route for the production VPC CIDR pointing to the production VPC attachment, which is more specific than the 0.0.0.0/0 route to shared services. This causes traffic to bypass inspection.

Why this answer

When propagation is enabled on the Transit Gateway route table associated with the Direct Connect gateway attachment, the production VPC CIDR is automatically learned as a more specific route (e.g., 10.1.0.0/16) pointing directly to the production VPC attachment. This more specific route overrides the static 0.0.0.0/0 route that was intended to force traffic through the shared services VPC, causing on-premises traffic to bypass the inspection appliance.

Exam trap

AWS often tests the misconception that static routes always take precedence over propagated routes in Transit Gateway route tables, but in reality, prefix length (specificity) determines priority, not whether the route is static or propagated.

How to eliminate wrong answers

Option B is wrong because the shared services VPC's default route pointing to the NAT gateway is correct for outbound internet traffic from the shared services VPC itself; it does not affect traffic arriving from the Transit Gateway, as the Transit Gateway handles routing independently. Option C is wrong because the production VPC's default route pointing to the Transit Gateway is appropriate for sending traffic to the Transit Gateway; asymmetric routing is not caused by this route but rather by the Transit Gateway route table misconfiguration described in Option A. Option D is wrong because the Transit Gateway route table associated with the shared services VPC attachment does not need a route for the production VPC CIDR pointing to the production VPC attachment; return traffic from the shared services VPC to the production VPC is handled by the Transit Gateway's default behavior of using the most specific route, and the issue is about forward traffic bypassing inspection, not return traffic.

423
MCQeasy

A company is using AWS Direct Connect to connect its on-premises data center to a VPC. The company wants to use private virtual interfaces (VIFs) to access multiple VPCs in the same AWS Region. Which AWS service should be used to simplify this connectivity?

A.Direct Connect gateway
B.Transit VPC solution with EC2-based VPN appliances
C.AWS Site-to-Site VPN
D.VPC peering connection
AnswerA

Direct Connect gateway enables connectivity to multiple VPCs.

Why this answer

A Direct Connect gateway allows you to associate multiple virtual private gateways (VGWs) or transit gateways in the same or different AWS accounts, enabling a single private virtual interface to connect to multiple VPCs in the same AWS Region. This simplifies connectivity by eliminating the need for separate VIFs per VPC and reduces operational overhead.

Exam trap

The ANS-C01 exam often tests the misconception that VPC peering can be used to extend Direct Connect connectivity to multiple VPCs, but peering does not support transitive routing and cannot be used with Direct Connect private VIFs directly.

How to eliminate wrong answers

Option B is wrong because a Transit VPC solution with EC2-based VPN appliances introduces unnecessary complexity, latency, and single points of failure, whereas a Direct Connect gateway provides a native, managed, and scalable solution. Option C is wrong because AWS Site-to-Site VPN operates over the public internet and does not leverage the private, low-latency benefits of Direct Connect; it is a separate connectivity option, not a simplification for Direct Connect. Option D is wrong because VPC peering connections are used for direct VPC-to-VPC connectivity and do not integrate with Direct Connect private VIFs; they cannot simplify the attachment of multiple VPCs to a single Direct Connect connection.

424
MCQhard

A company is migrating to AWS and needs to connect its on-premises data center to multiple VPCs across several AWS regions. The on-premises network uses BGP and requires high availability with sub-second failover. The solution must be cost-effective and support traffic segmentation. Which design meets these requirements?

A.Set up a Site-to-Site VPN connection between on-premises and each VPC using a VPN appliance on AWS.
B.Order an AWS Direct Connect connection and create multiple virtual interfaces, each connecting to a different VPC in different regions. Use BGP with Bidirectional Forwarding Detection (BFD) for fast failover.
C.Use AWS Transit Gateway with inter-region peering and attach VPN connections from on-premises to a central Transit Gateway.
D.Use a combination of Direct Connect and VPN as a backup, and route all traffic through a single VPC that acts as a transit hub.
AnswerB

Correct: Direct Connect provides stable latency, and BFD enables sub-second failover.

Why this answer

AWS Direct Connect with multiple virtual interfaces (VIFs) provides dedicated, low-latency connectivity to multiple VPCs across different regions. Using BGP with Bidirectional Forwarding Detection (BFD) enables sub-second failover detection (typically 150ms or less), meeting the high availability requirement. This design is cost-effective compared to multiple VPN connections and supports traffic segmentation through separate VIFs or VLANs.

Exam trap

The trap here is that candidates often assume Transit Gateway (Option C) is always the best choice for multi-VPC connectivity, but fail to recognize that the on-premises VPN attachment still relies on internet-based VPN, which cannot meet the sub-second failover requirement, whereas Direct Connect with BFD provides deterministic fast failover.

How to eliminate wrong answers

Option A is wrong because Site-to-Site VPN connections over the internet cannot guarantee sub-second failover due to variable latency and packet loss, and using a VPN appliance on AWS adds unnecessary cost and complexity without meeting the high availability requirement. Option C is wrong because AWS Transit Gateway with inter-region peering does not inherently provide sub-second failover for the on-premises connection; the VPN attachment from on-premises to the Transit Gateway still relies on internet-based VPN, which cannot achieve sub-second failover reliably. Option D is wrong because routing all traffic through a single VPC as a transit hub creates a single point of failure and bandwidth bottleneck, and the combination of Direct Connect and VPN as backup does not guarantee sub-second failover unless BFD is properly configured on the Direct Connect path, but the design still lacks native support for multiple VPCs across regions without additional complexity.

425
MCQeasy

A company is designing a network for a three-tier application that must be PCI DSS compliant. The web tier must be accessible from the internet, the application tier must only be accessible from the web tier, and the database tier must only be accessible from the application tier. All tiers are in the same VPC. What is the MOST secure way to implement this?

A.Use a VPN between the web and application tiers and between application and database tiers.
B.Place all tiers in the same private subnet and use security groups for isolation.
C.Place web tier in public subnets, application and database tiers in private subnets. Use security groups to allow only necessary traffic between tiers.
D.Place all tiers in public subnets and use network ACLs to restrict traffic.
AnswerC

Security groups provide stateful filtering and are best practice for tier isolation.

Why this answer

The most secure because it places the web tier in public subnets (for internet access) and the application and database tiers in private subnets (no direct internet access). Security groups are used to allow only the necessary traffic between tiers: from web to app on specific ports, and from app to db on specific ports. Security groups are stateful, which simplifies rule management and reduces attack surface.

Option A is wrong because a VPN is unnecessary for intra-VPC traffic and adds complexity without improving security. Option B is wrong because placing all tiers in the same private subnet does not provide network isolation between tiers; security groups alone cannot prevent all lateral movement. Option D is wrong because placing all tiers in public subnets exposes the application and database tiers to the internet, and network ACLs are stateless, requiring symmetric rules and increasing management overhead.

426
Multi-Selectmedium

A company is designing a VPC with a public subnet and a private subnet. The private subnet instances need to access the internet for software updates. Which TWO options allow outbound internet access while preventing inbound connections? (Choose two.)

Select 2 answers
A.NAT Gateway in the public subnet
B.Egress-only Internet Gateway
C.Internet Gateway attached to the VPC
D.AWS Site-to-Site VPN connection to on-premises
E.VPC Peering connection to a VPC with internet access
AnswersA, B

Allows outbound IPv4 traffic from private subnet.

Why this answer

A NAT Gateway in the public subnet allows instances in the private subnet to initiate outbound connections to the internet (e.g., for software updates) while preventing any unsolicited inbound connections from the internet. The NAT Gateway translates the private IP addresses of the instances to its own Elastic IP address, and because it does not maintain state for inbound traffic that was not initiated from within the VPC, it blocks all inbound connection attempts.

Exam trap

The trap here is that candidates often confuse an Egress-Only Internet Gateway with a NAT Gateway, not realizing that the Egress-Only Internet Gateway is exclusively for IPv6 traffic and does not support IPv4, which is the typical protocol for software updates.

427
MCQmedium

A company has a VPC with both IPv4 and IPv6 CIDR blocks. The application team wants to allow internet traffic to an IPv6-enabled web server. Which resource must be configured?

A.NAT64
B.Egress-Only Internet Gateway
D.Internet Gateway
AnswerD

Supports IPv6 inbound.

Why this answer

An Internet Gateway (IGW) is required to allow inbound and outbound IPv6 traffic between a VPC and the internet. Unlike IPv4, IPv6 addresses in AWS are globally unique by default, so no NAT is needed; the IGW directly routes traffic for both IPv4 and IPv6 when attached to the VPC and associated with the route table.

Exam trap

The trap here is that candidates often confuse the Egress-Only Internet Gateway with a full-duplex gateway, forgetting that it only supports outbound IPv6 traffic and cannot accept inbound connections from the internet.

How to eliminate wrong answers

Option A is wrong because NAT64 is used to translate IPv6 traffic to IPv4 for communication with IPv4-only endpoints, not to allow direct internet access to an IPv6-enabled web server. Option B is wrong because an Egress-Only Internet Gateway only supports outbound IPv6 traffic from the VPC to the internet and does not allow inbound internet traffic to reach the web server. Option C is wrong because a NAT Gateway is designed for outbound IPv4 traffic from private subnets and does not support IPv6 traffic at all.

428
MCQhard

A company has a hub-and-spoke VPC architecture using AWS Transit Gateway. The hub VPC contains shared services (e.g., Active Directory). Spoke VPCs need to resolve DNS names from the hub VPC. The hub VPC has an Amazon Route 53 Resolver inbound endpoint. What is the correct configuration for the spoke VPCs to use this endpoint?

A.Configure the spoke VPC's DHCP options set to use the hub VPC's CIDR as the domain name server
B.Create an inbound endpoint in each spoke VPC
C.Use VPC peering and configure the spoke VPC's route table to route DNS traffic to the hub VPC
D.Create an outbound endpoint in the spoke VPC and associate a resolver rule that forwards queries to the inbound endpoint in the hub VPC
AnswerD

This configuration allows spoke VPCs to forward DNS queries to the hub's inbound endpoint for resolution.

Why this answer

It uses an outbound endpoint in the spoke VPC to forward DNS queries to the hub VPC's inbound endpoint via a Route 53 Resolver rule. This allows the spoke VPC to resolve private DNS names hosted in the hub VPC without requiring DHCP changes or additional inbound endpoints, leveraging the hub's existing DNS infrastructure.

Exam trap

The ANS-C01 exam often tests the misconception that VPC peering or DHCP options alone can forward DNS traffic, but Route 53 Resolver endpoints are required to intercept and forward DNS queries across VPCs in a hub-and-spoke architecture.

How to eliminate wrong answers

Option A is wrong because configuring the spoke VPC's DHCP options set to use the hub VPC's CIDR as the domain name server would point DNS queries to an IP range, not a specific DNS resolver IP, and the hub VPC's inbound endpoint IP must be explicitly specified; also, DHCP options sets cannot reference CIDR blocks. Option B is wrong because creating an inbound endpoint in each spoke VPC is unnecessary and defeats the purpose of a centralized hub-and-spoke design; inbound endpoints are for on-premises to AWS DNS resolution, not for spoke-to-hub forwarding. Option C is wrong because VPC peering does not natively route DNS traffic; DNS queries use UDP/TCP port 53 and are not forwarded by route tables alone—Route 53 Resolver endpoints are required to intercept and forward DNS traffic.

429
MCQeasy

A company is designing a VPC with both IPv4 and IPv6 workloads. The VPC has an internet gateway, and the company wants to allow outbound IPv6 traffic to the internet from instances in a private subnet while blocking inbound IPv6 traffic from the internet. Which configuration should be used?

A.Configure a security group that allows outbound traffic and denies inbound traffic.
B.Configure a virtual private gateway and route traffic through it.
C.Configure an egress-only internet gateway in the VPC and add a route for ::/0 to the egress-only internet gateway in the private subnet's route table.
D.Configure a NAT gateway in a public subnet.
AnswerC

Egress-only internet gateway provides outbound-only IPv6 internet access.

Why this answer

An egress-only internet gateway (EIGW) is a horizontally scaled, redundant component that allows outbound IPv6 traffic from instances in a private subnet to the internet, but prevents the internet from initiating an inbound IPv6 connection to those instances. By adding a default route (::/0) pointing to the EIGW in the private subnet's route table, outbound IPv6 traffic is forwarded to the internet gateway, while the EIGW inherently drops any unsolicited inbound IPv6 traffic. This meets the requirement exactly, as security groups and network ACLs alone cannot fully block inbound IPv6 from the internet when a standard internet gateway is used.

Exam trap

The ANS-C01 exam often tests the misconception that a NAT gateway can handle IPv6 traffic, but NAT is not used with IPv6 by design; the correct solution is an egress-only internet gateway, which is a distinct AWS resource specifically for IPv6 outbound-only access.

How to eliminate wrong answers

Option A is wrong because a security group is stateful; allowing outbound traffic automatically permits the return traffic for that session, but it does not block unsolicited inbound traffic from the internet—it only controls traffic based on rules, and a deny rule is not supported (security groups use allow rules only). Option B is wrong because a virtual private gateway is used for VPN or Direct Connect connections to on-premises networks, not for internet-bound traffic; routing IPv6 traffic through it would not provide internet access and would instead send traffic to a private network. Option D is wrong because a NAT gateway is designed for IPv4 traffic only (it translates private IPv4 addresses to a public IPv4 address) and does not support IPv6; IPv6 traffic cannot be routed through a NAT gateway.

430
MCQeasy

A company wants to allow its VPC to access an S3 bucket securely without traversing the internet. Which AWS resource enables private connectivity between a VPC and S3?

A.Internet Gateway
B.AWS Site-to-Site VPN
C.VPC Gateway Endpoint
AnswerC

A VPC Gateway Endpoint uses AWS-managed route tables to direct S3 traffic through AWS’s internal network, bypassing the public internet entirely. This satisfies the company’s constraint of private connectivity by enabling access via prefix lists in the VPC’s route table, without requiring a NAT gateway, internet gateway, or VPN. The endpoint operates at the network layer, supporting only S3 and DynamoDB, and does not use private IP addresses or transit through a VPC’s subnet.

Why this answer

A VPC Gateway Endpoint (C) is the correct choice because it provides private, direct connectivity between a VPC and S3 without traversing the internet. It uses AWS PrivateLink to route traffic through the AWS network, using prefix lists in the VPC route table to direct S3 traffic to the endpoint, ensuring data never leaves the AWS backbone.

Exam trap

The trap here is that candidates often confuse Gateway Endpoints with Interface Endpoints, assuming S3 requires an Interface Endpoint, but S3 only supports Gateway Endpoints for private connectivity.

How to eliminate wrong answers

Option A is wrong because an Internet Gateway enables internet-bound traffic from a VPC, which would route S3 traffic over the public internet, violating the requirement for private connectivity. Option B is wrong because AWS Site-to-Site VPN creates an encrypted tunnel over the internet to an on-premises network, not to AWS services like S3, and still involves internet transit. Option D is wrong because a NAT Gateway allows outbound internet traffic from private subnets but does not provide private connectivity to S3; it still routes traffic through the internet gateway and over the public internet.

431
MCQhard

An IAM policy is attached to a user who needs to manage VPC peering connections. The policy allows creating and accepting peering connections, but the user reports they cannot add routes to the route table of their VPC (vpc-11111111) for the peered connection. What is the most likely cause?

A.The condition in the policy restricts the VPC, but the route table is not associated with that VPC.
B.The user does not have permission to create routes.
C.The user needs additional permissions for the peering connection.
D.The user needs to accept the peering connection first.
AnswerA

Condition limits to specific VPC ARN, but route table may have different ARN.

Why this answer

The IAM policy includes a condition that restricts the VPC (e.g., `ec2:Vpc` condition key set to `vpc-11111111`), but the route table the user is trying to modify is not associated with that VPC. Even though the user has permissions to create and accept peering connections, the condition on the route table modification action (like `ec2:CreateRoute`) limits the operation to route tables belonging to the specified VPC. Since the route table belongs to a different VPC or is not associated with `vpc-11111111`, the request fails.

Exam trap

AWS often tests the misconception that route table modifications are solely governed by the `ec2:CreateRoute` action, ignoring that IAM conditions like `ec2:Vpc` can restrict the operation based on the route table's associated VPC, leading candidates to incorrectly choose Option B.

How to eliminate wrong answers

Option B is wrong because the user does have permission to create routes (the policy allows managing VPC peering connections, which typically includes `ec2:CreateRoute` for the peered VPC), but the condition on the VPC is the actual blocker. Option C is wrong because the user already has the necessary permissions for the peering connection (create and accept), and the issue is not about additional peering permissions but about the route table's VPC association. Option D is wrong because accepting the peering connection is a separate step that the user can already perform (the policy allows it), and the route cannot be added until the peering connection is in the 'active' state, but the error reported is about adding routes, not about the peering state.

432
MCQhard

A company is designing a highly available network for a critical application that requires sub-second failover between two AWS regions. The application uses active-active traffic distribution. Which routing policy should they use in Amazon Route 53?

A.Latency routing with health checks
B.Failover routing
C.Geolocation routing
D.Weighted routing
AnswerA

Correct: Distributes traffic based on latency and health.

Why this answer

Latency routing with health checks is the correct choice because it directs traffic to the region that provides the lowest latency for each user, and when combined with health checks, Route 53 can automatically route traffic away from unhealthy endpoints. This enables sub-second failover between two active-active regions, as Route 53's DNS-based health checking and routing updates occur quickly (typically within a few seconds) without requiring manual intervention or a primary/secondary failover model.

Exam trap

The ANS-C01 exam often tests the misconception that Failover routing is the only way to achieve high availability, but the trap here is that the question specifies active-active traffic distribution, which requires a routing policy that supports multiple healthy endpoints simultaneously, not a primary/standby model.

How to eliminate wrong answers

Option B (Failover routing) is wrong because it is designed for active-passive configurations, where one region is primary and the other is standby; it does not support active-active traffic distribution and would not provide sub-second failover for an active-active design. Option C (Geolocation routing) is wrong because it routes traffic based on the geographic location of the user, not on real-time endpoint health or latency, and it cannot dynamically shift traffic between regions for sub-second failover. Option D (Weighted routing) is wrong because it distributes traffic based on fixed weights assigned to records, and while it can be combined with health checks, it does not inherently optimize for latency or provide the automatic, sub-second failover behavior required for an active-active architecture.

433
MCQeasy

A company is deploying a multi-tier application in a VPC. The web servers must be accessible from the internet, while the application servers must only be accessible from the web servers. Which architecture meets these requirements?

A.All servers in private subnets; use a load balancer in a public subnet.
B.Web servers in private subnets; application servers in public subnets with an Internet Gateway.
C.All servers in public subnets; use Security Groups to restrict access.
D.Web servers in public subnets with an Internet Gateway; application servers in private subnets with a route to the NAT Gateway.
AnswerD

This provides internet access to web servers while keeping app servers private.

Why this answer

It places web servers in public subnets with an Internet Gateway (IGW) for direct internet access, while application servers reside in private subnets that lack a direct route to the IGW. The private subnets have a route to a NAT Gateway, allowing the application servers to initiate outbound internet connections (e.g., for updates) without being reachable from the internet. Security Groups on the application servers can further restrict inbound traffic to only the web servers' security group, ensuring the application tier is isolated.

Exam trap

AWS often tests the misconception that Security Groups alone can fully isolate traffic in a public subnet, but the trap here is that instances in public subnets still have public IP addresses and are reachable from the internet unless explicitly blocked by a Network ACL or Security Group, which is less reliable than using private subnets with no IGW route.

How to eliminate wrong answers

Option A is wrong because placing all servers in private subnets and using a load balancer in a public subnet would make the web servers inaccessible from the internet unless the load balancer is configured as an internet-facing load balancer and the web servers are in private subnets with a route to the load balancer; however, the description 'all servers in private subnets' implies the web servers themselves are not directly internet-accessible, which contradicts the requirement that web servers must be accessible from the internet. Option B is wrong because placing application servers in public subnets with an Internet Gateway would expose them directly to the internet, violating the requirement that they must only be accessible from the web servers. Option C is wrong because placing all servers in public subnets with an Internet Gateway would expose both web and application servers to the internet, and while Security Groups can restrict traffic, the application servers would still have public IP addresses and be reachable from the internet if the Security Group rules are misconfigured or if a user accidentally allows broader access; the requirement demands that application servers must only be accessible from the web servers, which is best achieved by placing them in private subnets with no direct internet path.

434
MCQeasy

A company has a VPC with a public subnet and a private subnet. The private subnet contains Amazon RDS instances that should only be accessed by EC2 instances in the same VPC. The EC2 instances are in a security group named 'App-SG'. Which configuration will meet the requirement?

A.Configure a network ACL on the private subnet to allow inbound traffic from the VPC CIDR.
B.Configure a network ACL on the private subnet to allow inbound traffic from the public subnet CIDR.
C.Configure a security group on the RDS instances to allow inbound traffic from the 'App-SG' security group.
D.Configure a security group on the RDS instances to allow inbound traffic from the VPC CIDR.
AnswerC

Security group referencing another security group allows only instances with that security group.

Why this answer

Security groups are stateful and can reference other security groups as a source, allowing traffic from all instances associated with the source security group. By configuring the RDS security group to allow inbound traffic from 'App-SG', only EC2 instances in that group can access the RDS instances, meeting the requirement without exposing the database to the entire VPC CIDR.

Exam trap

The trap here is that candidates often confuse security groups with network ACLs, or assume that allowing the VPC CIDR is sufficient, not realizing that security group references provide more precise, instance-level access control than CIDR-based rules.

How to eliminate wrong answers

Option A is wrong because network ACLs are stateless and apply at the subnet level, not the instance level; allowing inbound traffic from the VPC CIDR would permit any resource in the VPC (including unauthorized instances) to access the RDS instances, and would also require explicit outbound rules for return traffic. Option B is wrong because allowing inbound traffic from the public subnet CIDR is overly permissive and does not restrict access to only the EC2 instances in 'App-SG'; it would also allow any instance in the public subnet, not just those in the security group. Option D is wrong because allowing inbound traffic from the VPC CIDR via a security group would permit any resource in the VPC (including unauthorized instances or services) to access the RDS instances, violating the requirement for access only by EC2 instances in 'App-SG'.

435
MCQmedium

A company is designing a multi-Region architecture with active-active failover for a web application. The application uses Application Load Balancers (ALBs) in two AWS Regions. Traffic must be routed to the closest healthy Region with automatic failover. Which AWS service should be used to route traffic?

A.Network Load Balancer with cross-zone load balancing
B.Amazon CloudFront with multiple origins
C.Amazon Route 53 with latency-based routing and health checks
D.AWS Global Accelerator
AnswerC

Route 53 latency routing directs traffic to the Region with the lowest latency, and health checks automatically fail over to the next best Region.

Why this answer

Amazon Route 53 with latency-based routing and health checks is the correct choice because it directs traffic to the AWS Region with the lowest latency for each user, and health checks automatically fail over to the next best healthy Region if an ALB becomes unhealthy. This satisfies the active-active failover requirement without introducing additional caching or anycast complexities.

Exam trap

The ANS-C01 exam often tests the distinction between DNS-based routing (Route 53) and anycast-based traffic steering (Global Accelerator), where candidates mistakenly choose Global Accelerator because it provides low-latency routing, but it does not natively support active-active failover between two independent ALBs in different Regions without additional custom logic.

How to eliminate wrong answers

Option A is wrong because a Network Load Balancer operates at Layer 4 and does not provide cross-Region routing or DNS-based latency steering; cross-zone load balancing only distributes traffic within a single Region. Option B is wrong because Amazon CloudFront is a content delivery network that caches content at edge locations; it does not natively route traffic to the closest healthy ALB based on latency for dynamic workloads without custom origin failover configurations, and it is not designed for active-active DNS failover. Option D is wrong because AWS Global Accelerator uses anycast IPs to direct traffic to the nearest edge location, but it then forwards traffic to a single regional endpoint or a weighted set; it does not provide latency-based DNS routing with automatic failover between two independent ALBs in different Regions in the same way Route 53 does.

436
Multi-Selecteasy

A company is designing a VPC for a three-tier application. The web tier must be accessible from the internet, the application tier must only be accessible from the web tier, and the database tier must only be accessible from the application tier. Which THREE design elements are required? (Choose THREE.)

Select 3 answers
A.A public subnet for the web tier with an internet gateway
B.A private subnet for the database tier with a route to the application subnet
C.A private subnet for the application tier with a route to the web subnet
D.A NAT gateway in the public subnet for outbound traffic from private subnets
E.A VPN connection to on-premises
AnswersA, B, C

Provides internet access to web servers.

Why this answer

The web tier requires direct internet accessibility, which is achieved by placing it in a public subnet associated with an internet gateway. The internet gateway provides a target for the subnet's route table to allow inbound traffic from the internet and outbound responses, enabling users to reach the web application.

Exam trap

The ANS-C01 exam often tests the misconception that a NAT gateway is required for private subnets in any multi-tier architecture, but here the private subnets only need internal routing between tiers, not outbound internet access.

437
Multi-Selectmedium

A company has a VPC with a public subnet and a private subnet. An EC2 instance in the private subnet needs to download patches from the internet. The company does not want to assign public IP addresses to the instance. Which combination of resources is required? (Choose TWO.)

Select 2 answers
A.VPN connection to the on-premises data center
B.NAT Gateway in a public subnet
C.VPC endpoint for Amazon S3
D.Internet Gateway attached to the VPC
AnswersB, D

The NAT Gateway enables outbound internet traffic for instances in private subnets.

Why this answer

A NAT Gateway in a public subnet allows instances in private subnets to initiate outbound traffic to the internet. The private subnet's route table must have a default route (0.0.0.0/0) pointing to the NAT Gateway. An Internet Gateway is needed for the NAT Gateway to reach the internet, but the question asks for resources; the IGW is already implied.

A VPC endpoint is for AWS services, not internet. A VPN connection is for on-premises connectivity.

438
MCQeasy

A company is designing a hybrid network connecting an on-premises data center to AWS via AWS Direct Connect. The company requires high availability and wants to avoid a single point of failure. Which design meets these requirements?

A.Provision a single Direct Connect connection with multiple virtual interfaces (VIFs).
B.Provision one Direct Connect connection with two VLANs to separate production and non-production traffic.
C.Use a single Direct Connect connection and a VPN backup over the internet.
D.Provision two Direct Connect connections at two different Direct Connect locations.
AnswerD

Two connections at different locations provide physical diversity and high availability.

Why this answer

Provisioning two Direct Connect connections at two different Direct Connect locations eliminates any single point of failure. This design ensures that if one connection or location fails, traffic can automatically fail over to the other connection, meeting the high availability requirement. A single Direct Connect connection, regardless of the number of VIFs or VLANs, remains a single point of failure.

Exam trap

AWS often tests the misconception that multiple VIFs or VLANs on a single Direct Connect connection provide redundancy, but they do not eliminate the physical single point of failure of the connection itself.

How to eliminate wrong answers

Option A is wrong because a single Direct Connect connection with multiple virtual interfaces (VIFs) still relies on a single physical link and single Direct Connect location; if that connection fails, all VIFs go down, so it does not avoid a single point of failure. Option B is wrong because using one Direct Connect connection with two VLANs only separates traffic logically on the same physical link; it does not provide physical redundancy, so a failure of the single connection takes down both VLANs. Option C is wrong because while a VPN backup over the internet provides a failover path, the primary single Direct Connect connection is still a single point of failure; the design does not meet the requirement to avoid a single point of failure for the primary connection, and the VPN backup may have lower performance and higher latency.

439
Multi-Selecteasy

Which TWO of the following are valid components of an AWS Transit Gateway design for connecting multiple VPCs and on-premises networks?

Select 2 answers
A.VPC Endpoint Gateway
B.Transit Gateway endpoint attached to a subnet in a VPC
C.Direct Connect Gateway associated with a Transit Gateway
D.Transit Gateway route table
E.Transit Gateway peering attachment
AnswersD, E

Route tables control traffic between attachments.

Why this answer

A Transit Gateway route table is a fundamental component that controls how traffic is routed between attachments (VPCs, VPNs, Direct Connect) within the Transit Gateway. Each attachment is associated with exactly one route table, and route propagation enables dynamic learning of routes across the network.

Exam trap

AWS often tests the misconception that a Transit Gateway endpoint attaches to a subnet like a VPC endpoint, but in reality, Transit Gateway attachments are VPC-level constructs that require a subnet in each AZ for the attachment's elastic network interfaces.

440
MCQhard

A company uses AWS Direct Connect with a private VIF to connect its on-premises network to a VPC. The on-premises router advertises a specific route for a subnet (192.168.1.0/24) to the VPC via BGP. However, instances in the VPC cannot reach the 192.168.1.0/24 subnet. The VPC route table shows the route as 'active' and 'propagated' from the Direct Connect virtual interface. What is the most likely cause?

A.The security group for the VPC instances is blocking inbound traffic from the on-premises network.
B.The VPC has overlapping CIDR with the on-premises network.
C.The on-premises router is not advertising the correct BGP community.
D.The VPC route table does not have a route to the 192.168.1.0/24 subnet pointing to the virtual private gateway.
AnswerD

Route propagation does not automatically add the route to the route table; it must be associated.

Why this answer

Even though the VPC route table shows the route as 'active' and 'propagated', this might be the main route table. If the instance's subnet is associated with a different route table that does not have a route to 192.168.1.0/24 pointing to the virtual private gateway, traffic will not be directed properly. The most likely cause is that the subnet's route table lacks this specific route.

Option A is incorrect because security groups do not affect outbound traffic initiated by instances, and the issue is routing, not security. Option B is incorrect because overlapping CIDR would cause the route to not appear as active or propagated, contradicting the scenario. Option C is incorrect because BGP communities are not used for route propagation in Direct Connect private VIFs.

441
MCQmedium

A network engineer configured VPC Flow Logs for a subnet to capture all traffic. After reviewing the logs in CloudWatch Logs, they notice that some logs show 'NODATA' for the log-status field. What does 'NODATA' indicate?

A.No network traffic was observed for the given capture period.
B.The flow log record was skipped due to an internal error.
C.The log record was successfully delivered to CloudWatch.
D.The traffic was rejected by a network ACL or security group.
AnswerA

Correct meaning.

Why this answer

When VPC Flow Logs display 'NODATA' for the log-status field, it indicates that no network traffic was observed for the subnet during the aggregation interval (typically 10 minutes). This is a normal status meaning the capture window had zero packets flowing through the monitored interfaces, not an error or delivery issue.

Exam trap

AWS often tests the distinction between 'NODATA' (no traffic) and 'SKIPDATA' (internal error), leading candidates to incorrectly associate 'NODATA' with rejected traffic or delivery failures.

How to eliminate wrong answers

Option B is wrong because 'NODATA' is not caused by an internal error; internal errors are reported as 'SKIPDATA' in the log-status field. Option C is wrong because a successful delivery to CloudWatch is indicated by 'OK' in the log-status field, not 'NODATA'. Option D is wrong because traffic rejected by a network ACL or security group is still captured and logged with an 'ACCEPT' or 'REJECT' action in the flow log record, not as 'NODATA'.

442
MCQmedium

A company is migrating a legacy application to AWS. The application requires a fixed IP address for outbound traffic to a partner's firewall. The application will run on Amazon EC2 instances in a private subnet. Which design meets the requirement without exposing the instances to inbound internet traffic?

A.Deploy a NAT gateway with an Elastic IP and route outbound traffic through it
B.Attach an Internet Gateway to the VPC and assign public IPs to the instances
C.Place the instances behind an Application Load Balancer
D.Create a VPC Gateway Endpoint for the partner's service
AnswerA

A NAT gateway with an Elastic IP provides a single fixed IP for all outbound traffic from private instances, and no inbound traffic is allowed.

Why this answer

A NAT gateway with an Elastic IP provides a fixed public IP address for outbound traffic from instances in a private subnet while preventing any unsolicited inbound connections from the internet. The NAT gateway translates the private source IPs of the instances to its own Elastic IP, meeting the partner firewall's requirement for a fixed source IP without exposing the EC2 instances directly.

Exam trap

The trap here is that candidates often confuse a NAT gateway with an Internet Gateway, thinking both provide outbound connectivity, but an Internet Gateway alone does not offer a fixed source IP for private instances and would expose them to inbound traffic if public IPs are assigned.

How to eliminate wrong answers

Option B is wrong because attaching an Internet Gateway and assigning public IPs to the instances would expose them to inbound internet traffic, violating the requirement to keep instances private. Option C is wrong because an Application Load Balancer operates at Layer 7 and does not provide a fixed source IP for outbound traffic; it distributes inbound traffic to targets, not outbound. Option D is wrong because a VPC Gateway Endpoint is used for private connectivity to AWS services like S3 or DynamoDB, not for routing general outbound traffic to an external partner's firewall.

443
MCQmedium

A company has a VPC with a CIDR block of 10.0.0.0/16. They have two subnets: a public subnet (10.0.1.0/24) and a private subnet (10.0.2.0/24). They launch an Amazon RDS for MySQL DB instance in the private subnet. The DB instance needs to be accessed by an EC2 instance in the public subnet. The security group for the DB instance allows inbound traffic on port 3306 from the security group of the EC2 instance. However, the EC2 instance cannot connect to the DB instance. What is the most likely cause?

A.The private subnet does not have a route to the public subnet
B.The network ACL for the private subnet is blocking inbound traffic
C.The security group for the EC2 instance does not allow outbound traffic
D.The DB instance does not have a public IP address
AnswerB

Correct. The network ACL for the private subnet is stateless and must allow inbound traffic on port 3306 from the public subnet. If it has been modified to block this traffic, the connection will fail. By default, NACLs allow all traffic, but custom rules may block it.

Why this answer

The most likely cause is that the network ACL (NACL) for the private subnet is blocking inbound traffic on port 3306. In Amazon VPC, each subnet has a default NACL that allows all inbound and outbound traffic by default, but if the NACL has been modified to block inbound traffic on port 3306, the connection from the EC2 instance will be denied. Security groups are stateful and allow return traffic automatically, but NACLs are stateless and require explicit rules for both inbound and outbound traffic.

The private subnet's route table automatically includes a local route to the entire VPC CIDR (10.0.0.0/16), which cannot be deleted, so a missing route is not a possible cause. The DB instance does not need a public IP for VPC internal communication, and the EC2 security group likely allows all outbound traffic by default.

Exam trap

Candidates often assume that security group misconfigurations or missing public IPs are the cause, but they overlook the stateless nature of network ACLs. In a VPC, subnets automatically have a local route, so routing is not an issue. The real trap is failing to check the network ACL for the private subnet when inbound traffic is blocked.

How to eliminate wrong answers

Option B is wrong because network ACLs are stateless and, by default, allow all inbound and outbound traffic unless explicitly modified; the question does not indicate any custom NACL rules blocking traffic, so this is unlikely. Option C is wrong because the security group for the EC2 instance does not need to allow outbound traffic to the DB instance; security groups are stateful, so if the EC2 instance initiates the connection, the return traffic is automatically allowed regardless of outbound rules. Option D is wrong because the DB instance does not need a public IP address; it is in a private subnet and can be accessed from the public subnet via private IP routing, provided the route tables are correctly configured.

444
MCQeasy

A company wants to allow its employees to securely access internal applications hosted in a VPC without traversing the internet. The company also wants to be able to enforce security policies at the user level. Which AWS service should the company use?

A.Bastion host in a public subnet
B.AWS Direct Connect
C.AWS Site-to-Site VPN
D.AWS Client VPN
AnswerD

Client VPN provides per-user secure access to VPC.

Why this answer

AWS Client VPN is a managed, cloud-based VPN service that allows employees to securely access internal applications hosted in a VPC from any location without traversing the internet. It uses OpenVPN-based client software and integrates with AWS Identity and Access Management (IAM) and Active Directory to enforce security policies at the user level, such as group-based access controls and multi-factor authentication.

Exam trap

The trap here is that candidates often confuse network-level connectivity services (Direct Connect, Site-to-Site VPN) with user-level remote access solutions, overlooking that only Client VPN provides per-user authentication and policy enforcement for individual employees.

How to eliminate wrong answers

Option A is wrong because a bastion host in a public subnet provides only SSH/RDP access to instances, not application-level access, and cannot enforce user-level security policies for internal applications. Option B is wrong because AWS Direct Connect establishes a dedicated private network connection from on-premises to AWS, but it does not inherently enforce user-level policies; it is a network transport layer, not a user-authentication or policy-enforcement service. Option C is wrong because AWS Site-to-Site VPN creates an encrypted tunnel between an on-premises network and a VPC, but it is a network-to-network connection that does not support per-user authentication or granular policy enforcement; it treats all traffic from the on-premises side as a single entity.

445
MCQmedium

A company is designing a multi-region active-active application using Amazon Route 53 latency-based routing with health checks. The application is deployed in us-east-1 and eu-west-1. During a load test, users in South America experience high latency despite the Route 53 configuration. What is the most likely cause?

A.The health check for one region is failing, causing all traffic to be routed to the remaining healthy region.
B.The company should use geolocation routing instead of latency-based routing.
C.The latency records are not refreshed frequently enough, causing stale routing decisions.
D.The Route 53 health check is configured to use CloudWatch alarms, which introduced additional latency.
AnswerA

If a region fails health check, traffic is routed to healthy regions, increasing latency for users far from that region.

Why this answer

Latency-based routing directs traffic to the region with the lowest latency for the user. If a health check fails, Route 53 treats that region as unhealthy and stops routing traffic to it, even if it would otherwise provide lower latency. In this scenario, users in South America likely experience high latency because the eu-west-1 region (which might have lower latency for them) is marked unhealthy, forcing all traffic to us-east-1, which is farther away.

Exam trap

The ANS-C01 exam often tests the interaction between health checks and routing policies, where candidates assume latency-based routing always sends traffic to the lowest-latency region, forgetting that a failed health check overrides that decision and routes all traffic to the healthy region, even if it is geographically distant.

How to eliminate wrong answers

Option B is wrong because geolocation routing routes based on the user's geographic location, not on network latency; it would not necessarily improve latency for South American users and could even worsen it if the nearest region is unhealthy. Option C is wrong because latency records are recalculated in real time based on current network conditions; there is no refresh interval that causes stale routing decisions. Option D is wrong because CloudWatch alarms are not used directly in Route 53 health checks; health checks can be based on endpoint status, calculated health checks, or CloudWatch metrics, but the alarm itself does not introduce additional latency into the routing decision.

446
MCQhard

A network engineer analyzes a VPC Flow Log entry showing an ACCEPT for a TCP connection from 203.0.113.50 (internet) to 10.0.1.5 on port 443. The security group for the instance allows inbound HTTPS only from 10.0.0.0/16, and the NACL for the subnet has the rules shown. Why was the traffic accepted?

A.The NACL inbound rule #120 allows HTTPS from 10.0.0.0/16, but the source is 203.0.113.50, so it should be denied.
B.The NACL inbound rule #100 allows HTTP from anywhere, and the traffic is HTTP.
C.The security group allows inbound HTTPS from 10.0.0.0/16, but the flow log source is 203.0.113.50, so it should be denied. The ACCEPT must be an error.
D.The flow log entry represents outbound traffic from the instance (source 10.0.1.5:443 to destination 203.0.113.50:38000). The security group's default outbound rule allows all traffic, and the NACL outbound (not shown) also allows it, resulting in ACCEPT.
AnswerD

Correct interpretation of the flow log: source is the instance, destination is internet. Outbound is allowed by default.

Why this answer

The VPC Flow Log entry shows an ACCEPT for traffic from 203.0.113.50:38000 to 10.0.1.5:443. Because flow logs record connection state, this entry actually represents the return traffic of an outbound connection initiated by the instance (10.0.1.5) to the internet host on port 443. The security group's default outbound rule allows all traffic, and the NACL outbound rules (not shown) also permit it, so the return ACCEPT is valid.

Exam trap

AWS often tests the misconception that VPC Flow Log entries always represent the direction of traffic as seen by the network, when in fact they record the connection tuple as observed, which can be the reverse direction of the original request, leading candidates to incorrectly apply inbound security rules.

How to eliminate wrong answers

Option A is wrong because the NACL inbound rule #120 allows HTTPS from 10.0.0.0/16, but the source IP is 203.0.113.50, so it would deny the traffic if this were an inbound connection; however, the traffic is actually outbound, so inbound NACL rules are irrelevant. Option B is wrong because the traffic is HTTPS (port 443), not HTTP (port 80), and rule #100 allows HTTP from anywhere, which does not apply to port 443. Option C is wrong because the security group's inbound rule restricts HTTPS to 10.0.0.0/16, but this is return traffic for an outbound connection, so inbound security group rules are not evaluated; the ACCEPT is not an error.

447
MCQhard

A financial services company must ensure that all traffic between its on-premises data center and VPC is encrypted in transit and does not traverse the public internet. The company has an AWS Direct Connect connection. Which solution meets these requirements?

A.Use a private virtual interface (VIF) over the Direct Connect connection and establish an IPsec VPN tunnel over the private VIF
B.Use a private virtual interface (VIF) and rely on Direct Connect encryption
C.Use a public virtual interface (VIF) over the Direct Connect connection and configure an IPsec VPN tunnel over it
D.Use a transit virtual interface (VIF) over the Direct Connect connection and attach it to a transit gateway
AnswerA

This provides encryption over a private connection, meeting both requirements.

Why this answer

A private virtual interface (VIF) provides private, non-internet-routed connectivity between the on-premises data center and the VPC over AWS Direct Connect. However, Direct Connect itself does not natively encrypt traffic; by establishing an IPsec VPN tunnel over the private VIF, you add end-to-end encryption (e.g., using AES-256) while keeping all traffic off the public internet, meeting both requirements.

Exam trap

The trap here is that candidates assume Direct Connect provides encryption by default, but it does not; the exam tests whether you know that a private VIF alone is unencrypted and that an IPsec VPN overlay is required to meet encryption mandates.

How to eliminate wrong answers

Option B is wrong because Direct Connect does not provide native encryption for data in transit; it relies on physical security of the fiber, but the traffic is not encrypted, so it fails the 'encrypted in transit' requirement. Option C is wrong because a public VIF connects to AWS public services (e.g., S3, DynamoDB) over the internet-routable path, which can traverse the public internet, violating the 'does not traverse the public internet' requirement. Option D is wrong because a transit VIF is used to connect a Direct Connect gateway to a transit gateway for multi-VPC routing, but it does not inherently provide encryption; it still requires an IPsec VPN or similar overlay to encrypt traffic.

448
MCQhard

A company has a VPC with multiple subnets. The security team requires that all outbound traffic from the VPC to the internet goes through a centralized firewall. Which design should be used?

A.Route all internet traffic through a centralized inspection VPC using Transit Gateway.
B.Attach an Internet Gateway to each VPC.
C.Use AWS Site-to-Site VPN to a third-party firewall.
D.Use VPC Endpoints for all services.
AnswerA

Enforces centralized firewall.

Why this answer

It uses a Transit Gateway to route all outbound internet traffic from the VPC to a centralized inspection VPC, where a firewall (e.g., AWS Network Firewall or a third-party appliance) inspects and forwards traffic to an Internet Gateway. This design meets the security requirement by enforcing a single egress point, ensuring all traffic is inspected before reaching the internet.

Exam trap

The trap here is that candidates often assume an Internet Gateway is required for internet access and overlook the need for centralized inspection, leading them to choose Option B without considering the security constraint.

How to eliminate wrong answers

Option B is wrong because attaching an Internet Gateway to each VPC creates direct internet access, bypassing the centralized firewall and violating the security requirement. Option C is wrong because AWS Site-to-Site VPN connects to an on-premises firewall, not a centralized firewall within AWS, and does not inherently route all VPC outbound traffic through it without additional routing complexity. Option D is wrong because VPC Endpoints provide private connectivity to AWS services only, not general internet access, and thus cannot handle all outbound internet traffic.

449
MCQmedium

A company is designing a network for a three-tier web application. The web tier must be accessible from the internet, the application tier must only be accessible from the web tier, and the database tier must only be accessible from the application tier. Which VPC design meets these requirements with the highest security?

A.Create a single public subnet and use security groups to restrict traffic between instances.
B.Place all instances in public subnets but assign private IP addresses only.
C.Create public subnets for web tier and private subnets for app and database tiers. Use security groups to allow traffic from web to app and app to database.
D.Use network ACLs on subnets to restrict traffic instead of security groups.
AnswerC

Best practices for tiered architecture.

Why this answer

It uses separate public subnets for the web tier (with an Internet Gateway for inbound traffic) and private subnets for the application and database tiers, which have no direct route to the internet. Security groups act as stateful virtual firewalls at the instance level, allowing you to precisely control traffic flows: the web tier security group allows inbound HTTP/HTTPS from the internet, the application tier security group allows inbound traffic only from the web tier security group, and the database tier security group allows inbound traffic only from the application tier security group. This layered approach enforces least-privilege access and minimizes the attack surface.

Exam trap

The trap here is that candidates often assume network ACLs are more secure than security groups because they operate at the subnet level, but they overlook the fact that security groups provide stateful, instance-level control that is inherently more secure and easier to manage for isolating application tiers.

How to eliminate wrong answers

Option A is wrong because placing all instances in a single public subnet exposes the application and database tiers to the internet, even if security groups restrict traffic; the instances still have public IP addresses and are reachable from the internet, violating the requirement that only the web tier be internet-accessible. Option B is wrong because assigning private IP addresses only does not prevent instances in public subnets from being assigned public IPs via an Internet Gateway or NAT device; moreover, public subnets are defined by having a route to an Internet Gateway, so all instances would still be directly reachable from the internet, breaking the isolation requirements. Option D is wrong because network ACLs are stateless and operate at the subnet level, requiring explicit inbound and outbound rules for ephemeral ports, which complicates management and can inadvertently allow or block traffic; security groups are stateful and provide finer-grained, instance-level control, making them more secure and easier to manage for this use case.

450
MCQhard

A company has multiple VPCs connected via a Transit Gateway. Each VPC has its own CIDR block. The company wants to isolate network traffic between specific VPCs. What is the most scalable way to achieve this?

A.Deploy AWS Network Firewall in each VPC.
B.Create separate Transit Gateway route tables and associate VPC attachments to the appropriate route tables.
C.Use Security Groups in each VPC to filter traffic.
D.Use VPC Peering connections and modify route tables.
AnswerB

Transit Gateway route tables provide scalable isolation.

Why this answer

Transit Gateway route tables allow you to isolate traffic between VPCs by controlling which VPC attachments can communicate with each other. By associating each VPC attachment with a specific route table and configuring route propagation appropriately, you can enforce isolation without additional appliances or complex routing. This approach scales seamlessly as you add more VPCs, because you simply create new route tables and associate attachments as needed.

Exam trap

The trap here is that candidates often assume Security Groups or Network Firewall are the only ways to isolate traffic, but the question specifically asks for the most scalable method, which is achieved by Transit Gateway route tables rather than per-VPC firewall appliances or instance-level security groups.

How to eliminate wrong answers

Option A is wrong because deploying AWS Network Firewall in each VPC introduces unnecessary cost, complexity, and a single point of failure per VPC, and it does not natively scale to many VPCs without manual configuration of routing and firewall policies. Option C is wrong because Security Groups are stateful firewalls that filter traffic at the instance level, not at the network edge, and they cannot isolate traffic between VPCs at the Transit Gateway level; they also require explicit rules for every instance pair, which does not scale. Option D is wrong because VPC Peering connections create a full mesh of point-to-point links, which does not scale beyond a few VPCs due to the quadratic increase in peering connections and the need to manually update route tables in every VPC.

← PreviousPage 6 of 7 · 482 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Network Design questions.