Question 170

An HTTPS application sends dynamic requests to a multi-Region backend and wants stable IP entry with better international network paths. What is the most suitable design or configuration?

  1. Reduce needless cache-key dimensions in the CloudFront cache policy
  2. Set suitable cache TTL controls consistent with origin Cache-Control headers
  3. Reduce applicable DNS TTLs before planned changes and consider stable anycast ingress where required
  4. Use AWS Global Accelerator for supported regional application endpoints
  5. Use Route 53 latency-based records among regional endpoints

Explanation

Correct Answer

D:

The approach routes traffic into the AWS backbone through anycast edge addresses; caching with CloudFront is a different optimization for eligible HTTP objects, directly enabling global dynamic-traffic ingress optimization in this situation.

Incorrect Answers

A:

The proposed action shares equivalent cached responses across more viewer requests; necessary content-variation dimensions must remain in the key to prevent incorrect responses, supporting improved CDN cache efficiency but leaving global dynamic-traffic ingress optimization unmet.

B:

This approach permits safe edge reuse of static responses for a defined period; caching private personalized responses by extending TTL would be unsafe, which helps with fewer unnecessary origin fetches instead of delivering global dynamic-traffic ingress optimization.

C:

This alternative limits the duration of stale DNS answers during endpoint migrations; lowering a TTL after clients already cache a larger value cannot retroactively expire those caches, so it addresses managed DNS cutover convergence rather than the required global dynamic-traffic ingress optimization.

E:

The proposed action bases DNS selection on AWS regional latency observations; DNS caching and resolver placement affect what end users observe, supporting resolver-directed traffic toward lower-latency Regions but leaving global dynamic-traffic ingress optimization unmet.

Question 171

A team must limit transit route growth caused by hundreds of tiny corporate networks. Which option should the architect select?

  1. Analyze overlap restrictions and isolate or translate the affected routing domains
  2. Summarize prefixes where it is safe and supported by the routing design
  3. Compare subnet route-table associations before and after the change
  4. Check the more-specific route entry that wins longest-prefix matching

Explanation

Correct Answer

B:

With this choice, the selected action reduces advertised route entries while preserving intended reachability; careless summary routes can blackhole destinations not actually reachable, providing constrained route-table growth under scaling for the network described.

Incorrect Answers

A:

Although this setting prevents ambiguous routes from colliding in the same transit lookup context, a health check cannot reveal which identical prefix should receive a packet; this concerns stable routing across overlapping address spaces, not the specified constrained route-table growth under scaling.

C:

This approach validates that the actual subnet consults the expected route table; a correct route in an unassociated table has no effect on the workload, which helps with accurate identification of routing changes during maintenance instead of delivering constrained route-table growth under scaling.

D:

This alternative follows IPv4 routing selection using the most specific matching destination; a broad /16 target does not win over an existing matching /24 route, so it addresses explanation of unexpected next-hop selection rather than the required constrained route-table growth under scaling.

Question 172

An EC2 auditing agent must resolve 10.20.5.18 to an internal hostname with a PTR lookup, but the reverse name must not be published on the public internet. Which DNS implementation satisfies the requirement?

  1. Create a Route 53 private hosted zone for the relevant in-addr.arpa reverse namespace, associate it with the VPC, and publish the PTR record
  2. Add a public A record for the instance and assume reverse DNS is automatically generated
  3. Create a Route 53 latency routing policy for the internal hostname
  4. Publish a private TXT record containing the instance's IPv4 address

Explanation

Correct Answer

A:

A PTR record maps a reversed IPv4 address to its hostname. Placing the relevant reverse namespace in a VPC-associated private hosted zone gives the auditing agent a private reverse lookup without publicly exposing the internal naming data.

Incorrect Answers

B:

An A record resolves a hostname to an IPv4 address; it neither supplies a PTR response nor guarantees private reverse DNS. Public forward records would also expose a different namespace than the requested internal lookup.

C:

Latency routing chooses among DNS answers based on location-related response times. It cannot create reverse mappings for an IPv4 address and does not address the private visibility requirement.

D:

TXT records convey arbitrary text, and reverse-lookup clients request PTR records under in-addr.arpa. A TXT value containing the IP would not be treated as the hostname answer by those clients.

Question 173

A web property needs to rewrite a simple viewer request URI at low latency without making external network calls. Which solution best addresses these network requirements?

  1. Apply CloudFront geographic restrictions to the distribution
  2. Attach a CloudFront Function to the appropriate viewer event
  3. Create path-pattern cache behaviors with dedicated origin assignments
  4. Configure CloudFront Origin Access Control and restrict the bucket policy accordingly

Explanation

Correct Answer

B:

This configuration runs lightweight JavaScript logic at CloudFront edge locations for supported viewer events; the function cannot make network requests or perform heavyweight origin-facing operations, so it delivers inexpensive edge URI normalization under the stated constraints.

Incorrect Answers

A:

This approach restricts viewer requests using country-level geographic information at the edge; the control is geographic rather than a substitute for identity-aware authorization, which helps with country-based CDN access enforcement instead of delivering inexpensive edge URI normalization.

C:

Although this setting matches requests to ordered cache behaviors and sends them to their selected origins, behavior ordering matters when path patterns overlap; this concerns routing CDN paths to separate application backends, not the specified inexpensive edge URI normalization.

D:

The proposed action signs requests from CloudFront to the S3 origin under a scoped resource policy; blocking all public bucket access remains compatible with approved distribution-origin requests, supporting private S3 origin access through CloudFront but leaving inexpensive edge URI normalization unmet.

Question 174

A central account needs repeatable distribution of Resolver DNS Firewall rule groups to child workload accounts. What is the most suitable design or configuration?

  1. Configure Route 53 Resolver DNS Firewall rule groups and associate them with VPCs
  2. Authorize and associate the private hosted zone with the cross-account VPC
  3. Examine private hosted-zone associations and resolver rule precedence
  4. Share eligible Resolver DNS Firewall rule groups using AWS RAM

Explanation

Correct Answer

D:

This configuration makes centrally governed DNS filtering groups available for associated accounts; sharing a rule group does not itself associate it with every consuming VPC, so it delivers organization-wide reuse of DNS firewall policies under the stated constraints.

Incorrect Answers

A:

The proposed action filters resolver queries by domain lists and chosen block or alert actions; it inspects DNS queries and is not a complete substitute for HTTP or egress firewalls, supporting DNS-layer filtering of risky destinations but leaving organization-wide reuse of DNS firewall policies unmet.

B:

This approach extends private hosted-zone visibility beyond the zone owner's own VPC associations; this association process differs from simply sharing a subnet through RAM, which helps with controlled cross-account private zone visibility instead of delivering organization-wide reuse of DNS firewall policies.

C:

This alternative determines which private DNS namespace or forwarding rule the VPC resolver uses; DNS routing conflicts cannot be corrected solely by modifying an unrelated public record, so it addresses predictable resolution of overlapping DNS namespaces rather than the required organization-wide reuse of DNS firewall policies.

Question 175

An IPv6-only application subnet must call a partner's public API that publishes only IPv4 A records. A public NAT gateway already has working IPv4 internet connectivity. Which additional configuration enables the IPv6 clients to reach the API?

  1. Enable DNS64 on the IPv6-only subnet and add a 64:ff9b::/96 subnet route to the NAT gateway
  2. Add only an IPv6 ::/0 route to an egress-only internet gateway
  3. Create an AAAA record in a private hosted zone that points directly to the partner's IPv4 address
  4. Add an IPv4 default route inside every IPv6-only application instance without assigning IPv4 addresses

Explanation

Correct Answer

A:

DNS64 synthesizes an IPv6 address for an IPv4-only destination by using the well-known translation prefix. The 64:ff9b::/96 route delivers those packets to the NAT gateway, which performs NAT64 before forwarding over its existing IPv4 path.

Incorrect Answers

B:

An egress-only internet gateway handles outbound IPv6 connectivity to native IPv6 destinations. It does not translate synthesized IPv6 destinations into an IPv4-only partner service.

C:

An AAAA record must carry a valid IPv6 address, not an IPv4 literal. Inventing an AAAA record also does not provide the address and protocol translation that the client traffic requires.

D:

A route cannot make an IPv6-only host originate usable IPv4 packets when that host has no IPv4 interface address. The VPC DNS64/NAT64 design is the supported translation pattern.

Question 176

A VPC Flow Log record shows REJECT for a connection attempt to a server's TCP 443 listener. What is the best next configuration decision?

  1. Customize the VPC Flow Logs format to include supported extended fields
  2. Use VPC Traffic Mirroring or another packet-capture location
  3. Investigate the applicable security group or NACL control first
  4. Check Flow Logs limitations for traffic to the AmazonProvidedDNS resolver

Explanation

Correct Answer

C:

With this choice, the selected action identifies a captured packet flow denied by AWS network filtering; no HTTP server log can explain a request blocked before reaching the host, providing network-control cause of rejected traffic for the network described.

Incorrect Answers

A:

This alternative records additional origin and destination information for relevant network address translation contexts; ordinary default fields may reflect observation-interface addresses rather than original packet endpoints, so it addresses deeper source/destination flow attribution rather than the required network-control cause of rejected traffic.

B:

Although this setting captures supported packet payloads for protocol-level analysis, ACCEPT records do not include TLS cipher negotiation details; this concerns packet contents beyond flow metadata, not the specified network-control cause of rejected traffic.

D:

This approach recognizes that certain AWS-reserved service traffic is excluded from standard flow logging; absence of a record is not conclusive proof that the DNS query never occurred, which helps with correct interpretation of a flow-log visibility gap instead of delivering network-control cause of rejected traffic.

Question 177

A private application cannot find an internal service because its record points to an obsolete endpoint IP. What is the best next configuration decision?

  1. Add the child zone's authoritative NS records in the parent hosted zone
  2. Replace the domain registration's NS delegation with the new hosted-zone set
  3. Use a Route 53 alias A/AAAA record as appropriate to the distribution
  4. Update the private hosted zone's record set to the new reachable target

Explanation

Correct Answer

D:

This configuration refreshes the authoritative internal DNS answer for associated VPCs; DNS TTL propagation must be considered when assessing when clients observe changes, so it delivers correct private service address after migration under the stated constraints.

Incorrect Answers

A:

This approach publishes delegated name-server referrals for that subdomain; creation of the child zone alone does not redirect recursion to it, which helps with separate administrative authority for a child namespace instead of delivering correct private service address after migration.

B:

This alternative aligns the parent delegation with the active Route 53 nameservers; simply updating an A record cannot fix a stale delegation at the registrar, so it addresses restored public DNS authority after zone recreation rather than the required correct private service address after migration.

C:

Although this setting maps apex names to supported AWS resources without an apex CNAME, ordinary CNAME records are restricted at a zone apex; this concerns valid apex routing to CloudFront, not the specified correct private service address after migration.

Question 178

A dual-Region endpoint group shows an unhealthy application even though an EC2 instance can answer ICMP. Which AWS networking approach meets this constraint?

  1. Configure Global Accelerator client affinity by source IP
  2. Use Global Accelerator with UDP-capable endpoints
  3. Configure an appropriate accelerator endpoint health check for the application service
  4. Set the Global Accelerator traffic dial for that Region's endpoint group to zero

Explanation

Correct Answer

C:

This configuration 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, so it delivers routing only to endpoints that can serve the workload under the stated constraints.

Incorrect Answers

A:

The proposed 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, supporting endpoint consistency across a client's connections but leaving routing only to endpoints that can serve the workload unmet.

B:

This approach transports supported UDP flows using AWS's global anycast ingress addresses; a TCP-only application gateway would not preserve the UDP transport requirement, which helps with globally available entry for UDP application traffic instead of delivering routing only to endpoints that can serve the workload.

D:

Although this setting 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; this concerns region-wide traffic evacuation during maintenance, not the specified routing only to endpoints that can serve the workload.

Question 179

An organization uses a virtual private gateway and seeks a simple encrypted path for a single VPC. Which AWS networking approach meets this constraint?

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

Explanation

Correct Answer

C:

With this choice, the selected action connects the customer gateway IPsec service to the VPC routing boundary; a TGW becomes more appropriate for many separately attached VPCs, providing VPC-specific managed VPN termination for the network described.

Incorrect Answers

A:

Although this setting exchanges routes dynamically over the VPN tunnel sessions, static route-only VPN connections require route changes to be maintained explicitly; this concerns adaptive route learning between branch and AWS, not the specified VPC-specific managed VPN termination.

B:

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 VPC-specific managed VPN termination unmet.

D:

This alternative uses the transit routing hub to exchange routes between VPN and selected attachments; isolation still depends on transit gateway route-table design, so it addresses centralized hybrid routing for multiple networks rather than the required VPC-specific managed VPN termination.

Question 180

A team wants to compare end-to-end connections through a managed firewall without collecting every application payload. Which option should the architect select?

  1. Monitor Site-to-Site VPN TunnelState and related metrics
  2. Examine Transit Gateway metrics such as packet drop counters
  3. Enable AWS Network Firewall logging and supported monitoring metrics
  4. Track CloudFront cache hit metrics with origin-response performance indicators
  5. Capture time-series CloudWatch metrics and scheduled active network measurements

Explanation

Correct Answer

C:

The approach emits traffic inspection and alert information from firewall processing; VPC Flow Logs cannot expose the complete rule context of a stateful firewall, directly enabling visibility into inspected flow decisions in this situation.

Incorrect Answers

A:

This alternative reports AWS-side tunnel condition over time for alerting; an ELB target-health metric tracks application targets rather than IPsec tunnels, so it addresses evidence of VPN tunnel reliability rather than the required visibility into inspected flow decisions.

B:

Although this setting tracks traffic and drop behavior at the gateway service, DNS query logs cannot measure packet loss at a transit attachment; this concerns quantitative transit-path troubleshooting, not the specified visibility into inspected flow decisions.

D:

This approach separates edge cache behavior from origin fetch effects; a single application CPU chart cannot identify CDN cache-miss patterns, which helps with causal visibility into CDN performance instead of delivering visibility into inspected flow decisions.

E:

This alternative establishes normal performance ranges for later regression comparisons; a one-time route-table export does not measure time-varying network behavior, so it addresses baseline throughput and latency during healthy operations rather than the required visibility into inspected flow decisions.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests