Question 20

A security dashboard must show both unusually high outbound bytes and the corresponding firewall rule denies. Which AWS networking approach meets this constraint?

  1. Use Resolver DNS Firewall metrics and query logs with an alarm or event pipeline
  2. Analyze VPC Flow Logs with Athena or CloudWatch Logs Insights depending on delivery
  3. Create CloudWatch alarms using relevant firewall metrics or log-derived metrics
  4. Configure Shield event monitoring and its supported notification integration
  5. Correlate CloudWatch network metrics with firewall or flow logs in a unified analysis

Explanation

Correct Answer

E:

This configuration compares traffic volume trends with policy enforcement evidence; one graph of aggregate bytes cannot show whether suspicious flows were denied, so it delivers multi-source explanation for network exfiltration indicators under the stated constraints.

Incorrect Answers

A:

This alternative converts DNS filtering events into a monitored security signal; a public hosted-zone health check does not see VPC resolver policy decisions, so it addresses detectable policy-enforced DNS blocks rather than the required multi-source explanation for network exfiltration indicators.

B:

Although this setting groups traffic metadata by addresses, ports, action and time, CloudTrail event history lacks the packet-level connection counts needed here; this concerns quantitative analysis of suspicious network flows, not the specified multi-source explanation for network exfiltration indicators.

C:

The proposed action evaluates abnormal inspection signals against justified thresholds; storing raw logs without a metric and alarm does not produce an immediate notification, supporting timely notice of traffic-filtering anomalies but leaving multi-source explanation for network exfiltration indicators unmet.

D:

This approach surfaces attack detections from the advanced protection service; request-based application telemetry alone may not identify the service's attack classification, which helps with automatic awareness of observed DDoS attacks instead of delivering multi-source explanation for network exfiltration indicators.

Question 21

An engineer accidentally changes the other VPC's CIDR to overlap its peer and wants to retain the existing direct connection. Which option should the architect select?

  1. Inspect source and destination security groups and NACL rules
  2. Verify the provider's private DNS verification and consumer endpoint DNS settings
  3. Reassess the address plan or migrate the service path to a suitable PrivateLink/NAT pattern
  4. Have the endpoint service provider accept the connection when acceptance is required

Explanation

Correct Answer

C:

The approach avoids relying on unsupported overlap in a peering topology; route entries cannot disambiguate identical VPC CIDR destinations, directly enabling resilient connectivity after address conflict changes in this situation.

Incorrect Answers

A:

This approach distinguishes network authorization from established peering route topology; peer activation and route correctness do not override security-group denial, which helps with permitted instance-level traffic over VPC peering instead of delivering resilient connectivity after address conflict changes.

B:

This alternative checks how a PrivateLink service name maps to local endpoint ENIs; generic public Route 53 records do not necessarily control private endpoint DNS overrides, so it addresses correct private DNS mapping after provider changes rather than the required resilient connectivity after address conflict changes.

D:

The proposed action completes the provider approval needed before endpoint traffic is active; security-group changes do not change the provider's endpoint approval state, supporting accepted private service consumer connection but leaving resilient connectivity after address conflict changes unmet.

Question 22

A client source-based application depends on consecutive connections reaching the same accelerator endpoint where possible. Which AWS networking approach meets this constraint?

  1. Configure Global Accelerator client affinity by source IP
  2. Configure an appropriate accelerator endpoint health check for the application service
  3. Set the Global Accelerator traffic dial for that Region's endpoint group to zero
  4. Adjust the Global Accelerator endpoint weights within that endpoint group

Explanation

Correct Answer

A:

With this choice, the selected action maintains endpoint affinity based on the client IP rather than independently distributing every flow; affinity may reduce balancing flexibility and is not an application session store, providing endpoint consistency across a client's connections for the network described.

Incorrect Answers

B:

This approach judges endpoint availability using supported application or transport health observations; an ICMP reply does not demonstrate that the actual listener or health path is healthy, which helps with routing only to endpoints that can serve the workload instead of delivering endpoint consistency across a client's connections.

C:

This alternative controls the fraction of traffic sent to an endpoint group by Region; the change affects new routing decisions rather than draining an established application connection by force, so it addresses region-wide traffic evacuation during maintenance rather than the required endpoint consistency across a client's connections.

D:

Although this setting influences distribution among healthy endpoints in the same regional group, endpoint weights and regional traffic dials operate at different scopes; this concerns uneven traffic allocation between endpoints, not the specified endpoint consistency across a client's connections.

Question 23

An infrastructure team wants application accounts to use common networking definitions managed centrally. Which change is the most appropriate?

  1. Review a CloudFormation change set before execution
  2. Build reusable AWS CDK constructs with context-specific parameters
  3. Define reusable AWS CloudFormation networking templates and parameters
  4. Publish versioned infrastructure modules with controlled inputs and outputs

Explanation

Correct Answer

D:

The approach establishes a repeatable shared contract for network composition; duplication of unversioned snippets makes later policy corrections inconsistent, directly enabling governance of reusable IaC network resources in this situation.

Incorrect Answers

A:

Although this setting previews planned stack mutations and replacement behavior, an immediate update hides the proposed resource transition until it is underway; this concerns controlled network infrastructure change review, not the specified governance of reusable IaC network resources.

B:

The proposed action synthesizes infrastructure definitions from code for consistent deployments; hardcoded account-specific IDs weaken portability, supporting programmatic reuse of network infrastructure components but leaving governance of reusable IaC network resources unmet.

C:

This approach deploys VPC, subnet, routing and related resources as declarative stacks; console-only manual changes increase configuration drift and inconsistency, which helps with reproducible multi-account network construction instead of delivering governance of reusable IaC network resources.

Question 24

An organization wants signed answer integrity but its private hosted zone cannot use public hosted-zone signing the same way. Which change is the most appropriate?

  1. Enable Route 53 public hosted-zone DNSSEC signing and create the parent chain of trust
  2. Use an appropriately supported encrypted DNS transport such as DNS-over-TLS or DNS-over-HTTPS in the client-resolver design
  3. Correct the DS and DNSKEY chain-of-trust relationship
  4. Apply DNSSEC where supported on public authoritative zones and assess private resolver trust separately

Explanation

Correct Answer

D:

This configuration respects differences between private DNS scope and public authoritative signing; assuming identical DNSSEC hosting features for all private zones can produce an unsupported configuration, so it delivers correctly scoped DNS integrity controls under the stated constraints.

Incorrect Answers

A:

This alternative authenticates the origin and integrity of supported DNS records for validating resolvers; DNSSEC signs data but does not encrypt the DNS question or response contents, so it addresses DNSSEC-authenticated public DNS answers rather than the required correctly scoped DNS integrity controls.

B:

Although this setting encrypts DNS transport between compatible participating endpoints, DNSSEC validation by itself cannot hide DNS names from observers; this concerns private DNS query content in transit, not the specified correctly scoped DNS integrity controls.

C:

The proposed action restores cryptographic delegation consistency for the zone; changing application A records alone cannot repair a mismatched signer chain, supporting successful DNSSEC validation by external resolvers but leaving correctly scoped DNS integrity controls unmet.

Question 25

An overlay engineer created a Connect attachment but no GRE peer forms because peer addresses are reversed. How should this network requirement be implemented?

  1. Enable compatible ECMP and advertise equivalent routes across the Connect peers
  2. Configure the BGP peer ASN and inside adjacency parameters for Connect
  3. Confirm the VPC route and security controls for the Connect underlay
  4. Create a Transit Gateway Connect attachment and its Connect peer
  5. Correct the Connect peer's TGW and appliance GRE endpoint addresses

Explanation

Correct Answer

E:

The approach identifies the two outer tunnel endpoints used for GRE encapsulation; BGP configuration on its own cannot fix the GRE underlay endpoint mismatch, directly enabling valid transit Connect tunnel endpoint addressing in this situation.

Incorrect Answers

A:

This approach lets eligible Connect paths distribute flows according to transit gateway multipath rules; per-packet reordering should not be assumed as a balancing model, which helps with scalable equal-cost SD-WAN transit instead of delivering valid transit Connect tunnel endpoint addressing.

B:

This alternative exchanges supported customer route prefixes across the GRE peer; traffic can be encapsulated even while no usable BGP routes are learned, so it addresses route learning over the established Connect overlay rather than the required valid transit Connect tunnel endpoint addressing.

C:

Although this setting permits GRE outer packets to traverse the parent transit connectivity, no BGP policy can build a session before the GRE underlay is reachable; this concerns underlying IP reachability for Connect peer establishment, not the specified valid transit Connect tunnel endpoint addressing.

D:

The proposed action establishes GRE connectivity and BGP control plane between the appliance and TGW; an ordinary VPC attachment cannot replace the Connect peer's overlay interfaces, supporting SD-WAN GRE/BGP integration with the transit gateway but leaving valid transit Connect tunnel endpoint addressing unmet.

Question 26

A network router and DX port both support MACsec but traffic fails when the key settings are inconsistent. What is the most suitable design or configuration?

  1. Align MACsec connectivity association keys and chosen encryption parameters
  2. Verify current MACsec eligibility and choose an approved dedicated connection when needed
  3. Add TLS or IPsec where end-to-end encryption is required
  4. Combine diverse physical connections with supported MACsec or suitable IPsec overlays

Explanation

Correct Answer

A:

The approach ensures the Ethernet peers can establish compatible link encryption; BGP route preferences are irrelevant until the encrypted physical link works, directly enabling successful authenticated MACsec operation in this situation.

Incorrect Answers

B:

This approach selects a DX connection model that actually supports required physical-link cryptography; hosted connection capabilities are not equivalent to every dedicated-port MACsec option, which helps with supported link-layer encryption deployment instead of delivering successful authenticated MACsec operation.

C:

This alternative encrypts traffic at a higher protocol layer beyond the individual Ethernet link; MACsec protects the applicable physical Ethernet hop rather than all subsequent routes, so it addresses application or tunnel confidentiality beyond DX link encryption rather than the required successful authenticated MACsec operation.

D:

Although this setting separates circuit redundancy from cryptographic protection, using a single encrypted link still leaves a physical single point of failure; this concerns resilient encrypted hybrid connectivity, not the specified successful authenticated MACsec operation.

Question 27

A maintenance workflow must stop further network mutations if the first account's route update fails. Which AWS networking approach meets this constraint?

  1. Implement explicit error handling and compensation in the automation workflow
  2. Use AWS SDK or CLI Describe and List APIs with assumed account roles
  3. Make the resource automation idempotent with discovery before create operations
  4. Query the relevant route tables through EC2 or Transit Gateway APIs

Explanation

Correct Answer

A:

This configuration prevents incomplete sequences from continuing silently across environments; success messages alone cannot guarantee all dependent resources were updated, so it delivers fail-safe orchestration of network API changes under the stated constraints.

Incorrect Answers

B:

The proposed action queries networking resource metadata through authorized API calls; console screenshots are not structured or repeatable inventory feeds, supporting automated cross-account network inventory but leaving fail-safe orchestration of network API changes unmet.

C:

This approach reconciles desired configuration without repeatedly creating duplicate resources; blind create calls can generate unnecessary objects on retries, which helps with repeatable safe network API automation instead of delivering fail-safe orchestration of network API changes.

D:

This alternative retrieves configured route entries for a testable deployment assertion; a ping test cannot reliably expose which route entry matched, so it addresses machine-checkable routing-state verification rather than the required fail-safe orchestration of network API changes.

Question 28

A transport team needs to understand which BGP prefixes a particular Transit Gateway route analysis path follows. What is the best next configuration decision?

  1. Separate topology registration from actual network route configuration
  2. Use Transit Gateway Route Analyzer where supported
  3. Use AWS Network Manager topology views for registered global networks
  4. Use Network Manager monitoring with relevant CloudWatch-backed metrics

Explanation

Correct Answer

B:

The approach evaluates a modeled routing path through transit gateway route tables; a general health-check probe does not describe transit route resolution, directly enabling transit-layer path assessment between attachments in this situation.

Incorrect Answers

A:

This alternative distinguishes management inventory from data-plane forwarding; adding a device to a topology map does not establish TGW or VPC routes, so it addresses correct operations model for managed network topology rather than the required transit-layer path assessment between attachments.

C:

The proposed action displays managed global network resources and connections; a single VPC subnet route list lacks the global context, supporting visibility into multi-Region WAN attachment relationships but leaving transit-layer path assessment between attachments unmet.

D:

This approach aggregates WAN and AWS network telemetry across managed connections; individual interface packet captures do not provide a persistent WAN health overview, which helps with consolidated operational status for global links instead of delivering transit-layer path assessment between attachments.

Question 29

A company needs to know whether traffic is being dropped at a Transit Gateway attachment during a load test. Which action directly resolves the stated problem?

  1. Capture time-series CloudWatch metrics and scheduled active network measurements
  2. Enable AWS Network Firewall logging and supported monitoring metrics
  3. Monitor Site-to-Site VPN TunnelState and related metrics
  4. Examine Transit Gateway metrics such as packet drop counters

Explanation

Correct Answer

D:

The approach tracks traffic and drop behavior at the gateway service; DNS query logs cannot measure packet loss at a transit attachment, directly enabling quantitative transit-path troubleshooting in this situation.

Incorrect Answers

A:

This approach establishes normal performance ranges for later regression comparisons; a one-time route-table export does not measure time-varying network behavior, which helps with baseline throughput and latency during healthy operations instead of delivering quantitative transit-path troubleshooting.

B:

This alternative emits traffic inspection and alert information from firewall processing; VPC Flow Logs cannot expose the complete rule context of a stateful firewall, so it addresses visibility into inspected flow decisions rather than the required quantitative transit-path troubleshooting.

C:

Although this setting reports AWS-side tunnel condition over time for alerting, an ELB target-health metric tracks application targets rather than IPsec tunnels; this concerns evidence of VPN tunnel reliability, not the specified quantitative transit-path troubleshooting.

Question 30

A regional office uses a dynamic BGP-capable firewall and wants AWS-provided learned routes over its VPN. What is the best next configuration decision?

  1. Attach Site-to-Site VPN to AWS Transit Gateway
  2. Select an accelerated Site-to-Site VPN attachment where supported
  3. Terminate the Site-to-Site VPN on the VPC's virtual private gateway
  4. Configure a dynamic Site-to-Site VPN with BGP-capable customer gateway
  5. Deploy AWS Site-to-Site VPN over the internet

Explanation

Correct Answer

D:

This configuration exchanges routes dynamically over the VPN tunnel sessions; static route-only VPN connections require route changes to be maintained explicitly, so it delivers adaptive route learning between branch and AWS under the stated constraints.

Incorrect Answers

A:

The proposed action uses the transit routing hub to exchange routes between VPN and selected attachments; isolation still depends on transit gateway route-table design, supporting centralized hybrid routing for multiple networks but leaving adaptive route learning between branch and AWS unmet.

B:

This approach uses AWS Global Accelerator to improve the path into AWS VPN endpoints; the feature is not a substitute for a dedicated physical Direct Connect circuit, which helps with accelerated internet-based hybrid VPN ingress instead of delivering adaptive route learning between branch and AWS.

C:

This alternative connects the customer gateway IPsec service to the VPC routing boundary; a TGW becomes more appropriate for many separately attached VPCs, so it addresses VPC-specific managed VPN termination rather than the required adaptive route learning between branch and AWS.

E:

The proposed action creates IPsec tunnels between customer gateway and AWS VPN termination; internet-path latency and variability remain relevant to SLA planning, supporting rapid encrypted hybrid connectivity over existing internet access but leaving adaptive route learning between branch and AWS unmet.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests