Question 940

A private subnet's network ACL allows inbound HTTPS on 443, yet HTTPS sessions fail after TCP establishment because responses to client ephemeral ports are blocked. Which observation is most diagnostic?

  1. Create AWS Config rules for the intended network ACL compliance policy and automate response where supported
  2. Evaluate the security group rules against new flows while accounting for connection tracking
  3. Inspect security-group and network ACL rules along with the destination routing path
  4. Inspect the outbound NACL rules for return packets to ephemeral destination ports

Explanation

Correct Answer

D:

Network ACLs are stateless, so permitting an inbound destination port does not automatically permit the corresponding outbound return packet to a client-chosen port.

Incorrect Answers

A:

AWS Config records resource configuration and can evaluate it against guardrails; a workflow can then notify or trigger controlled remediation; the operational gap would remain because the question requires a way to identify the NACL return-port gap.

B:

Security groups are stateful, but replacing the rules does not grant indefinite access for new flows; connection tracking and subsequent connection establishment follow allowed traffic and rule state; it is not the action that directly makes the system identify the NACL return-port gap.

C:

Flow Logs classify traffic as accepted or rejected at the interface-level logging view; they do not directly name the exact security-group or NACL rule responsible; that still would not establish the requested outcome: identify the NACL return-port gap.

Question 941

An organization needs to find which CloudTrail event changed an internet gateway attachment before a regional outage. VPC Flow Logs show only network-flow records. What should the investigator query?

  1. Use restrictive cross-account S3 bucket permissions, retention policy, and S3 Object Lock where required
  2. Use narrowly scoped IAM deployment roles and trace provisioning changes in AWS CloudTrail
  3. Run VPC Reachability Analyzer between the source and destination path endpoints
  4. Search CloudTrail management events for the relevant EC2 gateway-attachment API call

Explanation

Correct Answer

D:

CloudTrail records management-plane API actions such as attachment changes, including caller and timestamp; flow logs cannot identify the actor who modified the control plane.

Incorrect Answers

A:

Immutable retention and controlled write-only delivery reduce the ability of a compromised source account to alter existing logs after ingestion into a governed archive; it is not the action that directly makes the system attribute a gateway configuration change to an API event.

B:

IAM roles constrain which networking APIs automation can call, and CloudTrail supplies audit events for changes; storing broad permanent access keys in pipeline code weakens control; that still would not establish the requested outcome: attribute a gateway configuration change to an API event.

C:

Reachability Analyzer models routing and security configuration to identify a blocking component; it is not a live probe that demonstrates application process health; the scenario instead needs an action that will attribute a gateway configuration change to an API event.

Question 942

A VPC deploys one NAT gateway in AZ A and workloads in AZ B route all egress through it. What change improves failure isolation and can reduce inter-AZ transport charges?

  1. Clamp TCP MSS to a value compatible with the smallest encapsulated path MTU
  2. Reuse application TCP connections or distribute destination tuples and NAT source addresses where feasible
  3. Inspect NAT gateway connection and port-allocation metrics for the specific destination tuple
  4. Deploy NAT gateways per active AZ and use same-AZ subnet routes

Explanation

Correct Answer

D:

Matching each workload AZ to a local NAT gateway avoids forcing routine egress through another AZ and removes one AZ's gateway as a shared dependency, though gateway hourly costs increase.

Incorrect Answers

A:

A successful handshake uses small packets; oversized encrypted data packets may be fragmented or dropped, so an appropriately sized MSS avoids black-hole behavior along the limiting hop; that still would not establish the requested outcome: eliminate routine cross-AZ NAT transit.

B:

Reducing churn and spreading simultaneous destination flows can mitigate per-tuple ephemeral-port pressure; simply adding unrelated DNS records does not create more NAT port capacity; the scenario instead needs an action that will eliminate routine cross-AZ NAT transit.

C:

Source port allocation is finite for each NAT gateway address and destination tuple; connection errors under concentrated load can occur before ordinary bandwidth limits are reached; those conditions do not produce the required result: eliminate routine cross-AZ NAT transit.

Question 943

A data-lake workload sends high-volume requests to S3 through a NAT gateway despite having no need for public internet access to S3. Which optimization is most direct?

  1. Create an S3 gateway endpoint and associate the data subnet route tables
  2. Create its own supported S3 gateway endpoint and associate the appropriate route tables
  3. Add a DynamoDB gateway endpoint to the application subnet route tables
  4. Set the S3 gateway VPC endpoint policy to limit allowed bucket actions and resources

Explanation

Correct Answer

A:

S3 gateway endpoints route supported S3 traffic privately without NAT processing charges and avoid sending those requests through the NAT gateway path.

Incorrect Answers

B:

Gateway endpoints are VPC-scoped routing targets and cannot be transited across peering; each participating VPC needs an eligible local endpoint or an alternate supported access pattern; those conditions do not produce the required result: avoid NAT processing for S3 traffic.

C:

A gateway endpoint supports private DynamoDB routing without NAT gateway traversal for eligible VPC workloads; it does not grant IAM access by itself; it changes a different aspect of the architecture rather than fulfilling the need to avoid NAT processing for S3 traffic.

D:

Endpoint policies control what AWS service calls can be made through that endpoint; bucket and IAM policies remain independent layers that must also permit the operation; the operational gap would remain because the question requires a way to avoid NAT processing for S3 traffic.

Question 944

An analyst sees SKIPDATA in the log-status field of VPC Flow Logs for an ENI during a high-volume incident. What conclusion is supported by this value?

  1. The ENI was idle for the aggregation interval, so all flow records can be treated as complete
  2. Some flow records were skipped during collection, so the captured log is not a complete accounting for that interval
  3. The destination security group denied every packet and logged it as SKIPDATA
  4. The log status is a synonym for accepted traffic on a NAT gateway

Explanation

Correct Answer

B:

SKIPDATA means AWS could not capture some records, for example due to an internal capacity constraint or error. Investigators must not treat the interval as exhaustive packet evidence.

Incorrect Answers

A:

NODATA denotes an interval with no observed traffic; SKIPDATA describes collection omissions and does not justify assuming zero flows.

C:

Security-group or ACL rejections appear through the action field when recorded; they are not what the separate SKIPDATA collection-status code means.

D:

A NAT gateway is a network component, but SKIPDATA is a flow-log record completeness signal rather than an allow/deny action or NAT-specific state.

Question 945

A data pipeline makes millions of tiny cross-Region requests and generates unexpected transfer charges. Which architecture change attacks the main network cost driver?

  1. Move frequently interacting components into the same Region or reduce cross-Region data exchange
  2. Examine the Terraform plan before applying the approved change
  3. Model explicit creation dependencies and confirm the share invitation and attachment acceptance stages before routing changes
  4. Run CloudFormation drift detection on supported network stack resources

Explanation

Correct Answer

A:

Cross-Region transfer charges reflect actual traffic crossing regional boundaries; optimizing service placement and data exchange reduces the bill more reliably than changing DNS TTLs.

Incorrect Answers

B:

The plan previews proposed changes against configured resources and state, enabling reviewers to catch unintended network deletion or route replacement before execution; the operational gap would remain because the question requires a way to reduce repeated cross-Region bytes transferred.

C:

Cross-account network provisioning has control-plane prerequisites; route entries should be introduced only after the shared resource and its attachment are actually established; it is not the action that directly makes the system reduce repeated cross-Region bytes transferred.

D:

Drift detection compares live supported resource properties with the stack's expected template configuration, identifying unmanaged changes that standard deployments might otherwise overlook; that still would not establish the requested outcome: reduce repeated cross-Region bytes transferred.

Question 946

An application VPC has three interface VPC endpoints for the same regional AWS API, but each workload subnet sends all endpoint traffic to an endpoint ENI in a different AZ. What should be optimized while retaining AZ fault tolerance?

  1. Create an S3 gateway endpoint and associate the data subnet route tables
  2. Enable private DNS where supported and place endpoint ENIs in the active workload Availability Zones
  3. Compare endpoint hourly and data-processing charges against actual traffic, AZ placement, and alternatives
  4. Add a DynamoDB gateway endpoint to the application subnet route tables

Explanation

Correct Answer

B:

Local AZ endpoints can reduce cross-AZ dependency for eligible callers while private DNS preserves normal service-hostname resolution; confirm the endpoint configuration and actual DNS resolution path.

Incorrect Answers

A:

S3 gateway endpoints route supported S3 traffic privately without NAT processing charges and avoid sending those requests through the NAT gateway path; the operational gap would remain because the question requires a way to use local-AZ interface endpoints efficiently.

C:

Interface endpoint costs depend on deployed endpoint-AZ hours and data processed; low-volume services may not justify duplicating each endpoint everywhere, subject to resilience constraints; that still would not establish the requested outcome: use local-AZ interface endpoints efficiently.

D:

A gateway endpoint supports private DynamoDB routing without NAT gateway traversal for eligible VPC workloads; it does not grant IAM access by itself; the scenario instead needs an action that will use local-AZ interface endpoints efficiently.

Question 947

A VPC's DynamoDB traffic currently passes through NAT gateways, incurring processing charges even though clients use standard AWS SDK endpoints. Which VPC-native optimization is relevant?

  1. Create an S3 gateway endpoint and associate the data subnet route tables
  2. Compare endpoint hourly and data-processing charges against actual traffic, AZ placement, and alternatives
  3. Create its own supported S3 gateway endpoint and associate the appropriate route tables
  4. Add a DynamoDB gateway endpoint to the application subnet route tables

Explanation

Correct Answer

D:

A gateway endpoint supports private DynamoDB routing without NAT gateway traversal for eligible VPC workloads; it does not grant IAM access by itself.

Incorrect Answers

A:

S3 gateway endpoints route supported S3 traffic privately without NAT processing charges and avoid sending those requests through the NAT gateway path; it is not the action that directly makes the system stop routing DynamoDB calls through NAT.

B:

Interface endpoint costs depend on deployed endpoint-AZ hours and data processed; low-volume services may not justify duplicating each endpoint everywhere, subject to resilience constraints; that still would not establish the requested outcome: stop routing DynamoDB calls through NAT.

C:

Gateway endpoints are VPC-scoped routing targets and cannot be transited across peering; each participating VPC needs an eligible local endpoint or an alternate supported access pattern; the scenario instead needs an action that will stop routing DynamoDB calls through NAT.

Question 948

A high-volume service uses two Direct Connect physical circuits with spare capacity and wants aggregate throughput across both under a shared L2 group. Which setup is appropriate where link eligibility permits?

  1. Set the LAG minimum link count to the required number of healthy members
  2. Combine eligible same-speed Direct Connect dedicated links into a link aggregation group
  3. Configure MACsec on a supported Direct Connect dedicated connection and compatible customer hardware
  4. Use transit VIFs, a Direct Connect gateway, and associated Transit Gateways

Explanation

Correct Answer

B:

LAG combines supported same-speed physical connections under one logical construct; individual BGP flow hashing and circuit health still affect realized traffic distribution.

Incorrect Answers

A:

The minimum-links setting makes the aggregated connection unavailable when fewer than the configured number of physical links remain, preventing operation below the chosen physical redundancy threshold; that still would not establish the requested outcome: aggregate supported DX port capacity.

C:

MACsec protects Ethernet frames on eligible Direct Connect physical links, subject to connection speed, location, and equipment support; it does not replace application-layer encryption throughout the AWS service path; those conditions do not produce the required result: aggregate supported DX port capacity.

D:

A Direct Connect gateway can connect eligible transit virtual interfaces to TGWs across supported Regions, avoiding a separate VIF per individual VPC; it changes a different aspect of the architecture rather than fulfilling the need to aggregate supported DX port capacity.

Question 949

An HTTP API returns highly cacheable objects but still exposes the origin to high global request volume because a cache policy forwards changing authorization-independent headers as keys. Which tuning has the best leverage?

  1. Remove irrelevant request dimensions from the CloudFront cache key and test object correctness
  2. Monitor CloudFront cache statistics and origin error metrics in separate CloudWatch dashboards
  3. Forward the Authorization header through an origin request policy on the noncached behavior
  4. The cache key includes unnecessary query strings, fragmenting otherwise reusable objects

Explanation

Correct Answer

A:

Smaller cache-key cardinality improves reuse of an unchanged representation; security-sensitive or response-varying fields must remain properly isolated to avoid mixing distinct content.

Incorrect Answers

B:

Edge hit rates describe cache behavior, whereas origin errors diagnose backend responses; combining them as one success percentage obscures different failure causes; those conditions do not produce the required result: improve cache hit ratio by reducing key cardinality.

C:

Origin request policies govern what reaches the origin independently of the cache policy; a behavior intended for protected requests must still avoid unsafe shared caching of authorized responses; it changes a different aspect of the architecture rather than fulfilling the need to improve cache hit ratio by reducing key cardinality.

D:

If irrelevant tracking parameters form separate cache keys, edge caches store many variants even when origin content is identical, reducing cache-hit ratio; the operational gap would remain because the question requires a way to improve cache hit ratio by reducing key cardinality.

Question 950

A public service uses an ALB behind Global Accelerator. A regional endpoint's application health is degraded but its data-plane listener is still open. Which configuration improves traffic steering accuracy?

  1. Configure the target group's deregistration delay
  2. Attach multiple compatible certificates to the ALB listener's certificate list for SNI selection
  3. Select a supported ALB listener security policy that excludes disallowed legacy TLS protocols
  4. Ensure endpoint health checks reflect the application's readiness rather than mere port reachability

Explanation

Correct Answer

D:

Health-based routing is only as meaningful as the endpoint health signal; a basic open TCP listener can remain available while application dependencies fail.

Incorrect Answers

A:

The deregistration delay sets how long a deregistering target can continue draining existing requests before being fully removed from service; those conditions do not produce the required result: fail away from functionally unhealthy regions.

B:

Server Name Indication lets the load balancer choose the appropriate configured certificate for the requested hostname without requiring one public IP per certificate; it changes a different aspect of the architecture rather than fulfilling the need to fail away from functionally unhealthy regions.

C:

ALB security policies govern the protocols and ciphers accepted by its TLS listener; rotating the certificate alone does not disable old protocol versions; the operational gap would remain because the question requires a way to fail away from functionally unhealthy regions.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests