Courseiva

CCNA Network Mgmt Ops Questions

75 of 326 questions · Page 2/5 · Network Mgmt Ops topic · Answers revealed

76
Multi-Selecthard

A company wants to implement a network monitoring solution that provides real-time traffic analysis and anomaly detection. Which THREE AWS services should be used together?

Select 3 answers
A.AWS Config
B.Amazon GuardDuty
C.VPC Flow Logs
D.AWS CloudTrail
E.Amazon CloudWatch
AnswersB, C, E

GuardDuty provides anomaly detection using VPC Flow Logs data.

Why this answer

The correct answers are B (Amazon GuardDuty), C (VPC Flow Logs), and E (Amazon CloudWatch). VPC Flow Logs capture network traffic information, which can be sent to CloudWatch for metrics and alarms, and GuardDuty provides anomaly detection using threat intelligence. Option A (AWS Config) is incorrect because it is used for resource configuration tracking, not network traffic analysis.

Option D (AWS CloudTrail) is incorrect because it logs API calls, not network traffic.

77
MCQhard

A company has a multi-account AWS environment using AWS Organizations. They want to centralize VPC flow logs from all accounts into a single Amazon S3 bucket in the management account. The management account S3 bucket policy allows the log delivery service to write logs. However, flow logs are failing to deliver from member accounts. What is the most likely reason?

A.Flow logs cannot be delivered cross-account; they must be in the same account
B.The member account's IAM role for flow logs does not have permission to write to the bucket
C.The S3 bucket policy does not include a principal condition for the member account's log delivery service
D.The S3 bucket uses SSE-KMS encryption and the member account does not have access to the KMS key
AnswerC

The bucket policy must allow the log delivery service from the member account.

Why this answer

The S3 bucket policy must explicitly allow the log delivery service principal (delivery.logs.amazonaws.com) from the member account to write objects. Option A is incorrect because flow logs can be delivered cross-account with proper permissions. Option B is incorrect because the bucket policy is evaluated, not the member account's VPC flow log role.

Option D is incorrect because encryption is not the issue.

78
Multi-Selectmedium

A company is designing a highly available network architecture using AWS Direct Connect. Which TWO actions should be taken to ensure redundancy?

Select 2 answers
A.Create a single private VIF on the Direct Connect connection
B.Set up a VPN connection over the internet as a backup
C.Provision two Direct Connect connections at different locations
D.Use a single Direct Connect connection with multiple VIFs
E.Configure BGP with different ASNs on each connection
AnswersC, E

Two connections at different locations provide physical diversity.

Why this answer

To ensure redundancy for AWS Direct Connect, you should provision two Direct Connect connections at different locations (option C) to eliminate a single point of failure, and configure BGP with different ASNs on each connection (option E) to enable path diversity and automatic failover. Option A is incorrect because a single private VIF (or multiple VIFs) on a single connection still creates a single point of failure. Option B is incorrect because while a VPN backup provides some redundancy, it is not one of the two required actions for a highly available Direct Connect architecture—the question specifically asks for actions using Direct Connect.

Option D is incorrect because multiple VIFs on a single connection do not provide physical path diversity; they share the same underlying connection.

79
MCQmedium

A company uses AWS Transit Gateway to connect multiple VPCs and on-premises networks via AWS Direct Connect. The network team notices that traffic from an on-premises data center to a VPC is intermittently dropping. CloudWatch metrics show no errors on the Direct Connect virtual interface. What is the most likely cause of the intermittent drops?

A.Latency spikes on the Direct Connect link due to AWS VPN backup path
B.MTU mismatch causing packet fragmentation for jumbo frames
C.BGP keepalive timer mismatch between the on-premises router and the Direct Connect router
D.Asymmetric routing due to missing or incorrect route propagation in Transit Gateway route tables
AnswerD

Asymmetric routing can cause intermittent drops if return traffic takes a different path.

Why this answer

The most likely cause of intermittent traffic drops from on-premises to a VPC via Direct Connect and Transit Gateway is asymmetric routing due to missing or incorrect route propagation. Asymmetric routing can occur when the forward path (on-premises to VPC) is valid, but the return path (VPC to on-premises) lacks a specific route in the Transit Gateway route table. This causes packets to be dropped intermittently as route propagation changes or routing tables are updated.

Option A is incorrect because latency spikes are not typical of intermittent drops, and the VPN backup path is not mentioned as active. Option B is incorrect because MTU mismatch usually causes consistent packet loss for large packets, not intermittent drops. Option C is incorrect because BGP keepalive timer mismatches would cause sustained session loss rather than intermittent drops.

Therefore, option D is correct.

80
MCQeasy

A company wants to centralize VPC flow log management from multiple accounts into a single S3 bucket in the management account. Which combination of AWS services should be used?

A.AWS CloudTrail and Amazon S3
B.AWS Lambda and Amazon S3
C.Amazon Kinesis Data Firehose and Amazon S3
D.AWS Organizations and Amazon S3 bucket policy
AnswerD

Using Organizations, you can set a bucket policy that allows flow logs from member accounts to be delivered to the central bucket.

Why this answer

AWS Organizations with SCP can allow cross-account S3 bucket policies. AWS CloudTrail is not needed for flow logs. Option D is correct.

Options A, B, and C either miss key services or include unnecessary ones.

81
MCQmedium

A company has a VPC with public and private subnets. The security team wants to analyze all traffic to and from the internet for security incidents. Which AWS service should be used to capture and analyze this traffic?

A.AWS Shield Advanced
B.AWS Network Firewall
C.AWS WAF
D.VPC Flow Logs
AnswerD

Flow Logs capture IP traffic metadata for analysis.

Why this answer

VPC Flow Logs capture IP traffic information for network interfaces, including traffic to/from the internet, allowing analysis of all traffic for security incidents. Option A (AWS Shield Advanced) is incorrect because it provides DDoS protection, not traffic analysis. Option B (AWS Network Firewall) is incorrect because it provides firewall capabilities but does not provide detailed traffic logs like VPC Flow Logs.

Option C (AWS WAF) is incorrect because it filters web traffic but does not capture or analyze all internet traffic.

82
MCQmedium

A company has a VPC with an Application Load Balancer (ALB) in front of EC2 instances. The security group for the ALB allows inbound HTTP traffic from 0.0.0.0/0. The security group for the EC2 instances allows inbound traffic only from the ALB security group. However, the health checks are failing. What is the most likely cause?

A.The target group is not configured with the correct health check path
B.The ALB is in a private subnet
C.The EC2 security group does not allow inbound traffic from the ALB security group
D.The ALB security group does not allow outbound traffic
AnswerA

Correct. An incorrect health check path will cause the ALB to receive non-200 responses, marking instances unhealthy.

Why this answer

The most likely cause of health check failures is an incorrect health check path configured in the target group. The security group configuration described in the stem should allow health check traffic because the EC2 security group explicitly allows inbound traffic from the ALB security group. However, if the target group's health check path does not match the actual endpoint on the EC2 instances (e.g., it expects a 200 response from a specific URL that is not available), the health checks will fail.

Option B is incorrect because ALBs can be placed in private subnets without issue. Option C is incorrect because the stem states the EC2 security group allows inbound traffic from the ALB security group. Option D is incorrect because outbound rules on the ALB security group do not affect inbound health checks.

83
MCQeasy

A company uses AWS CloudFormation to manage its network infrastructure. After a recent update, the stack fails to update, with an error indicating that a security group rule conflicts with an existing rule. What is the most likely cause?

A.The CIDR block in the rule is not in the same VPC.
B.The referenced security group was deleted outside of CloudFormation.
C.The stack update exceeded the service quota for security groups.
D.The template attempts to add a security group rule that already exists.
AnswerD

AWS rejects duplicate rules to avoid ambiguity.

Why this answer

The most likely cause is that the CloudFormation template is attempting to add a security group rule that already exists. AWS CloudFormation does not allow duplicate security group rules; if the same protocol, port range, and source (CIDR or security group) are specified, the update will fail with a conflict error. Option A is incorrect because the CIDR block not being in the same VPC is not a factor for security group rules; they can reference external CIDRs.

Option B is incorrect because a deleted security group would result in a different error (e.g., referencing a non-existent group). Option C is incorrect because exceeding service quotas yields a different error message.

84
MCQmedium

A company wants to centralize logging of VPC Flow Logs from multiple accounts into a single Amazon S3 bucket. The logs must be encrypted at rest using an AWS KMS CMK. What is the recommended approach?

A.Enable encryption on VPC Flow Logs using a KMS key in each account and aggregate logs using AWS Logs cross-account subscription.
B.Create a centralized S3 bucket with default encryption using a KMS CMK and a bucket policy that allows cross-account writes from the source accounts.
C.Create a bucket with SSE-S3 encryption and have each account write flow logs directly.
D.Use a single bucket with a bucket policy that denies access unless encryption headers are present, and use a KMS key shared across accounts.
AnswerB

This ensures encryption and centralized logging.

Why this answer

The recommended approach uses a centralized S3 bucket with default encryption using a KMS CMK and a bucket policy that allows cross-account writes. This ensures logs are encrypted at rest centrally without requiring per-account KMS keys. Option A is wrong because KMS keys in each account would complicate key management and cross-account access.

Option C is wrong because SSE-S3 encryption does not use a CMK and does not provide the same level of control. Option D is wrong because denying access unless encryption headers are present is not a reliable way to enforce encryption; bucket policies can be bypassed if headers are not included, and shared KMS keys are not recommended.

85
MCQeasy

A network engineer needs to monitor the network traffic between EC2 instances in a VPC. Which AWS service should be used to capture IP traffic information?

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

VPC Flow Logs capture IP traffic information for network interfaces.

Why this answer

VPC Flow Logs capture IP traffic information for network interfaces in a VPC. Option B is wrong because AWS Config tracks resource configuration changes, not network traffic. Option C is wrong because CloudTrail records API calls, not IP traffic.

Option D is wrong because CloudWatch Logs can store logs but does not capture network traffic; it is a destination for logs, not a traffic capture service.

86
MCQmedium

A company has a hybrid network architecture with multiple VPCs connected via a transit gateway and on-premises via Direct Connect. The network team wants to automate the response to a BGP session failure on a Direct Connect virtual interface. Which AWS service can be used to monitor the BGP status and trigger an automated action?

A.AWS Lambda with VPC Flow Logs
B.AWS Systems Manager Automation
C.AWS CloudWatch Events (EventBridge) with Direct Connect BGP metric alarms
D.AWS Config rules
AnswerC

EventBridge can trigger actions based on CloudWatch alarms for BGP status.

Why this answer

AWS CloudWatch Events (EventBridge) can monitor Direct Connect BGP session status via the `bgp_session_state` metric in the `AWS/DX` namespace. When the BGP session transitions to the `down` state, you can create an EventBridge rule that triggers an automated action, such as invoking a Lambda function or sending an SNS notification, enabling a rapid response to BGP failures without manual intervention.

Exam trap

AWS often tests the misconception that VPC Flow Logs or AWS Config can monitor BGP status, but candidates must remember that BGP is a control-plane protocol and only Direct Connect metrics in CloudWatch provide the BGP session state for automation.

How to eliminate wrong answers

Option A is wrong because VPC Flow Logs capture IP traffic metadata (e.g., source/destination IPs, ports, protocols) and cannot monitor BGP session state, which is a Layer 3 control-plane protocol between routers. Option B is wrong because AWS Systems Manager Automation is designed for operational tasks on EC2 instances and on-premises resources (e.g., patching, configuration), not for reacting to real-time network events like BGP session failures. Option D is wrong because AWS Config rules evaluate resource configurations for compliance (e.g., checking if a Direct Connect virtual interface has the correct VLAN ID) but cannot monitor dynamic BGP session state changes or trigger actions based on metric thresholds.

87
MCQmedium

A company has a Direct Connect connection with a private VIF to a VPC. They want to add a second Direct Connect connection for redundancy. The two connections will terminate on different AWS Direct Connect locations. Which configuration will provide the HIGHEST availability?

A.Use the same customer gateway device for both connections
B.Use the same Direct Connect location for both connections
C.Use the same BGP ASN for both connections
D.Use different customer gateway devices and different Direct Connect locations
AnswerD

Using different customer gateway devices and different Direct Connect locations maximizes physical diversity, providing the highest availability through independent failure domains.

Why this answer

Using different customer gateway devices and different Direct Connect locations provides full physical diversity, eliminating single points of failure at both the device and location level. Option A introduces a single point of failure by using the same device. Option B uses the same location, reducing availability in case of location failure.

Option C uses the same BGP ASN, which can cause routing issues but is not the primary concern for physical redundancy.

88
MCQhard

A company is deploying a hybrid network using AWS Direct Connect and a VPN backup. The Direct Connect connection is established, and BGP is running over the private VIF. The company wants to use the VPN as a backup only when Direct Connect fails. The network engineer configures BGP communities on the Direct Connect VIF to influence route preference. However, during a Direct Connect failure, failover to VPN takes several minutes. What can the engineer do to reduce failover time?

A.Configure AS path prepending on the VPN BGP session to deprioritize it
B.Use static routes instead of BGP for the Direct Connect VIF
C.Enable Bidirectional Forwarding Detection (BFD) on the Direct Connect VIF
D.Decrease the BGP keepalive and hold timers on both the Direct Connect and VPN BGP sessions
AnswerC

BFD provides fast failure detection (sub-second) and is commonly used with BGP to accelerate failover.

Why this answer

BFD provides sub-second failure detection, which significantly reduces failover time compared to BGP timers. Option A is wrong because AS path prepending influences route preference and does not affect failover detection speed. Option B is wrong because static routes do not provide dynamic failover and increase administrative overhead.

Option D is wrong because while decreasing BGP timers can reduce failover time, BFD is much faster and is the recommended approach.

89
MCQeasy

A network engineer needs to monitor network traffic to an Amazon RDS instance for security analysis. Which AWS service should be used to capture and analyze network traffic?

A.Amazon Inspector
B.VPC Flow Logs
C.VPC Traffic Mirroring
D.AWS CloudTrail
AnswerC

Traffic Mirroring captures and inspects network traffic for analysis.

Why this answer

VPC Traffic Mirroring allows capturing and inspecting network traffic from an RDS instance (full packet capture). Option A is wrong because Amazon Inspector is for vulnerability assessment, not network traffic capture. Option B is wrong because VPC Flow Logs provide metadata (IP, port, etc.) about traffic, not full packet capture.

Option D is wrong because AWS CloudTrail records API activity, not network traffic.

90
MCQhard

A network engineer is designing a hybrid network with Direct Connect and VPN backup. The company has multiple VPCs connected via Transit Gateway. They want to use BGP to exchange routes. Which BGP feature should be configured to fail over from Direct Connect to VPN if the Direct Connect link goes down?

A.BGP communities
B.Multi-Exit Discriminator (MED)
C.Bidirectional Forwarding Detection (BFD)
D.AS_PATH prepending
AnswerA

Correct. BGP communities allow AWS to assign route preference, enabling failover from Direct Connect to VPN by setting higher local preference for Direct Connect routes.

Why this answer

BGP communities allow AWS to tag routes from Direct Connect and VPN with different community values, enabling route preference control. By configuring the VPN routes with a lower preference (higher local preference via communities), traffic prefers Direct Connect when available. If Direct Connect fails, the VPN routes become active, providing failover.

Option B (MED) influences inbound routing from external peers, not outbound preference within AWS. Option C (BFD) detects link failures faster but does not control route selection. Option D (AS_PATH prepending) is used to deprioritize routes outbound, not between Direct Connect and VPN.

91
MCQhard

A company has a Direct Connect connection with a private VIF attached to a Direct Connect Gateway. The Direct Connect Gateway is associated with a Transit Gateway. The on-premises network advertises a prefix via BGP, but the prefix does not appear in the Transit Gateway route table. What is the most likely cause?

A.Route propagation is not enabled on the Transit Gateway route table.
B.The on-premises router is not sending the BGP community attribute.
C.The Transit Gateway is not associated with the Direct Connect Gateway.
D.The prefix is not included in the allowed prefixes list for the Direct Connect Gateway.
AnswerD

The allowed prefixes list controls which BGP prefixes are accepted.

Why this answer

The Direct Connect Gateway has an allowed prefixes list that filters which BGP prefixes are accepted from the on-premises network. If the prefix is not in that list, it will not be propagated to the Transit Gateway route table. Option A is incorrect because route propagation on the Transit Gateway route table is used for VPC attachments, not for Direct Connect prefixes.

Option B is incorrect because BGP community attributes are used for tagging and influencing routing policies, not as a prerequisite for prefix acceptance. Option C is incorrect because the Transit Gateway association with the Direct Connect Gateway is already present as stated in the question, so this cannot be the cause.

92
Multi-Selecteasy

Which TWO services can be used to centrally manage and monitor VPN connections across multiple AWS accounts? (Choose 2.)

Select 2 answers
A.AWS Network Manager
B.AWS Transit Gateway
C.AWS CloudFormation
D.AWS Organizations
E.AWS Direct Connect Gateway
AnswersA, B

Monitors global network across accounts.

Why this answer

AWS Network Manager centrally manages and monitors VPN connections across multiple AWS accounts by providing a global view of your network topology, including on-premises and AWS resources. It integrates with Transit Gateway to monitor VPN tunnel status and performance metrics, enabling cross-account visibility via resource shares.

Exam trap

AWS often tests the misconception that AWS Organizations itself provides network monitoring, but it only handles account governance, not VPN management or monitoring.

93
MCQmedium

A company uses a centralized inspection VPC for traffic inspection. All VPCs route traffic to the inspection VPC via Transit Gateway. The security team wants to ensure that all traffic between VPCs is inspected by a network virtual appliance in the inspection VPC. Which Transit Gateway feature should be configured?

A.Transit Gateway flow logs
B.Transit Gateway multicast
C.Transit Gateway route tables
D.Transit Gateway peering
AnswerC

Transit Gateway route tables allow you to control routing between attachments. By configuring route tables to send traffic to the inspection VPC's attachment, you enforce that all inter-VPC traffic is inspected.

Why this answer

To ensure that all traffic between VPCs is inspected by the network virtual appliance in the inspection VPC, you must control the routing. Transit Gateway route tables (Option C) allow you to define which traffic is sent to the inspection VPC by associating attachments with specific route tables and adding static routes or propagating routes. This ensures that inter-VPC traffic is forced through the inspection appliance before reaching its destination.

Transit Gateway flow logs (Option A) only provide visibility into traffic but do not enforce inspection; they are a monitoring tool, not a routing mechanism. Therefore, Option C is correct, while Options A, B, and D are incorrect.

Exam trap

Candidates often confuse monitoring with enforcement. Flow logs show what traffic passes through, but they do not force traffic to go where you want. To actually enforce inspection, you need proper routing configuration via route tables.

94
MCQmedium

A company is experiencing intermittent SSH connection failures to their EC2 instances in a VPC. The instances are in a private subnet with a NAT gateway. The security group allows inbound SSH from the corporate CIDR. The network ACL is set to default allow all. The route table has a route to the NAT gateway for 0.0.0.0/0. What is the most likely cause of the intermittent failures?

A.The network ACL inbound rule is blocking ephemeral ports.
B.The instances are behind a proxy that is not configured.
C.The security group outbound rules are not allowing return traffic.
D.The NAT gateway does not have an Elastic IP associated.
AnswerD

Correct. A NAT gateway must have an Elastic IP associated to function properly. Without it, the NAT gateway cannot translate addresses, causing connectivity issues for instances that require outbound access.

Why this answer

The NAT gateway requires an associated Elastic IP to function correctly. Without it, the NAT gateway cannot be created or fails to operate, leading to intermittent connectivity issues for instances in the private subnet. Since the instances rely on the NAT gateway for outbound traffic (e.g., to reach configuration endpoints or DNS), any failure in the NAT gateway can disrupt SSH sessions that depend on such outbound communication.

Option A is incorrect because the network ACL is set to default allow all, so it does not block ephemeral ports. Option B is incorrect because a proxy is not typically required for SSH connections in this setup. Option C is incorrect because security groups are stateful, meaning outbound rules do not block return traffic from allowed inbound connections.

Exam trap

Many candidates overlook the requirement for a NAT gateway to have an Elastic IP, assuming it works without one. This traps those who focus solely on security group and NACL rules.

95
Multi-Selectmedium

A company has a VPC with multiple subnets. They want to implement network segmentation such that traffic between subnets is controlled by a centralized firewall. Which three components are required? (Choose THREE.)

Select 3 answers
A.AWS Transit Gateway
B.Route tables in each subnet that route traffic to the Transit Gateway
D.VPC peering connections
AnswersA, B, C

Provides transitive routing between VPCs.

Why this answer

Centralized firewall inspection requires a Transit Gateway to route traffic to the firewall VPC, a Gateway Load Balancer to distribute traffic to firewall instances, and appropriate route tables to direct traffic accordingly. VPC peering does not support transitive routing. NAT Gateway is for outbound internet access.

96
Multi-Selectmedium

A company has a VPC with public and private subnets. The private subnets have a route to a NAT gateway. The network team wants to monitor DNS queries from EC2 instances in private subnets to a custom DNS resolver on-premises over a VPN. Which TWO services can capture this traffic?

Select 2 answers
A.Amazon Route 53 Resolver query logs
B.Amazon CloudWatch
C.VPC Flow Logs
D.AWS Network Firewall
E.AWS CloudTrail
AnswersC, D

Flow logs capture all IP traffic, including DNS queries.

Why this answer

VPC Flow Logs capture IP traffic at the network interface level, including DNS queries (port 53) to any destination, such as a custom on-premises resolver over VPN. AWS Network Firewall can inspect and log DNS traffic that passes through it, including queries to custom resolvers. Option A (Route 53 Resolver query logs) is incorrect because it only logs queries made to Amazon Route 53 Resolver, not to custom on-premises resolvers.

Option B (CloudWatch) is incorrect because CloudWatch does not directly capture network traffic; it can aggregate logs but cannot capture raw DNS packets. Option E (CloudTrail) is incorrect because it logs API calls to AWS services, not network traffic.

97
MCQeasy

A company uses AWS Direct Connect with a private VIF to connect to their VPC. They want to monitor the network latency between their on-premises router and the AWS Direct Connect location. Which AWS service should they use?

A.AWS Direct Connect metrics in CloudWatch
B.AWS X-Ray
C.VPC Flow Logs
D.Amazon CloudWatch Synthetics
AnswerA

Direct Connect publishes metrics like latency to CloudWatch.

Why this answer

AWS Direct Connect publishes metrics such as latency (round-trip time) and BGP session state to CloudWatch. These metrics can be used to monitor network latency between on-premises and the Direct Connect location. Option B is incorrect because AWS X-Ray is for tracing application requests, not network infrastructure latency.

Option C is incorrect because VPC Flow Logs capture IP traffic metadata (e.g., sources, destinations, ports), not latency. Option D is incorrect because CloudWatch Synthetics monitors endpoint availability and response times via canaries, not Direct Connect link latency.

98
MCQhard

A company is using a centralized egress VPC model with a NAT gateway for outbound traffic from multiple VPCs. The network team notices that some EC2 instances are having connectivity timeouts when accessing the internet. The team has verified the route tables and security groups. Which additional check should be performed to troubleshoot the issue?

A.Check the security group rules for outbound traffic
B.Check the VPC Flow Logs for denied traffic
C.Check the route tables for the internet gateway
D.Check the NAT gateway CloudWatch metrics for error packets and connection counts
AnswerD

High connection counts or error packets indicate resource exhaustion.

Why this answer

NAT Gateway CloudWatch metrics, specifically `ErrorPortAllocation` and `PacketsDropCount`, directly indicate whether the NAT Gateway is running out of available ports or dropping packets due to connection limits. In a centralized egress model with multiple VPCs, high connection counts can exhaust the NAT Gateway's ephemeral port capacity (65,535 per IP), causing connectivity timeouts even when route tables and security groups are correctly configured.

Exam trap

AWS often tests the misconception that VPC Flow Logs or security group checks are sufficient for diagnosing NAT Gateway issues, when in fact the root cause is often port exhaustion or packet drops at the NAT Gateway itself, which requires CloudWatch metrics to identify.

How to eliminate wrong answers

Option A is wrong because the team has already verified security groups, and outbound rules are typically permissive by default; the issue is at the NAT Gateway level, not the instance's security group. Option B is wrong because VPC Flow Logs capture traffic metadata but do not show NAT Gateway-specific errors like port exhaustion; denied traffic would appear as 'ACCEPT' or 'REJECT' based on security group/NACL rules, not NAT Gateway capacity. Option C is wrong because route tables for the internet gateway are irrelevant in a centralized egress model where traffic is routed through the NAT Gateway in the egress VPC, not directly to an IGW from the spoke VPCs.

99
MCQeasy

A network engineer is troubleshooting SSH connectivity to an EC2 instance in subnet subnet-0abcd1234efgh5678, which is associated with the network ACL shown. The security group allows inbound SSH. Why can't the engineer SSH to the instance?

A.The security group is blocking SSH traffic
B.The network ACL is not associated with the subnet
C.The network ACL has a rule that denies all traffic (rule 300) which overrides the allow rule
D.The network ACL rule 200 denies SSH traffic, overriding rule 100
AnswerD

Correct. The network ACL has rule 200 that explicitly denies SSH traffic. Because rule 100 only allows HTTP, not SSH, rule 200 is the first matching rule for SSH and denies it.

Why this answer

The network ACL exhibit shows inbound rule 100 allowing HTTP traffic (port 80) and rule 200 denying SSH traffic (port 22). Since NACL rules are evaluated in ascending order, when an SSH packet arrives, rule 100 does not match (it allows HTTP, not SSH), so rule 200 matches and denies the traffic. Thus, SSH is blocked.

Option A is wrong because the security group allows SSH. Option B is wrong because the subnet is associated with the NACL as stated. Option C is wrong because rule 300 is a higher-numbered rule and would only be evaluated if no earlier rule matched; here rule 200 already matches and denies SSH.

Exam trap

Candidates often assume that an allow rule with a lower number always overrides a deny rule with a higher number. However, the allow rule must match the specific traffic; if it does not, the deny rule will apply.

100
Multi-Selecthard

A company is using AWS Global Accelerator to improve performance for a global application. The application uses an Application Load Balancer (ALB) in each region. The network team wants to ensure that traffic is distributed evenly across regions and that failover happens quickly. Which THREE steps should the team take? (Select THREE.)

Select 3 answers
A.Configure multiple endpoint groups, one per region, and set traffic dials to distribute load
B.Enable health checks on each endpoint and set a low threshold for failure detection
C.Set the traffic dial for each endpoint group to a value that reflects the desired distribution
D.Enable client IP address preservation on the Global Accelerator
E.Use Route 53 weighted routing in front of Global Accelerator
AnswersA, B, C

Traffic dials control the percentage of traffic to each region.

Why this answer

Options A, B, and C are correct. A: Multiple endpoint groups with traffic dials allow distributing traffic across regions based on desired percentages. B: Enabling health checks with a low threshold for failure detection ensures fast failover by quickly marking unhealthy endpoints.

C: Setting traffic dials for each endpoint group allows fine-tuning the distribution of traffic. Option D is incorrect because client IP address preservation is not related to traffic distribution or failover; it affects source IP visibility. Option E is incorrect because Route 53 weighted routing is unnecessary; Global Accelerator can handle distribution via endpoint groups and traffic dials.

101
MCQmedium

A company uses AWS Transit Gateway to connect multiple VPCs and on-premises networks via AWS Direct Connect. The network team wants to monitor BGP session status for all Transit Gateway attachments. Which AWS service should be used?

A.AWS Config
B.VPC Flow Logs
C.AWS Transit Gateway Network Manager
D.Amazon CloudWatch with Transit Gateway metrics
AnswerC

Network Manager provides a central dashboard for monitoring BGP sessions and connectivity.

Why this answer

AWS Transit Gateway Network Manager provides monitoring of BGP sessions, network topology, and VPN/Transit Gateway attachment status. Option A is incorrect because AWS Config tracks resource configuration changes but does not monitor real-time BGP session status. Option B is incorrect because VPC Flow Logs capture IP traffic metadata, not routing protocol status.

Option D is incorrect because Amazon CloudWatch with Transit Gateway metrics can monitor some metrics (e.g., bytes in/out) but does not directly provide BGP session status.

102
MCQhard

A company is using AWS Database Migration Service (DMS) to replicate data from an on-premises Oracle database to an Amazon RDS for Oracle instance. The replication is failing intermittently with connection timeouts. The network connectivity uses a Direct Connect private VIF. What should the network team investigate first?

A.The MTU settings on the on-premises router and the AWS Direct Connect interface.
B.The route table of the VPC to ensure it has a route to the on-premises CIDR via the Direct Connect virtual interface.
C.The VPN connection status as a backup path.
D.The security group of the RDS instance to ensure it allows traffic from the on-premises IP range.
AnswerA

MTU mismatch can cause intermittent connectivity issues, especially with DMS.

Why this answer

Correct answer: Option A is correct because MTU mismatch between the on-premises router and AWS Direct Connect interface can cause packet fragmentation or drops, leading to intermittent connection timeouts. The default MTU for Direct Connect is 1500 bytes, but if the on-premises router uses a larger MTU (e.g., 9001 for jumbo frames), packets may be dropped or fragmented, causing timeouts. Option B is incorrect because routing misconfiguration would cause persistent failure, not intermittent.

Option C is incorrect because a VPN is not used as a primary path when Direct Connect is available. Option D is incorrect because security groups apply to traffic within the VPC, not to on-premises traffic over Direct Connect.

103
Multi-Selectmedium

A network engineer must design a solution to monitor and troubleshoot connectivity from an on-premises data center to a VPC over an AWS Direct Connect connection. The solution must provide visibility into BGP routing, packet loss, and latency. Which TWO services or features should the engineer use? (Choose two.)

Select 2 answers
A.Amazon CloudWatch Logs for Direct Connect
B.AWS CloudTrail
C.Amazon CloudWatch metrics for Direct Connect
D.VPC Flow Logs
E.AWS X-Ray
AnswersA, C

Can ingest Direct Connect logs for monitoring.

Why this answer

Amazon CloudWatch metrics for Direct Connect can monitor BGP session state, packet loss, and latency. AWS CloudTrail logs API calls but not network performance. VPC Flow Logs capture IP traffic metadata but not BGP details or latency.

AWS X-Ray is for application tracing. Amazon Inspector is for security assessments.

104
MCQhard

Refer to the exhibit. A company has created a VPC endpoint for S3. However, an EC2 instance in the subnet associated with the route table cannot access S3 via the endpoint. The route table has a route to the endpoint. What is the most likely cause?

A.The endpoint is in 'pending' state
B.The route table is not associated with the subnet
C.Private DNS is not enabled
D.The security group is blocking traffic
AnswerC

Without Private DNS, the instance does not resolve S3 to the endpoint IP.

Why this answer

The endpoint policy is set to Allow all, which is fine. However, the PrivateDnsEnabled is false, meaning that DNS resolution for S3 endpoints does not resolve to the endpoint IP. To use the endpoint, either enable Private DNS or use the endpoint-specific DNS name.

Option A is wrong because the endpoint state is 'available'. Option B is wrong because the route table is associated. Option D is wrong because the security group is not specified (empty), but default SG allows all outbound traffic.

105
Multi-Selecteasy

A company has a VPC with public and private subnets. They want to allow instances in the private subnet to download software updates from the internet while blocking inbound internet traffic. Which TWO components are required? (Select TWO.)

Select 2 answers
A.A Virtual Private Gateway.
B.An Internet Gateway attached to the VPC.
C.A VPC Peering connection.
D.A NAT Gateway in a public subnet.
E.A route in the private subnet's route table pointing to the NAT Gateway.
AnswersD, E

NAT Gateway enables outbound internet access.

Why this answer

To allow instances in a private subnet to download updates from the internet (outbound only), a NAT Gateway in a public subnet (D) is required, along with a route in the private subnet's route table pointing 0.0.0.0/0 to the NAT Gateway (E). An Internet Gateway (B) alone would allow inbound traffic, which is not desired, and it is not used for private subnets. A Virtual Private Gateway (A) is for VPN connections to on-premises, not for internet access.

VPC Peering (C) connects VPCs, not to the internet.

106
MCQhard

A company has a Direct Connect connection with multiple virtual interfaces (VIFs). They want to ensure that traffic from on-premises to a specific VPC uses a specific VIF for security compliance. The VPC is associated with a virtual private gateway. Which configuration ensures this?

A.Configure the on-premises router to use a different BGP ASN for each VIF
B.Use BGP community tags on the Direct Connect gateway to influence routing
C.Assign different IP addresses to each VIF and add static routes
D.Create a separate virtual private gateway for each VIF
AnswerB

BGP communities allow you to tag routes and influence path selection.

Why this answer

To steer traffic from on-premises to a specific VPC over a specific VIF, you can use BGP community tags on the Direct Connect gateway. This allows you to influence routing decisions by tagging routes. Option A does not achieve traffic steering because different ASNs are not used for that purpose.

Option C (static routes) would not provide the flexibility and dynamic routing capabilities needed. Option D is unnecessary and does not solve the requirement. Therefore, option B is correct.

107
Multi-Selecthard

A company is designing a multi-region architecture with VPCs connected via VPC peering. They need to ensure high availability and low latency. Which THREE design principles should they follow? (Choose three.)

Select 3 answers
A.Use VPC endpoints for all AWS service access
B.Deploy redundant VPN connections to each region
C.Use a single NAT gateway for all outbound traffic
D.Use AWS Direct Connect for low-latency connectivity
E.Use a transit gateway for inter-region peering
AnswersB, D, E

Ensures high availability.

Why this answer

Options B, D, and E are correct. Deploying redundant VPN connections ensures high availability and failover between regions. AWS Direct Connect provides consistent low-latency connectivity for inter-region traffic.

Using a transit gateway simplifies inter-region peering with transitive routing and centralized management. Option A is incorrect because VPC endpoints are for accessing AWS services privately, not for inter-region connectivity. Option C is incorrect because a single NAT gateway creates a single point of failure and does not support inter-region traffic.

108
MCQmedium

A company's VPC includes a public subnet with a NAT gateway and a private subnet with EC2 instances. The EC2 instances in the private subnet need to access the internet for software updates. The NAT gateway's Elastic IP is associated correctly, and the route tables are configured. However, the EC2 instances cannot reach the internet. What is the most likely cause?

A.The NAT gateway is in the private subnet.
B.The route table for the private subnet is missing a default route pointing to the NAT gateway.
C.The network ACL for the private subnet is blocking outbound traffic.
D.The security group for the EC2 instances does not allow outbound traffic.
AnswerB

This is the most likely cause; without a default route to the NAT gateway, traffic cannot be routed out.

Why this answer

The most common issue is that 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 from the private subnet cannot be directed to the NAT gateway, and thus cannot reach the internet.

109
MCQmedium

A company is experiencing intermittent connectivity issues between two VPCs connected via a VPC peering connection. The VPCs are in different AWS regions. VPC A has CIDR 10.0.0.0/16 and VPC B has CIDR 10.1.0.0/16. The route tables in both VPCs have been updated to include routes pointing to the peering connection. Security groups and network ACLs are configured to allow all traffic for testing. However, traffic from VPC A to VPC B fails intermittently. Which of the following is the most likely cause of this intermittent failure?

A.The security group rules in VPC A are not allowing inbound traffic from VPC B's CIDR. The security group must reference the VPC B CIDR explicitly.
B.The route tables in both VPCs must include explicit routes for each other's CIDR blocks, but they should also include routes to the internet gateway for proper routing.
C.The VPCs are in different regions, and cross-region VPC peering is not supported. A transit gateway must be used instead.
D.The VPC peering connection does not support transitive routing. If any traffic is being routed through an intermediate device (e.g., a NAT instance or a VPN connection), the peering connection will not forward that traffic.
AnswerD

VPC peering does not support transitive routing, and intermittent failures suggest that some traffic is being sent through an unsupported path.

Why this answer

The intermittent failure is most likely due to VPC peering's lack of transitive routing. If traffic from VPC A to VPC B is routed through an intermediate device (e.g., a NAT instance, VPN connection, or another VPC), the VPC peering connection will not forward that traffic because it does not support transitive routing. This can cause intermittent failures when the intermediate device's route or state changes, even though direct routes and security groups are correctly configured.

Exam trap

The trap here is that candidates assume security groups or route table misconfigurations are the cause, but the real issue is the fundamental non-transitive nature of VPC peering, which AWS tests by describing an intermittent failure that points to a transitive routing dependency.

How to eliminate wrong answers

Option A is wrong because the security groups in VPC A are explicitly configured to allow all traffic for testing, and the issue is intermittent, not a persistent inbound rule mismatch. Option B is wrong because adding routes to an internet gateway is irrelevant for VPC peering traffic; the route tables already have the correct peering routes, and internet gateway routes are for internet-bound traffic, not inter-VPC traffic. Option C is wrong because cross-region VPC peering is fully supported by AWS; the statement that it is not supported is incorrect, and a transit gateway is not required for this scenario.

110
MCQeasy

A network engineer is monitoring network traffic using VPC Flow Logs. The engineer wants to capture traffic that is rejected by security groups and network ACLs. Which flow log format should be used?

A.Default format
B.Flow logs are delivered to CloudWatch Logs with DNS query logs
C.Custom format with 'srcaddr' and 'dstaddr' only
D.Custom format with 'action' field
AnswerD

The action field shows ACCEPT or REJECT.

Why this answer

The default VPC Flow Log format includes the action field, so it does capture ACCEPT/REJECT information. However, a common myth is that the default format omits the action field. In reality, both default and custom formats can capture rejected traffic.

The correct answer is D because a custom format that explicitly includes the action field is the targeted way to capture only the rejection status, reducing log volume and making analysis easier. Option A is incorrect because it is not the most efficient approach; it logs many unnecessary fields. Options B and C are irrelevant or incomplete.

Exam trap

Be careful: The default format actually includes the action field. Many candidates mistakenly think it does not, leading them to choose D over A. While D is still the best answer, A is not invalid due to lacking the action field.

111
MCQmedium

A company manages multiple VPCs connected via a transit gateway. Each VPC has a VPN connection to an on-premises data center. The network team wants to monitor the bandwidth utilization on each VPN connection. Which approach is the most efficient?

A.Use Amazon CloudWatch metrics for the VPN tunnels.
B.Enable VPC Flow Logs on each VPC and aggregate them in CloudWatch Logs Insights.
C.Use Transit Gateway Network Manager to view VPN bandwidth.
D.Use AWS Config rules to monitor VPN bandwidth changes.
AnswerA

CloudWatch provides built-in metrics for VPN tunnel throughput.

Why this answer

CloudWatch metrics for VPN tunnels provide bandwidth utilization. Option B is wrong because VPC Flow Logs are for packet-level logs, not metrics. Option C is wrong because AWS Config tracks configuration.

Option D is wrong because Transit Gateway Network Manager provides topology, not bandwidth metrics.

112
MCQhard

A company has a VPC with a public subnet and a private subnet. The private subnet hosts a web application that needs to access an external API over the internet. The private subnet uses a NAT Gateway in the public subnet for outbound internet access. The web application is failing to reach the external API. The engineer has verified the following: the NAT Gateway has an Elastic IP attached, the route table for the private subnet has a default route (0.0.0.0/0) pointing to the NAT Gateway, the security group for the web application allows outbound HTTPS (TCP 443) to 0.0.0.0/0, the network ACL for the private subnet allows inbound and outbound TCP ephemeral ports (1024-65535) from and to 0.0.0.0/0, and the IAM role attached to the EC2 instance allows outbound HTTPS. The engineer also confirmed that the NAT Gateway is in the public subnet which has a route to an Internet Gateway. Despite all these checks, the web application still cannot reach the external API. What should the engineer do next?

A.Add an inbound rule to the security group for the external API's IP address.
B.Move the NAT Gateway to the private subnet.
C.Verify that the route table is correctly associated with the private subnet.
D.Add a specific route for the external API's IP address to the route table.
AnswerC

Misassociation is a common issue.

Why this answer

Even though the route table contains a default route to the NAT Gateway, it may not be associated with the private subnet. If the route table is not associated, the private subnet uses the main route table, which might not have the default route. The engineer should verify that the correct route table is associated with the private subnet.

Option A is incorrect because the security group already allows outbound HTTPS. Option B is incorrect because the NAT Gateway must be in a public subnet. Option D is incorrect because a specific route is unnecessary when a default route already exists.

113
MCQeasy

A network engineer is configuring a new AWS Direct Connect connection and needs to establish BGP peering with the AWS side. The engineer has received the BGP configuration from the AWS Direct Connect endpoint. Which information is required to complete the BGP configuration on the on-premises router?

A.The AWS Side BGP password and MD5 hash
B.The AWS BGP peer IP address and the BGP ASN
C.The Amazon side routing table and prefix list
D.The Direct Connect virtual interface ID and VLAN ID
AnswerB

These are the key BGP parameters.

Why this answer

B is correct because BGP peering requires the remote peer's IP address and Autonomous System Number (ASN) to establish a TCP connection and exchange routing information. AWS provides these two values in the Direct Connect endpoint configuration, and the on-premises router must use them to configure the BGP neighbor statement. Without both, the BGP session cannot be established.

Exam trap

The trap here is that candidates often confuse Layer 2 parameters (VLAN ID, VIF ID) with Layer 3 BGP requirements, or assume authentication is mandatory, when in fact only the BGP peer IP and ASN are essential to establish the BGP session.

How to eliminate wrong answers

Option A is wrong because AWS Direct Connect does not require a BGP password or MD5 hash for basic BGP peering; MD5 authentication is optional and not a mandatory parameter. Option C is wrong because the Amazon side routing table and prefix list are not needed for BGP configuration; routes are learned dynamically via BGP after peering is established. Option D is wrong because the Direct Connect virtual interface ID and VLAN ID are used for Layer 2 configuration (802.1Q tagging) and are not part of the BGP peering configuration on the router.

114
MCQeasy

A network engineer is troubleshooting a Site-to-Site VPN connection between an on-premises network and AWS. The VPN tunnel is up, but traffic is not flowing from the on-premises network to a VPC. The VPC has a virtual private gateway attached, and the route table has a route pointing to the virtual private gateway for the on-premises CIDR (192.168.0.0/16). The on-premises firewall shows that traffic is being sent to the VPN tunnel. What should the engineer check next?

A.Verify that the virtual private gateway is attached to the VPC.
B.Verify that the on-premises route table has a route to the VPC CIDR via the VPN tunnel.
C.Verify that the on-premises firewall is not blocking UDP port 500 for IKE.
D.Verify that the VPN tunnel's pre-shared key matches on both sides.
AnswerB

Without a return route, traffic from on-premises may not reach the VPC.

Why this answer

Since the VPN tunnel is up and the on-premises firewall confirms traffic is being sent to the tunnel, the issue is likely on the on-premises routing side. For traffic to flow from on-premises to the VPC, the on-premises router must have a route pointing to the VPC CIDR via the VPN tunnel interface. Without this route, packets will not be forwarded into the tunnel, even though the tunnel itself is operational.

Exam trap

The trap here is that candidates assume a 'tunnel up' status guarantees traffic flow, but the ANS-C01 exam tests the distinction between control plane (tunnel establishment) and data plane (routing) issues.

How to eliminate wrong answers

Option A is wrong because the virtual private gateway is already attached to the VPC (the route table has a route pointing to it, and the VPN tunnel is up, which requires attachment). Option C is wrong because UDP port 500 (IKE) is used for tunnel establishment, not for data plane traffic; since the tunnel is up, IKE negotiation succeeded. Option D is wrong because a mismatched pre-shared key would prevent the tunnel from coming up; the tunnel is up, so the keys match.

115
MCQeasy

A company has a VPC with multiple EC2 instances that need to access an Amazon S3 bucket. The network team wants to ensure that traffic to S3 stays within the AWS network and does not traverse the internet. The VPC has a VPC endpoint for S3 (Gateway type). The team has created the endpoint and attached the appropriate policy allowing access to the specific S3 bucket. However, EC2 instances in a private subnet cannot access the S3 bucket. The private subnet route table has a default route pointing to a NAT Gateway. Which change should the network team make to allow private instances to access S3 via the endpoint?

A.Modify the VPC endpoint policy to allow all principals.
B.Change the private subnet route table's default route to point to the VPC endpoint.
C.Remove the default route from the private subnet route table.
D.Add a route in the private subnet route table for the S3 prefix list (com.amazonaws.region.s3) pointing to the VPC endpoint.
AnswerD

This ensures S3 traffic uses the endpoint instead of the NAT Gateway.

Why this answer

For a Gateway VPC endpoint to work, the route table associated with the subnet must include a route for the S3 prefix list (e.g., com.amazonaws.region.s3) pointing to the endpoint ID. The existing default route to the NAT Gateway would otherwise route S3 traffic to the internet, bypassing the endpoint. Adding the specific route for the S3 prefix list ensures that traffic destined for S3 uses the VPC endpoint and stays within the AWS network.

Therefore, option D is correct.

116
MCQeasy

A company is using AWS Direct Connect to connect its on-premises data center to AWS. The network team wants to monitor the latency and packet loss on the Direct Connect virtual interfaces. Which AWS service should be used to measure these metrics?

A.AWS Config
B.AWS CloudWatch
C.AWS X-Ray
D.AWS CloudTrail
AnswerB

CloudWatch metrics for Direct Connect include latency and packet loss.

Why this answer

AWS CloudWatch is the correct service because it provides built-in metrics for Direct Connect virtual interfaces, including 'VirtualInterfaceRxNoPacket' and 'VirtualInterfaceTxNoPacket' for packet loss, and you can derive latency by monitoring the 'VirtualInterfaceBpsEgress' and 'VirtualInterfaceBpsIngress' metrics with appropriate alarms. CloudWatch also supports custom metrics and logs that can be used to calculate round-trip time (RTT) by analyzing ping results or using AWS Direct Connect's native health checks. This allows the network team to set up dashboards and alarms for latency and packet loss directly from the Direct Connect metrics.

Exam trap

The trap here is that candidates often confuse AWS CloudWatch with AWS X-Ray, assuming X-Ray can measure network latency because it traces HTTP requests, but X-Ray operates at the application layer and cannot measure Layer 2 or Layer 3 packet loss or latency on a Direct Connect virtual interface.

How to eliminate wrong answers

Option A is wrong because AWS Config is a service for evaluating, auditing, and assessing the configurations of AWS resources against desired policies, not for monitoring real-time network performance metrics like latency or packet loss. Option C is wrong because AWS X-Ray is designed for tracing and analyzing application-level requests and distributed transactions, not for measuring network-level metrics such as latency or packet loss on Direct Connect virtual interfaces. Option D is wrong because AWS CloudTrail records API activity and user actions for auditing and governance, but it does not capture network performance metrics like latency or packet loss.

117
MCQmedium

A company has a VPC with multiple subnets and an internet gateway. The security team wants to detect and block malicious traffic patterns. Which AWS service should be used to provide intrusion detection and prevention?

A.AWS Network Firewall
B.Network ACLs
C.Security Groups
D.AWS WAF
AnswerA

Network Firewall provides managed intrusion detection and prevention.

Why this answer

AWS Network Firewall is a managed service that provides both intrusion detection and intrusion prevention capabilities, with stateful inspection of network traffic. Option B (Network ACLs) is incorrect because NACLs are stateless and do not provide intrusion prevention; they only provide basic allow/deny rules. Option C (Security Groups) is incorrect because Security Groups are stateful but only provide instance-level filtering without IPS functionality.

Option D (AWS WAF) is incorrect because WAF protects web applications at Layer 7 and does not provide network-level intrusion prevention.

118
MCQmedium

A company has deployed a multi-VPC architecture with AWS Transit Gateway. The network team notices that traffic between two VPCs is intermittently dropped. Both VPCs are attached to the same transit gateway. Which action should the network engineer take to troubleshoot the issue?

A.Configure AWS Direct Connect to route traffic between the VPCs.
B.Use Transit Gateway Network Manager to view the network topology.
C.Enable CloudWatch metrics for the transit gateway attachments.
D.Enable VPC Flow Logs on the subnets of the VPCs.
AnswerD

VPC Flow Logs capture detailed traffic data, including dropped packets.

Why this answer

VPC Flow Logs capture IP traffic information at the network interface level, allowing engineers to analyze traffic patterns and identify dropped packets. Option A is incorrect because AWS Direct Connect is a dedicated network connection from on-premises to AWS, not between VPCs. Option B is incorrect because Transit Gateway Network Manager provides a visual representation of the network topology but does not provide packet-level details.

Option C is incorrect because CloudWatch metrics for transit gateway attachments show aggregate metrics like bytes in/out but not individual packet drops.

119
MCQmedium

A company uses AWS Transit Gateway to connect multiple VPCs and on-premises data centers. The network team notices that traffic between two VPCs is taking an unexpected path through the on-premises network instead of staying within the Transit Gateway. What is the most likely cause?

A.The Transit Gateway route table is not associated with the VPC attachments.
B.The VPC subnet route tables are not pointing to the Transit Gateway as the target.
C.The on-premises network is advertising more specific routes via BGP that override the Transit Gateway routes.
D.VPC peering connections are being used alongside Transit Gateway, creating conflicting routes.
AnswerC

BGP routes from on-premises can be more specific and take precedence, causing traffic to be sent on-premises.

Why this answer

When using AWS Transit Gateway with VPN or Direct Connect, the on-premises network can advertise more specific BGP routes that override the default routes learned from the Transit Gateway. This causes traffic to take the path through the on-premises network instead of staying within the Transit Gateway. Option A is wrong because route tables are associated with the Transit Gateway attachments, not the VPCs themselves.

Option B is wrong because the subnet route tables must point to the Transit Gateway for traffic to be routed correctly, but that would not cause traffic to go on-premises; rather, it would prevent traffic from reaching the Transit Gateway. Option D is wrong because VPC peering is not used with Transit Gateway in this scenario; conflicting routes could occur but the most likely cause is more specific BGP routes from on-premises.

120
Multi-Selecteasy

A network engineer needs to monitor network performance between an on-premises data center and AWS via Direct Connect. Which TWO metrics should the engineer monitor in Amazon CloudWatch?

Select 2 answers
A.VirtualInterfaceBgpState
B.ConnectionBandwidthUtilization
C.Jitter
D.PacketLoss
E.Latency
AnswersA, B

This metric indicates the BGP session state.

Why this answer

The correct answers are A and B. VirtualInterfaceBgpState indicates the BGP session status for the virtual interface, which is critical for monitoring Direct Connect connectivity. ConnectionBandwidthUtilization measures the bandwidth usage on the Direct Connect connection.

Options C, D, and E (Jitter, PacketLoss, Latency) are not standard Direct Connect CloudWatch metrics; they are typically measured using additional tools like Amazon CloudWatch Synthetics or third-party solutions.

121
Multi-Selectmedium

A company is deploying a new application across multiple Availability Zones in a VPC. The application needs to be highly available and must handle traffic from both internal users and external customers. Which TWO options should the network team implement to meet these requirements? (Choose two.)

Select 2 answers
A.Attach an Internet Gateway to the VPC.
B.Use a Network Load Balancer to distribute traffic across AZs.
C.Provision a NAT Gateway in each AZ for outbound connectivity from private subnets.
D.Create a single NAT Gateway in one AZ for outbound traffic.
E.Deploy an Application Load Balancer in each public subnet across multiple AZs.
AnswersC, E

Correct. A NAT Gateway in each AZ ensures that instances in private subnets can initiate outbound traffic to the internet without a single point of failure, fulfilling high availability requirements.

Why this answer

Provisioning a NAT Gateway in each AZ allows instances in private subnets to initiate outbound traffic to the internet without relying on a single AZ, thus providing high availability and fault tolerance. Option E is correct because deploying an Application Load Balancer in each public subnet across multiple AZs ensures that the ALB can route traffic to healthy targets across AZs, providing high availability and fault tolerance for incoming client traffic. Option A is incorrect because an Internet Gateway is a VPC-level component that allows communication between the VPC and the internet; it is not something that needs to be 'attached' per se (it's already attached to the VPC), and it does not handle traffic distribution across AZs.

Option B is incorrect because a Network Load Balancer is suitable for TCP/UDP traffic, but the question does not specify protocol requirements; however, the primary reason it is not the best choice is that the requirement for high availability is better met with an Application Load Balancer for HTTP/HTTPS traffic, and the option says 'use a Network Load Balancer to distribute traffic across AZs' which is not the best fit for typical web applications. Option D is incorrect because a single NAT Gateway in one AZ creates a single point of failure; if that AZ goes down, outbound connectivity is lost.

122
Multi-Selectmedium

A network engineer is troubleshooting intermittent connectivity issues between an on-premises data center and a VPC over a Direct Connect connection. The engineer reviews the CloudWatch metrics for the virtual interface and sees an increase in 'ConnectionReset' and 'PacketDropRate'. Which TWO actions should the engineer take to resolve the issue? (Choose TWO.)

Select 2 answers
A.Add additional BGP peers to the Direct Connect connection
B.Increase the MTU on the virtual interface to 1500
C.Check the BGP session status and metrics on the virtual interface
D.Increase the bandwidth of the VPN connection as a backup
E.Check the physical layer metrics such as light levels and signal strength
AnswersC, E

BGP issues can cause connection resets.

Why this answer

Options C and E are correct. Checking the BGP session status and metrics on the virtual interface helps identify if there are BGP-related issues such as route flapping or session drops that could cause connectivity problems. Checking physical layer metrics like light levels and signal strength can reveal underlying physical issues with the Direct Connect connection.

Option A is incorrect because adding BGP peers does not address the symptoms of ConnectionReset and PacketDropRate. Option B is incorrect because increasing MTU could actually increase drop rates if the underlying physical layer has issues. Option D is incorrect because the VPN connection is not directly related to Direct Connect and increasing its bandwidth would not resolve issues with the Direct Connect connection.

123
MCQhard

A company has a hybrid network with multiple VPCs connected via AWS Transit Gateway and an on-premises network via Direct Connect. The network team is planning to migrate a legacy application from on-premises to a new VPC. The application requires low-latency access to an RDS database running in an existing VPC. The team wants to minimize changes to the existing routing. What should the team do to meet these requirements?

A.Attach the new VPC to the existing transit gateway and ensure the transit gateway route tables permit traffic between the new VPC and the RDS VPC.
B.Set up a VPN connection from the new VPC to the on-premises network, and route traffic through on-premises to the RDS VPC.
C.Create a VPC peering connection between the new VPC and the RDS VPC.
D.Migrate the RDS database to the new VPC to keep the application and database in the same VPC.
AnswerA

Correct: Leveraging existing transit gateway minimizes routing changes.

Why this answer

Attaching the new VPC to the existing transit gateway allows immediate connectivity to the RDS VPC without changing existing routes, provided the transit gateway route tables are configured correctly. Option B is wrong because routing traffic through on-premises adds unnecessary latency and complexity. Option C is wrong because VPC peering requires route table updates in both VPCs, which contradicts the requirement to minimize routing changes.

Option D is wrong because migrating the RDS database would change the database endpoint and potentially cause downtime, and does not leverage the existing transit gateway.

124
MCQhard

A company has a global application deployed across multiple AWS Regions. The application uses Amazon Route 53 latency-based routing. The network team wants to monitor the health of the application endpoints. They configure Route 53 health checks with fast interval (10 seconds) for each endpoint. After a few days, they notice an increase in costs. Which change will reduce costs while maintaining adequate health monitoring?

A.Disable health checks and rely on Route 53 latency measurements.
B.Change the health check interval to standard (30 seconds).
C.Use CloudWatch alarms instead of Route 53 health checks.
D.Remove health checks for endpoints that are in the same Region.
AnswerB

Standard interval reduces frequency and cost, still adequate for latency-based routing.

Why this answer

Health checks are billed per check. Using a slower interval reduces the number of checks. Standard interval (30 seconds) is sufficient for most cases.

Disabling end-to-end health checks or removing health checks would reduce functionality. Using CloudWatch alarms is additional cost.

125
MCQmedium

A company is designing a multi-region architecture using AWS Transit Gateway inter-region peering. They need to ensure that traffic between VPCs in different regions can traverse the TGW peering attachment without being inspected by a central security appliance. Which configuration should be used?

A.Create TGW peering attachments and configure the route tables to point to each other's TGW attachment.
B.Route all inter-region traffic through a centralized inspection VPC in one region.
C.Set up a VPN connection between the two TGWs for encrypted traffic.
D.Use VPC peering between the VPCs instead of TGW peering.
AnswerA

This allows direct traffic flow between TGWs, bypassing inspection.

Why this answer

TGW peering attachments allow traffic to bypass the central inspection VPC if routing is set up to go directly between TGWs. Option B is wrong because it forces inspection. Option C is wrong because VPN is not needed.

Option D is wrong because VPC peering does not support transitive routing via TGW.

126
MCQhard

A company has a VPC with a public subnet and a private subnet. An EC2 instance in the private subnet needs to access the internet for software updates. The instance is associated with an Elastic IP address. The route table for the private subnet has a default route (0.0.0.0/0) pointing to a NAT gateway. The NAT gateway is in the public subnet and has an Elastic IP. Despite this, the instance cannot reach the internet. The security groups and NACLs are properly configured. What is the likely cause?

A.The NAT gateway's Elastic IP is not associated with the NAT gateway
B.The NAT gateway is not in a public subnet
C.The private subnet's network ACL is blocking outbound traffic
D.The EC2 instance does not have a route to the internet
AnswerB

This is correct. For a NAT gateway to provide internet access, it must be in a public subnet with a route to an internet gateway. If the subnet's route table does not have a 0.0.0.0/0 route pointing to an internet gateway, the NAT gateway cannot reach the internet.

Why this answer

The instance cannot reach the internet because the NAT gateway, although placed in a subnet labeled as public, is not in a functional public subnet—the subnet's route table must include a default route (0.0.0.0/0) pointing to an internet gateway. The problem statement indicates the NAT gateway has an Elastic IP, so association is not the issue. Instead, the likely cause is that the public subnet's route table lacks this route, meaning the NAT gateway cannot communicate with the internet gateway.

Option A is incorrect because the NAT gateway's Elastic IP is properly associated. Option C is incorrect because NACLs are properly configured. Option D is incorrect because the private subnet route table correctly points to the NAT gateway for 0.0.0.0/0.

Exam trap

Many candidates assume that placing a NAT gateway in a subnet labeled 'public' is sufficient, but the subnet must also have a route to an internet gateway to be truly public.

127
MCQmedium

A network engineer is designing a hybrid network with AWS Direct Connect and a VPN backup. The company has multiple VPCs connected to an AWS Transit Gateway. The on-premises network advertises the same prefixes over both Direct Connect (via private VIF) and VPN (via BGP). The engineer wants to ensure that traffic from the VPCs to on-premises prefers the Direct Connect path. What should the engineer do?

A.Set a higher local preference on the Transit Gateway for Direct Connect routes
B.Decrease the AS path length on the Direct Connect BGP advertisements
C.Configure AS path prepending on the VPN BGP advertisements from on-premises
D.Set a higher MED on the Direct Connect BGP advertisements
AnswerC

Longer AS path makes the VPN route less preferred.

Why this answer

To prefer the Direct Connect path, the engineer should make the VPN path less preferred in BGP path selection. AS path prepending on the VPN BGP advertisements artificially increases the AS path length, making the VPN route less preferred compared to the Direct Connect route (which has a shorter AS path). Option A is incorrect because local preference is a BGP attribute typically set on the receiving router within an AS, not on the Transit Gateway; the Transit Gateway does not set local preference for routes received from on-premises.

Option B is incorrect because you cannot decrease the AS path length below the actual path; the Direct Connect path already has the minimum path length. Option D is incorrect because setting a higher MED (Multi-Exit Discriminator) on the Direct Connect advertisements would make them less preferred (lower MED is better), which is the opposite of what is desired.

128
MCQmedium

A network engineer is setting up a VPC peering connection between two VPCs (VPC-A and VPC-B) in different AWS accounts. The VPCs are in the same region. After accepting the peering request, instances in VPC-A cannot communicate with instances in VPC-B. What should the engineer check first?

A.The security groups in both VPCs allow traffic from the peer VPC CIDR.
B.The network ACLs in both VPCs allow traffic from the peer VPC CIDR.
C.The route tables in both VPCs have routes to the peer VPC CIDR.
D.The VPC peering connection status is 'active'.
AnswerC

Route tables must be updated with routes to the peer VPC CIDR. Without these routes, traffic is not directed to the peering connection.

Why this answer

For VPC peering to work, each VPC's route table must have a route to the peer VPC's CIDR block pointing to the peering connection. Without these routes, traffic will not be directed across the peering link. Option A is incorrect because security groups are stateful and can allow traffic, but they are not the first check; the routing issue is more fundamental.

Option B is incorrect because network ACLs are stateless and could block traffic, but again, routing is the primary concern. Option D is incorrect because while the VPC peering connection status should be 'active' for traffic to flow, the most common issue after accepting the request is missing route table entries; thus, checking route tables should be the first step.

129
MCQhard

A network engineer is monitoring a hybrid network with a VPN connection to AWS. The engineer notices periodic packet loss and high latency during peak hours. The VPN tunnel uses static routing. The on-premises bandwidth is 100 Mbps, and the VPN connection is limited to 1.25 Gbps. What is the most likely cause?

A.The VPC route table has a blackhole route for the on-premises CIDR.
B.The on-premises internet connection is saturated.
C.The VPN tunnel is using the incorrect encryption algorithm.
D.The VPN tunnel is exceeding its maximum bandwidth limit.
AnswerB

The 100 Mbps link is likely overwhelmed during peak hours, causing packet loss and high latency.

Why this answer

The VPN connection's bandwidth (1.25 Gbps) is sufficient, but if the on-premises link is only 100 Mbps, any traffic exceeding that will cause congestion and packet loss. The VPN tunnel itself is not the bottleneck.

130
MCQeasy

A network administrator is setting up VPC Flow Logs to monitor traffic to an Amazon RDS instance. The logs are sent to Amazon S3. After enabling Flow Logs, the administrator notices that no logs are being delivered. What is the most likely cause?

A.The VPC Flow Logs are not enabled for the correct VPC
B.The IAM role for Flow Logs does not have permissions to write to S3
C.The RDS instance is in a private subnet
D.The S3 bucket is in a different region
AnswerB

Flow Logs need an IAM role with s3:PutObject permission on the bucket.

Why this answer

Flow Logs require a service-linked role or an IAM role with permissions to publish to S3. If the role is missing or incorrect, logs will not be delivered.

131
MCQeasy

A company has a VPC with a public subnet and a private subnet. The public subnet contains a web server (EC2 instance) that must be accessible from the internet. The private subnet contains a database server (EC2 instance) that should only be accessible from the web server. The web server's security group allows HTTP (80) and HTTPS (443) from 0.0.0.0/0. The database server's security group allows MySQL (3306) from the web server's security group. However, the web server cannot connect to the database server. The network engineer has verified that the web server can reach the internet and that the database server's security group is correctly configured. What is the most likely cause of the connectivity problem?

A.The route table for the private subnet does not have a route to the public subnet.
B.The web server's security group does not allow outbound traffic to the database server.
C.The network ACL associated with the private subnet is blocking inbound MySQL traffic from the web server.
D.The database server does not have a route to the internet gateway.
AnswerC

Correct: A custom NACL can block traffic even if security groups allow it.

Why this answer

Security groups are stateful, meaning that if the web server initiates traffic to the database, the return traffic is automatically allowed regardless of outbound rules in the security group. However, network ACLs (NACLs) are stateless and require explicit inbound and outbound rules. In this scenario, the database server's security group is correctly configured to allow MySQL traffic from the web server's security group, indicating that the security group is not the issue.

The most likely cause is that the network ACL associated with the private subnet is blocking inbound MySQL traffic (port 3306) from the web server. Option A is incorrect because the route table for the private subnet does not need a route to the public subnet for traffic within the same VPC; local routes handle that. Option B is incorrect because security groups are stateful, so outbound traffic from the web server to the database is allowed by default.

Option D is incorrect because the database server does not need a route to the internet gateway for internal VPC communication.

132
MCQeasy

A company uses AWS Site-to-Site VPN to connect its on-premises network to AWS. The VPN connection is established, but traffic from on-premises to AWS is not working. The on-premises network team confirms that the on-premises firewall is allowing traffic to the VPC CIDR. What should the network engineer check in AWS to resolve the issue?

A.Verify that the VPN tunnel status is UP.
B.Review the customer gateway configuration for incorrect BGP settings.
C.Ensure the virtual private gateway is attached to the correct VPC.
D.Check the VPC route tables to ensure routes to the on-premises network point to the virtual private gateway.
AnswerD

Missing routes in the VPC route table would prevent inbound traffic from reaching instances.

Why this answer

Even if the VPN tunnel is up and BGP is peering, traffic will not flow unless the VPC route tables have a route pointing to the virtual private gateway (VGW) for the on-premises CIDR. Without this route, the VPC has no path to forward return traffic back to the on-premises network, causing asymmetric routing or blackholing.

Exam trap

The trap here is that candidates assume a tunnel status of UP (Option A) guarantees traffic flow, but AWS explicitly separates tunnel health from routing configuration, and the exam tests this distinction by requiring you to check the VPC route tables for the correct target.

How to eliminate wrong answers

Option A is wrong because a tunnel status of UP only indicates the IPsec tunnel is established; it does not guarantee that routing or traffic forwarding is configured correctly. Option B is wrong because BGP settings on the customer gateway affect dynamic route exchange, but the question states the VPN connection is established, and BGP misconfiguration would typically prevent route propagation, not cause traffic failure if static routes are used. Option C is wrong because if the VGW were attached to the wrong VPC, the VPN connection would not be established at all, as the VGW is a required endpoint for the VPN; the question confirms the VPN is established, so the VGW is correctly attached.

133
MCQeasy

A network engineer is troubleshooting intermittent connectivity issues between an EC2 instance in a VPC and an on-premises data center over a Direct Connect virtual interface. The engineer notices that the BGP session is flapping. Which configuration should the engineer verify first?

A.Verify that the BGP hold timer and keepalive interval are consistent between the on-premises router and the AWS side.
B.Verify that the MTU setting on the Direct Connect virtual interface matches the on-premises router.
C.Verify that the on-premises router is advertising the correct prefix to AWS.
D.Verify that the Direct Connect virtual interface is in the 'available' state.
AnswerA

BGP timer mismatch causes session flapping.

Why this answer

BGP session flapping is often caused by mismatched BGP timers (hold timer and keepalive interval) between BGP peers. Verifying that these timers are consistent should be the first step. Option B is incorrect because MTU mismatch typically leads to packet loss or fragmentation, not BGP flapping.

Option C is incorrect because advertising the correct prefix is necessary for route propagation, but BGP session stability depends on timer and configuration compatibility. Option D is incorrect because the virtual interface state being 'available' is a prerequisite, but if it is available, flapping suggests a higher-layer configuration issue.

134
Multi-Selecthard

A company is using AWS Transit Gateway to connect multiple VPCs and Direct Connect. The network team wants to monitor network performance and detect anomalies. Which THREE AWS services should the team use together to achieve this goal? (Select THREE.)

Select 3 answers
A.Amazon CloudWatch
B.AWS Trusted Advisor
C.AWS Network Manager
D.VPC Flow Logs
E.AWS X-Ray
AnswersA, C, D

For log aggregation and metric analysis.

Why this answer

Options A, C, and D are correct. A: Amazon CloudWatch collects metrics and logs from AWS resources, enabling monitoring and alarms for anomalies in network performance. C: AWS Network Manager provides a global view of Transit Gateway networks and performance metrics, helping detect anomalies across VPCs and Direct Connect.

D: VPC Flow Logs capture IP traffic information for analysis, aiding in anomaly detection. Option B is wrong because AWS Trusted Advisor offers best practice checks, not real-time network monitoring. Option E is wrong because AWS X-Ray is for application tracing, not network performance.

135
MCQeasy

A company is using AWS Client VPN to provide remote access to their VPC. Users report that they can connect to the VPN but cannot reach any resources in the VPC. What is the most likely cause?

A.The authorization rules do not include the client's group.
B.The Client VPN endpoint does not have a subnet association.
C.The Client VPN endpoint security group does not allow inbound traffic from the client CIDR.
D.The client's VPN software is not configured with the correct DNS server.
AnswerB

Correct. Without a subnet association, the Client VPN endpoint cannot route traffic to the VPC, causing the inability to reach any resources even though the VPN connection is established.

Why this answer

If users can connect to the VPN but cannot reach resources in the VPC, the most likely cause is that the Client VPN endpoint lacks a subnet association. Without a subnet association, the endpoint cannot route traffic to the VPC. Option A is incorrect because authorization rules control which users can access specific resources, but the issue is broader connectivity.

Option C is incorrect because the security group controls inbound traffic to the endpoint, but the connection itself works; the problem is routing. Option D is incorrect because DNS configuration affects name resolution, not basic IP reachability.

136
MCQhard

A company uses AWS Transit Gateway to connect multiple VPCs and on-premises networks. The network team notices that traffic between two VPCs is taking a suboptimal path, going through the on-premises network instead of staying within AWS. What is the most likely cause?

A.The Transit Gateway route table has a propagated route from the on-premises network with a longer prefix
B.The VPCs are also peered directly, creating a conflict
C.VPC Flow Logs are enabled, causing latency
D.Security groups are blocking direct traffic between VPCs
AnswerA

More specific routes override default routes, sending traffic on-premises.

Why this answer

When a Transit Gateway route table contains a propagated route from an on-premises network with a longer prefix (more specific) than the local VPC route, traffic destined for that specific CIDR will be sent to the on-premises network instead of using the inter-VPC route. This is because more specific routes take precedence over less specific ones. The suboptimal path occurs because the traffic is forced through the on-premises network, even though both VPCs are attached to the Transit Gateway and could communicate directly within AWS.

Option A is correct. Option B is incorrect because VPC peering is not used with Transit Gateway; if peering existed, it could create route conflicts, but the scenario describes Transit Gateway. Option C is incorrect because VPC Flow Logs are for monitoring traffic and do not affect routing.

Option D is incorrect because security groups are stateful firewalls that control traffic, but they do not determine routing paths; routing is controlled by route tables.

137
MCQmedium

A company has a Direct Connect connection with a private VIF to a VPC. The on-premises network uses BGP to advertise the 10.0.0.0/8 prefix to AWS. The VPC has a route table that includes a route to the Virtual Private Gateway for 10.0.0.0/8. On-premises hosts can ping EC2 instances in the VPC, but EC2 instances cannot ping on-premises hosts. The VPC has an Internet Gateway and a NAT Gateway. The EC2 instances are in private subnets with routes to the NAT Gateway for 0.0.0.0/0. What is the most likely cause?

A.The Direct Connect virtual interface is configured for public VIF instead of private VIF.
B.The EC2 instances' security group outbound rules are blocking ICMP.
C.The VPC route table has a more specific local route (10.0.0.0/16) that overrides the route to the VGW for part of the on-premises CIDR.
D.The on-premises router is not advertising the 10.0.0.0/8 route to AWS.
AnswerC

Because the VPC uses 10.0.0.0/16, any on-premises IP within that range is considered local and not forwarded to the VGW.

Why this answer

For EC2 instances to reach on-premises hosts, the VPC route table must have a route for the on-premises CIDR pointing to the Virtual Private Gateway. The engineer has that route. However, the on-premises hosts are in the 10.0.0.0/8 range, and the VPC also uses 10.0.0.0/16.

The issue is that the VPC route table has a local route for 10.0.0.0/16, which is more specific than the 10.0.0.0/8 route to the VGW. Traffic from EC2 to on-premises hosts within the 10.0.0.0/16 range will be routed locally within the VPC, not through the VGW. The on-premises hosts must be in a different CIDR than the VPC's CIDR, or the VPC must use a different CIDR.

Since the VPC uses 10.0.0.0/16, any on-premises host with an IP in that range will be considered local and won't go through the VGW. The solution is to ensure the VPC CIDR does not overlap with the on-premises CIDR.

138
MCQeasy

A company uses AWS Client VPN to provide remote access to its VPC. Users report slow connection speeds. The CloudWatch metrics show high packet loss on the VPN connections. What is the most likely cause?

A.The client certificate has expired.
B.The Client VPN subnet is too small.
C.MTU mismatch between the client and the VPN endpoint.
D.Route propagation is not enabled in the VPC route table.
AnswerC

MTU mismatch leads to fragmentation and packet loss.

Why this answer

An MTU mismatch between the client and VPN endpoint can cause fragmentation and packet loss, leading to slow speeds. Option A is incorrect because an expired certificate would cause authentication failure, not packet loss. Option B is incorrect because subnet size affects IP address availability, not packet loss.

Option D is incorrect because route propagation affects reachability, not packet loss.

139
MCQeasy

A company needs to centrally manage network security policies across multiple VPCs and on-premises networks. Which AWS service provides a centralized dashboard for managing firewall rules?

A.Network ACLs
B.Security Groups
C.AWS WAF
D.AWS Network Firewall
AnswerD

AWS Network Firewall provides a centralized firewall management service with a dashboard to manage rules across multiple VPCs and on-premises networks.

Why this answer

AWS Network Firewall offers a centralized dashboard for managing network-level firewall rules across multiple VPCs and on-premises networks, with policy-based management. Option A is incorrect because Network ACLs are stateless, applied at the subnet level, and lack centralized management capabilities. Option B is incorrect because Security Groups are stateful, applied at the ENI level, and not designed for centralized cross-VPC management.

Option C is incorrect because AWS WAF protects web applications at the application layer (HTTP/S), not network-layer firewall rules.

140
MCQhard

A company is experiencing high latency for traffic between EC2 instances in the same VPC but in different Availability Zones. The network team suspects the issue is related to the placement group used. The instances are in a spread placement group. What should the network engineer do to reduce latency?

A.Change the placement group to a cluster placement group and ensure instances are in the same Availability Zone.
B.Enable enhanced networking on the instances and increase the instance size.
C.Move the instances to the same subnet within the same Availability Zone but keep the spread placement group.
D.Create a VPC peering connection between the two AZs and route traffic through it.
AnswerA

A cluster placement group is recommended for low-latency, high-throughput traffic.

Why this answer

A cluster placement group is designed for low-latency, high-throughput traffic by ensuring instances are in close proximity. Option B is incorrect because enabling enhanced networking and increasing instance size can improve throughput but does not directly reduce latency caused by inter-AZ distance. Option C is incorrect because moving instances to the same AZ helps, but a spread placement group still places instances on different racks, which introduces additional latency compared to a cluster placement group.

Option D is incorrect because VPC peering is used for connectivity between different VPCs; for intra-VPC traffic, adding a VPC peering connection does not reduce latency and may even add complexity.

141
Multi-Selecthard

A company is troubleshooting connectivity issues between an on-premises network and a VPC connected via AWS Direct Connect. The network team has verified that the virtual interface (VIF) is up and BGP is established. However, traffic is not flowing. Which two configuration issues could cause this problem? (Choose TWO.)

Select 2 answers
A.The on-premises router is not advertising the on-premises CIDR prefix via BGP.
B.The AWS Direct Connect connection is not associated with the correct Direct Connect gateway.
C.The virtual interface is in a 'down' state.
D.The VPC route table does not have a route to the on-premises CIDR pointing to the Direct Connect virtual interface.
E.The security group attached to the EC2 instance blocks inbound traffic from on-premises.
AnswersA, D

If BGP does not advertise the prefix, the Direct Connect gateway will not propagate the route to the VPC.

Why this answer

Correct routes on both sides are needed. If the VPC route table does not have a route to the on-premises CIDR via the Direct Connect VIF, traffic won't flow. Similarly, if the on-premises router does not advertise the correct prefix, or if the VPC's route table lacks a route, connectivity fails.

Security group rules might block, but they are not the most likely if BGP is up. The VIF state is up, so that's not the issue.

142
Multi-Selecthard

A financial services company is deploying a multi-account environment using AWS Organizations. The security team requires that all network traffic to and from the internet must flow through a centralized inspection VPC that hosts third-party firewall appliances. The architecture uses a single AWS Transit Gateway with a centralized inspection VPC attached. Which THREE steps are necessary to enforce this architecture? (Choose THREE.)

Select 3 answers
A.Configure each VPC's route table with a default route (0.0.0.0/0) pointing to the transit gateway attachment.
B.Use AWS Organizations service control policies to prevent direct internet access from spoke VPCs.
C.Deploy VPC Gateway Endpoints for S3 and DynamoDB in each spoke VPC.
D.In the inspection VPC, route traffic from the transit gateway to the firewall appliances, then back to the transit gateway for egress.
E.Create separate transit gateway route tables for the inspection VPC and spoke VPCs, and propagate routes appropriately.
AnswersA, D, E

Correct. Spoke VPCs route all internet-bound traffic to the transit gateway, which then forwards it to the inspection VPC.

Why this answer

Spoke VPCs need a default route (0.0.0.0/0) pointing to the transit gateway attachment to send internet-bound traffic to the inspection VPC. Option D is correct: in the inspection VPC, traffic from the transit gateway must be routed to the firewall appliances, inspected, and then sent back to the transit gateway for egress to the internet. Option E is correct: separate transit gateway route tables for the inspection VPC and spoke VPCs are required, with appropriate propagation and static routes to enforce traffic flow through the inspection VPC.

Option B is incorrect because service control policies (SCPs) can be used to restrict actions in AWS Organizations but do not directly enforce routing; routing is handled via route tables. Option C is incorrect because VPC Gateway Endpoints for S3 and DynamoDB do not affect internet traffic routing; they provide private access to those services.

143
MCQmedium

A company uses AWS Transit Gateway to connect multiple VPCs and on-premises networks. The network team notices that traffic from a specific VPC to an on-premises network is being dropped. All other VPCs can reach the on-premises network. Which configuration should be checked first?

A.Check the on-premises firewall rules
B.Check the VPC's security groups
C.Check the VPC's network ACLs
D.Check the Transit Gateway route tables
AnswerD

The Transit Gateway route table associated with the VPC attachment might be missing the route to the on-premises network.

Why this answer

The issue is isolated to one VPC, so route tables are the most likely cause. Transit Gateway route tables might not have the route for the on-premises network propagated from that VPC's attachment.

144
MCQhard

A company uses AWS Direct Connect with a public VIF to access Amazon S3. The on-premises network team reports that the BGP session for the public VIF is flapping intermittently. Which configuration change on the customer router would most likely stabilize the BGP session?

A.Set the BGP multi-hop TTL to 255.
B.Configure BGP route filtering to limit the number of routes advertised to AWS to no more than 100.
C.Increase the BGP hold timer to 180 seconds.
D.Disable BGP fast-external-fallover on the customer router.
AnswerB

AWS limits public VIF to 100 prefixes; exceeding causes flapping.

Why this answer

BGP flapping due to route advertisements exceeding the maximum allowed is a known issue. The maximum number of routes allowed on a public VIF is 100. Advertising more than this will cause the session to flap.

Limiting routes to 100 will stabilize.

145
MCQmedium

A company has a VPC with an AWS Transit Gateway connecting multiple VPCs and an on-premises network via AWS Direct Connect. The network team needs to ensure that only specific VPCs can communicate with each other. They create a transit gateway route table for each VPC and attach the VPC to the route table. They also propagate routes from the Direct Connect virtual interface. However, after configuration, traffic between two VPCs that should not communicate is still flowing. What is the MOST likely cause?

A.The VPC route tables have a route for the other VPC CIDR pointing to the transit gateway.
B.The transit gateway route tables are not associated with the VPC attachments.
C.The VPC attachments are using the default transit gateway route table instead of custom route tables.
D.The Direct Connect virtual interface is propagating routes into all route tables.
AnswerC

Default route table allows all routes.

Why this answer

The most likely cause is that the VPC attachments are using the default transit gateway route table instead of custom route tables. By default, a transit gateway has a default route table that is shared among all attachments, which can allow unintended inter-VPC traffic if the team did not explicitly associate each VPC attachment with a dedicated route table. The correct approach is to create individual route tables for each VPC and associate the respective VPC attachment with its custom route table, ensuring isolation.

Option A is incorrect because VPC route tables pointing to the transit gateway are necessary for VPCs to communicate via the transit gateway; they do not cause unintended traffic by themselves. Option B is incorrect because the issue is about which route table the attachments are associated with, not whether route tables exist. Option D is incorrect because propagating Direct Connect routes into all route tables would affect on-premises connectivity, but the issue is specifically inter-VPC traffic.

146
Multi-Selectmedium

A network engineer is diagnosing connectivity issues between an on-premises network and AWS over a Direct Connect connection. The BGP session is established, and the engineer can ping the VPC's private IP addresses. However, TCP connections to EC2 instances are failing. Which TWO actions should the engineer take to identify the issue?

Select 2 answers
A.Review the security group rules associated with the EC2 instance
B.Review the VPC route table for the subnet
C.Verify the BGP session status
D.Check the MTU settings on the Direct Connect virtual interface
E.Check the EC2 instance's operating system firewall
AnswersA, E

Security groups may be blocking TCP traffic.

Why this answer

Options A and E are correct. Checking the security group rules (A) is critical because security groups are stateful and may be blocking inbound TCP while allowing ICMP. Checking the EC2 instance's operating system firewall (E) is essential because OS firewalls can also block TCP while allowing ICMP.

Option B is incorrect because the BGP session is already established. Option C is incorrect because the VPC route table is likely correct if pings work. Option D is incorrect because MTU issues would affect all traffic, not just TCP.

147
MCQeasy

A company has a VPC with a public subnet and a private subnet. An EC2 instance in the private subnet needs to access the internet for software updates. The instance has a route to a NAT Gateway in the public subnet. However, the instance cannot reach the internet. Which step should the network engineer take to troubleshoot?

A.Move the NAT Gateway to a private subnet
B.Verify that the NAT Gateway is in the same subnet as the EC2 instance
C.Verify that the NAT Gateway has an Elastic IP and the private subnet's route table has a route to the NAT Gateway
D.Attach an Internet Gateway to the private subnet
AnswerC

These are required for outbound internet access.

Why this answer

For a NAT Gateway to provide internet access to instances in a private subnet, it must have an Elastic IP (EIP) attached, and the private subnet's route table must include a route pointing to the NAT Gateway as the target for 0.0.0.0/0. Option A is wrong because NAT Gateways must reside in a public subnet (with a route to an Internet Gateway) to work. Option B is wrong because the NAT Gateway must be in the same VPC but not necessarily the same subnet as the EC2 instance; it should be in a public subnet.

Option D is wrong because an Internet Gateway is attached to the VPC, not to individual subnets; attaching an Internet Gateway directly to a private subnet is not a valid configuration.

148
MCQmedium

A company has a VPC with public and private subnets. The private subnets need to access the internet for software updates. The company has set up a NAT gateway in the public subnet. However, instances in the private subnet cannot reach the internet. What is the most likely cause?

A.The NAT gateway does not have a route to the internet gateway
B.The security group for the instances blocks outbound traffic
C.The NAT gateway is not associated with an Elastic IP
D.The private subnet route table does not have a route to the NAT gateway
AnswerD

Without a default route to the NAT gateway, traffic from private subnet cannot reach the internet.

Why this answer

Instances in a private subnet require a route to the NAT gateway to reach the internet. The private subnet's route table must have a default route (0.0.0.0/0) pointing to the NAT gateway as its target. Without this route, traffic from private instances sent to the internet will not be directed to the NAT gateway, and will instead remain in the VPC or be dropped.

Option A is incorrect because the NAT gateway itself resides in a public subnet and uses the internet gateway via that subnet's route table; it does not require its own route to the IGW. Option B is incorrect because security groups by default allow all outbound traffic, so this is unlikely to be the issue. Option C is incorrect because not having an Elastic IP would prevent the NAT gateway from having a public IP, but the question states a NAT gateway is set up, implying it has an Elastic IP; the more fundamental issue is the missing route.

149
Multi-Selecthard

A company is using AWS Transit Gateway to connect multiple VPCs and on-premises networks. The network team observes that traffic between two VPCs (VPC A and VPC B) is not being forwarded correctly. The transit gateway route table is configured with static routes for the VPC CIDRs. Which THREE steps should the engineer take to troubleshoot this issue? (Choose THREE.)

Select 3 answers
A.Verify that the transit gateway route table contains the CIDR blocks of both VPCs.
B.Check the route tables in VPC A and VPC B to ensure they have routes pointing to the transit gateway for the other VPC's CIDR.
C.Check the association of the VPC attachments with the transit gateway route table.
D.Check the Direct Connect virtual interface status.
E.Verify that the NAT Gateway in each VPC is properly configured.
AnswersA, B, C

The transit gateway route table must have routes for both VPC CIDRs to forward traffic between them.

Why this answer

The transit gateway route table must contain the CIDR blocks of both VPCs for traffic to be forwarded between them. Without these static routes, the transit gateway has no destination to route the traffic, causing it to be dropped. Verifying the route table entries ensures the necessary paths exist.

Exam trap

AWS often tests the misconception that NAT Gateway or Direct Connect configurations are involved in VPC-to-VPC routing, when in fact Transit Gateway relies solely on route tables and attachment associations for inter-VPC traffic.

150
Multi-Selectmedium

A network engineer is diagnosing a connectivity issue between an on-premises network and an Amazon VPC connected via a site-to-site VPN. The VPN tunnel is up, but traffic is not reaching the VPC. Which TWO actions should the engineer take to troubleshoot the issue? (Choose two.)

Select 2 answers
A.Review the security group rules associated with the VPC resources to ensure they allow traffic from the on-premises network
B.Confirm the customer gateway is associated with the correct VPC
C.Verify that the VPC route tables include routes for the on-premises network pointing to the virtual private gateway
D.Verify that the on-premises network has a NAT device configured
E.Check that the VPN tunnel's status is 'UP'
AnswersA, C

Security groups act as a firewall for the instances.

Why this answer

Security groups act as a virtual firewall for VPC resources. If traffic from the on-premises network is not reaching the VPC, the security group rules must allow inbound traffic from the on-premises IP range. Option C is correct because the VPC route tables need a route for the on-premises network pointing to the virtual private gateway (VGW) to direct traffic correctly.

Option B is incorrect because the customer gateway is the on-premises VPN endpoint, and its association with the VPC is already established since the VPN tunnel is up. Option D is incorrect because NAT is not a requirement for site-to-site VPN; the issue is about routing, not address translation. Option E is incorrect because the tunnel is already up, so checking its status again does not help diagnose why traffic is not flowing.

← PreviousPage 2 of 5 · 326 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Network Mgmt Ops questions.