Question 360

A security architect wants a third-party SaaS app to be reachable without exposing its whole VPC CIDR to the customer's network. Which AWS networking approach meets this constraint?

  1. Place the instances in private subnets without an IGW route and supply only approved endpoints
  2. Use PrivateLink endpoint services instead of full peering
  3. Introduce a routed inspection VPC with Transit Gateway and stateful firewall insertion
  4. Use separate Transit Gateway route tables with selective shared-services propagation
  5. Separate network administrative IAM roles from application deployment IAM roles

Explanation

Correct Answer

B:

With this choice, the selected action narrows private connectivity to specific approved services; peering makes a broader routed network available subject to downstream controls, providing service-only isolation between provider and consumer for the network described.

Incorrect Answers

A:

This alternative avoids direct inbound and outbound public paths through the subnet routing design; a public IP association alone does not override an absent internet gateway route, so it addresses isolated workload network placement rather than the required service-only isolation between provider and consumer.

C:

The proposed action steers inter-VPC traffic through approved inspection before delivery; security groups on each workload do not provide central packet inspection visibility, supporting enforced cross-VPC inspection and segmentation but leaving service-only isolation between provider and consumer unmet.

D:

This approach limits transitive reachability according to the entering attachment's routing domain; all-spoke propagation into one table would expose paths not needed by developers, which helps with environment-isolated shared-network transit instead of delivering service-only isolation between provider and consumer.

E:

This alternative constrains control-plane authority over shared network resources; subnet participation does not imply permission to rewrite central routes, so it addresses least-privilege tenant administration in shared networks rather than the required service-only isolation between provider and consumer.

Question 361

A microservice architecture in private subnets treats intra-VPC packets as sufficiently secure and omits application encryption. What is the best next configuration decision?

  1. Validate certificate chain and requested hostname in the TLS client
  2. Deploy a managed certificate distribution and renewal workflow to the EC2 web server
  3. Require the database engine's supported TLS connection option and client verification
  4. Implement service-to-service TLS or mTLS according to the threat model

Explanation

Correct Answer

D:

With this choice, the selected action protects application payloads independently of private route placement; a private IP path does not by itself satisfy an explicit in-transit encryption requirement, providing confidentiality within private east-west service traffic for the network described.

Incorrect Answers

A:

This approach prevents accepting an encrypted connection to an impersonating server; encryption without peer identity validation remains vulnerable to man-in-the-middle attacks, which helps with authenticated outbound HTTPS service communication instead of delivering confidentiality within private east-west service traffic.

B:

This alternative installs renewed certificates in the software that actually terminates TLS; attaching an ACM certificate to an unrelated ALB does not update Nginx on the instance, so it addresses maintained TLS identity on customer-managed application servers rather than the required confidentiality within private east-west service traffic.

C:

Although this setting protects client-to-database data in transit using the service's TLS protocol, encrypted EBS volumes do not encrypt network packets in flight; this concerns encrypted managed-database application connections, not the specified confidentiality within private east-west service traffic.

Question 362

A packet-capture team must inspect individual TCP SYN retransmissions and packet payloads from an EC2 application ENI. VPC Flow Logs are already enabled but only show summarized records. What additional capture method fits the requirement?

  1. Change the VPC Flow Logs format to include every supported custom metadata field
  2. Configure VPC Traffic Mirroring from the supported ENI to an approved packet-analysis target using a suitable traffic mirror filter
  3. Enable CloudTrail data events for the instance to obtain the retransmitted packet bodies
  4. Enable Route 53 Resolver DNS query logs on the VPC

Explanation

Correct Answer

B:

VPC Traffic Mirroring copies selected packets from supported ENIs to an inspection target, providing headers and payload content subject to capture and truncation settings. Flow Logs alone cannot reconstruct individual retransmitted packets.

Incorrect Answers

A:

Custom Flow Logs fields can enrich metadata, including packet address or rejection information, but still do not contain complete Ethernet frames or TCP payload bytes for inspection.

C:

CloudTrail records AWS API activity and selected data-plane service operations, not a full packet capture from an EC2 network interface. It cannot reconstruct the requested TCP sequence.

