Question 160
Traffic from application VPCs must traverse a central stateful firewall VPC attached to TGW before reaching shared services. Which option should the architect select?
- Deploy AWS Network Firewall endpoints and steer subnet routes through them
- Turn on TGW appliance mode on the inspection VPC attachment
- Correct the return route so both sides use the same stateful inspection chain
- Insert the inspection attachment into TGW route tables and return subnet routes
- Deploy Gateway Load Balancer and endpoint service routing
Explanation
Correct Answer
D:With this choice, the selected action makes the central appliance a required hop for both directions of permitted flows; an attached firewall without appropriate transit route steering sees no packets, providing routed inline inspection between spokes for the network described.
Incorrect Answers
A:This alternative inspects stateful traffic according to configured rule groups; endpoint deployment alone does not redirect workload routing, so it addresses managed policy-based network filtering at a central hop rather than the required routed inline inspection between spokes.
B:Although this setting maintains flow-consistent AZ selection for the inspection path, security-group changes do not fix reverse-flow placement within a stateful fleet; this concerns stateful firewall session symmetry across AZs, not the specified routed inline inspection between spokes.
C:The proposed action ensures state tracking sees both directions of the session; policy correctness alone cannot repair asymmetric data-plane forwarding, supporting symmetric routed firewall traversal but leaving routed inline inspection between spokes unmet.
E:This alternative supplies GENEVE-based traffic distribution to supported appliances; a conventional NLB does not implement the same service-insertion endpoint path, so it addresses scaled transparent inspection with third-party devices rather than the required routed inline inspection between spokes.
Question 161
A transit VPC receives customer prefixes over BGP yet its application subnet forwards replies to a NAT gateway. Which action directly resolves the stated problem?
- Change the workload subnet route to send the customer CIDRs to the transit gateway
- Add the correct static routes to the Site-to-Site VPN configuration and associated route tables
- Add or propagate a route for 172.20.0.0/16 to the virtual private gateway
- Remove or filter the obsolete BGP announcement on the customer router
Explanation
Correct Answer
A:The approach makes return packets follow the intended private hybrid route; NAT internet egress cannot substitute for a routable customer network attachment, directly enabling correct workload-side return path to on premises in this situation.
Incorrect Answers
B:This alternative lists reachability explicitly when dynamic routing is not used; dynamic BGP route learning would require a compatible customer gateway and VPN configuration, so it addresses static hybrid prefix coverage rather than the required correct workload-side return path to on premises.
C:Although this setting directs VPC traffic for the customer network toward the hybrid termination, VPN negotiation success by itself does not update every VPC subnet route table; this concerns outbound VPC routing toward the customer CIDR, not the specified correct workload-side return path to on premises.
D:The proposed action prevents AWS from learning a route to a nonexistent destination; VPC security groups do not delete advertisements from the external routing control plane, supporting withdrawal of invalid customer routes but leaving correct workload-side return path to on premises unmet.
Question 162
A rapidly growing VPC has free private address space outside the original CIDR but no network block associated with it. Which option should the architect select?
- Add a compatible secondary VPC IPv4 CIDR and create new subnets
- Use Amazon VPC IP Address Manager pools and allocations
- Add enough subnet IP capacity in each failover AZ
- Allocate additional appropriately routed subnets with sufficient free IP addresses
Explanation
Correct Answer
A:This configuration expands IP ranges available to the same VPC; existing subnet CIDRs cannot be resized in place by simply associating new space, so it delivers growth without immediate full VPC replacement under the stated constraints.
Incorrect Answers
B:This approach tracks and governs CIDR space across VPCs and accounts; ad hoc spreadsheet assignments alone do not enforce allocations through AWS provisioning, which helps with controlled organization-scale address allocation instead of delivering growth without immediate full VPC replacement.
C:This alternative reserves launch and endpoint addresses for zonal recovery events; aggregate VPC-wide free addresses are not enough if the target AZ subnet is depleted, so it addresses survivable scale-out during AZ failure rather than the required growth without immediate full VPC replacement.
D:Although this setting expands available VPC subnet address capacity for new task ENIs, raising the task count cannot allocate addresses from an exhausted subnet; this concerns IP headroom for container autoscaling, not the specified growth without immediate full VPC replacement.
Question 163
A site operator wants automatic failover DNS when a primary HTTPS endpoint returns error content. What is the most suitable design or configuration?
- Configure a Route 53 health check with content matching and failover routing
- Add a default record for the geolocation record set
- Associate a Resolver query log configuration with that VPC
- Set a domain-specific Resolver forwarding rule rather than broad catch-all forwarding
Explanation
Correct Answer
A:With this choice, the selected action uses observed application health to decide whether primary DNS responses should be served; ordinary weighted routing is not inherently primary-secondary failover, providing endpoint-aware authoritative DNS failover for the network described.
Incorrect Answers
B:The proposed action supplies an answer for unmatched geographic source queries; unmatched locations can otherwise have no suitable geolocation record answer, supporting reliable geo-based DNS response completion but leaving endpoint-aware authoritative DNS failover unmet.
C:This approach records supported VPC resolver queries for subsequent analysis; Route 53 public hosted-zone logs only show authoritative DNS queries that reach that zone, which helps with VPC-originated DNS query audit records instead of delivering endpoint-aware authoritative DNS failover.
D:This alternative dispatches only matching DNS names to designated remote resolver targets; forwarding the root domain may unnecessarily route unrelated internet lookups to corporate servers, so it addresses selective hybrid DNS forwarding scope rather than the required endpoint-aware authoritative DNS failover.
Question 164
A customer will use one Direct Connect connection to reach private IPs in its VPC and public AWS service endpoints over the dedicated path. Which VIF types are needed? Choose TWO.
- Create a Direct Connect private VIF to the target virtual private gateway
- Establish a Direct Connect public VIF with appropriate public routing
- Obtain a supported hosted Direct Connect connection from an AWS partner
- Associate multiple supported VGWs with a Direct Connect gateway
- Use a transit VIF to a Direct Connect gateway associated with the Transit Gateway
Explanation
Correct Answers
A:This component exchanges private routing for VPC connectivity over Direct Connect; a public VIF is aimed at public AWS service prefixes instead, contributing private VPC routing on a dedicated connection to the combined requirement for private VPC routing on a dedicated connection and dedicated-path access to AWS public IP services.
B:This component reaches AWS public service endpoints using public-address BGP advertisements; a private VIF provides private VPC reachability, not general public endpoint access, contributing dedicated-path access to AWS public IP services to the combined requirement for private VPC routing on a dedicated connection and dedicated-path access to AWS public IP services.
Incorrect Answers
C:The proposed action uses a partner-provisioned link instead of an independently installed cross-connect; the provider's port capacity and provisioning terms still determine the connection characteristics, supporting partner-assisted private hybrid connectivity but leaving private VPC routing on a dedicated connection and dedicated-path access to AWS public IP services unmet.
D:This approach enables private VIF reachability to multiple associated virtual private gateways; a DX gateway distributes routing information rather than serving as a general internet router, which helps with cross-Region private gateway access through DX instead of delivering private VPC routing on a dedicated connection and dedicated-path access to AWS public IP services.
E:This alternative supplies BGP routing into the transit gateway architecture through a DX gateway; private VIFs attached per-VGW would add repeated VPC-specific connectivity management, so it addresses private connectivity to multiple TGW-attached VPCs rather than the required private VPC routing on a dedicated connection and dedicated-path access to AWS public IP services.
Question 165
A company requires isolated DNS answers for the same name across development and production VPCs. What should the network specialist configure?
- Associate the workload VPC with the appropriate private hosted zone
- Authorize the VPC association from the zone account and associate it from the VPC account
- Apply resource-scope IAM and governance controls to hosted-zone management
- Share the appropriate Resolver rule via RAM and associate the recipient VPCs
- Create separate private hosted zones and scope their VPC associations
Explanation
Correct Answer
E:With this choice, the selected action selects different private record sets depending on the VPC resolver context; one shared global private zone would give the same records to all associated VPCs, providing environment-specific split-private DNS answers for the network described.
Incorrect Answers
A:This approach extends the private authoritative namespace to the new VPC resolver; TGW connectivity between VPCs does not imply shared hosted-zone resolution, which helps with private record visibility for the workload account instead of delivering environment-specific split-private DNS answers.
B:This alternative completes the cross-account private hosted-zone association procedure; an IAM permission alone does not attach the zone to the receiving resolver context, so it addresses private-zone access across account ownership boundaries rather than the required environment-specific split-private DNS answers.
C:Although this setting regulates who can change private DNS record sets, VPC association grants resolution, not the authority to edit records; this concerns restricted administrative changes to private DNS, not the specified environment-specific split-private DNS answers.
D:The proposed action distributes conditional forwarding policy across accounts; zone association serves AWS-hosted private records rather than external DNS forwarding, supporting cross-account use of a central forwarding rule but leaving environment-specific split-private DNS answers unmet.
Question 166
An office sees intermittent VPN outages after a firewall stops responding to dead-peer detection probes. Which action provides the required behavior?
- Align DPD behavior and keep the peer reachable under the tunnel configuration
- Align IKE proposal algorithms and versions with supported AWS tunnel options
- Align phase-two IPsec proposals and relevant perfect-forward-secrecy groups
- Use supported link-local tunnel-inside CIDRs according to AWS VPN configuration rules
Explanation
Correct Answer
A:With this choice, the selected action checks the remote IPsec peer and drives expected reestablishment behavior; DPD tuning cannot overcome permanent loss of the remote internet path, providing stable VPN liveness and recovery for the network described.
Incorrect Answers
B:This approach ensures both IPsec peers negotiate compatible phase-one security parameters; a VPC route adjustment cannot repair phase-one crypto incompatibility, which helps with successful IKE security-association establishment instead of delivering stable VPN liveness and recovery.
C:This alternative negotiates compatible ESP and child security association settings; a working initial IKE exchange does not prove phase-two compatibility, so it addresses successful data-plane IPsec tunnel establishment rather than the required stable VPN liveness and recovery.
D:Although this setting establishes the logical point-to-point addressing used by the tunnel interfaces, reusing conflicting tunnel inside addresses can break router configuration; this concerns valid inside IP addressing for VPN routing, not the specified stable VPN liveness and recovery.
Question 167
After enabling DNSSEC signing, a domain still lacks a parent-chain proof and external validators do not authenticate it. Which change is the most appropriate?
- Enable DNSSEC signing for the Route 53 public hosted zone
- Update authoritative NS delegation at the domain's registrar
- Publish the appropriate DS record at the parent registrar or registry
- Register the domain with Route 53 Domains and configure delegation
Explanation
Correct Answer
C:With this choice, the selected action links the parent delegation cryptographically to the child zone's signing keys; adding a TXT record does not substitute for a delegation signer record, providing an established DNSSEC chain of trust for the network described.
Incorrect Answers
A:Although this setting signs supported public DNS records with cryptographic keys, validation also requires a correct chain of trust from the parent domain; this concerns authenticity validation of authoritative DNS data, not the specified an established DNSSEC chain of trust.
B:The proposed action changes which nameservers the parent zone delegates authority to; publishing new NS records inside the destination child zone alone may not update the parent delegation, supporting authoritative DNS migration at the delegation layer but leaving an established DNSSEC chain of trust unmet.
D:This alternative acquires the domain registration and points it at the chosen DNS authority; hosting records is separate from owning the registration for the name, so it addresses registrar ownership plus hosted-zone delegation rather than the required an established DNSSEC chain of trust.
Question 168
A cloud hub is receiving packets toward a workload VPC but the workload's return path uses another appliance. Which change is the most appropriate?
- Enable the attachment's route propagation into the consumer transit route table
- Check VPC subnet route tables for symmetric transit paths
- Add an appropriately scoped blackhole route to the transit gateway table
- Share the Transit Gateway using AWS RAM with scoped principals
Explanation
Correct Answer
B:With this choice, the selected action directs ingress and return traffic along compatible stateful network paths; a correct TGW route cannot compensate for a missing VPC subnet return route, providing consistent bidirectional transit routing for the network described.
Incorrect Answers
A:This alternative installs eligible attached-network routes into the selected gateway table; attachment creation does not guarantee propagation into every route table, so it addresses learned CIDR reachability for transit consumers rather than the required consistent bidirectional transit routing.
C:The proposed action drops packets whose destination matches the blackhole entry; security groups operate on ENIs and do not implement gateway blackhole routes, supporting explicit denied transit route at gateway level but leaving consistent bidirectional transit routing unmet.
D:This approach authorizes other accounts to create attachments to a centrally owned gateway; RAM sharing alone does not install working subnet or gateway routes, which helps with controlled multi-account transit attachment access instead of delivering consistent bidirectional transit routing.
Question 169
An EC2 web service makes API calls to a third-party HTTPS provider and must verify server identity. Which change is the most appropriate?
- Require the database engine's supported TLS connection option and client verification
- Validate certificate chain and requested hostname in the TLS client
- Use HTTPS S3 requests and an appropriate bucket policy denying insecure transport
- Deploy a managed certificate distribution and renewal workflow to the EC2 web server
Explanation
Correct Answer
B:The approach prevents accepting an encrypted connection to an impersonating server; encryption without peer identity validation remains vulnerable to man-in-the-middle attacks, directly enabling authenticated outbound HTTPS service communication in this situation.
Incorrect Answers
A:This approach protects client-to-database data in transit using the service's TLS protocol; encrypted EBS volumes do not encrypt network packets in flight, which helps with encrypted managed-database application connections instead of delivering authenticated outbound HTTPS service communication.
C:Although this setting enforces secure transport for S3 API operations, server-side encryption of stored objects is a separate at-rest control; this concerns encrypted data movement into S3, not the specified authenticated outbound HTTPS service communication.
D:The proposed action 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, supporting maintained TLS identity on customer-managed application servers but leaving authenticated outbound HTTPS service communication unmet.
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?
- Reduce needless cache-key dimensions in the CloudFront cache policy
- Set suitable cache TTL controls consistent with origin Cache-Control headers
- Reduce applicable DNS TTLs before planned changes and consider stable anycast ingress where required
- Use AWS Global Accelerator for supported regional application endpoints
- 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.