Question 880
A retail branch has customer-edge BGP policies that prefer one VPN tunnel, but both paths are always selected despite requirement for deterministic primary/backup. Which control on the customer routers can influence outbound preference?
- Configure BGP using the inside tunnel addresses and AWS peer ASN supplied for that VPN tunnel
- Configure and monitor both VPN tunnel interfaces and BGP neighbors on the customer gateway
- Assign nonoverlapping valid inside IPv4 tunnel CIDRs to each VPN tunnel
- Apply BGP local preference consistently to routes received over the intended primary VPN tunnel
Explanation
Correct Answer
D:Local preference is evaluated inside the customer's autonomous system for outbound route selection; changing route tables in an unrelated VPC will not establish router-side egress preference.
Incorrect Answers
A:IPsec tunnel establishment authenticates the encrypted underlay; dynamic route exchange requires a separate BGP session with the correct neighbors and ASN over the tunnel interfaces; the operational gap would remain because the question requires a way to select the customer-side outbound VPN path.
B:AWS provides two tunnels for redundancy; leaving a second tunnel's routing session unconfigured prevents it from taking over during planned or unplanned maintenance; it is not the action that directly makes the system select the customer-side outbound VPN path.
C:The inside addresses identify separate point-to-point BGP interfaces and must not collide; reusing the same inside tunnel CIDR makes distinct neighbor and forwarding contexts ambiguous; that still would not establish the requested outcome: select the customer-side outbound VPN path.
Question 881
An on-premises firewall requires that a VPN tunnel establish only from a known fixed AWS public endpoint address, yet endpoint replacement is anticipated during the connection's lifecycle. What operational approach is safer than permanently hard-coding a guessed AWS address?
- Configure BGP using the inside tunnel addresses and AWS peer ASN supplied for that VPN tunnel
- Assign nonoverlapping valid inside IPv4 tunnel CIDRs to each VPN tunnel
- Configure and monitor both VPN tunnel interfaces and BGP neighbors on the customer gateway
- Monitor VPN tunnel endpoint change notifications and update the peer configuration to the provisioned endpoint values
Explanation
Correct Answer
D:Customer gateways should use the actual tunnel outside addresses supplied for the VPN connection and plan for documented endpoint changes; fixed assumptions about future endpoints create outages.
Incorrect Answers
A:IPsec tunnel establishment authenticates the encrypted underlay; dynamic route exchange requires a separate BGP session with the correct neighbors and ASN over the tunnel interfaces; it is not the action that directly makes the system maintain accurate tunnel peer endpoint configuration.
B:The inside addresses identify separate point-to-point BGP interfaces and must not collide; reusing the same inside tunnel CIDR makes distinct neighbor and forwarding contexts ambiguous; that still would not establish the requested outcome: maintain accurate tunnel peer endpoint configuration.
C:AWS provides two tunnels for redundancy; leaving a second tunnel's routing session unconfigured prevents it from taking over during planned or unplanned maintenance; the scenario instead needs an action that will maintain accurate tunnel peer endpoint configuration.
Question 882
A hybrid environment requires packet-level encrypted communication to services in AWS without moving a dedicated Direct Connect physical circuit. Which VPN architecture can terminate on Transit Gateway and exchange routes dynamically?
- Attach a Site-to-Site VPN to Transit Gateway and establish BGP tunnels with the customer gateway
- Configure and monitor both VPN tunnel interfaces and BGP neighbors on the customer gateway
- Deploy AWS Site-to-Site VPN as a secondary encrypted path with appropriate BGP preferences
- Establish BGP over a dynamic-routing Site-to-Site VPN connection
Explanation
Correct Answer
A:TGW VPN attachments connect encrypted on-premises tunnels to transit route tables, which must also contain the routes and attachment policies for reachable VPC prefixes.
Incorrect Answers
B:AWS provides two tunnels for redundancy; leaving a second tunnel's routing session unconfigured prevents it from taking over during planned or unplanned maintenance; the scenario instead needs an action that will terminate dynamic encrypted hybrid routes at TGW.
C:A VPN can use an internet or supported private underlay as an alternate route, while BGP can prefer Direct Connect until failure occurs; the physical independence of the backup still matters; those conditions do not produce the required result: terminate dynamic encrypted hybrid routes at TGW.
D:BGP exchanges prefixes and responds to route withdrawals across the VPN tunnel; static routing requires explicit configuration and does not provide equivalent dynamic route signaling; it changes a different aspect of the architecture rather than fulfilling the need to terminate dynamic encrypted hybrid routes at TGW.
Question 883
A spoke attachment is associated with TGW route table A but its VPC subnet route table sends traffic for another spoke to a NAT gateway. Which configuration must change before the traffic enters the hub?
- Add or propagate the destination route into the TGW route table associated with the source attachment
- Add a TGW attachment subnet in the required Availability Zone and verify associated VPC routes
- Add a destination CIDR route targeting the TGW attachment in the originating subnet route table
- Evaluate the longest matching destination prefix in the TGW route table
Explanation
Correct Answer
C:TGW route tables act only after traffic enters the transit gateway; the source VPC route table must first select the transit gateway as next hop for the destination prefix.
Incorrect Answers
A:TGW evaluates the route table associated with the inbound attachment; having a destination attached elsewhere is insufficient if that route table lacks a matching path; the scenario instead needs an action that will send VPC-originated traffic toward TGW.
B:TGW VPC attachment data-plane availability depends on enabled attachment AZs; a subnet without an attachment path cannot assume that another AZ's attachment automatically carries its traffic; those conditions do not produce the required result: send VPC-originated traffic toward TGW.
D:A /24 destination route is more specific than a /16 and governs traffic to addresses in that range, regardless of broad propagation from another attachment; the operational gap would remain because the question requires a way to send VPC-originated traffic toward TGW.
Question 884
A central Transit Gateway is shared with application accounts using AWS RAM, but an invited account still sees its new TGW VPC attachment pending acceptance. How should the owner enable connectivity when autoaccept is disabled?
- Enable Transit Gateway Flow Logs for the relevant TGW or attachments
- Share the TGW via AWS RAM and automate participant attachment requests with owner-side approval policy
- Accept the shared Transit Gateway attachment request in the owner account
- Monitor Transit Gateway attachment CloudWatch metrics and correlate them with TGW Flow Logs
Explanation
Correct Answer
C:RAM sharing grants permission to request an attachment, but the TGW owner must accept pending attachment requests unless its attachment auto-acceptance setting handles them.
Incorrect Answers
A:TGW Flow Logs provide network-flow metadata observed by the transit gateway and its attachments; ordinary VPC Flow Logs report traffic at their configured VPC resource scope; those conditions do not produce the required result: activate an attachment to a shared TGW.
B:Resource sharing allows limited participation; attachment acceptance and central gateway route-table configuration can remain controlled by the networking account; it changes a different aspect of the architecture rather than fulfilling the need to activate an attachment to a shared TGW.
D:TGW metrics report aggregate packet and byte behavior while Flow Logs add flow context, enabling a more precise hypothesis about attachment-specific drop patterns; it is not the action that directly makes the system activate an attachment to a shared TGW.
Question 885
A VPC routes private DNS queries to a second VPC over peering; ordinary EC2 hostnames still resolve to public IP addresses when queried through the peer. Which optional peering feature matters?
- Add the reciprocal destination CIDR route to the appropriate subnet route tables in the other VPC
- Create an inter-Region VPC peering connection and reciprocal routes
- Enable DNS resolution options on the VPC peering connection for the intended peer direction
- Configure static routes for TGW peering attachments in the relevant TGW route tables
Explanation
Correct Answer
C:Peering DNS-resolution options can make supported public EC2 hostnames resolve to private IPv4 addresses across peers; peering alone does not necessarily change the DNS answer.
Incorrect Answers
A:Peering does not automatically populate either VPC's routing table; two-way connectivity requires routes for each direction in addition to appropriate security filtering; it changes a different aspect of the architecture rather than fulfilling the need to obtain private EC2 address answers over peering.
B:Inter-Region peering supports private IP traffic between the two VPCs, but does not extend routes transitively to a third VPC or remote gateway; the operational gap would remain because the question requires a way to obtain private EC2 address answers over peering.
D:Transit Gateway inter-Region peering does not use automatic route propagation, so each peer direction requires explicit routes for reachable destination ranges; that still would not establish the requested outcome: obtain private EC2 address answers over peering.
Question 886
A networking team routes an overlapping 10.0.0.0/16 from two attachments into the same TGW route table, and traffic is sent to an unintended attachment. What design fix addresses the ambiguous destination space?
- Allocate VPC CIDRs from governed VPC IPAM pools in provisioning workflows
- Renumber or translate overlapping prefixes and isolate route domains where necessary
- Use Amazon VPC IP Address Manager with organization-wide allocation pools
- Configure hierarchical IPv6 address pools using Amazon VPC IPAM and provision VPC CIDRs from those pools
Explanation
Correct Answer
B:Transit Gateway needs unambiguous destination prefixes for predictable forwarding; a more-specific route may select only part of an overlapping space but cannot make arbitrary duplicates independently reachable.
Incorrect Answers
A:IPAM maintains managed address spaces and pool allocation rules, reducing accidental CIDR reuse as infrastructure templates create VPCs across accounts; the operational gap would remain because the question requires a way to eliminate ambiguous overlapping destinations.
C:IPAM tracks and allocates CIDR space across managed accounts and Regions, helping teams detect overlaps and apply consistent address plans before new VPCs are built; that still would not establish the requested outcome: eliminate ambiguous overlapping destinations.
D:IPAM supplies allocation pools with policy and hierarchy for managed address assignments; it does not automatically create routing or security policies for those VPCs; the scenario instead needs an action that will eliminate ambiguous overlapping destinations.
Question 887
An EC2 instance uses a gateway endpoint route for S3 in its VPC. A peered VPC tries to access S3 through that same gateway endpoint and receives no private route. What should the remote VPC do?
- Create its own supported S3 gateway endpoint and associate the appropriate route tables
- Create an S3 gateway endpoint and associate the data subnet route tables
- Set the S3 gateway VPC endpoint policy to limit allowed bucket actions and resources
- Add a DynamoDB gateway endpoint to the application subnet route tables
Explanation
Correct Answer
A: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.
Incorrect Answers
B:S3 gateway endpoints route supported S3 traffic privately without NAT processing charges and avoid sending those requests through the NAT gateway path; that still would not establish the requested outcome: provide S3 endpoint reachability in each VPC.
C: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 scenario instead needs an action that will provide S3 endpoint reachability in each VPC.
D:A gateway endpoint supports private DynamoDB routing without NAT gateway traversal for eligible VPC workloads; it does not grant IAM access by itself; those conditions do not produce the required result: provide S3 endpoint reachability in each VPC.
Question 888
A private service's consumer creates an interface endpoint, but the endpoint remains in PendingAcceptance despite a healthy provider-side NLB. What provider-side operation is required?
- Approve the interface endpoint connection request in the endpoint service owner account
- Expose the service using AWS PrivateLink endpoint services and consumer interface endpoints
- Restrict endpoint-service allowed principals and require acceptance when appropriate
- Enable private DNS where supported and place endpoint ENIs in the active workload Availability Zones
Explanation
Correct Answer
A:When acceptance is required, a service consumer's endpoint request is not usable until the provider accepts that specific connection; NLB health alone does not approve access.
Incorrect Answers
B:PrivateLink offers private service access through endpoints without requiring end-to-end routing between the producer and consumer VPC CIDR ranges; the scenario instead needs an action that will authorize a consumer PrivateLink connection.
C:Endpoint-service permissions control which principals can request interface endpoints, while connection acceptance lets the provider approve eligible consumers before traffic flows; those conditions do not produce the required result: authorize a consumer PrivateLink connection.
D: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; it changes a different aspect of the architecture rather than fulfilling the need to authorize a consumer PrivateLink connection.
Question 889
An organization must let application accounts create their own services in shared VPC subnets while forbidding them from modifying the VPC route tables. Which ownership principle applies?
- Share selected VPC subnets with participant accounts using AWS Resource Access Manager
- Accept the shared Transit Gateway attachment request in the owner account
- Associate spokes with restrictive TGW route tables and propagate shared-services routes only where needed
- Keep route tables in the VPC owner account while sharing subnets to participant accounts
Explanation
Correct Answer
D:VPC-sharing participants can launch supported resources into shared subnets, but network ownership and route-table management remain with the VPC owner.
Incorrect Answers
A:VPC sharing allows participants to create supported resources in subnets owned by another account without transferring ownership of the underlying VPC networking constructs; the scenario instead needs an action that will separate resource deployment from shared route control.
B:RAM sharing grants permission to request an attachment, but the TGW owner must accept pending attachment requests unless its attachment auto-acceptance setting handles them; those conditions do not produce the required result: separate resource deployment from shared route control.
C:Distinct TGW route-table associations and selective propagation limit which attachment destinations each spoke can route to while retaining shared-service reachability; it changes a different aspect of the architecture rather than fulfilling the need to separate resource deployment from shared route control.
Question 890
A spoke VPC can route packets into a TGW, but an inspection VPC never receives them because its attachment does not propagate or have a static route in the table associated with the spoke. Which TGW step restores forwarding?
- Evaluate the longest matching destination prefix in the TGW route table
- Add or propagate the destination route into the TGW route table associated with the source attachment
- Associate application attachments with an egress-focused table and restrict the inspection attachment's return routes to approved source prefixes
- Add a destination CIDR route targeting the TGW attachment in the originating subnet route table
Explanation
Correct Answer
B:TGW evaluates the route table associated with the inbound attachment; having a destination attached elsewhere is insufficient if that route table lacks a matching path.
Incorrect Answers
A:A /24 destination route is more specific than a /16 and governs traffic to addresses in that range, regardless of broad propagation from another attachment; those conditions do not produce the required result: repair a missing TGW forwarding entry.
C:Associations and propagations define the forward and return policy domains; a single flat table with every propagated prefix may defeat intended spoke isolation; the operational gap would remain because the question requires a way to repair a missing TGW forwarding entry.
D:TGW route tables act only after traffic enters the transit gateway; the source VPC route table must first select the transit gateway as next hop for the destination prefix; it is not the action that directly makes the system repair a missing TGW forwarding entry.