Question 1

An emergency correction to a static asset must be distributed before the current long cache TTL expires. Which action directly resolves the stated problem?

  1. Forward the header using a CloudFront origin request policy without including it in the cache key
  2. Create a CloudFront invalidation for the affected object paths
  3. Use a CloudFront cache policy that disables caching for the API behavior
  4. Add the rendition parameter to the CloudFront cache policy's cache key

Explanation

Correct Answer

B:

The approach marks matching cached objects for removal so subsequent requests retrieve updated content; versioned URLs can avoid invalidations for routine releases but do not invalidate the current path, directly enabling urgent cache eviction before natural expiration in this situation.

Incorrect Answers

A:

This approach forwards selected request values to the origin independently of cache variation; forwarding values as part of the cache key would reduce cache hit ratio, which helps with header forwarding without needless cache fragmentation instead of delivering urgent cache eviction before natural expiration.

C:

Although this setting bypasses edge object reuse while retaining CDN HTTPS delivery and origin connectivity, request forwarding alone does not ensure that sensitive response bodies are not cached; this concerns per-request dynamic responses without shared cached state, not the specified urgent cache eviction before natural expiration.

D:

The proposed action controls which request parameters distinguish cached objects at the edge; the origin may receive a parameter without the edge varying the cache entry unless it is in the cache key, supporting correct caching of variant-specific responses but leaving urgent cache eviction before natural expiration unmet.

Question 2

A forensic analyst wants to correlate an unexpected security-group deletion with the exact API caller and assumed role. Which option should the architect select?

  1. Match relevant CloudTrail events with EventBridge and send notifications
  2. Inspect CloudTrail user identity and request details for the delete event
  3. Enable CloudTrail log file integrity validation and protect the archive
  4. Configure an organization trail with central delivery and appropriate event coverage

Explanation

Correct Answer

B:

This configuration identifies the credential context used for the control-plane action; packet mirror traces cannot establish IAM API identity, so it delivers accountable origin of a network policy deletion under the stated constraints.

Incorrect Answers

A:

The proposed action converts control-plane audit events into automated responses; manually reviewing monthly log archives would not meet response-time requirements, supporting prompt detection of forbidden route modifications but leaving accountable origin of a network policy deletion unmet.

C:

This alternative supports detecting tampering with delivered log file digests; encryption at rest alone does not prove the historical log sequence was unchanged, so it addresses integrity-verifiable network audit history rather than the required accountable origin of a network policy deletion.

D:

Although this setting collects management events across included accounts under centralized governance, configuring an individual trail in a single account leaves coverage gaps; this concerns organization-wide configuration change evidence, not the specified accountable origin of a network policy deletion.

Question 3

A Direct Connect interface shows up but all BGP peering sessions remain idle. Which change is the most appropriate?

  1. Review Direct Connect connection capacity and port-hour billing components
  2. Compare VLAN tags, peer addressing, ASN values, and ACLs
  3. Inspect DX gateway associations, allowed prefixes, and relevant VGW/TGW route tables
  4. Check light levels, patching, and the cross-connect against the LOA-CFA

Explanation

Correct Answer

B:

With this choice, the selected action checks the logical and IP-level parameters needed for BGP adjacency; link-state success does not establish that the VIF tags or neighbor addresses match, providing established VIF BGP sessions despite a working physical link for the network described.

Incorrect Answers

A:

Although this setting relates recurring line charges to the dedicated or hosted port allocation, VPC Flow Logs do not provide a breakdown of DX port-hour commitments; this concerns identification of Direct Connect recurring cost drivers, not the specified established VIF BGP sessions despite a working physical link.

C:

This approach traces which prefixes are permitted and installed along the hybrid path; BGP up alone does not prove every destination is advertised or forwarded, which helps with usable private VIF reachability for intended networks instead of delivering established VIF BGP sessions despite a working physical link.

D:

This alternative diagnoses layer-one connectivity before investigating overlay routes; a VPC route cannot bring an optically down interface online, so it addresses physical link establishment at the DX handoff rather than the required established VIF BGP sessions despite a working physical link.

Question 4

A global static website is overwhelmed by repeated edge-reachable object requests from many regions. How should this network requirement be implemented?

  1. Use AWS Shield Standard protections built into eligible AWS infrastructure
  2. Cache eligible responses through CloudFront with suitable protections
  3. Use Shield Advanced event visibility and configured notifications
  4. Use AWS WAF rules alongside Shield DDoS defenses

Explanation

Correct Answer

B:

The approach distributes content delivery across the CDN edge infrastructure; forcing all requests directly to one EC2 origin retains a central bottleneck, directly enabling scalable edge absorption of repeated web requests in this situation.

Incorrect Answers

A:

This alternative supplies baseline protection against common network and transport DDoS events; a custom WAF rule is not a general replacement for underlying network volumetric mitigation, so it addresses default AWS DDoS protection coverage rather than the required scalable edge absorption of repeated web requests.

C:

The proposed action tracks observed DDoS attack events for protected resources; generic application logs alone may not classify infrastructure-level DDoS events, supporting auditable advanced DDoS response monitoring but leaving scalable edge absorption of repeated web requests unmet.

D:

This approach filters application-layer requests based on HTTP properties; pure network-layer shielding cannot express arbitrary header or URI rules, which helps with layer-seven request mitigation in a DDoS defense strategy instead of delivering scalable edge absorption of repeated web requests.

Question 5

A production data center has one AWS Direct Connect connection and must survive its loss using existing firewalls. What should the network specialist configure?

  1. Review BGP preferences and advertisements on both circuits
  2. Review longest-prefix selection before applying BGP preference changes
  3. Simulate primary Direct Connect failure and observe BGP route convergence
  4. Enable and validate VPN ECMP with appropriate dynamic routes on the TGW
  5. Deploy Site-to-Site VPN as a failover path and adjust routing priorities

Explanation

Correct Answer

E:

This configuration retains an alternate IPsec path when the primary private circuit becomes unavailable; both primary and backup must advertise compatible destinations with sensible preference, so it delivers backup hybrid routing over an independent transport under the stated constraints.

Incorrect Answers

A:

This approach determines which valid session's routes are selected and available for backup; additional physical links do not force desired routing distribution, which helps with correct primary-secondary Direct Connect behavior instead of delivering backup hybrid routing over an independent transport.

B:

This alternative recognizes that more-specific routing matches can override broad path preference; comparing AS_PATH for different-length prefixes does not override destination longest-match logic, so it addresses predictable forwarding with mixed BGP prefix lengths rather than the required backup hybrid routing over an independent transport.

C:

Although this setting verifies that the alternate tunnel carries real traffic when the preferred path disappears, an idle VPN status page alone is not evidence of end-to-end recovery; this concerns tested hybrid link failover, not the specified backup hybrid routing over an independent transport.

D:

The proposed action allows eligible equivalent VPN routes to share flows using transit gateway ECMP; ECMP requires compatible dynamic routing and does not make the internet transport deterministic, supporting supported multipath use of VPN tunnels but leaving backup hybrid routing over an independent transport unmet.

Question 6

A performance team sees user complaints after healthy backends move Region; old clients keep contacting previous IPs. Which change is the most appropriate?

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

Explanation

Correct Answer

B:

With this choice, the selected action 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, providing managed DNS cutover convergence for the network described.

Incorrect Answers

A:

The proposed action permits safe edge reuse of static responses for a defined period; caching private personalized responses by extending TTL would be unsafe, supporting fewer unnecessary origin fetches but leaving managed DNS cutover convergence unmet.

C:

This alternative shares equivalent cached responses across more viewer requests; necessary content-variation dimensions must remain in the key to prevent incorrect responses, so it addresses improved CDN cache efficiency rather than the required managed DNS cutover convergence.

D:

Although this setting routes traffic into the AWS backbone through anycast edge addresses, caching with CloudFront is a different optimization for eligible HTTP objects; this concerns global dynamic-traffic ingress optimization, not the specified managed DNS cutover convergence.

Question 7

A cloud engineer wants a static explanation for why source ENI traffic cannot reach a destination ENI given the configured AWS path. What is the most suitable design or configuration?

  1. Use AWS Network Manager network topology and monitoring features
  2. Create a CloudWatch alarm on the relevant Direct Connect metric
  3. Enable the appropriate load balancer access logs
  4. Run VPC Reachability Analyzer between the selected endpoints

Explanation

Correct Answer

D:

With this choice, the selected action reasons over supported network configuration to explain a path or blocking component; it does not generate live probe packets or test application response times, providing configuration-based network path diagnosis for the network described.

Incorrect Answers

A:

Although this setting represents registered global network resources and their relationships, its topology view is not the same as a packet capture; this concerns aggregated WAN and TGW topology awareness, not the specified configuration-based network path diagnosis.

B:

The proposed action evaluates service metrics against alerting conditions; CloudTrail management logs record API events rather than continuous circuit status metrics, supporting automated connectivity-state alarms but leaving configuration-based network path diagnosis unmet.

C:

This approach emits request-level records with load-balancer fields for analysis; a network flow log cannot show HTTP URLs or status codes from the application layer, which helps with detailed application ingress request evidence instead of delivering configuration-based network path diagnosis.

Question 8

A compliance audit requires flow data retained centrally for a year with controlled account access. Which change is the most appropriate?

  1. Turn on VPC Flow Logs at the database ENI and retain ACCEPT/REJECT records
  2. Deliver VPC Flow Logs to a protected central S3 destination with retention controls
  3. Account for Flow Logs exclusions, aggregation intervals, and collection limitations
  4. Use Athena over a suitable Flow Logs dataset and aggregate by IP fields

Explanation

Correct Answer

B:

This configuration archives flow records for long-term cross-account audit; local instance disks are not a reliable organization-wide log store, so it delivers durable governed network activity evidence under the stated constraints.

Incorrect Answers

A:

This alternative records packet-flow metadata and network allow or reject disposition; application database logs will not see packets denied before arrival, so it addresses forensic visibility into database connection attempts rather than the required durable governed network activity evidence.

C:

The proposed action treats absence of flow metadata as incomplete evidence rather than certainty; not all AWS-reserved traffic is recorded like an ordinary ENI flow, supporting defensible interpretation of VPC flow record gaps but leaving durable governed network activity evidence unmet.

D:

This approach supports SQL analysis of archived network records; CloudTrail does not provide per-connection byte counts for data-plane network flows, which helps with historical large-scale flow anomaly investigation instead of delivering durable governed network activity evidence.

Question 9

An enterprise wants to prevent child accounts from disabling required network security logging APIs. Which change is the most appropriate?

  1. Use AWS Firewall Manager policies with appropriate organizational scope
  2. Share supported security and networking resources using AWS RAM under approved principals
  3. Deploy AWS Config rules or conformance packs for the network configuration
  4. Apply an appropriately scoped AWS Organizations service control policy

Explanation

Correct Answer

D:

This configuration establishes organization-level maximum permissions for member accounts; an SCP limits permissions but does not enable a missing logging resource by itself, so it delivers organization-enforced restrictions on disabling controls under the stated constraints.

Incorrect Answers

A:

This approach centrally manages eligible firewall protections for organization resources; creating one web ACL in the management account does not attach it to every account's ALBs, which helps with consistent multi-account WAF deployment governance instead of delivering organization-enforced restrictions on disabling controls.

B:

This alternative distributes use of centrally owned network resources across accounts; RAM sharing is not a universal replacement for IAM resource authorization, so it addresses governed multi-account network resource access rather than the required organization-enforced restrictions on disabling controls.

C:

Although this setting evaluates recorded resource configurations against defined compliance conditions, Config reports compliance rather than inherently blocking a change at the API call; this concerns continuous detection of noncompliant network rule changes, not the specified organization-enforced restrictions on disabling controls.

Question 10

A fleet of small public endpoints needs DNS to return several healthy IP addresses for simple client-side distribution. How should this network requirement be implemented?

  1. Use Route 53 geoproximity routing with bias controls
  2. Configure Route 53 multivalue answer records with associated health checks
  3. Use Route 53 weighted records with relative weights
  4. Use Route 53 geolocation records plus a default location record
  5. Use Route 53 latency-based routing records

Explanation

Correct Answer

B:

The approach returns multiple healthy values for a DNS name within supported multivalue semantics; it is not a connection-aware load balancer and does not proxy requests, directly enabling simple health-aware DNS answer diversity in this situation.

Incorrect Answers

A:

The proposed action chooses destinations according to geographic proximity and optional traffic-shifting bias; latency-routing measurements and proximity maps are different decision inputs, supporting fine-grained proximity-based geographic routing but leaving simple health-aware DNS answer diversity unmet.

C:

This alternative selects an answer in proportion to configured record weights for a shared name and type; cached answers can cause observed request percentages to differ from assigned resolution weights, so it addresses DNS-level canary distribution for a release rather than the required simple health-aware DNS answer diversity.

D:

Although this setting maps resolver geography to country, continent or default responses, this is geographic policy and does not automatically choose the fastest healthy endpoint; this concerns rule-based geographic content steering, not the specified simple health-aware DNS answer diversity.

E:

The proposed action selects regional DNS answers using AWS latency measurements for the origin of the query; it evaluates DNS resolver location and does not provide a fixed anycast application IP, supporting DNS routing toward a lower-latency Region but leaving simple health-aware DNS answer diversity unmet.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests