Courseiva

CCNA Network Management and Operations Questions

75 of 326 questions · Page 4/5 · Network Management and Operations · Answers revealed

226
MCQmedium

A company uses AWS Transit Gateway to connect multiple VPCs and on-premises networks. They want to limit traffic between specific VPCs for security purposes. Which feature should they use?

A.Security groups attached to the Transit Gateway.
B.Transit Gateway route tables.
C.VPC Flow Logs.
D.Network ACLs in each VPC.
AnswerB

Route tables control which attachments can communicate.

Why this answer

Transit Gateway route tables control traffic between attachments by creating separate route tables and associating attachments accordingly, enabling isolation between specific VPCs. Option A is wrong because security groups are not supported on Transit Gateway attachments; they are instance-level. Option C is wrong because VPC Flow Logs are for monitoring traffic, not controlling it.

Option D is wrong because Network ACLs are per-subnet and do not provide centralized control across attachments.

227
Multi-Selectmedium

A network engineer is troubleshooting high latency on a Direct Connect connection. Which TWO actions should the engineer take to diagnose the issue?

Select 2 answers
A.Check the BGP session status
B.Enable VPC Flow Logs on the VPC
C.Run a continuous 'mtr' from on-premises to an AWS resource
D.Review CloudWatch metrics for the Direct Connect virtual interface
E.Run a traceroute from on-premises to an AWS IP address
AnswersC, D

Identifies latency at each hop.

Why this answer

Running a continuous 'mtr' from on-premises to an AWS resource (C) can identify latency and packet loss along each hop, including the Direct Connect connection. Reviewing CloudWatch metrics for the Direct Connect virtual interface (D) provides latency, packet loss, and throughput statistics. Option A is incorrect because BGP session status only indicates whether the routing session is established, not the latency.

Option B is incorrect because VPC Flow Logs show traffic metadata, not latency. Option E is incorrect because traceroute may be blocked by ICMP filtering and is less reliable than 'mtr' for measuring latency over Direct Connect.

228
MCQhard

A financial company has a multi-account AWS environment using AWS Organizations. They have deployed a centralized inspection VPC with a third-party firewall appliance. All VPCs are attached to a Transit Gateway. The security team wants to ensure that all traffic between VPCs is inspected by the firewall. The firewall is deployed in an Auto Scaling group behind a Network Load Balancer (NLB). What is the BEST way to route traffic to the firewall?

A.Use a Gateway Load Balancer (GWLB) endpoint in each VPC to route traffic to the firewall.
B.Use VPC peering between each VPC and the inspection VPC.
C.Deploy a firewall appliance in each VPC and route traffic locally.
D.Create a Transit Gateway attachment in the inspection VPC and point the NLB as the target. Route traffic through the Transit Gateway route tables to the inspection VPC.
AnswerD

ECMP distributes traffic across firewall instances.

Why this answer

The best approach. By creating a Transit Gateway attachment in the inspection VPC and configuring the Network Load Balancer (NLB) as the target, all inter-VPC traffic can be routed through the firewall via Transit Gateway route tables. This ensures centralized inspection without introducing complexity.

Option A is incorrect because a Gateway Load Balancer (GWLB) is not needed here; the NLB already provides load balancing for the firewall instances. Option B is incorrect because VPC peering bypasses the Transit Gateway, defeating centralized inspection. Option C is incorrect because deploying a firewall in each VPC is not centralized and increases management overhead.

229
MCQeasy

A company has deployed a web application in a VPC with public subnets for the web servers and private subnets for the database servers. The web servers need to access the internet for software updates. The network engineer configured a NAT Gateway in the public subnet and added a route in the private subnet route table pointing 0.0.0.0/0 to the NAT Gateway. However, the web servers cannot reach the internet. What is the most likely cause?

A.The private subnet route table does not have a route to the NAT Gateway for 0.0.0.0/0.
B.The security group of the web servers is blocking outbound traffic to the internet.
C.The web servers are in a public subnet, but the route table for the public subnet points 0.0.0.0/0 to the NAT Gateway instead of the Internet Gateway.
D.The NAT Gateway does not have a route to the Internet Gateway in its route table.
AnswerC

Public subnets should route internet traffic to an Internet Gateway, not a NAT Gateway. The NAT Gateway is for private subnets.

Why this answer

The web servers are deployed in a public subnet, which requires a route table entry pointing 0.0.0.0/0 to an Internet Gateway (IGW) for direct internet access. Instead, the engineer configured the route to point to a NAT Gateway, which is intended for private subnets. A public subnet must have a direct IGW route; using a NAT Gateway in a public subnet breaks outbound connectivity because the NAT Gateway itself relies on the IGW for internet access, but the web servers' traffic is sent to the NAT Gateway instead of the IGW, causing a routing loop or failure.

Exam trap

The trap here is that candidates often confuse the purpose of a NAT Gateway (for private subnets) with an Internet Gateway (for public subnets), and assume that placing a NAT Gateway in a public subnet automatically provides internet access to instances in that subnet, when in fact the route table must point to the IGW for public subnets.

How to eliminate wrong answers

Option A is wrong because the private subnet route table does have a route to the NAT Gateway for 0.0.0.0/0 as stated in the scenario, so this is not the issue. Option B is wrong because security groups are stateful and by default allow all outbound traffic; unless explicitly modified to block outbound traffic, they would not prevent internet access. Option D is wrong because a NAT Gateway does not have its own route table; it is an AWS-managed service that uses an Elastic IP and relies on the route table of the subnet it resides in to route traffic to the Internet Gateway, but the problem is with the web servers' subnet route table, not the NAT Gateway's.

230
MCQmedium

A company has a Direct Connect connection with a public VIF to access AWS public services. They notice that traffic to Amazon S3 is taking a suboptimal path via the internet instead of the Direct Connect. What is the MOST likely cause?

A.The BGP session for the public VIF is not advertising the S3 prefixes
B.The public VIF is in a 'DOWN' state
C.The on-premises router does not have a route for the S3 CIDR ranges pointing to the Direct Connect
D.The virtual private gateway is not attached to the VPC
AnswerC

Need to route S3 traffic over Direct Connect.

Why this answer

The most likely cause is that the on-premises router does not have a route for the S3 CIDR ranges pointing to the Direct Connect interface. Even though the public VIF is established and BGP is advertising the appropriate prefixes, the on-premises router must have a specific route directing S3 traffic to the Direct Connect. Without this route, traffic will take the default path via the internet.

Option A is incorrect because BGP for public VIFs does advertise prefixes, including S3. Option B is incorrect because a 'DOWN' state would prevent all traffic, not just suboptimal routing. Option D is incorrect because a virtual private gateway is not used with a public VIF.

231
MCQmedium

Refer to the exhibit. A network engineer is analyzing VPC Flow Logs to troubleshoot connectivity issues. The engineer notices that traffic from 10.0.1.5 to 192.168.1.1 on port 80 is logged as ACCEPT, but the application team reports that the web request failed. What is the most likely cause?

A.The VPC Flow Logs are not capturing all packets due to sampling.
B.The network ACL is returning an ICMP unreachable message that is not logged.
C.The destination host 192.168.1.1 is not reachable or does not have a route back to the source.
D.The security group on the ENI is blocking outbound traffic to 192.168.1.1.
AnswerC

The outbound packet was accepted, but the lack of a return path or the destination being down would cause the application to fail.

Why this answer

The VPC Flow Logs record the state of the TCP handshake from the perspective of the network path, but they do not confirm that the destination host successfully processed the request or that a return path exists. If 192.168.1.1 has no route back to 10.0.1.5, the initial SYN-ACK will never reach the source, causing the application to time out even though the forward traffic was accepted by the network ACL and security group.

Exam trap

AWS often tests the misconception that an ACCEPT log entry guarantees end-to-end connectivity, when in fact it only confirms that the packet passed the hypervisor-level firewall rules, not that the destination host processed it or that a return path exists.

How to eliminate wrong answers

Option A is wrong because VPC Flow Logs capture all packets by default; sampling is only enabled when explicitly configured, and the question does not mention sampling. Option B is wrong because network ACLs do not generate ICMP unreachable messages; they silently drop traffic, and any ICMP unreachable would be generated by the destination host or a router, not the ACL. Option D is wrong because if the security group on the ENI were blocking outbound traffic to 192.168.1.1, the flow log entry would show REJECT or no log entry at all, not ACCEPT.

232
MCQeasy

A network engineer needs to capture and analyze DNS query logs generated by Amazon Route 53. Which AWS service should be used to store and query these logs?

A.AWS CloudTrail
B.Amazon Kinesis Data Firehose
C.Amazon CloudWatch Logs
D.Amazon S3
AnswerC

Route 53 can publish DNS query logs to CloudWatch Logs for analysis.

Why this answer

Amazon Route 53 can be configured to log DNS queries to Amazon CloudWatch Logs. CloudWatch Logs provides a centralized location to store and query these logs using CloudWatch Logs Insights. Option A (AWS CloudTrail) records API calls, not DNS queries.

Option B (Amazon Kinesis Data Firehose) is a streaming data delivery service that can deliver logs to destinations like S3, but it does not directly store logs for querying. Option D (Amazon S3) is an object storage service and requires additional services (e.g., Athena) to query logs. Therefore, Amazon CloudWatch Logs is the correct service for storing and querying Route 53 DNS query logs directly.

233
MCQhard

A company is using AWS Transit Gateway to connect multiple VPCs and on-premises networks. After a network change, some VPCs cannot reach the on-premises network. The Transit Gateway route table shows the correct association and propagation. What is the most likely cause?

A.The Transit Gateway attachment is in a failed state
B.The VPN connection to the on-premises network has insufficient bandwidth
C.The BGP session between the Transit Gateway and on-premises router is down
D.The VPC route tables do not have a route pointing to the Transit Gateway
AnswerD

Without a route to the Transit Gateway, traffic from the VPC cannot reach on-premises networks.

Why this answer

The VPC route tables do not have a route pointing to the Transit Gateway. Even though the Transit Gateway route table has correct associations and propagations, traffic from VPCs to on-premises requires a route in the VPC route tables pointing to the Transit Gateway attachment. Without such a route, VPCs cannot send traffic to the Transit Gateway, causing connectivity loss.

Option A is incorrect because the attachment state is fine if the route table shows correct association. Option B is incorrect because insufficient bandwidth would cause performance issues, not complete loss of connectivity. Option C is incorrect because a down BGP session would affect route propagation, but the Transit Gateway route table already shows correct propagation, implying BGP is functioning.

234
MCQhard

A company has a hybrid network with multiple AWS Direct Connect connections to multiple VPCs. They want to monitor network performance and receive alerts when latency exceeds a threshold. Which combination of AWS services should be used to achieve this?

A.AWS CloudTrail and Amazon SNS
B.AWS Trusted Advisor and Amazon SES
C.Amazon CloudWatch and Amazon CloudWatch Alarms
D.VPC Flow Logs and Amazon CloudWatch Logs
AnswerC

Amazon CloudWatch collects Direct Connect metrics including latency. CloudWatch Alarms can trigger alerts via SNS when latency thresholds are exceeded.

Why this answer

Amazon CloudWatch collects metrics from Direct Connect, including latency, and CloudWatch Alarms can trigger notifications via SNS when thresholds are exceeded. Option A is incorrect because CloudTrail logs API calls, not performance metrics. Option B is incorrect because Trusted Advisor provides best practice checks, not real-time latency monitoring, and SES is for email sending, not alerting.

Option D is incorrect because VPC Flow Logs capture IP traffic metadata, not latency metrics, and CloudWatch Logs store log data, not metrics.

235
MCQeasy

A company is using AWS Transit Gateway to interconnect multiple VPCs and on-premises networks. The network team notices that traffic between two VPCs is taking an unexpected path. Which AWS service should be used to analyze the packet-level traffic flow and identify the path?

A.AWS CloudTrail
B.AWS X-Ray
C.AWS Config
D.VPC Flow Logs
AnswerD

VPC Flow Logs capture IP traffic metadata and can be used to trace paths.

Why this answer

VPC Flow Logs capture IP traffic metadata (source/destination IP, ports, protocol, packet/byte counts) at the network interface level, enabling analysis of packet-level traffic flow paths through AWS Transit Gateway. By enabling flow logs on the Transit Gateway attachment or VPC subnets, you can trace the actual path traffic takes between VPCs, including whether it traverses the Transit Gateway or an unexpected route.

Exam trap

AWS often tests the misconception that CloudTrail or Config can analyze network traffic paths, but only VPC Flow Logs provide the packet-level metadata needed to trace the actual data plane flow through Transit Gateway.

How to eliminate wrong answers

Option A is wrong because AWS CloudTrail records API calls and management events, not packet-level traffic flows; it cannot show the data plane path of network traffic. Option B is wrong because AWS X-Ray traces application-layer requests (e.g., HTTP/SQL) and is designed for distributed application debugging, not for analyzing network-layer packet flows or routing paths. Option C is wrong because AWS Config evaluates resource configurations and compliance rules (e.g., route table settings) but does not capture or analyze live packet-level traffic flows.

236
Multi-Selecthard

A company is designing a highly available hybrid network using two AWS Direct Connect connections from different providers. The company wants to use BGP to advertise the same on-premises prefixes to AWS. Which THREE practices should be followed to ensure high availability and optimal traffic flow? (Choose three.)

Select 3 answers
A.Advertise different on-premises prefixes on each connection
B.Advertise the same prefixes with different prefix lengths to influence route selection
C.Configure a unique private ASN for each Direct Connect connection
D.Set the same MED value for prefixes advertised on both connections
E.Use different BGP community tags for each connection to influence routing policies
AnswersB, C, E

AWS prefers more specific prefixes (longer prefix length).

Why this answer

Advertising the same prefixes with different prefix lengths allows AWS to prefer the more specific prefix, enabling path selection and load balancing while maintaining redundancy. Option C is correct because using a unique private ASN for each Direct Connect connection prevents BGP's AS_PATH loop detection from discarding routes when both connections advertise the same prefixes. Option E is correct because using different BGP community tags for each connection allows you to influence routing policies (e.g., via local preference) to control traffic flow.

Option A is incorrect because advertising different prefixes on each connection compromises redundancy; if one connection fails, its prefixes become unreachable. Option D is incorrect because setting the same MED value on both connections provides no differentiation for path selection, whereas using different MED values can influence which connection is preferred.

237
MCQhard

A company has a VPC with a VPN connection to an on-premises network. The network team reports that the VPN tunnel is flapping intermittently. You need to identify the cause. Which AWS service provides logs that can help troubleshoot the VPN tunnel status?

A.VPC Flow Logs
B.Amazon CloudWatch
C.AWS CloudTrail
D.AWS Health Dashboard
AnswerB

Amazon CloudWatch provides metrics for VPN tunnels, including tunnel state, data in/out, and other status indicators. These logs help identify the cause of tunnel flapping.

Why this answer

Amazon CloudWatch provides VPN tunnel metrics, including tunnel state, data in/out, and other status indicators that help identify the cause of flapping. Option A (VPC Flow Logs) captures IP traffic but not tunnel status. Option C (AWS CloudTrail) logs API calls, not tunnel status.

Option D (AWS Health Dashboard) shows service health events but not detailed tunnel status.

238
Multi-Selecteasy

Which TWO are valid methods to monitor and troubleshoot AWS Direct Connect connections?

Select 2 answers
A.Use CloudFront to monitor Direct Connect utilization.
B.Enable AWS CloudTrail to log Direct Connect API calls.
C.Enable Direct Connect Connection and Virtual Interface metrics in CloudWatch.
D.Use AWS Direct Connect Connection tests to verify connectivity and performance.
E.Enable VPC Flow Logs on the VIF.
AnswersC, D

CloudWatch provides metrics for Direct Connect, such as connection state and BGP status.

Why this answer

Options C and D are correct. Option C: Direct Connect connection and virtual interface metrics can be monitored through CloudWatch, providing utilization and error stats. Option D: Direct Connect Connection tests (e.g., using the AWS Management Console or CLI) allow you to verify connectivity and performance.

Options A and B are incorrect: CloudFront is a CDN and not used for Direct Connect monitoring; CloudTrail logs API calls but does not provide real-time connection monitoring. Option E is incorrect: VPC Flow Logs capture IP traffic for VPCs, not Direct Connect link-level data.

239
MCQhard

A company has a VPC with a public subnet and a private subnet. The private subnet instances need to make outbound internet requests. A NAT Gateway is deployed in the public subnet. The network engineer notices that instances in the private subnet cannot reach the internet, but the NAT Gateway's Elastic IP is reachable from the internet. Which of the following is the most likely cause?

A.The network ACL on the private subnet blocks outbound traffic.
B.The route table for the private subnet does not have a default route (0.0.0.0/0) pointing to the NAT Gateway.
C.The NAT Gateway is not associated with an Elastic IP.
D.The security group attached to the NAT Gateway blocks outbound traffic.
AnswerB

Without this route, outbound traffic cannot reach the NAT Gateway.

Why this answer

The private subnet instances cannot reach the internet because the route table for the private subnet does not have a default route (0.0.0.0/0) pointing to the NAT Gateway. Without this route, traffic destined for the internet has no path. Option A is incorrect because a NACL blocking outbound traffic would cause a different symptom, but the stem indicates the NAT Gateway's EIP is reachable, suggesting routing is the issue.

Option C is incorrect because the NAT Gateway is already associated with an Elastic IP. Option D is incorrect because security groups are not applied to NAT Gateways; they are applied to instances.

240
MCQmedium

A network engineer created a VPC interface endpoint for a third-party SaaS service using AWS PrivateLink. The endpoint shows 'available' state, but on-premises clients cannot connect to the service via the private endpoint DNS name. What is the MOST likely reason?

A.The endpoint is not in the 'available' state.
B.Private DNS is not enabled for the endpoint.
C.The endpoint is not associated with any subnet.
D.The endpoint type is Gateway, not Interface.
AnswerB

Private DNS must be enabled for the private hosted zone to resolve the endpoint DNS name.

Why this answer

Private DNS for the endpoint must be enabled for the private DNS name to resolve correctly from on-premises. Option A is incorrect because the endpoint is in 'available' state. Option C is incorrect because the subnet IDs are present.

Option D is incorrect because the endpoint type is Interface, not Gateway.

241
MCQeasy

A company uses AWS Direct Connect to connect its data center to a VPC. The VIF is up, and the BGP session is established. However, the on-premises router cannot ping the VPC's private IP addresses. Which configuration is most likely missing?

A.The Direct Connect virtual interface is in the wrong VLAN.
B.The BGP password is incorrect.
C.The on-premises router is not advertising the VPC CIDR via BGP.
D.The VPC route table does not have a route pointing to the Virtual Private Gateway for the on-premises CIDR.
AnswerD

Without this route, the VPC does not know to send traffic to the Direct Connect via the VGW.

Why this answer

For traffic to reach VPC private IPs, the VPC route table must have a route pointing to the Virtual Private Gateway (VGW) for the on-premises CIDR. Even with BGP up, without this route, traffic won't be sent to the VGW.

242
MCQmedium

A company uses AWS Direct Connect to connect its on-premises network to a VPC. The connection uses a private virtual interface (VIF) to access the VPC. The network team is monitoring the link and notices that the BGP session goes down intermittently. The team has checked the physical layer and found no issues. The BGP keepalive timer is set to 30 seconds on both sides. The network engineer suspects that the issue might be related to the BGP hold timer. What should the engineer do to stabilize the BGP session?

A.Configure a static route on the on-premises router for the VPC CIDR.
B.Decrease the BGP hold timer to 10 seconds on the on-premises router.
C.Increase the BGP hold timer to 90 seconds on both the on-premises router and the AWS side.
D.Change the virtual interface to a public VIF to improve BGP stability.
AnswerC

Correct: A higher hold timer reduces the chance of BGP session flapping due to intermittent connectivity.

Why this answer

Increasing the BGP hold timer to 90 seconds on both the on-premises router and the AWS side allows more time to receive keepalive messages, reducing the likelihood of the session going down due to transient network issues or slight delays. This stabilizes the BGP session without changing the underlying physical connection. Option A is incorrect because a static route would bypass BGP and remove the dynamic routing benefits.

Option B is incorrect because decreasing the hold timer makes the session more sensitive to delays, worsening the flapping. Option D is incorrect because changing to a public VIF does not affect BGP stability and is unrelated to the hold timer issue.

243
MCQhard

A company is designing a multi-region active-active architecture using Application Load Balancers (ALBs) and AWS Global Accelerator. They need to ensure that traffic is distributed evenly across regions and that failover happens automatically. Which configuration should they use?

A.Use Route 53 latency-based routing with health checks
B.Configure Global Accelerator with a single endpoint group containing both ALBs
C.Configure Global Accelerator with two endpoints (one per region) and set equal weights
D.Use a Network Load Balancer in each region and Route 53 weighted routing
AnswerC

Global Accelerator supports endpoint weights for traffic distribution and health checks for failover.

Why this answer

Global Accelerator uses endpoint weights to distribute traffic. Setting equal weights for both regional endpoints ensures even distribution, and health checks automatically route traffic away from unhealthy regions.

244
MCQmedium

A company has set up a Direct Connect connection with a private VIF to its VPC. The BGP session is up, but traffic is not passing between the on-premises network and the VPC. Which configuration should be verified?

A.Ensure jumbo frames are enabled on the Direct Connect interface
B.Verify that the VIF is a public VIF
C.Review the Direct Connect virtual interface metrics in CloudWatch
D.Check the BGP advertised routes and the VPC route tables
AnswerD

Routes must be properly advertised and propagated to the VPC route table.

Why this answer

For traffic to flow between on-premises and the VPC over a Direct Connect private VIF, the on-premises network must advertise the appropriate routes via BGP, and the VPC route tables must have routes pointing to the virtual private gateway (VGW). Option A is wrong because jumbo frames are not required for basic connectivity. Option B is wrong because the VIF type (private vs public) is not the issue—the BGP session is already up, indicating the VIF is correctly configured as private.

Option C is wrong because CloudWatch metrics are for monitoring performance, not for diagnosing routing issues.

245
Multi-Selectmedium

A company is using AWS Transit Gateway to connect multiple VPCs and on-premises networks via VPN. The network team needs to monitor the BGP session status for each VPN attachment. Which TWO services can be used to monitor BGP status and receive alerts if a session goes down?

Select 2 answers
A.Amazon CloudWatch Alarms on the BGP status metric.
B.AWS Config rules.
C.VPC Flow Logs.
D.AWS CloudTrail logs.
E.Amazon CloudWatch metrics for VPN tunnels.
AnswersA, E

Alarms can notify when BGP goes down.

Why this answer

Amazon CloudWatch provides metrics for VPN tunnels, including the BGP status metric (e.g., TunnelState, BGPStatus). CloudWatch Alarms can be set on this metric to trigger notifications if the BGP session goes down. Option A is correct because CloudWatch Alarms on the BGP status metric directly monitor and alert on BGP session state.

Option E is correct because CloudWatch metrics for VPN tunnels include BGP status data. Option B (AWS Config) is incorrect because AWS Config is used for resource compliance and configuration changes, not real-time monitoring of BGP sessions. Option C (VPC Flow Logs) is incorrect because VPC Flow Logs capture IP traffic information, not BGP routing protocol status.

Option D (AWS CloudTrail) is incorrect because CloudTrail logs API calls, not BGP session state.

246
MCQmedium

A company is using AWS Direct Connect to connect its on-premises data center to AWS. The network team notices increased latency and packet loss during peak hours. The Direct Connect virtual interface (VIF) is configured as a private VIF to a VPC. What is the MOST likely cause of the issue?

A.Jumbo frames are not enabled on the VIF.
B.The VIF bandwidth is insufficient for the traffic volume.
C.The BGP keepalive timer is set too low.
D.The MTU size of the VIF is set to 1500 bytes.
AnswerB

Bursty traffic can exceed the provisioned bandwidth, causing congestion.

Why this answer

The most likely cause is insufficient VIF bandwidth for the traffic volume. During peak hours, increased traffic can exceed the provisioned bandwidth, causing congestion, which manifests as increased latency and packet loss. Option A is incorrect because jumbo frames (larger MTU) can improve efficiency but not prevent congestion.

Option C is incorrect because BGP keepalive timers affect routing convergence, not throughput. Option D is incorrect because a 1500-byte MTU is standard and should not cause issues; the problem arises only during peak hours, indicating a capacity issue.

247
MCQeasy

A company uses AWS Direct Connect to connect its on-premises network to a VPC. The network team notices intermittent packet loss on the Direct Connect virtual interface (VIF). Which AWS service should be used to monitor the latency and packet loss on the VIF?

A.AWS Health Dashboard
B.VPC Flow Logs
C.AWS CloudWatch
D.AWS Transit Gateway Network Manager
AnswerC

CloudWatch provides Direct Connect metrics including packet loss and latency.

Why this answer

CloudWatch provides metrics for Direct Connect including packet loss and latency. VPC Flow Logs capture IP traffic metadata but not latency. AWS Health Dashboard shows service health.

Transit Gateway is a network transit hub but not a monitoring service.

248
MCQmedium

Refer to the exhibit. A network engineer has established a VPC peering connection between VPC A (10.0.0.0/16) in account 111111111111 and VPC B (192.168.0.0/16) in account 222222222222. The peering connection status is 'active'. However, instances in VPC A cannot reach instances in VPC B. What is the MOST likely cause?

A.The peering connection is not in the 'active' state
B.Route tables in one or both VPCs do not have routes to the peer CIDR
C.Security groups in VPC B are blocking traffic
D.The CIDR blocks overlap
AnswerB

Missing routes prevent communication.

Why this answer

The VPC peering connection is active, so A is incorrect. The CIDR blocks (10.0.0.0/16 and 192.168.0.0/16) do not overlap, so D is incorrect. Security groups can block traffic, but the most common cause is missing routes in the route tables of one or both VPCs to the peer CIDR via the peering connection.

Therefore, B is correct.

249
MCQmedium

A network engineer is troubleshooting why an EC2 instance (with the above security group) is not responding to HTTP requests from the internet. The instance is in a public subnet with an Internet Gateway attached. The route table has a default route to the Internet Gateway. What is the most likely cause?

A.The security group only allows traffic from the 10.0.0.0/8 range
B.The security group does not allow inbound ICMP traffic
C.The route table does not have a route for the internet
D.The network ACL is blocking inbound HTTP
AnswerA

The security group rule only permits HTTP from the private 10.0.0.0/8 CIDR, not from the internet.

Why this answer

The security group only allows inbound HTTP traffic from the 10.0.0.0/8 IP range, which is a private address space. Since the request originates from the internet (a public IP), it does not match the allowed source and is therefore denied. Option A correctly identifies this issue.

Options B, C, and D are incorrect: ICMP is not required for HTTP, the route table does have a default route to the IGW, and there is no information about network ACLs blocking HTTP.

250
MCQmedium

A company uses AWS Direct Connect with a private virtual interface (VIF) to connect its on-premises network to its VPC. The on-premises network team reports that they can ping the private IP address of an EC2 instance in the VPC, but cannot establish a TCP connection to a web server running on that instance. The network security group allows inbound TCP port 80 from the on-premises CIDR. What should the network engineer check next?

A.Review the network ACL associated with the subnet to ensure it allows inbound TCP 80.
B.Check the operating system firewall and web server configuration on the EC2 instance.
C.Check the BGP session status on the Direct Connect virtual interface.
D.Verify the route table on the VPC has a route back to the on-premises network.
AnswerB

The OS firewall or application may block TCP despite security group allowing it.

Why this answer

The instance's OS firewall or web server configuration may be blocking the TCP connection, even though ping works (ICMP may be allowed). Option A is wrong because ping works, indicating routing and NACL are fine. Option C is wrong because the BGP session status is unrelated to connectivity to the instance.

Option D is wrong because the NACL is stateless and would affect ping as well, so routing is fine.

251
MCQhard

A company has an AWS Direct Connect connection with a private VIF to a VPC. They notice that traffic from the on-premises network to the VPC is being routed through the internet instead of the Direct Connect. The VPC route table has a route pointing to the virtual private gateway for the on-premises CIDR. What is the most likely cause?

A.The virtual private gateway is not attached to the VPC
B.The security group on the VPC resources blocks the traffic
C.The on-premises CIDR is more specific than the VPC route table entry
D.The on-premises router is not advertising the prefix via BGP over the Direct Connect
AnswerD

Without BGP advertisement, the route is not propagated to the VPC.

Why this answer

If the on-premises router is not advertising the prefix via BGP over the Direct Connect, the VPC will not have a route to the on-premises network through the Direct Connect, causing traffic to go over the internet. Option A is incorrect because if the virtual private gateway were not attached, the VPC would have no route to the on-premises network at all. Option B is incorrect because security groups do not affect routing decisions; they filter traffic at the instance level.

Option C is incorrect because a more specific route would still use the virtual private gateway, not the internet.

252
Multi-Selecteasy

Which TWO AWS services can be used to centrally manage and monitor network traffic across multiple VPCs and on-premises networks?

Select 2 answers
A.AWS Transit Gateway Network Manager
B.Amazon CloudWatch
C.AWS WAF
D.AWS Direct Connect
E.AWS Shield
AnswersA, B

It provides a central dashboard for network connectivity.

Why this answer

AWS Transit Gateway Network Manager provides a central view of network topology and metrics. Amazon CloudWatch can aggregate logs and metrics from multiple sources.

253
MCQmedium

Refer to the exhibit. A Direct Connect private virtual interface is in the 'available' state, and the BGP session is up. However, the on-premises network cannot reach any resources in the VPC attached to the Direct Connect gateway. What is the MOST likely cause?

A.The BGP ASN is private and not allowed
B.The VLAN ID is incorrect
C.The Direct Connect gateway is not associated with the virtual private gateway or route propagation is not enabled
D.The BGP session is not established
AnswerC

Routes are not being advertised.

Why this answer

Even though the Direct Connect private virtual interface is in the 'available' state and the BGP session is up, the on-premises network cannot reach VPC resources because the Direct Connect gateway is not associated with the virtual private gateway or route propagation is not enabled. This association is necessary for route exchange between the VPC and on-premises network. Option A is incorrect because the BGP ASN being private is allowed; the BGP session is up indicating ASN is valid.

Option B is incorrect because the VLAN ID is irrelevant once the virtual interface is available and BGP is up. Option D is incorrect because the BGP session is established.

254
MCQeasy

A company is using AWS Direct Connect with a private VIF to connect its on-premises data center to a VPC. The network team wants to monitor the link health and receive alarms if the connection goes down. Which AWS service should they use?

A.Amazon CloudWatch with Direct Connect metrics.
B.Amazon Inspector.
C.AWS Config.
D.VPC Flow Logs.
AnswerA

CloudWatch provides metrics like ConnectionState and BGP status for Direct Connect.

Why this answer

Amazon CloudWatch provides metrics for Direct Connect connections, such as connection state and BGP status, and can trigger alarms. Option B is wrong because Amazon Inspector is for security assessments, not link health monitoring. Option C is wrong because AWS Config tracks configuration changes, not operational status.

Option D is wrong because VPC Flow Logs capture IP traffic logs, not link health.

255
Drag & Dropmedium

Arrange the steps to configure an AWS Client VPN endpoint for remote access:

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

First create certificates, then the endpoint, associate with network, authorize access, then distribute client config.

256
MCQmedium

A company has set up a Site-to-Site VPN connection between its on-premises network and AWS. The VPN tunnel shows as 'UP' but traffic is not flowing. What should the engineer check?

A.Ensure the customer gateway is configured correctly
B.Verify the security group rules for the VPN connection
C.Check the internet gateway route table
D.Verify that route propagation is enabled on the VPC route table
AnswerD

Without route propagation, the VPC does not know about the on-premises network.

Why this answer

Route propagation from the virtual private gateway to the VPC route table must be enabled. Option A is wrong because the tunnel state is up, so security group is not likely the issue (security group affects instances, not VPN endpoint). Option B is wrong because the internet gateway is for public internet access, not VPN.

Option C is wrong because the customer gateway is the on-premises endpoint; it is configured but if routes are not propagated, traffic won't flow.

257
Multi-Selectmedium

A network engineer is troubleshooting high latency on an AWS Transit Gateway that connects multiple VPCs and an on-premises network via AWS Site-to-Site VPN. The engineer wants to identify potential causes. Which TWO actions should the engineer take? (Choose two.)

Select 2 answers
A.Review the NACL rules for each subnet in the VPCs.
B.Review the CloudWatch metrics for the VPN tunnels for packet loss and latency.
C.Enable Transit Gateway Flow Logs to capture traffic between attachments.
D.Re-create the VPN connections to reset the tunnels.
E.Enable VPC Flow Logs on the VPCs attached to the transit gateway.
AnswersB, C

VPN tunnel metrics can indicate performance issues.

Why this answer

CloudWatch metrics for VPN tunnels provide direct visibility into packet loss and latency, which are key indicators of performance issues on the AWS Site-to-Site VPN component of the Transit Gateway. Option C is correct because Transit Gateway Flow Logs capture IP traffic information between attachments, allowing the engineer to analyze traffic patterns, identify drops, and pinpoint which VPC or VPN attachment is contributing to the high latency.

Exam trap

The trap here is that candidates often confuse VPC Flow Logs with Transit Gateway Flow Logs, assuming VPC Flow Logs can diagnose Transit Gateway latency, but VPC Flow Logs lack the attachment-level context and latency metrics needed for this specific troubleshooting scenario.

258
MCQhard

A company has a VPC with a CIDR of 172.16.0.0/16. The VPC contains an Amazon RDS for MySQL database in a private subnet. The database is accessed by EC2 instances in the same VPC and by on-premises servers via a Site-to-Site VPN. The network team recently enabled VPC Flow Logs and noticed that the database is receiving a high number of SYN packets from an IP address that is not part of the VPC or on-premises network. The security group for the database only allows inbound traffic on port 3306 from the EC2 instances' security group and the on-premises CIDR (10.0.0.0/8). The network ACL for the database subnet allows inbound and outbound traffic on all ports from all sources. What is the most likely cause of the unexpected traffic?

A.The security group for the database has an inbound rule that allows traffic from 0.0.0.0/0.
B.The RDS database has a public endpoint that is accessible from the internet.
C.The Site-to-Site VPN is misconfigured and routing internet traffic into the VPC.
D.The network ACL for the database subnet allows all inbound traffic, so packets from the internet reach the database subnet's network ACL before being evaluated by the security group.
AnswerD

NACL is stateless and allows all traffic, so packets enter the subnet and are then evaluated by the security group, which drops them.

Why this answer

The network ACL (NACL) is stateless and allows all inbound traffic from any source, including the internet. While the security group (SG) denies the unexpected traffic (since it only allows traffic from the EC2 security group and on-premises CIDR), the NACL permits it. VPC Flow Logs capture traffic at the network interface level after NACL evaluation but before SG evaluation; thus, even though the SG drops the SYN packets, they are logged by Flow Logs because they pass through the NACL.

Option A is incorrect because the security group explicitly restricts inbound traffic to specific sources, not 0.0.0.0/0. Option B is incorrect because the RDS database is in a private subnet and does not have a public endpoint; a public endpoint would have been configured explicitly. Option C is incorrect because the Site-to-Site VPN is configured for the on-premises network only, and the unexpected IP is not from that CIDR; the VPN itself does not route internet traffic into the VPC.

259
MCQeasy

A network engineer needs to capture and analyze traffic crossing a VPC peering connection for troubleshooting. Which AWS service should be used?

A.AWS CloudTrail.
B.VPC Traffic Mirroring.
C.AWS Transit Gateway Network Manager.
D.VPC Flow Logs for the peering connection.
AnswerD

Flow Logs capture IP traffic metadata.

Why this answer

VPC Flow Logs capture IP traffic information for network interfaces, including those attached to a VPC peering connection. They can be published to Amazon CloudWatch Logs or Amazon S3, and the logs contain fields such as source/destination IP, ports, protocol, and packet/byte counts, which are essential for troubleshooting traffic across the peering link. This is the correct service because it directly logs metadata about the traffic traversing the peering connection without requiring any changes to the network path.

Exam trap

The trap here is that candidates confuse VPC Flow Logs (which log traffic metadata) with VPC Traffic Mirroring (which captures full packet payloads), but Traffic Mirroring cannot be applied to a peering connection itself, only to individual ENIs within a VPC.

How to eliminate wrong answers

Option A is wrong because AWS CloudTrail records API activity (e.g., who created the peering connection) but does not capture network traffic or packet-level data. Option B is wrong because VPC Traffic Mirroring copies packets from an Elastic Network Interface (ENI) for analysis, but it cannot be applied to a VPC peering connection itself; it only works on source or target ENIs within a VPC. Option C is wrong because AWS Transit Gateway Network Manager provides a central view of network topology and metrics for Transit Gateway-based networks, but it does not capture or analyze traffic crossing a VPC peering connection (which is a direct VPC-to-VPC link, not a Transit Gateway attachment).

260
MCQmedium

A company has a VPC with a public subnet hosting a web server. The security group for the web server allows inbound HTTP (port 80) from 0.0.0.0/0. The network ACL for the public subnet allows inbound HTTP from 0.0.0.0/0. Users report that they cannot access the website. The engineer verifies that the web server is running and has a public IP. What is the most likely issue?

A.The web server is listening on a different port.
B.The network ACL outbound rule is blocking return traffic.
C.The internet gateway is not attached to the VPC.
D.The security group outbound rule is blocking return traffic.
AnswerB

Network ACLs are stateless, so return traffic on ephemeral ports must be explicitly allowed.

Why this answer

Even if inbound rules allow traffic, if the network ACL's outbound rule (stateless) does not allow return traffic (ephemeral ports), the connection will fail. Security groups are stateful and allow return traffic automatically.

261
MCQmedium

A company has a transit gateway with multiple VPC attachments and an on-premises VPN connection. The network team is seeing asymmetric routing and packet drops. What should they implement to resolve this?

A.Disable equal-cost multipath (ECMP) routing on the Transit Gateway.
B.Create VPC peering connections between all VPCs.
C.Use BGP ASN prepending on the on-premises routers.
D.Enable route propagation from the Transit Gateway to VPC route tables.
AnswerC

Correct. BGP ASN prepending on the on-premises routers makes the VPN path appear less preferred due to a longer AS path, breaking ECMP and ensuring symmetric routing.

Why this answer

BGP ASN prepending on the on-premises routers can influence the path selection by making one path less preferred, thereby breaking the equal-cost multipath (ECMP) behavior that causes asymmetric routing. AWS Transit Gateway does not support disabling ECMP; it always uses ECMP for equal-cost paths. By prepending ASN, the on-premises side advertises routes with a longer AS path, making the VPN path less attractive and forcing all traffic through a single preferred path, resolving asymmetry.

Option A is incorrect because AWS Transit Gateway does not allow ECMP to be disabled. Option B is incorrect because VPC peering does not address routing through a Transit Gateway. Option D is incorrect because route propagation simply advertises routes and does not affect ECMP behavior.

262
MCQhard

A network engineer ran the command shown in the exhibit to check VPC peering connections. Two peering connections are active. The engineer wants to verify that routes are correctly configured. What additional step is needed to ensure that instances in vpc-11111111 can communicate with instances in vpc-33333333?

A.Configure security groups to allow traffic between the VPCs.
B.Enable DNS resolution for the peering connection.
C.Add a route in the route table of vpc-11111111 pointing to vpc-33333333 via the peering connection, and a route in vpc-33333311 pointing to vpc-11111111 via the same peering connection.
D.Ensure that the peering connection is in the 'active' state.
AnswerC

Routes are needed in both VPCs.

Why this answer

For VPC peering to enable communication between instances in different VPCs, route tables in each VPC must have routes pointing to the peering connection. Specifically, vpc-11111111 needs a route to the CIDR of vpc-33333333 via the peering connection, and vpc-33333333 needs a route to the CIDR of vpc-11111111 via the same peering connection. Option A is incorrect because security groups are stateful and allow return traffic, but they do not replace the need for routing.

Option B is incorrect because DNS resolution is optional and not required for IP-based communication. Option D is incorrect because the peering connection is already active, as stated.

263
MCQhard

A network engineer is troubleshooting an issue where an on-premises server cannot reach an EC2 instance in a VPC over a Site-to-Site VPN. The VPN tunnel is up, and BGP is established. The engineer checks the route tables and sees the on-premises CIDR in the VPC route table pointing to the virtual private gateway. What is the most likely cause?

A.The VPN tunnel is not passing traffic due to a mismatch in pre-shared keys.
B.The on-premises router does not have a route back to the VPC CIDR pointing to the VPN tunnel.
C.The network ACLs in the VPC are blocking the traffic.
D.The security group attached to the EC2 instance is blocking inbound traffic from the on-premises CIDR.
AnswerB

Without a return route, the on-premises server cannot send traffic back to the EC2 instance.

Why this answer

Although the VPN tunnel is up and BGP is established, the on-premises router must have a route pointing back to the VPC CIDR through the VPN tunnel for return traffic. Without this route, traffic from the EC2 instance to the on-premises server cannot be routed back, causing a one-way connectivity issue. Option A is incorrect because a mismatch in pre-shared keys would prevent the tunnel from coming up.

Option C is incorrect because network ACLs are stateless and would affect traffic in both directions if misconfigured, not just one-way. Option D is incorrect because security group rules affect inbound traffic only; the issue here is return traffic from the EC2 instance, which is outbound from the VPC perspective, and the security group does not control outbound traffic in this context.

264
MCQmedium

A company is using AWS Transit Gateway with multiple VPC attachments. They need to ensure that traffic between two specific VPCs is encrypted in transit. The VPCs are in the same AWS region. What is the SIMPLEST solution?

A.Enable encryption on the Transit Gateway route tables
B.Use AWS PrivateLink to connect the VPCs
C.Create a VPN attachment on the Transit Gateway and route traffic through it
D.Use VPC peering instead of Transit Gateway and enable encryption
AnswerC

VPN provides encryption.

Why this answer

Creating a VPN attachment on the Transit Gateway and routing traffic through it provides encryption in transit between VPCs. The VPN attachment establishes an IPsec VPN tunnel over the AWS network, ensuring encryption. Option A is incorrect because Transit Gateway route tables do not provide encryption.

Option B is incorrect because AWS PrivateLink is designed for accessing services, not for VPC-to-VPC encryption. Option D is incorrect because VPC peering does not encrypt traffic by default and is not the simplest solution.

265
MCQhard

A company runs a critical application on EC2 instances in an Auto Scaling group across two Availability Zones. The application is fronted by an Application Load Balancer (ALB). The network team recently migrated from a transit VPC to a transit gateway for inter-VPC connectivity. After the migration, users experience intermittent connectivity failures. The team checks the ALB target group and sees that health checks are passing. However, from an EC2 instance in the same VPC, they can reach the ALB but not the application. They notice that the application sends traffic to an internal DNS server that is in a different VPC, and the application depends on that DNS resolution. The transit gateway route tables are configured to propagate routes from attached VPCs. The DNS server is reachable from the application VPC over the transit gateway. What is the MOST likely cause of the intermittent failures?

A.The transit gateway route tables have a blackhole route for the DNS server's VPC.
B.The Auto Scaling group is scaling in and out frequently, causing application instances to be terminated during DNS resolution.
C.The DNS server returns different IP addresses for the same DNS name, and some IPs are not reachable due to route table misconfiguration.
D.The ALB security group does not allow traffic from the application instances on the ephemeral ports.
AnswerC

DNS changes with TTL can cause intermittent reachability to specific IPs.

Why this answer

If the DNS server returns different IP addresses for the same DNS name due to DNS round-robin or time-to-live (TTL) caching, the application may get an IP address that is not reachable (e.g., from a different VPC or a terminated instance). The health check may pass because the target group health check uses the ALB's IP, not the application's DNS resolution. Option A is plausible but less likely because the DNS server is reachable.

Option B could cause total failure, not intermittent. Option D would affect all traffic, not just intermittent.

266
MCQhard

A multinational corporation is using AWS Transit Gateway to connect multiple VPCs and on-premises networks via AWS Direct Connect and VPN. The network team is experiencing asymmetric routing for traffic between two VPCs that both have routes to the same on-premises network. Which feature should the team implement to resolve this issue?

A.Deploy a NAT Gateway in each VPC to force symmetric traffic.
B.Use AS_PATH prepending on the BGP advertisements from the on-premises router to influence route preference.
C.Create a Transit Gateway peering attachment between the two VPCs.
D.Enable VPC Flow Logs to detect and alert on asymmetric flows.
AnswerB

AS_PATH prepending makes one path less preferred, ensuring symmetric routing.

Why this answer

AS_PATH prepending allows the on-premises router to artificially lengthen the AS_PATH for specific BGP routes, making those routes less preferred. This influences route selection in the Transit Gateway and VPC route tables, ensuring that traffic from each VPC takes a consistent path and eliminating asymmetric routing.

Exam trap

The trap here is that candidates often confuse AS_PATH prepending with a general routing policy tool, but the key is that it directly influences BGP best-path selection to break ties and enforce path preference, which is exactly what is needed to fix asymmetric routing in a multi-homed Transit Gateway design.

How to eliminate wrong answers

Option A is wrong because a NAT Gateway is used for outbound-only traffic to the internet and does not enforce symmetric routing between VPCs or between VPCs and on-premises networks; it would also break return traffic from on-premises. Option C is wrong because a Transit Gateway peering attachment connects two Transit Gateways, not two VPCs directly, and does not resolve routing asymmetry caused by equal-cost paths to the same on-premises destination. Option D is wrong because VPC Flow Logs only provide visibility into traffic flows for monitoring and troubleshooting; they do not actively influence routing decisions to fix asymmetric routing.

267
MCQhard

A network engineer is troubleshooting high latency on a VPN connection between an on-premises network and AWS. The VPN uses two tunnels to a virtual private gateway. The engineer notices that traffic is only using one tunnel, and the other tunnel is idle. What should the engineer do to ensure both tunnels are utilized?

A.Create two separate site-to-site VPN connections to two different virtual private gateways and enable ECMP.
B.Configure BGP MED values to prefer the idle tunnel.
C.Configure static routes with equal metrics on both tunnels.
D.Use a transit gateway with equal cost multipath routing.
AnswerA

Using ECMP across multiple VPN connections allows both tunnels to be used simultaneously.

Why this answer

Creating two separate site-to-site VPN connections, each to a different virtual private gateway, and enabling ECMP (Equal Cost Multipath Routing) allows traffic to be load-balanced across both tunnels. AWS site-to-site VPN connections by default operate in active/passive mode, using only one tunnel at a time. To achieve active/active usage, you need multiple VPN connections with ECMP.

Option B (BGP MED) is incorrect because MED influences path selection but cannot force both tunnels to be used simultaneously when the underlying VPN is active/passive. Option C (static routes with equal metrics) is incorrect because static routes do not enable ECMP for a single VPN connection; AWS still treats tunnels as active/passive. Option D (transit gateway with ECMP) is incorrect because while a transit gateway can use ECMP across multiple VPN connections, the original scenario describes a single VPN connection to a virtual private gateway, not a transit gateway.

268
MCQeasy

A company monitors its VPC using VPC Flow Logs. The logs are sent to CloudWatch Logs. The security team wants to detect traffic to known malicious IP addresses. Which AWS service can be used to analyze the flow logs in near real-time?

A.AWS WAF
B.AWS CloudTrail
C.Amazon Athena
D.Amazon Kinesis Data Analytics
AnswerD

Can process streaming flow logs in real-time and detect patterns.

Why this answer

Amazon Athena can query VPC Flow Logs stored in S3, but for near real-time analysis, Amazon Kinesis Data Analytics (or Kinesis Data Firehose with Lambda) can process streaming logs. However, the simplest managed service for real-time pattern matching is Amazon Kinesis Data Analytics with SQL.

269
MCQeasy

A company has a VPC with public and private subnets. The private subnets need internet access for software updates. The company wants to minimize costs and management overhead. Which solution should they use?

A.Use a VPC endpoint for S3 and CloudFront
B.Attach an internet gateway to the VPC and add a default route to the private subnet route table pointing to the internet gateway
C.Create a NAT gateway in a public subnet and add a route to the private subnet route table pointing to the NAT gateway
D.Launch a NAT instance on an EC2 instance in a public subnet
AnswerC

Managed service, low overhead.

Why this answer

A NAT gateway deployed in a public subnet allows instances in private subnets to initiate outbound traffic to the internet for software updates while preventing inbound internet traffic, and it is a fully managed service requiring minimal overhead. Option A (VPC endpoints) only provides access to specific AWS services like S3 and CloudFront, not general internet. Option B (attaching an IGW and adding a default route to private subnets) would make the private subnets effectively public, allowing unsolicited inbound connections and violating security best practices.

Option D (NAT instance) requires manual configuration, patching, and scaling, increasing management overhead compared to a NAT gateway.

270
MCQmedium

A company uses AWS Direct Connect with a private virtual interface (VIF) to connect its data center to a VPC. The network team needs to ensure high availability and failover in case the primary connection fails. Which solution provides the most cost-effective high availability?

A.Use a VPN connection over the internet as a backup
B.Provision a second Direct Connect connection at a different AWS Direct Connect location and configure BGP with AS_PATH prepending
C.Use a VPN connection over the same Direct Connect connection as backup
D.Provision a second private virtual interface on the same Direct Connect connection
AnswerB

Provides diverse path and failover.

Why this answer

Provisioning a second Direct Connect connection at a different AWS Direct Connect location provides geographic redundancy, and configuring BGP with AS_PATH prepending on the secondary connection ensures the primary connection is preferred under normal conditions. This offers high availability without relying on internet-based VPN, which, while cheaper, introduces variability and lower reliability. Option A (VPN over internet) is less costly but does not guarantee the same level of performance or reliability for hybrid networking.

Option C (VPN over same Direct Connect) fails because it shares the same physical connection, creating a single point of failure. Option D (second private VIF on same connection) also shares the same physical infrastructure, so it does not provide true redundancy.

271
MCQhard

A company is migrating its on-premises data center to AWS. The network team needs to establish a site-to-site VPN connection with dynamic routing using BGP. The on-premises router supports BGP but does not support BGP communities. The VPN connection is established, but the VPC does not learn the on-premises routes. What is the most likely cause?

A.The VPN tunnel uses pre-shared keys instead of certificates
B.The VPC route table needs a static route to the on-premises CIDR
C.The VPN tunnel is not in a UP state
D.The on-premises router is not advertising any prefixes over BGP
AnswerD

Without advertisement, no routes are learned.

Why this answer

For the VPC to learn on-premises routes via BGP, the on-premises router must advertise its prefixes over the BGP session. Without any route advertisement, the VPC cannot learn the routes regardless of VPN tunnel status. Option A is incorrect because authentication method (pre-shared keys vs certificates) does not affect route advertisement.

Option B is incorrect because with dynamic routing using BGP, a static route is not required; BGP automatically exchanges routes if both peers advertise them. Option C is incorrect because the scenario states the VPN connection is established, implying the tunnel is UP.

272
Multi-Selecthard

A company is using AWS Site-to-Site VPN to connect its on-premises network to a VPC. The network team wants to ensure high availability and failover. Which three actions should they take? (Choose THREE.)

Select 3 answers
A.Configure both tunnels as active/active.
B.Enable BGP on the VPN connections.
C.Use two Customer Gateway devices in different locations.
D.Use static routes instead of BGP.
E.Configure two VPN tunnels to the same Customer Gateway.
AnswersA, B, C

Both tunnels carry traffic; if one fails, traffic shifts to the other.

Why this answer

For high availability, use two tunnels (both active/active or active/passive), use two Customer Gateway devices for redundancy, and configure BGP for dynamic routing and fast failover. Static routes require manual intervention. A single tunnel is not redundant.

273
MCQhard

Refer to the exhibit. The IAM policy above is attached to a user in account A (123456789012). The user needs to create a VPC peering connection with account B and accept it. The user in account A can create the peering request, but the accept fails with an 'UnauthorizedOperation' error. What is the MOST likely reason?

A.The user does not have permission to create routes in the VPC
B.The 'ec2:CreateVpcPeeringConnection' action requires a specific VPC ARN
C.The user does not have permission to accept the peering connection from the other account
D.The 'ec2:AcceptVpcPeeringConnection' action is not allowed in the policy
AnswerC

The policy does not grant cross-account accept.

Why this answer

The 'AcceptVpcPeeringConnection' action is allowed on all resources ('*'), but the specific ARN for the peering connection is not granted for the accept action. The second statement allows actions only on peering connections in account A, but the accept action is performed on the requester's side? Actually, the accept is done by the accepter (account B). The user in account A is trying to accept? The scenario says 'the user in account A can create the peering request, but the accept fails'.

Actually, the accept is done by account B. So the user in account A cannot accept a peering connection that belongs to account B. The policy allows accept on 'ec2:AcceptVpcPeeringConnection' with resource '*', but the accept action is performed on the resource in the accepter account.

The second statement restricts to peering connections in account A. The accept action is not covered by the second statement because it's not in the action list of the second statement. Wait, the first statement allows accept on all resources.

So why would it fail? The issue is that the accept action is called on the peering connection resource in the accepter account, which is not in account A. The policy does not have permissions for resources in other accounts. The correct answer is that the user does not have permission to accept the peering connection because the resource ARN in the second statement only covers peering connections in account A.

But the first statement allows accept on all resources. However, the 'ec2:AcceptVpcPeeringConnection' action requires permission on the resource of the peering connection in the accepter account. Since the user is in account A, they cannot accept a peering connection that is owned by account B.

The most likely reason is that the user lacks permissions to accept the peering connection in the other account. Option C captures this.

274
Multi-Selectmedium

A company has a VPC with a public subnet and a private subnet. The public subnet has a bastion host (EC2) with a security group that allows SSH from a specific IP range. The private subnet has an RDS instance. The company wants to enable the bastion host to connect to the RDS instance. Which TWO steps are required?

Select 2 answers
A.Configure the RDS instance to use a custom DB parameter group with SSL enabled.
B.Add a rule to the NACL for the private subnet to allow inbound traffic from the bastion host's IP.
C.Assign a public IP address to the RDS instance.
D.Create a route in the public subnet's route table to the RDS instance.
E.Add a rule to the RDS security group that allows inbound traffic from the bastion host's security group.
AnswersB, E

NACL must allow inbound traffic from the bastion to the RDS port.

Why this answer

The bastion host needs network-level access to the RDS instance. The RDS security group must allow inbound from the bastion's security group, and the bastion must be in the same VPC or have network connectivity. The NACL must allow the traffic.

275
MCQeasy

A company is using AWS Direct Connect to connect its on-premises data center to AWS. The company wants to ensure that traffic to the VPC uses the Direct Connect connection instead of the internet. Which configuration is required?

A.Create a VPC peering connection to the on-premises network.
B.Add a route in the VPC route table pointing to the on-premises CIDR via the virtual private gateway.
C.Use a NAT gateway in the VPC.
D.Add a route in the VPC route table pointing to the on-premises CIDR via the internet gateway.
AnswerB

This directs traffic to the Direct Connect connection.

Why this answer

To ensure traffic uses Direct Connect, the route table in the VPC must have a route to the on-premises CIDR via the virtual private gateway (VGW) attached to the Direct Connect. Additionally, on the on-premises side, routes must point to the Direct Connect. The VPC route table should have a more specific route or a default route pointing to the VGW.

276
MCQhard

A global company is designing a multi-region Active-Active application using Amazon Route 53 latency-based routing. Each region has an Application Load Balancer (ALB) fronting Auto Scaling groups. The application requires sticky sessions based on the user's source IP. The network team notices that users are frequently switched to a different region mid-session, causing errors. What should the team do to resolve this issue?

A.Configure Route 53 health checks with a low threshold to quickly detect failures
B.Enable stickiness on each ALB using a cookie generated by the ALB
C.Use a custom origin header in the Route 53 latency policy to route based on the user's IP address and enable ALB stickiness
D.Switch to geolocation routing policy with a bias to maintain sessions
AnswerD

Geolocation routing policy routes traffic based on the geographic location of the user's IP address, ensuring that users consistently reach the same region. This maintains session stickiness. A bias can be added to adjust routing for specific locations or to handle edge cases. This is the correct approach to prevent mid-session region switches.

Why this answer

The issue is that latency-based routing can change the selected region mid-session due to fluctuating latency, breaking sticky sessions. Geolocation routing policy routes users to a region based on their source IP address, ensuring that the same user always reaches the same region, thus maintaining session stickiness. Using a bias allows fine-tuning to adjust routing for specific locations.

Option C is not valid because Route 53 latency-based routing does not support custom origin headers; this is not a feature available in AWS. Option A only affects health checks and does not influence session persistence. Option B enables stickiness within a region but does not prevent Route 53 from switching regions.

Therefore, switching to geolocation routing is the correct solution.

277
Multi-Selectmedium

A company is deploying a new application across multiple Availability Zones in a single region. The application requires low-latency communication between instances in different AZs. Which TWO design choices help achieve high availability and low latency? (Select TWO.)

Select 2 answers
A.Use a spread placement group for the instances.
B.Use larger instance sizes to handle traffic spikes.
C.Launch EC2 instances in at least two Availability Zones.
D.Use a single NAT Gateway to provide internet access.
E.Use an Application Load Balancer to distribute traffic across AZs.
AnswersC, E

Correct. Launching instances in at least two AZs eliminates a single point of failure and keeps traffic within the region, supporting both high availability and low latency.

Why this answer

To achieve high availability and low-latency communication between instances in different Availability Zones, you should launch instances in at least two AZs (C) to avoid a single point of failure, and use an Application Load Balancer (E) to distribute traffic and perform health checks. A spread placement group (A) is not recommended for low latency; it spreads instances across distinct hardware, which can increase latency. Larger instance sizes (B) only increase capacity and do not improve availability or latency.

A single NAT Gateway (D) introduces a single point of failure and does not affect inter-AZ latency.

278
MCQmedium

A company has multiple AWS accounts and wants to centralize VPC flow logs for analysis. The flow logs are published to Amazon S3 in each account. A central account needs to access these logs. Which solution meets the requirements with the least operational overhead?

A.Set up AWS Glue jobs to copy logs to a central S3 bucket
B.Use AWS Transit Gateway to centralize network traffic and capture logs
C.Use VPC peering to connect the accounts and access the S3 buckets directly
D.Use S3 bucket policies in each account to grant the central account access
AnswerD

Simplest and most scalable.

Why this answer

Using S3 bucket policies with cross-account permissions allows the central account to access the flow logs directly from the S3 buckets in each account without additional infrastructure. Option A is incorrect because AWS Glue jobs would add unnecessary operational overhead for copying data. Option B is incorrect because AWS Transit Gateway handles network traffic routing, not S3 access.

Option C is incorrect because VPC peering provides network connectivity between VPCs but does not grant access to S3 buckets; S3 access is managed via IAM and bucket policies.

Exam trap

Candidates may mistakenly assume that network connectivity (via Transit Gateway or VPC peering) is required to access S3 buckets across accounts. However, S3 bucket policies can grant cross-account access directly without any network-level configuration.

279
MCQhard

A company has a VPC with public and private subnets. The private subnets use a NAT gateway for outbound internet access. The security team notices that some EC2 instances in the private subnets are able to reach the internet, but others are not. All instances have the same security group and are in the same private subnet. What is the most likely cause?

A.The route table associated with the private subnet is missing a default route to the NAT gateway.
B.The network ACL is blocking outbound traffic on ephemeral ports.
C.The NAT gateway's security group is blocking traffic from some instances.
D.The internet gateway is not attached to the VPC.
AnswerC

Correct. The NAT gateway has an elastic network interface with a security group. If that security group is configured to allow traffic only from specific instances (e.g., based on private IP addresses or security group IDs), it can selectively permit or deny outbound internet access for instances in the same private subnet.

Why this answer

The most likely cause is that the NAT gateway's security group (attached to its elastic network interface) is blocking traffic from some instances. Although all EC2 instances are in the same private subnet and have the same security group, the NAT gateway's own security group can be configured to allow outbound traffic only from specific source IPs or security groups. If the NAT gateway's security group only permits traffic from certain instances' private IPs (or security groups) within the subnet, it would allow some instances to reach the internet while blocking others.

Option A is incorrect because a missing route would affect all instances in that subnet equally. Option B is incorrect because a network ACL applies to the entire subnet and would block all instances. Option D is incorrect because the internet gateway is attached to the VPC, not directly to private subnets, and its absence would prevent all internet access.

Exam trap

Candidates might assume that all subnet-level configurations (route tables, NACLs) affect all instances uniformly, but they overlook that the NAT gateway's security group can filter traffic from specific sources, causing differential access within the same subnet.

280
MCQhard

A network engineer is troubleshooting a VPN connection between an AWS Virtual Private Gateway and an on-premises Cisco ASA. The tunnel status shows 'UP' but no traffic passes. The engineer checks the route tables and finds the correct static routes on both sides. What should the engineer check next?

A.Review the IPsec phase 2 settings, including the traffic selectors.
B.Check the IKE phase 1 parameters (e.g., encryption, hash).
C.Verify that the pre-shared keys match.
D.Confirm that the VPC route table has a route to the on-premises subnet.
AnswerA

Phase 2 parameters or mismatched encryption domains could cause the tunnel to be UP but not pass traffic.

Why this answer

If the tunnel is up but no traffic passes, the issue is often phase 2 IPsec security associations (SAs) or mismatch in encryption domains. Unlike phase 1, phase 2 can fail silently.

281
Drag & Dropmedium

Arrange the steps to configure a site-to-site VPN connection between an AWS Virtual Private Gateway and an on-premises Cisco ASA in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

First, define the customer gateway, then create the VPN connection, apply the configuration, verify the tunnel, and finally configure routing.

282
MCQmedium

A company uses AWS Direct Connect to connect its on-premises data center to a VPC. The connection uses a private virtual interface (VIF) and BGP. The network team recently added a new CIDR block (10.0.3.0/24) to the VPC. They updated the VPC's route table to include a route to the on-premises network. However, the on-premises network cannot reach resources in the new subnet. The BGP session is up, and the Direct Connect gateway is configured. What should the network team do to resolve the issue?

A.Add a static route in the on-premises router pointing to the Direct Connect interface.
B.Set up a new VPN connection as a backup and route traffic over VPN.
C.Add the new CIDR block (10.0.3.0/24) to the Direct Connect gateway's allowed prefixes.
D.Create a new private VIF for the new CIDR block.
AnswerC

This allows the Direct Connect gateway to advertise the new prefix to the on-premises network via BGP.

Why this answer

When a new CIDR block is added to an existing VPC connected via Direct Connect, the Direct Connect gateway must be updated to include the new prefix in its allowed prefixes list. By default, the Direct Connect gateway only advertises prefixes that are explicitly allowed. The on-premises network cannot reach the new subnet because the gateway is not advertising the 10.0.3.0/24 route via BGP.

Option C is correct: add the new CIDR to the Direct Connect gateway's allowed prefixes. Option A is incorrect because adding a static route on the on-premises router does not affect BGP advertisements from the AWS side; the gateway must advertise the route. Option B is unnecessary and adds complexity; the issue is with prefix propagation, not with connectivity.

Option D is incorrect because a new private VIF is not needed; the existing VIF can handle multiple prefixes if allowed.

283
Multi-Selecthard

A network engineer is diagnosing a connectivity issue between two VPCs connected via VPC peering. The engineer has confirmed that the route tables in both VPCs have appropriate routes and the security groups allow traffic. However, traffic from VPC A to VPC B fails. Which TWO steps should the engineer take to troubleshoot? (Select TWO.)

Select 2 answers
A.Check the network ACL of the subnet in VPC B where the target instance resides.
B.Confirm that both VPCs are in the same AWS account.
C.Verify the VPC peering connection status is active.
D.Check the operating system firewall on the target instance.
E.Enable VPC Flow Logs on both VPCs to analyze traffic.
AnswersA, D

NACLs are stateless and may block inbound traffic.

Why this answer

Checking the network ACL (NACL) of the subnet in VPC B where the target instance resides can reveal if inbound traffic is blocked by the stateless NACL. Option D is correct because verifying the operating system firewall on the target instance in VPC B can block traffic even if AWS network rules are open. Option B is wrong because VPC peering can work across different AWS accounts, so being in the same account is not necessary.

Option C is wrong because the engineer should already have verified the peering connection status as part of initial checks; if it were inactive, the problem would be obvious, so it is not a likely next step. Option E is wrong because while VPC Flow Logs are useful for deep analysis, they are not the first step for a basic connectivity check; direct checks like NACLs and OS firewalls are more immediate.

284
Matchingmedium

Match each BGP attribute to its role in route selection.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Cisco-proprietary attribute, highest weight preferred

Used to influence outbound traffic from an AS

Shorter path is preferred

Used to influence inbound traffic to an AS

IP address of the next router to reach the destination

Why these pairings

BGP attributes influence route selection in a specific order: Weight, LOCAL_PREF, AS_PATH, MED, and others. AS_PATH measures path length, LOCAL_PREF directs outbound traffic, MED directs inbound traffic, and Weight is a Cisco-proprietary local preference.

285
MCQhard

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 instance has a NAT Gateway in the public subnet. However, the instance cannot reach the internet. The route table for the private subnet has a default route (0.0.0.0/0) pointing to the NAT Gateway. What is the most likely cause?

A.The NAT Gateway does not have an Elastic IP address attached.
B.The security group for the EC2 instance blocks outbound traffic.
C.The network ACL for the private subnet blocks outbound traffic.
D.The private subnet route table does not have a route to the internet gateway.
AnswerA

Without EIP, NAT Gateway cannot communicate with internet.

Why this answer

A NAT Gateway requires an Elastic IP address to translate private IP addresses to a public IP for internet access. Without it, outbound traffic cannot be routed to the internet. Option B is incorrect because the private subnet route table correctly has a default route pointing to the NAT Gateway.

Option C is incorrect because the security group is stateful and allows return traffic; outbound traffic would only be blocked if explicitly denied. Option D is incorrect because network ACLs are stateless but the question does not indicate any blocking rules; the default NACL allows all outbound traffic.

286
MCQeasy

A company uses AWS Transit Gateway to connect multiple VPCs and an on-premises network via Direct Connect. The on-premises network can reach some VPCs but not others. All VPCs are attached to the same Transit Gateway. What should the engineer check first?

A.The VPC flow logs for the unreachable VPCs.
B.The Transit Gateway route tables and associations.
C.The Direct Connect virtual interface status.
D.The BGP session between the on-premises router and the Direct Connect router.
AnswerB

Route tables determine the connectivity between attachments; misconfiguration is the likely cause.

Why this answer

The Transit Gateway route tables control which VPCs and attachments can communicate. If some VPCs are in a different route table or if propagation is not configured, traffic may not be routed correctly.

287
MCQhard

A company has a Direct Connect connection with a private VIF and a public VIF. The private VIF is used to access VPC resources, and the public VIF is used to access AWS public services. Recently, the company enabled AWS Global Accelerator for its application. The network team notices that traffic to the application via Global Accelerator is not using the Direct Connect connection but is going over the internet. What should the team do to ensure traffic uses the Direct Connect public VIF?

A.Configure a VPN connection over the Direct Connect public VIF to route Global Accelerator traffic
B.Advertise the Global Accelerator IP addresses on the on-premises router to route traffic via the public VIF
C.Attach a Direct Connect gateway to the Global Accelerator
D.Create a private VIF for Global Accelerator traffic
AnswerA

Use a VPN over the public VIF to control routing, but Global Accelerator traffic typically goes over internet; however, using a VPN can force traffic via Direct Connect.

Why this answer

Global Accelerator uses static anycast IP addresses that are not directly reachable over a Direct Connect public VIF. The public VIF provides access to AWS public services via the Direct Connect connection, but Global Accelerator IPs are not advertised over the BGP session. To route on-premises traffic to Global Accelerator through Direct Connect, you must establish a VPN connection over the public VIF.

This VPN tunnel encapsulates the traffic and sends it over the Direct Connect link, ensuring it does not traverse the public internet. Option B is incorrect because you cannot advertise Global Accelerator IPs from your on-premises router; they are owned and advertised by AWS. Option C is incorrect because a Direct Connect gateway is used for private VIFs and does not integrate with Global Accelerator.

Option D is incorrect because a private VIF is for accessing VPC resources, not public services like Global Accelerator.

288
MCQmedium

A company is using AWS Transit Gateway to connect multiple VPCs and on-premises networks via VPN. The network team notices that traffic between two VPCs in different regions is being dropped intermittently. What is the most likely cause?

A.Transit Gateway cannot route traffic between VPCs in different regions without inter-region peering
B.Security groups in the source VPC are blocking traffic
C.Route tables in the Transit Gateway are not propagating routes correctly
D.NAT Gateway in the source VPC is causing asymmetric routing
AnswerA

Transit Gateway is regional; inter-region connectivity requires explicit peering.

Why this answer

AWS Transit Gateway is a regional resource. To route traffic between VPCs in different regions, you must explicitly configure Transit Gateway inter-region peering. Without it, Transit Gateway cannot route traffic across regions, causing intermittent drops if traffic attempts to traverse regions.

Option B is incorrect because security groups are stateful and would not cause intermittent drops. Option C is incorrect because route propagation issues typically cause persistent failures, not intermittent drops. Option D is incorrect because NAT Gateway is used for outbound internet traffic, not inter-VPC traffic.

289
MCQmedium

A company has deployed a Network Load Balancer (NLB) in front of a fleet of EC2 instances in a VPC. The NLB is configured with a TCP listener on port 443. Clients are experiencing timeouts. The target group health checks are passing. What is the most likely cause?

A.Cross-zone load balancing is disabled.
B.Deletion protection is enabled on the NLB.
C.The security group for the EC2 instances does not allow traffic from the NLB.
D.The target group is using an incorrect health check path.
AnswerC

NLB uses its own IP addresses; security group must allow them.

Why this answer

Security groups must allow traffic from the NLB's private IP addresses. Option A is incorrect because cross-zone load balancing affects distribution, not timeouts. Option B is incorrect because health checks passing means targets are healthy.

Option D is incorrect because deletion protection prevents accidental deletion, not timeouts.

290
Multi-Selectmedium

A company wants to monitor network traffic between its VPC and on-premises data center over a Direct Connect private VIF. The network team needs to capture the source and destination IP addresses, protocols, and packet counts. Which THREE AWS services or features should they use together? (Choose three.)

Select 3 answers
A.Amazon CloudWatch Logs
B.VPC Flow Logs
C.AWS CloudTrail
D.AWS Config
E.Amazon CloudWatch Contributor Insights
AnswersA, B, E

Can store and query flow logs.

Why this answer

VPC Flow Logs (option B) capture IP traffic metadata including source and destination IP addresses, protocols, and packet counts. Amazon CloudWatch Logs (option A) can store and analyze these flow logs. Amazon CloudWatch Contributor Insights (option E) can analyze flow log data to identify top talkers and other patterns.

AWS CloudTrail (option C) records API calls, not network traffic. AWS Config (option D) tracks resource configuration changes, not network flows.

291
Multi-Selecteasy

A company wants to monitor network traffic between two VPCs connected via a Transit Gateway. Which THREE AWS services can be used to capture and analyze this traffic?

Select 3 answers
A.VPC Flow Logs
B.AWS Config
C.Third-party network monitoring appliance deployed in a VPC
D.Transit Gateway Flow Logs
E.AWS CloudTrail
AnswersA, C, D

Captures IP traffic for VPCs.

Why this answer

Options A, C, and D are correct. VPC Flow Logs capture IP traffic for network interfaces, Transit Gateway Flow Logs capture traffic through the transit gateway, and third-party network monitoring appliances deployed in a VPC can capture and analyze traffic. Option B is incorrect because AWS Config records configuration changes, not traffic.

Option E is incorrect because AWS CloudTrail logs API calls, not network traffic.

292
MCQmedium

A company is using AWS Direct Connect to connect its on-premises data center to AWS. The connection is up, but the network team cannot reach resources in a VPC. The virtual interface is in the 'available' state, and BGP session is established. What should the team check next?

A.Check the on-premises firewall rules
B.Check the BGP authentication
C.Check the VPC route tables for propagated routes
D.Check the Direct Connect physical link status
AnswerC

The Direct Connect virtual interface routes must be propagated to the VPC route tables.

Why this answer

Since the Direct Connect physical link is up, the virtual interface is available, and the BGP session is established, the issue lies in the routing of traffic within AWS. The most likely cause is that the VPC route tables do not contain the necessary routes (either static or propagated from the Direct Connect virtual private gateway) to direct traffic back to the on-premises network. Checking the VPC route tables for propagated routes is the correct next step to ensure the on-premises CIDR is being advertised and accepted.

Exam trap

The trap here is that candidates assume a working BGP session guarantees end-to-end connectivity, but BGP only ensures the routing protocol is exchanging prefixes; the VPC route table must still have the propagated routes or a static route to direct traffic to the virtual private gateway.

How to eliminate wrong answers

Option A is wrong because on-premises firewall rules would affect outbound traffic from the data center, but the question states the network team cannot reach resources in a VPC, implying the issue is on the AWS side or the routing path; the BGP session is established, so the underlying connectivity is fine. Option B is wrong because BGP authentication is already verified as the BGP session is established; if authentication were misconfigured, the session would not reach the established state. Option D is wrong because the Direct Connect physical link status is already confirmed as up, and the virtual interface is available, so the physical layer is not the problem.

293
MCQhard

A company has a Direct Connect connection with multiple virtual interfaces (VIFs). They notice that traffic from on-premises to a VPC is being dropped. The VPC is associated with a private VIF. The on-premises router has a BGP route to the VPC's CIDR. The VPC's route table has a route to the virtual private gateway. What is the MOST likely cause of the dropped traffic?

A.The VPC route table does not have a route pointing to the virtual private gateway for the on-premises CIDR
B.The MTU size on the Direct Connect connection is too small
C.The BGP session is not established
D.The allowed prefixes on the virtual private gateway do not include the on-premises CIDR
AnswerA

Return traffic is dropped without a route.

Why this answer

For traffic to flow from on-premises to the VPC, the VPC must have a route back to the on-premises CIDR pointing to the virtual private gateway. Without that route, the return traffic will be dropped. Option B is incorrect because MTU issues typically cause packet fragmentation or loss, not complete drop due to missing routes.

Option C is incorrect because the BGP session is established (as indicated by the BGP route being present). Option D is incorrect because allowed prefixes on the virtual private gateway control which routes can be advertised over BGP, not the return path in the VPC route table.

294
MCQhard

Refer to the exhibit. A network engineer created a NAT gateway in a public subnet, but its state shows 'failed'. What is the most likely cause?

A.The subnet does not have a route to an internet gateway
B.The subnet is private
C.The NAT gateway is still being created
D.The Elastic IP is already associated with another instance
AnswerD

A NAT gateway requires an unassociated Elastic IP.

Why this answer

A NAT gateway requires an Elastic IP that is not associated with any other resource. If the Elastic IP is already associated with another instance or NAT gateway, the NAT gateway creation fails. Option A is incorrect because the subnet must have a route to an internet gateway to be public, but that is not the cause of the failure.

Option B is incorrect because the NAT gateway is explicitly placed in a public subnet. Option C is incorrect because the state 'failed' indicates the creation did not succeed, not that it is still pending.

295
Multi-Selectmedium

A company uses AWS Transit Gateway to connect multiple VPCs and on-premises networks. The network team notices that VPC A cannot communicate with VPC B, while all other VPCs communicate normally. The transit gateway route table shows routes from both VPCs. Which TWO actions should the network engineer take to diagnose the issue? (Choose TWO.)

Select 2 answers
A.Check the security groups and network ACLs in VPC A and VPC B.
B.Establish a VPN connection between VPC A and the transit gateway.
C.Create a VPC peering connection between VPC A and VPC B.
D.Verify that the VPCs are associated with the correct transit gateway route table.
E.Configure an AWS Direct Connect virtual interface between the VPCs.
AnswersA, D

Correct: Security group or NACL rules may be blocking traffic between the VPCs.

Why this answer

Security groups and network ACLs in the VPCs can block traffic even if Transit Gateway routes are correct. Option D is correct because the VPCs must be associated with the correct Transit Gateway route table; an incorrect association can prevent communication. Option B is wrong because a VPN connection is not required for VPC-to-VPC communication via Transit Gateway.

Option C is wrong because VPC peering is not necessary when using Transit Gateway; the issue is likely a configuration problem within the Transit Gateway setup. Option E is wrong because AWS Direct Connect is unrelated to inter-VPC routing.

296
MCQmedium

A network engineer notices that traffic from an EC2 instance in a public subnet to the internet is not working. The instance has a public IP assigned and is in a public subnet with a route to an internet gateway. The security group allows outbound traffic. What should the engineer check next?

A.Ensure the network ACL allows outbound traffic.
B.Verify that the route table for the subnet has a 0.0.0.0/0 route pointing to the internet gateway.
C.Confirm that the internet gateway is attached to the VPC.
D.Check if the instance has a public IP assigned.
AnswerB

Without this route, traffic cannot reach the internet.

Why this answer

Even if the instance has a public IP, if the subnet's route table does not have a default route (0.0.0.0/0) pointing to the internet gateway, traffic to the internet will fail. This is a common misconfiguration.

297
MCQmedium

A company has deployed a web application on EC2 instances behind an Application Load Balancer (ALB). The application is experiencing intermittent timeouts. CloudWatch metrics show that the ALB's RequestCount is within normal limits, but TargetResponseTime occasionally spikes to 10 seconds. What is the most likely cause?

A.The ALB is configured with an incorrect idle timeout value.
B.The ALB's cross-zone load balancing is disabled.
C.The EC2 instances are experiencing high CPU utilization during peak periods.
D.The security group for the EC2 instances is blocking traffic from the ALB.
AnswerC

High CPU leads to slow responses, matching the symptom of occasional spikes in TargetResponseTime.

Why this answer

High CPU utilization on the EC2 instances can cause slow response times, leading to timeouts. The ALB distributes requests, so RequestCount may appear normal while individual instances struggle.

298
MCQhard

A network engineer is designing a multi-region architecture using AWS Transit Gateway and wants to minimize inter-region latency for data transfer between VPCs. The application requires high throughput and low latency. Which design should be used?

A.Establish VPC peering connections between all VPCs across regions
B.Use AWS Site-to-Site VPN between Transit Gateways in each region
C.Configure VPC endpoints to route traffic through AWS backbone
D.Use Transit Gateway inter-region peering between Transit Gateways
AnswerD

This provides low-latency, high-throughput connectivity.

Why this answer

Transit Gateway inter-region peering allows direct connectivity between Transit Gateways in different regions, using the AWS global backbone to minimize latency and maximize throughput. Option A (VPC peering) does not scale to multiple VPCs and regions. Option B (Site-to-Site VPN) introduces encryption overhead and potential latency.

Option C (VPC endpoints) are for accessing AWS services, not for inter-VPC traffic. Therefore, Option D is the correct design for minimizing inter-region latency and achieving high throughput.

299
Matchingmedium

Match each AWS service or feature to its primary function in network architecture.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Hub-and-spoke connectivity between VPCs and on-premises

Dedicated network connection from on-premises to AWS

Direct network connection between two VPCs

Private access to services across VPCs and accounts

Encrypted tunnel over the internet to AWS

Why these pairings

Correct matches: VPC is an isolated virtual network; Direct Connect is a dedicated physical connection; VPN is an encrypted internet-based connection; Route 53 is a DNS service. Common confusions include mixing Direct Connect with VPN and VPC with Direct Connect.

300
MCQhard

A company is using an AWS Transit Gateway to connect multiple VPCs and on-premises networks via Direct Connect. The network team notices that traffic from an on-premises network (CIDR 172.16.0.0/12) to a VPC (CIDR 10.0.0.0/16) is being dropped. The transit gateway route table shows a static route for 10.0.0.0/16 pointing to the VPC attachment. The Direct Connect virtual interface (VIF) is associated with the transit gateway and the on-premises router is advertising 172.16.0.0/12 via BGP. What is the most likely cause of the traffic being dropped?

A.The VPC has a route that points to the transit gateway for the on-premises CIDR, causing asymmetric routing.
B.The Direct Connect VIF is not configured with BFD.
C.The transit gateway route table does not have a route for the on-premises CIDR (172.16.0.0/12) pointing to the Direct Connect attachment.
D.The VPC route table does not have a route for the on-premises CIDR pointing to the transit gateway.
AnswerC

The transit gateway needs a route for the on-premises CIDR to forward return traffic to the Direct Connect attachment.

Why this answer

The transit gateway route table must contain a route for the on-premises CIDR (172.16.0.0/12) pointing to the Direct Connect attachment for return traffic to be forwarded correctly. Without this route, the transit gateway has no path for traffic destined to the on-premises network, causing it to be dropped. The static route for 10.0.0.0/16 only handles traffic toward the VPC, not the return direction.

Exam trap

The trap here is that candidates often assume the transit gateway automatically learns routes from BGP advertisements over Direct Connect and installs them into the route table, but in reality, you must either propagate the attachment or add a static route for the on-premises CIDR.

How to eliminate wrong answers

Option A is wrong because asymmetric routing would not cause traffic to be dropped; it would still be delivered, though potentially with issues. Option B is wrong because BFD (Bidirectional Forwarding Detection) is used for fast failure detection, not for enabling traffic forwarding; its absence does not cause traffic to be dropped. Option D is wrong because the VPC route table is irrelevant for traffic originating from on-premises; the issue is the transit gateway's lack of a return route for the on-premises CIDR.

← PreviousPage 4 of 5 · 326 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Network Management and Operations questions.