D:

DNS query logs show name lookup details, not traffic exchanged on an existing TCP connection. They do not expose TCP SYN flags, retransmissions or application payloads.

Question 363

A private application needs confidentiality of DNS queries to a trusted resolver across an untrusted network. What is the best next configuration decision?

  1. Use an appropriately supported encrypted DNS transport such as DNS-over-TLS or DNS-over-HTTPS in the client-resolver design
  2. Enable DNSSEC validation while retaining unencrypted UDP or TCP DNS queries
  3. Apply DNSSEC where supported on public authoritative zones and assess private resolver trust separately
  4. Enable Route 53 public hosted-zone DNSSEC signing and create the parent chain of trust

Explanation

Correct Answer

A:

This configuration encrypts DNS transport between compatible participating endpoints; DNSSEC validation by itself cannot hide DNS names from observers, so it delivers private DNS query content in transit under the stated constraints.

Incorrect Answers

B:

The proposed action verifies signed DNS data when the chain of trust is valid but sends client resolver queries in cleartext; DNSSEC does not encrypt transport and cannot conceal queried hostnames, supporting DNS data integrity without query confidentiality but leaving private DNS query content in transit unmet.

C:

This approach respects differences between private DNS scope and public authoritative signing; assuming identical DNSSEC hosting features for all private zones can produce an unsupported configuration, which helps with correctly scoped DNS integrity controls instead of delivering private DNS query content in transit.

D:

This alternative authenticates the origin and integrity of supported DNS records for validating resolvers; DNSSEC signs data but does not encrypt the DNS question or response contents, so it addresses DNSSEC-authenticated public DNS answers rather than the required private DNS query content in transit.

Question 364

A security architecture needs transparent horizontal scaling of third-party packet-inspection appliances across many workload VPCs. Which change is the most appropriate?

  1. Use Gateway Load Balancer with compatible virtual appliances
  2. Review GWLB flow stickiness and appliance affinity behavior
  3. Publish a GWLB-backed endpoint service and deploy Gateway Load Balancer endpoints in consumer VPCs
  4. Configure GWLB target group health checks against the appliances

Explanation

Correct Answer

A:

With this choice, the selected action distributes GENEVE-encapsulated traffic to inline security appliances; workload routes must direct flows through Gateway Load Balancer endpoints, providing transparent appliance service insertion for the network described.

Incorrect Answers

B:

Although this setting keeps matching traffic flows directed consistently to appliance targets, appliance fleets also need appropriate symmetric VPC routing to see both directions; this concerns stateful inspection flow continuity, not the specified transparent appliance service insertion.

C:

The proposed action exposes transparent appliance traffic steering through the service and its consumer endpoints; interface endpoints for ordinary PrivateLink services do not provide the same GWLB traffic insertion model, supporting private consumption of centralized inline inspection but leaving transparent appliance service insertion unmet.

D:

This approach removes failing appliance targets from the GWLB distribution pool; health checks cannot repair misconfigured workload route tables that bypass the endpoint, which helps with automatic exclusion of faulty inspection instances instead of delivering transparent appliance service insertion.

Question 365

An EFA workload has good CPU but unexpectedly poor message passing between nodes in different placements. Which action provides the required behavior?

  1. Check EFA supported instance, placement group and network prerequisites
  2. Investigate path MTU and adjust MSS clamping or packet size appropriately
  3. Check end-to-end VLAN, router, and host MTU compatibility
  4. Investigate packet loss, MTU, congestion, and host transport behavior
  5. Permit the relevant path MTU discovery ICMP feedback

Explanation

Correct Answer

A:

The approach validates low-latency ENA/EFA transport assumptions for clustered HPC; ordinary internet-facing ALB routing is not the EFA data path, directly enabling correct placement for low-latency inter-node traffic in this situation.

Incorrect Answers

B:

This alternative limits TCP segment sizes to fit encapsulated network paths; increasing BGP timers will not repair fragmentation-related black holes, so it addresses avoidance of oversized packets across IPsec tunnels rather than the required correct placement for low-latency inter-node traffic.

C:

Although this setting verifies every device on the traffic path can process the selected frame size, enabling jumbo MTU on only one interface can create size mismatches; this concerns valid large-frame transport across the hybrid link, not the specified correct placement for low-latency inter-node traffic.

D:

The proposed action distinguishes allowed traffic from reliable end-to-end transport delivery; flow-log ACCEPT does not guarantee successful application-level transmission, supporting cause of retransmissions in an apparently allowed flow but leaving correct placement for low-latency inter-node traffic unmet.

E:

This approach allows endpoints to learn a workable packet size along the route; blindly enabling jumbo frames on EC2 will not make every intervening hop support them, which helps with functioning PMTUD for end-to-end TCP traffic instead of delivering correct placement for low-latency inter-node traffic.

Question 366

Route 53 Resolver outbound endpoints have been deployed in two Availability Zones, but a rule that forwards corp.internal to on-premises DNS has only been created and not associated with any workload VPC. What is the missing activation step?

  1. Associate the Resolver forwarding rule with each intended workload VPC and verify network reachability to the DNS targets
  2. Add a public hosted zone for corp.internal so every EC2 instance queries internet resolvers
  3. Configure a DNS64-only route to the NAT gateway for all IPv4 DNS servers
  4. Turn on Route 53 geolocation routing for corp.internal

Explanation

Correct Answer

A:

Forwarding rules affect the resolver path of VPCs with which they are associated. Merely creating an outbound endpoint and a rule does not cause an unrelated workload VPC to forward its queries to that endpoint.

Incorrect Answers

B:

A public hosted zone exposes records through public authoritative DNS and does not automatically associate the intended Resolver forwarding rule with private VPC resolvers.

C:

DNS64/NAT64 is an IPv6-to-IPv4 access pattern and does not associate Resolver rules with VPCs. It cannot activate a dormant private DNS forwarding configuration.

D:

Geolocation routing selects DNS answers from authoritative record sets; it does not select the Resolver outbound endpoint for queries from workload VPCs.

Question 367

An organization runs a regional ALB and a separate global CloudFront distribution, both with custom HTTPS hostnames managed through ACM. Which certificate configurations are appropriate? Choose TWO.

  1. Configure ALB mutual TLS with an appropriate trust store
  2. Rely on imported third-party certificates in ACM to renew automatically without a replacement process
  3. Use TLS for application connections with suitable certificate validation
  4. Request and attach an AWS Certificate Manager public certificate to the HTTPS listener
  5. Use an eligible ACM certificate in us-east-1 for the CloudFront viewer TLS configuration

Explanation

Correct Answers

D:

This component manages supported public certificates for integrated TLS termination; backend services may still need their own TLS settings if end-to-end encryption is required, contributing managed server identity for ALB client TLS to the combined requirement for managed server identity for ALB client TLS and valid CDN viewer certificate configuration.

E:

This component meets CloudFront's certificate-region requirement for custom HTTPS domain names; an otherwise valid certificate in another Region may not be selectable for this distribution, contributing valid CDN viewer certificate configuration to the combined requirement for managed server identity for ALB client TLS and valid CDN viewer certificate configuration.

Incorrect Answers

A:

Although this setting authenticates client certificate chains in addition to server-side TLS, a standard HTTPS listener without mTLS does not check a client's certificate identity; this concerns authenticated two-way TLS at application ingress, not the specified managed server identity for ALB client TLS and valid CDN viewer certificate configuration.

B:

The proposed action stores imported third-party certificates for supported service integrations but does not issue or renew them; ACM-managed renewal applies to eligible ACM-issued certificates, not imported certificate material, supporting separately managed imported certificate lifecycle but leaving managed server identity for ALB client TLS and valid CDN viewer certificate configuration unmet.

C:

This approach establishes end-to-end encrypted sessions between communicating application peers; plain TCP or GRE does not provide the required encryption semantics, which helps with confidentiality and server authentication across untrusted networks instead of delivering managed server identity for ALB client TLS and valid CDN viewer certificate configuration.

Question 368

A security vendor's stateful EC2 appliances must scale automatically while inspecting traffic from numerous customer VPCs. What should the network specialist configure?

  1. Correct the appliance health-check response and target-group settings
  2. Place compatible appliances behind Gateway Load Balancer and scale their target fleet
  3. Configure compatible GWLB flow stickiness and symmetric routing
  4. Enable TGW appliance mode for the firewall attachment

Explanation

Correct Answer

B:

This configuration distributes encapsulated packets to healthy inline inspection instances; an HTTP ALB would proxy application requests rather than transparently steer packets, so it delivers elastic third-party firewall processing under the stated constraints.

Incorrect Answers

A:

This alternative determines whether GWLB continues forwarding to an inspection target; merely scaling instance count will not fix health checks pointing to the wrong port, so it addresses healthy-appliance registration for transparent inspection rather than the required elastic third-party firewall processing.

C:

The proposed action maintains consistent flow-to-appliance steering under the selected stickiness setting; different appliances cannot reliably share unreplicated per-flow state, supporting correct stateful session inspection across the appliance fleet but leaving elastic third-party firewall processing unmet.

D:

This approach preserves compatible AZ selection for a flow passing through an inspection VPC; GWLB appliance health awareness does not automatically configure TGW AZ affinity, which helps with zone-consistent stateful traffic processing instead of delivering elastic third-party firewall processing.

Question 369

The compliance team must keep S3 traffic private without using NAT for access from a VPC. What should the network specialist configure?

  1. Place a NAT gateway in a public subnet and point worker routes to it
  2. Create an S3 gateway endpoint and associate the required VPC route tables
  3. Create the required interface VPC endpoints with private DNS enabled where supported
  4. Add an IPv4 default route to an attached internet gateway in the public subnet

Explanation

Correct Answer

B:

With this choice, the selected action adds a private route target for supported S3 prefixes; the bucket and endpoint policies still govern authorization, providing private S3 access without an internet NAT path for the network described.

Incorrect Answers

A:

This approach performs outbound IPv4 source translation for private subnets; NAT availability and AZ placement should be accounted for in production, which helps with private-instance outbound internet connectivity instead of delivering private S3 access without an internet NAT path.

C:

Although this setting provides private endpoint ENIs for selected AWS APIs, required endpoints depend on the actual SSM features and network arrangement; this concerns private service API access from a VPC, not the specified private S3 access without an internet NAT path.

D:

The proposed action provides the gateway next hop for public internet routes; public addressing and security rules are also required for the connection to succeed, supporting internet reachability for public-addressed EC2 instances but leaving private S3 access without an internet NAT path unmet.

Question 370

A data center has two valid BGP paths, but the engineer wants the customer router to use one for outgoing traffic. Which solution best addresses these network requirements?

  1. Change the router's local preference for routes learned on the preferred path
  2. Withdraw the old prefix and advertise the new address block from the customer router
  3. Inspect BGP prefix specificity and AWS route selection preferences before changing AS_PATH
  4. Compare BGP hold timers, device restarts, and control-plane reachability
  5. Compare route filters and permitted prefix advertisements on each BGP peer

Explanation

Correct Answer

A:

With this choice, the selected action influences customer-side egress BGP selection; AWS-side inbound choices are not generally controlled by customer local preference, providing intentional outbound hybrid path preference for the network described.

Incorrect Answers

B:

This approach updates the dynamic routing control plane to match address ownership; obsolete announcements can create traffic black holes after a migration, which helps with correct routes after on-premises renumbering instead of delivering intentional outbound hybrid path preference.

C:

This alternative evaluates longest-prefix matches and platform path priorities as part of route choice; a shorter AS_PATH does not override all route-selection rules, so it addresses explaining unexpected preferred hybrid routes rather than the required intentional outbound hybrid path preference.

D:

Although this setting diagnoses session stability independently of physical interface counters, a clean optical link does not prove routing control-plane stability; this concerns root cause of intermittent BGP adjacency loss, not the specified intentional outbound hybrid path preference.

E:

The proposed action identifies asymmetric route learning or advertisement policy; a healthy BGP session may advertise only a subset of the needed networks, supporting consistent hybrid reachability over redundant peers but leaving intentional outbound hybrid path preference unmet.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests