Question 40

A shared DNS platform serves several VPCs whose resolvers need to forward one corporate domain to a central endpoint. Which solution best addresses these network requirements?

  1. Share the appropriate Resolver rule via RAM and associate the recipient VPCs
  2. Associate the workload VPC with the appropriate private hosted zone
  3. Apply resource-scope IAM and governance controls to hosted-zone management
  4. Create separate private hosted zones and scope their VPC associations
  5. Authorize the VPC association from the zone account and associate it from the VPC account

Explanation

Correct Answer

A:

With this choice, the selected action distributes conditional forwarding policy across accounts; zone association serves AWS-hosted private records rather than external DNS forwarding, providing cross-account use of a central forwarding rule for the network described.

Incorrect Answers

B:

Although this setting extends the private authoritative namespace to the new VPC resolver, TGW connectivity between VPCs does not imply shared hosted-zone resolution; this concerns private record visibility for the workload account, not the specified cross-account use of a central forwarding rule.

C:

The proposed action regulates who can change private DNS record sets; VPC association grants resolution, not the authority to edit records, supporting restricted administrative changes to private DNS but leaving cross-account use of a central forwarding rule unmet.

D:

This approach selects different private record sets depending on the VPC resolver context; one shared global private zone would give the same records to all associated VPCs, which helps with environment-specific split-private DNS answers instead of delivering cross-account use of a central forwarding rule.

E:

This alternative completes the cross-account private hosted-zone association procedure; an IAM permission alone does not attach the zone to the receiving resolver context, so it addresses private-zone access across account ownership boundaries rather than the required cross-account use of a central forwarding rule.

Question 41

An application VPC uses a central DNS VPC over TGW, and workloads must resolve a specific internal on-prem domain. What is the most suitable design or configuration?

  1. Examine the matching rule precedence and adjust the overriding forwarding rule
  2. Fix endpoint subnet routing and security-group rules toward the target DNS addresses
  3. Associate a forwarding rule backed by a reachable outbound Resolver endpoint
  4. Set conditional forwarding to IP addresses of a Resolver inbound endpoint

Explanation

Correct Answer

C:

With this choice, the selected action uses private routed endpoint IPs to query the remote corporate DNS servers; TGW routing must allow the resolver endpoint to reach its target addresses, providing conditional resolution toward on-prem DNS for the network described.

Incorrect Answers

A:

This approach determines whether rule-based forwarding supersedes local private zone answers; editing public DNS records will not change the VPC resolver's rule selection, which helps with expected DNS authority selection within the VPC resolver instead of delivering conditional resolution toward on-prem DNS.

B:

This alternative allows the resolver endpoint to exchange UDP and TCP DNS with its upstreams; changing record TTL cannot compensate for a missing route or blocked DNS flow, so it addresses reachable hybrid DNS transport for resolver endpoints rather than the required conditional resolution toward on-prem DNS.

D:

The proposed action makes the VPC's resolver available to authorized off-cloud DNS clients; using a Resolver outbound endpoint reverses the intended query direction, supporting inbound corporate name queries for private AWS records but leaving conditional resolution toward on-prem DNS unmet.

Question 42

An enterprise router is connected physically to Direct Connect but cannot establish a tagged logical routing session. How should this network requirement be implemented?

  1. Configure the VLAN identifier on the Direct Connect VIF and matching customer interface
  2. Validate optical transceiver type, speed, and supported fiber parameters against the handoff
  3. Create a Direct Connect LAG and assign eligible member connections
  4. Request a hosted Direct Connect connection with the required bandwidth from the partner

Explanation

Correct Answer

A:

This configuration associates the Ethernet 802.1Q tag with the provisioned virtual interface; the circuit can be up while BGP fails if frames use the wrong VLAN, so it delivers aligned layer-two VLAN tagging on the circuit under the stated constraints.

Incorrect Answers

B:

This approach ensures the router interface optics match the Direct Connect physical port requirements; BGP settings cannot compensate for mismatched optical hardware, which helps with compatible layer-one optical connectivity instead of delivering aligned layer-two VLAN tagging on the circuit.

C:

This alternative aggregates compatible physical ports into a supported link aggregation group; all member ports must satisfy Direct Connect LAG eligibility rules, so it addresses multiple physical ports treated as an aggregate rather than the required aligned layer-two VLAN tagging on the circuit.

D:

Although this setting provisions a customer allocation on partner-managed Direct Connect infrastructure, hosted connection provisioning and speed availability depend on the provider offering; this concerns partner-provided dedicated-path hybrid connectivity, not the specified aligned layer-two VLAN tagging on the circuit.

Question 43

A private application should reach one approved S3 bucket through a gateway endpoint and avoid accessing arbitrary buckets. What should the network specialist configure?

  1. Enable and validate supported PrivateLink private DNS for the interface endpoint
  2. Apply an S3 gateway endpoint policy scoped to the approved bucket and actions
  3. Restrict the interface endpoint ENI security group to the application source
  4. Review IAM identity and S3 bucket resource policies as well as the endpoint policy

Explanation

Correct Answer

B:

The approach limits eligible service operations through that endpoint; IAM and bucket policies remain separate layers of authorization, directly enabling least-privilege service access over a VPC endpoint in this situation.

Incorrect Answers

A:

Although this setting directs clients toward service endpoint ENI addresses, simply adding a VPC route does not rewrite hostname resolution to the endpoint; this concerns service access that stays on private endpoint paths, not the specified least-privilege service access over a VPC endpoint.

C:

This approach limits network sessions accepted at the private service endpoint; endpoint policy permissions cannot compensate for blocked network traffic, which helps with source-limited access to interface endpoint IPs instead of delivering least-privilege service access over a VPC endpoint.

D:

This alternative distinguishes authorization layers governing an S3 API call; an endpoint policy granting an action is not a blanket permission overriding other denies, so it addresses complete authorization on a private S3 request rather than the required least-privilege service access over a VPC endpoint.

Question 44

A dual-stack VPC subnet's instances have IPv6 addresses but cannot reach public IPv6 sites. Which option should the architect select?

  1. Route IPv6 outbound traffic through an egress-only internet gateway
  2. Configure matching IPv6 NACL rules for request and response traffic
  3. Enable a supported dualstack load-balancer IP address type and publish the appropriate DNS
  4. Add a ::/0 route to an internet gateway and allow appropriate IPv6 network controls

Explanation

Correct Answer

D:

The approach forwards public IPv6 packets to the internet egress target; IPv4 NAT gateway routes do not create an IPv6 default path, directly enabling direct IPv6 internet routing for dual-stack workloads in this situation.

Incorrect Answers

A:

This alternative provides stateful outbound-only IPv6 internet reachability; an ordinary internet gateway would not enforce the same outbound-only property, so it addresses IPv6 egress without inbound initiation rather than the required direct IPv6 internet routing for dual-stack workloads.

B:

Although this setting allows stateless subnet filtering for IPv6 in both directions, security-group statefulness does not make NACL return rules unnecessary; this concerns bidirectional IPv6 packet permission at subnet boundaries, not the specified direct IPv6 internet routing for dual-stack workloads.

C:

The proposed action exposes reachable IPv4 and IPv6 service addresses; an IPv4-only listener address family cannot answer IPv6 client connections, supporting dual-stack client access at the load-balancer edge but leaving direct IPv6 internet routing for dual-stack workloads unmet.

Question 45

A new private hosted zone exists but imported zone records show lower-case owner names and a colleague suspects capitalization is the failure cause. What is the most suitable design or configuration?

  1. Check actual resolver association and DNS record semantics rather than DNS letter case
  2. Configure an ordered DNS Firewall rule group with intended allow and block actions
  3. Correct DHCP options to use accessible DNS servers that can reach the VPC resolver
  4. Enable Route 53 Resolver query logging and associate the query log configuration
  5. Associate Resolver DNS Firewall rule groups that block the relevant domain lists

Explanation

Correct Answer

A:

This configuration recognizes that ordinary DNS names are case-insensitive for matching; rewriting labels in uppercase will not resolve missing VPC associations, so it delivers troubleshooting grounded in DNS protocol behavior under the stated constraints.

Incorrect Answers

B:

This alternative evaluates matching queries using prioritized DNS Firewall domain list rules; rule group association alone is not sufficient if action priorities are wrong, so it addresses predictable DNS policy ordering rather than the required troubleshooting grounded in DNS protocol behavior.

C:

Although this setting ensures instances send DNS questions to a functioning recursive path, published records do not help clients that query the wrong DNS server; this concerns usable instance resolver configuration, not the specified troubleshooting grounded in DNS protocol behavior.

D:

The proposed action emits supported recursive query events from included VPCs; authoritative public-zone query logging covers a different query vantage point, supporting central VPC resolver query evidence but leaving troubleshooting grounded in DNS protocol behavior unmet.

E:

This approach filters recursive DNS names before normal resolution where configured; a public hosted zone health check does not inspect workload resolver traffic, which helps with enforced malicious-domain DNS query blocking instead of delivering troubleshooting grounded in DNS protocol behavior.

Question 46

A central networking account must reach several VPCs behind a TGW over Direct Connect and constrain the network prefixes announced to its data center. Which configurations are relevant? Choose TWO.

  1. Configure the public VIF with appropriate publicly routable prefixes and BGP requirements
  2. Configure the customer BGP peer ASN, peering addresses, VLAN, and session settings correctly
  3. Provision a transit VIF connected to a Direct Connect gateway
  4. Configure allowed prefixes on the Direct Connect gateway association
  5. Use different BGP ASNs for the TGW and the Direct Connect gateway

Explanation

Correct Answers

C:

This component provides the VIF type supported for DX gateway-to-TGW route exchange; the transit VIF and TGW-DX gateway association form the supported attachment path, contributing correct interface type for transit gateway connectivity to the combined requirement for correct interface type for transit gateway connectivity and controlled hybrid prefix advertisement.

D:

This component controls the AWS-side prefixes permitted for advertisement toward on-premises peers; TGW route tables still control packet forwarding independently of allowed prefix lists, contributing controlled hybrid prefix advertisement to the combined requirement for correct interface type for transit gateway connectivity and controlled hybrid prefix advertisement.

Incorrect Answers

A:

The proposed action exchanges AWS public endpoint reachability over the public peering session; public peering has separate addressing and advertisement rules from private VIF routing, supporting valid public VIF route advertisements but leaving correct interface type for transit gateway connectivity and controlled hybrid prefix advertisement unmet.

B:

This approach establishes the BGP adjacency required to exchange reachable private prefixes; a physical up state does not establish BGP neighbors automatically, which helps with active layer-three routing across the private VIF instead of delivering correct interface type for transit gateway connectivity and controlled hybrid prefix advertisement.

E:

The proposed action satisfies the distinct-ASN requirement of the TGW-DX gateway association; changing a VPC route table will not repair an ASN association conflict, supporting valid DX gateway-to-transit gateway association but leaving correct interface type for transit gateway connectivity and controlled hybrid prefix advertisement unmet.

Question 47

A shared transit hub contains VPCs with duplicate IP ranges and the team sees missing propagated routes. How should this network requirement be implemented?

  1. Plan nonoverlapping secondary VPC CIDR space and new workload subnets
  2. Compare subnet route-table associations before and after the change
  3. Summarize prefixes where it is safe and supported by the routing design
  4. Analyze overlap restrictions and isolate or translate the affected routing domains

Explanation

Correct Answer

D:

The approach prevents ambiguous routes from colliding in the same transit lookup context; a health check cannot reveal which identical prefix should receive a packet, directly enabling stable routing across overlapping address spaces in this situation.

Incorrect Answers

A:

Although this setting increases available subnet address pools within the VPC, expanding EC2 instance types does not replenish exhausted private addresses; this concerns sustainable IP address allocation for expanding workloads, not the specified stable routing across overlapping address spaces.

B:

The proposed action validates that the actual subnet consults the expected route table; a correct route in an unassociated table has no effect on the workload, supporting accurate identification of routing changes during maintenance but leaving stable routing across overlapping address spaces unmet.

C:

This approach reduces advertised route entries while preserving intended reachability; careless summary routes can blackhole destinations not actually reachable, which helps with constrained route-table growth under scaling instead of delivering stable routing across overlapping address spaces.

Question 48

A regulated environment must inspect application flows entering and leaving a central egress VPC. What is the most suitable design or configuration?

  1. Deploy AWS Network Firewall endpoints with routed firewall policy in the traffic path
  2. Enable AWS Network Firewall alert and flow logging to a suitable destination
  3. Correct subnet routing to preserve symmetric AWS Network Firewall endpoint traversal
  4. Configure suitable AWS Network Firewall stateful domain-list or Suricata rules

Explanation

Correct Answer

A:

This configuration applies managed stateless and stateful inspection to forwarded network packets; a deployed firewall without route redirection is bypassed by ordinary traffic, so it delivers centrally enforced traffic inspection under the stated constraints.

Incorrect Answers

B:

Although this setting records firewall match and flow observations for investigation, ordinary VPC flow records lack the full inspection-rule match context; this concerns explainable stateful policy decisions, not the specified centrally enforced traffic inspection.

C:

The proposed action keeps both directions of the flow through the stateful inspection path; rules cannot track a return flow they never observe, supporting stateful firewall session continuity but leaving centrally enforced traffic inspection unmet.

D:

This approach inspects supported session traffic against the configured stateful domain policy; DNS-only blocking is less comprehensive than network-path filtering for some application flows, which helps with egress enforcement based on inspected traffic attributes instead of delivering centrally enforced traffic inspection.

Question 49

A transit environment must deliberately discard traffic for a disallowed aggregate CIDR regardless of a broader default route. What should the network specialist configure?

  1. Associate attachment groups with distinct Transit Gateway route tables and control propagated routes
  2. Add an appropriately scoped blackhole route to the transit gateway table
  3. Enable the attachment's route propagation into the consumer transit route table
  4. Share the Transit Gateway using AWS RAM with scoped principals

Explanation

Correct Answer

B:

The approach drops packets whose destination matches the blackhole entry; security groups operate on ENIs and do not implement gateway blackhole routes, directly enabling explicit denied transit route at gateway level in this situation.

Incorrect Answers

A:

This approach determines destination reachability independently for attachments entering each routing domain; attachments can each have one associated table and propagate to multiple tables, which helps with segmented transit routing across environments instead of delivering explicit denied transit route at gateway level.

C:

Although this setting installs eligible attached-network routes into the selected gateway table, attachment creation does not guarantee propagation into every route table; this concerns learned CIDR reachability for transit consumers, not the specified explicit denied transit route at gateway level.

D:

The proposed action authorizes other accounts to create attachments to a centrally owned gateway; RAM sharing alone does not install working subnet or gateway routes, supporting controlled multi-account transit attachment access but leaving explicit denied transit route at gateway level unmet.

Question 50

A network engineer needs to distinguish security-group rejection from silence at an EC2 host. Which solution best addresses these network requirements?

  1. Inspect the ACCEPT and REJECT actions in VPC Flow Log records
  2. Send VPC Flow Logs to CloudWatch Logs
  3. Enable a VPC Flow Log on the specific elastic network interface
  4. Deliver VPC Flow Logs to Amazon S3 in a suitable format
  5. Enable VPC Flow Logs at the VPC scope

Explanation

Correct Answer

A:

The approach identifies whether captured network flows were allowed or denied by network controls; flow logs do not reveal application payload content or every packet-level failure cause, directly enabling reachability evidence at flow-record granularity in this situation.

Incorrect Answers

B:

This approach delivers flow metadata to log groups that support filters and analytics; logging to an S3 bucket alone will not create CloudWatch Logs filter events, which helps with flow-data integration with CloudWatch log analysis instead of delivering reachability evidence at flow-record granularity.

C:

This alternative scopes IP-flow metadata collection to one ENI; capturing VPC-wide traffic would include many unrelated interfaces, so it addresses targeted interface-level network investigation rather than the required reachability evidence at flow-record granularity.

D:

Although this setting stores flow-log records in an object store suitable for later analysis, CloudWatch alarms can analyze metrics but are not an object-archive delivery substitute; this concerns durable searchable flow records in S3, not the specified reachability evidence at flow-record granularity.

E:

The proposed action records selected flow metadata for supported network interfaces across the VPC; a subnet-only log would miss interfaces outside the chosen subnet, supporting broad IP-flow visibility over changing workloads but leaving reachability evidence at flow-record granularity unmet.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests