Question 80

A backend /health endpoint returns 200 but other pages are down; operators want an ALB to check the real readiness route. Which change is the most appropriate?

  1. Tune target-group deregistration delay and drain before terminating capacity
  2. Attach the load balancer target group to the Auto Scaling group
  3. Use an IP-type target group with the task IPs
  4. Register supported private IP addresses in an IP-type target group
  5. Change the target group's health-check path and success matcher

Explanation

Correct Answer

E:

This configuration sends HTTP or HTTPS readiness probes to the intended application endpoint; a TCP handshake alone cannot prove route-level application readiness, so it delivers application-specific health status for load balancing under the stated constraints.

Incorrect Answers

A:

This alternative allows load-balancer connection draining during target removal; immediately killing the instance defeats the drain interval, so it addresses graceful exit for targets holding active requests rather than the required application-specific health status for load balancing.

B:

Although this setting integrates target registration and deregistration with instance lifecycle, scaling policies alone do not update an unrelated manually maintained group; this concerns automatic target membership as capacity changes, not the specified application-specific health status for load balancing.

C:

The proposed action registers destinations using IP address and port; an instance-type group targets instances rather than these workload IP destinations, supporting registration of independently addressable container tasks but leaving application-specific health status for load balancing unmet.

D:

This approach allows appropriate load balancers to use reachable private IP targets beyond an instance-ID inventory; a public internet IP is not a valid substitute for private target registration in this pattern, which helps with hybrid private-address backend targets instead of delivering application-specific health status for load balancing.

Question 81

A company wants to analyze which domain names workloads query, without inspecting packet payloads itself. Which option should the architect select?

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

Explanation

Correct Answer

A:

This configuration records DNS query information in supported logging destinations; public hosted-zone query logging would observe authoritative queries instead of recursive VPC lookups, so it delivers auditable VPC DNS query history under the stated constraints.

Incorrect Answers

B:

This alternative 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 addresses organization-wide reuse of DNS firewall policies rather than the required auditable VPC DNS query history.

C:

Although this setting extends private hosted-zone visibility beyond the zone owner's own VPC associations, this association process differs from simply sharing a subnet through RAM; this concerns controlled cross-account private zone visibility, not the specified auditable VPC DNS query history.

D:

The proposed action 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, supporting predictable resolution of overlapping DNS namespaces but leaving auditable VPC DNS query history unmet.

Question 82

A VPC's instances fail to resolve private Route 53 records after a change to custom VPC DNS settings. What is the best next configuration decision?

  1. Create a child hosted zone and add NS delegation records in the parent zone
  2. Create a Route 53 public hosted zone and delegate the registered domain
  3. Create a Route 53 private hosted zone and associate both VPCs
  4. Enable the VPC attributes for DNS support and DNS hostnames as required

Explanation

Correct Answer

D:

With this choice, the selected action makes the Amazon-provided resolver and AWS DNS hostname behavior available within the VPC; DHCP DNS server settings also must direct clients toward a resolver that can answer these zones, providing normal private hosted zone resolution through VPC DNS for the network described.

Incorrect Answers

A:

The proposed action assigns authority for the child DNS namespace to different nameservers; records in a child zone are ineffective until the parent's delegation points to them, supporting independent control of a delegated DNS subdomain but leaving normal private hosted zone resolution through VPC DNS unmet.

B:

This approach publishes DNS records via Route 53's publicly reachable authoritative nameservers; creation of a hosted zone alone does not update the registrar's delegation, which helps with public authoritative DNS hosting instead of delivering normal private hosted zone resolution through VPC DNS.

C:

This alternative exposes private DNS records through VPC resolver behavior only for associated networks; a public zone could expose the record data through internet-accessible authoritative servers, so it addresses VPC-scoped private name resolution rather than the required normal private hosted zone resolution through VPC DNS.

Question 83

EC2 instances cannot resolve ad.corp.example because queries are not leaving the VPC resolver. Which AWS networking approach meets this constraint?

  1. Add a Resolver forwarding rule targeting on-prem DNS through an outbound endpoint
  2. Permit UDP 53 as well as required TCP DNS between resolvers
  3. Configure a conditional forwarder to Route 53 Resolver inbound endpoint IPs
  4. Associate the private hosted zone with the new VPC

Explanation

Correct Answer

A:

The approach sends matching corporate DNS questions to the designated corporate resolvers; the subnet network path to the on-prem resolver must carry UDP and TCP DNS as applicable, directly enabling cloud-to-corporate DNS integration in this situation.

Incorrect Answers

B:

The proposed action allows the standard transport used by most ordinary recursive DNS exchanges; TCP-only access can leave typical UDP-based DNS questions unanswered, supporting complete supported DNS transport for the hybrid path but leaving cloud-to-corporate DNS integration unmet.

C:

This approach sends matching on-premises questions into AWS private DNS resolver capacity; recursively querying public DNS cannot discover private hosted-zone records, which helps with selective on-premises-to-VPC DNS forwarding instead of delivering cloud-to-corporate DNS integration.

D:

This alternative grants the VPC resolver visibility into the zone's private records; transit data-plane reachability does not automatically create hosted-zone association, so it addresses private-zone name resolution in the newly attached VPC rather than the required cloud-to-corporate DNS integration.

Question 84

A site must reject viewers from specified countries at its CDN layer without involving the application servers. What should the network specialist configure?

  1. Attach a CloudFront Function to the appropriate viewer event
  2. Apply CloudFront geographic restrictions to the distribution
  3. Configure CloudFront Origin Access Control and restrict the bucket policy accordingly
  4. Use Lambda@Edge for the supported CloudFront trigger

Explanation

Correct Answer

B:

With this choice, the selected action restricts viewer requests using country-level geographic information at the edge; the control is geographic rather than a substitute for identity-aware authorization, providing country-based CDN access enforcement for the network described.

Incorrect Answers

A:

This alternative 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 addresses inexpensive edge URI normalization rather than the required country-based CDN access enforcement.

C:

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 country-based CDN access enforcement unmet.

D:

This approach runs richer request or response logic at regional edge locations with supported network operations; supported events and runtime restrictions must be checked before selecting the integration, which helps with edge logic requiring capabilities beyond CloudFront Functions instead of delivering country-based CDN access enforcement.

Question 85

A company wants to connect dozens of VPCs while retaining route-table-level isolation and shared on-prem access. Which AWS networking approach meets this constraint?

  1. Use an AWS Transit Gateway with distinct attachment routing domains
  2. Put an appropriate NLB-based endpoint-service front end before the application stack
  3. Create an interface VPC endpoint to the provider's PrivateLink service
  4. Maintain a VPC peering connection with reciprocal subnet routes
  5. Use a gateway endpoint for S3 with the correct subnet route-table associations

Explanation

Correct Answer

A:

With this choice, the selected action centralizes routing and segmentation for large private network topologies; ordinary VPC peering creates independent nontransitive links, providing scalable multi-VPC and hybrid hub connectivity for the network described.

Incorrect Answers

B:

This alternative provides the supported PrivateLink provider integration for application reachability; an ALB is not directly used as the endpoint-service load balancer type in this pattern, so it addresses NLB-backed private service publication rather than the required scalable multi-VPC and hybrid hub connectivity.

C:

Although this setting supplies private endpoint ENIs for the specific service consumer, a gateway endpoint is reserved for eligible AWS service integrations, not arbitrary SaaS APIs; this concerns narrowly scoped third-party service connectivity, not the specified scalable multi-VPC and hybrid hub connectivity.

D:

The proposed action provides simple one-to-one forwarding through the AWS network; it does not automatically enable transitive routing to the rest of either account's peers, supporting minimal two-VPC private connectivity but leaving scalable multi-VPC and hybrid hub connectivity unmet.

E:

This approach creates a private route to S3 supported service prefixes; access policy and Region support still determine actual service permissions, which helps with S3 access avoiding NAT and internet paths instead of delivering scalable multi-VPC and hybrid hub connectivity.

Question 86

Instances need HTTP and HTTPS access only via an authenticated enterprise proxy and must not use direct NAT. What should the network specialist configure?

  1. Route approved egress through Transit Gateway to the centralized inspection and NAT path
  2. Point application clients to the explicit proxy and restrict direct egress routes or security rules
  3. Deploy an AZ-local NAT gateway in each zone and route private subnets accordingly
  4. Put DNS filtering and network traffic inspection at their appropriate control points

Explanation

Correct Answer

B:

This configuration makes proxy policy the approved path for application web requests; a NAT gateway translates addresses but cannot enforce enterprise proxy authentication, so it delivers authenticated policy-enforced web egress under the stated constraints.

Incorrect Answers

A:

The proposed action consolidates outbound forwarding through a governed security choke point; independent NAT gateways in spokes would bypass the central inspection path, supporting controlled internet egress from multiple VPCs but leaving authenticated policy-enforced web egress unmet.

C:

This alternative preserves zone-local IPv4 source translation and improves fault isolation; one NAT in a different zone concentrates both outage and cross-zone dependency, so it addresses resilient zonal outbound IPv4 access rather than the required authenticated policy-enforced web egress.

D:

Although this setting uses resolver domain controls and a routed firewall for separate egress risks, blocking DNS alone may be bypassed by clients using direct IP destinations or other resolvers; this concerns layered outbound destination restriction, not the specified authenticated policy-enforced web egress.

Question 87

An application wants to delegate a hostname alias to another hostname rather than copy its current IP addresses. How should this network requirement be implemented?

  1. Add a CNAME at a non-apex owner name
  2. Create a Route 53 alias A record to the load balancer
  3. Configure the appropriate PTR resource record under the reverse DNS namespace
  4. Create the vendor-specified TXT record

Explanation

Correct Answer

A:

This configuration makes a DNS name an alias of a canonical host name during recursive resolution; a CNAME cannot normally coexist with other record types at the same owner name, so it delivers hostname-to-hostname aliasing for a subdomain under the stated constraints.

Incorrect Answers

B:

The proposed action returns address answers for supported AWS resources without violating apex CNAME restrictions; alias records can also track the target's changing addresses without an ordinary CNAME at the root, supporting apex-domain mapping to an AWS load balancer but leaving hostname-to-hostname aliasing for a subdomain unmet.

C:

This approach maps a reverse-address DNS name back to a host name; ordinary A records map forward from host names to IPv4 addresses instead, which helps with IP-to-name reverse DNS lookup instead of delivering hostname-to-hostname aliasing for a subdomain.

D:

This alternative stores arbitrary DNS text values frequently used for verification and email security; changing NS delegation is unnecessary for a simple text token challenge, so it addresses domain-ownership proof through DNS text rather than the required hostname-to-hostname aliasing for a subdomain.

Question 88

A private subnet must reach external package mirrors without allowing unsolicited inbound internet traffic. How should this network requirement be implemented?

  1. Add capacity in additional suitable subnets or create expanded address ranges
  2. Route IPv6 default traffic to an egress-only internet gateway
  3. Subtract the five AWS-reserved IPv4 addresses from the subnet capacity
  4. Route IPv4 internet-bound traffic through a NAT gateway in a public subnet

Explanation

Correct Answer

D:

With this choice, the selected action provides source-translated outbound IPv4 access for private workloads; a route to an internet gateway alone does not make a private-addressed instance publicly reachable, providing outbound-only IPv4 internet access for private instances for the network described.

Incorrect Answers

A:

This alternative provides more allocatable IP addresses for new workload interfaces; increasing desired capacity without available addresses cannot place instances, so it addresses available subnet addressing for scale-out rather than the required outbound-only IPv4 internet access for private instances.

B:

Although this setting permits initiated outbound IPv6 flows while blocking new internet-originated flows, ordinary NAT gateways are chiefly an IPv4 translation pattern; this concerns outbound-only IPv6 connectivity, not the specified outbound-only IPv4 internet access for private instances.

C:

The proposed action accounts for network, router, DNS, reserved, and broadcast-address slots; treating every mathematical IPv4 address in the CIDR as assignable overstates capacity, supporting accurate usable private IPv4 capacity planning but leaving outbound-only IPv4 internet access for private instances unmet.

Question 89

A Direct Connect connection is intermittently unavailable, but the CloudWatch dashboard plots only network throughput. Which action provides the required behavior?

  1. Examine TargetResponseTime and target HTTP code CloudWatch metrics
  2. Compare time-aligned service metrics with CloudTrail change records
  3. Include Direct Connect ConnectionState and appropriate error counters
  4. Create a CloudWatch alarm on the relevant firewall or derived metric

Explanation

Correct Answer

C:

With this choice, the selected action tracks link state independently of the amount of traffic transferred; low throughput can mean idle workloads, not necessarily a failed circuit, providing observability of hybrid physical or connection faults for the network described.

Incorrect Answers

A:

This approach distinguishes slow target processing and target-generated error rates; front-end DNS TTL values do not explain target application latency, which helps with quantitative load-balancer-to-backend performance diagnosis instead of delivering observability of hybrid physical or connection faults.

B:

This alternative combines operational signal timing with configuration mutation history; checking only current route tables omits the event that triggered the change, so it addresses change-correlated network incident diagnosis rather than the required observability of hybrid physical or connection faults.

D:

The proposed action applies a threshold and evaluation window to a measured security signal; CloudWatch dashboards show data but are not themselves notification rules, supporting automated drop-rate anomaly alerting but leaving observability of hybrid physical or connection faults unmet.

Question 90

A cross-account resource share invitation sits pending and the principal cannot access the resource. Which change is the most appropriate?

  1. Create an AWS RAM resource share for the gateway to the intended principals
  2. Share the Resolver rule through AWS RAM and associate receiving VPCs
  3. Share only the intended subnet resources through RAM
  4. Accept the RAM invitation when organization-based automatic sharing is not in effect
  5. Share the specific subnets using AWS RAM

Explanation

Correct Answer

D:

This configuration approves permitted sharing outside automatically trusted organization contexts; resource ownership is not transferred by accepting a share, so it delivers activated accepted cross-account resource share under the stated constraints.

Incorrect Answers

A:

The proposed action delegates attachment availability while retaining central gateway ownership; participants remain responsible for their VPC attachments and routes, supporting cross-account TGW sharing and governance but leaving activated accepted cross-account resource share unmet.

B:

This approach redistributes approved forwarding rule configuration to other accounts; endpoint network access is needed in addition to sharing a rule resource, which helps with reusable organization-wide DNS resolver rules instead of delivering activated accepted cross-account resource share.

C:

This alternative limits the network locations participant accounts can place authorized resources; broad OU or account sharing should not unintentionally expose unrelated subnets, so it addresses scoped multi-account subnet participation rather than the required activated accepted cross-account resource share.

E:

The proposed action permits participant-owned compute resources within centrally owned subnet boundaries; participants cannot generally modify the VPC's top-level routing controls, supporting centralized subnet ownership with decentralized workloads but leaving activated accepted cross-account resource share unmet.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests