Question 100

A network engineer needs to send an encrypted VPN through a transit VIF using private tunnel IP addresses. Which service capability fits?

  1. Configure both AWS-provided VPN tunnels on independent customer-gateway interfaces where possible
  2. Use AWS Site-to-Site VPN private IP VPN over Direct Connect with Transit Gateway
  3. Deploy AWS Site-to-Site VPN over existing Internet connectivity
  4. Create a private virtual interface toward the VPC's virtual private gateway or Direct Connect gateway

Explanation

Correct Answer

B:

Private IP VPN can run IPsec tunnels on a Direct Connect path using private endpoint addresses and centralized transit routing.

Incorrect Answers

A:

Each Site-to-Site VPN connection provides two tunnels, enabling a surviving tunnel to carry traffic if its peer path fails; that addresses resilience against one IPsec tunnel failure, rather than private-addressed IPsec encryption on dedicated hybrid links.

C:

IPsec tunnels can establish encrypted AWS connectivity without waiting for Direct Connect cross-connect provisioning; this changes fast establishment of encrypted hybrid connectivity, not the necessary private-addressed IPsec encryption on dedicated hybrid links.

D:

In the private-IP hybrid routing to a VPC workflow, A private VIF exchanges private network routes for VPC connectivity instead of exposing the public AWS service address space; the current case needs private-addressed IPsec encryption on dedicated hybrid links.

Question 101

A business has only two nonoverlapping VPCs, needs private bidirectional application connectivity, and wants to avoid a transit hub's per-GB charges. Which topology is simplest?

  1. Connect the VPCs to AWS Transit Gateway and use separate transit route tables
  2. Establish a direct VPC peering connection and configure both VPC route tables
  3. Establish an inter-Region VPC peering connection and explicit reciprocal routes
  4. Add direct A-to-C connectivity or route the traffic through a supported transit hub

Explanation

Correct Answer

B:

VPC peering provides direct private connectivity between a pair of VPCs without traversing a transit gateway or using transitive forwarding.

Incorrect Answers

A:

A transit gateway consolidates attachments into a regional routing hub and separates traffic domains using association and propagation policies; that addresses scalable hub-and-spoke multi-VPC routing, rather than simple pairwise VPC connectivity without a central router.

C:

Inter-Region VPC peering permits private IP communication between supported VPC pairs but does not add routes automatically; this changes direct inter-Regional private VPC connectivity, not the necessary simple pairwise VPC connectivity without a central router.

D:

In the avoiding an unsupported transitive peering assumption workflow, VPC peering connections do not provide transitive routing, so a two-hop peer chain cannot convey A-to-C packets; the current case needs simple pairwise VPC connectivity without a central router.

Question 102

Dozens of accounts need routed many-to-many VPC connectivity with centralized segmentation. Which AWS service is the preferred hub?

  1. Connect the VPCs to AWS Transit Gateway and use separate transit route tables
  2. Associate development attachments with a segregated Transit Gateway route table and restrict propagated destinations
  3. Use AWS Cloud WAN with core network segments and attachment policies
  4. Establish a direct VPC peering connection and configure both VPC route tables
  5. Route spoke attachments through an inspection VPC attachment using segmented Transit Gateway route tables

Explanation

Correct Answer

A:

A transit gateway consolidates attachments into a regional routing hub and separates traffic domains using association and propagation policies.

Incorrect Answers

B:

Route-table association selects an attachment's forwarding domain and controls which other attachments it can reach; this belongs to network segmentation by transit attachment routing domains, while the problem is scalable hub-and-spoke multi-VPC routing.

C:

Cloud WAN applies centralized policy-driven connectivity across supported Regions and attachment types, simplifying global network governance; this changes policy-governed multi-Regional WAN segmentation, not the necessary scalable hub-and-spoke multi-VPC routing.

D:

In the simple pairwise VPC connectivity without a central router workflow, VPC peering provides direct private connectivity between a pair of VPCs without traversing a transit gateway or using transitive forwarding; the current case needs scalable hub-and-spoke multi-VPC routing.

E:

This produces centralized inspection of inter-VPC traffic: Controlled transit routing can force spoke-to-spoke paths via shared inspection appliances instead of permitting direct spoke propagation; the stem instead tests scalable hub-and-spoke multi-VPC routing.

Question 103

A vendor exposes one TCP application privately to customers whose VPC CIDRs overlap with the vendor's VPC. Which service should be used?

  1. Terminate access on interface endpoints that address the service locally in the consumer VPC
  2. Publish the application through AWS PrivateLink endpoint service and interface endpoints
  3. Create an S3 gateway VPC endpoint and add its route-table associations
  4. Create an interface VPC endpoint for the partner's PrivateLink endpoint service

Explanation

Correct Answer

B:

PrivateLink exposes service endpoints using consumer VPC addresses without demanding broad routability between overlapping VPC CIDR ranges.

Incorrect Answers

A:

Consumer endpoints provide local private IP destinations, avoiding ambiguous full-network route advertisements to the overlapping provider; that addresses private service consumption across identical addressing realms, rather than private application access without overlapping-CIDR routing.

C:

Gateway endpoints provide private S3 routes within a VPC using an endpoint target rather than NAT and per-hour interface endpoint ENIs; this changes route-table-based S3 private service access, not the necessary private application access without overlapping-CIDR routing.

D:

In the application-specific private access across account boundaries workflow, an interface endpoint places consumer-owned ENIs in selected subnets and connects only to the published service; the current case needs private application access without overlapping-CIDR routing.

Question 104

A large organization wants one networking account to own subnets while application teams launch resources in those subnets from other accounts. Which model is appropriate?

  1. Have the VPC owner manage the shared subnet's VPC-level routing configuration
  2. Publish the application through AWS PrivateLink endpoint service and interface endpoints
  3. Use VPC sharing through AWS RAM within the supported organization
  4. Apply AWS RAM sharing and attachment acceptance controls to the shared network resource

Explanation

Correct Answer

C:

VPC sharing separates subnet ownership from resource ownership and lets participant accounts place supported resources into shared subnets.

Incorrect Answers

A:

VPC sharing does not transfer ownership of subnet route tables or core VPC routing controls to participant accounts; that addresses preserving networking ownership in shared VPCs, rather than centralized subnet ownership across workload accounts.

B:

PrivateLink exposes service endpoints using consumer VPC addresses without demanding broad routability between overlapping VPC CIDR ranges; this belongs to private application access without overlapping-CIDR routing, while the problem is centralized subnet ownership across workload accounts.

D:

In the governed membership for a multi-account hub workflow, resource sharing and attachment approval bound which accounts can join centralized connectivity; routing decisions still belong to network policy; the current case needs centralized subnet ownership across workload accounts.

Question 105

VPC A peers with VPC B and VPC B peers with VPC C; VPC A must reach VPC C. What architecture change is required?

  1. Add direct A-to-C connectivity or route the traffic through a supported transit hub
  2. Connect the VPCs to AWS Transit Gateway and use separate transit route tables
  3. Establish an inter-Region VPC peering connection and explicit reciprocal routes
  4. Establish a direct VPC peering connection and configure both VPC route tables

Explanation

Correct Answer

A:

VPC peering connections do not provide transitive routing, so a two-hop peer chain cannot convey A-to-C packets.

Incorrect Answers

B:

A transit gateway consolidates attachments into a regional routing hub and separates traffic domains using association and propagation policies; this belongs to scalable hub-and-spoke multi-VPC routing, while the problem is avoiding an unsupported transitive peering assumption.

C:

Inter-Region VPC peering permits private IP communication between supported VPC pairs but does not add routes automatically; this changes direct inter-Regional private VPC connectivity, not the necessary avoiding an unsupported transitive peering assumption.

D:

In the simple pairwise VPC connectivity without a central router workflow, VPC peering provides direct private connectivity between a pair of VPCs without traversing a transit gateway or using transitive forwarding; the current case needs avoiding an unsupported transitive peering assumption.

Question 106

An engineering team needs cross-region VPC peering between nonoverlapping VPCs while keeping traffic on AWS infrastructure. What should it create?

  1. Establish a direct VPC peering connection and configure both VPC route tables
  2. Add direct A-to-C connectivity or route the traffic through a supported transit hub
  3. Establish Transit Gateway inter-Region peering between the gateways
  4. Establish an inter-Region VPC peering connection and explicit reciprocal routes

Explanation

Correct Answer

D:

Inter-Region VPC peering permits private IP communication between supported VPC pairs but does not add routes automatically.

Incorrect Answers

A:

VPC peering provides direct private connectivity between a pair of VPCs without traversing a transit gateway or using transitive forwarding; that addresses simple pairwise VPC connectivity without a central router, rather than direct inter-Regional private VPC connectivity.

B:

VPC peering connections do not provide transitive routing, so a two-hop peer chain cannot convey A-to-C packets; this belongs to avoiding an unsupported transitive peering assumption, while the problem is direct inter-Regional private VPC connectivity.

C:

TGW peering joins two regional transit hubs using AWS infrastructure, though routes through the peering remain explicitly configured; this changes managed peering between regional transit gateways, not the necessary direct inter-Regional private VPC connectivity.

Question 107

A company uses a Transit Gateway with separate production and development VPCs; development must never initiate traffic to production. Which transit control creates isolation?

  1. Populate or propagate the destination route in the associated Transit Gateway route table
  2. Associate development attachments with a segregated Transit Gateway route table and restrict propagated destinations
  3. Route spoke attachments through an inspection VPC attachment using segmented Transit Gateway route tables
  4. Connect the VPCs to AWS Transit Gateway and use separate transit route tables

Explanation

Correct Answer

B:

Route-table association selects an attachment's forwarding domain and controls which other attachments it can reach.

Incorrect Answers

A:

VPC subnet routes deliver packets to the transit gateway, which independently needs an eligible route to the next attachment; that addresses second-stage forwarding inside a transit gateway, rather than network segmentation by transit attachment routing domains.

C:

Controlled transit routing can force spoke-to-spoke paths via shared inspection appliances instead of permitting direct spoke propagation; this changes centralized inspection of inter-VPC traffic, not the necessary network segmentation by transit attachment routing domains.

D:

In the scalable hub-and-spoke multi-VPC routing workflow, A transit gateway consolidates attachments into a regional routing hub and separates traffic domains using association and propagation policies; the current case needs network segmentation by transit attachment routing domains.

Question 108

One VPC must access a partner's service without exposing its entire CIDR to the partner. What private endpoint type fits?

  1. Create an S3 gateway VPC endpoint and add its route-table associations
  2. Expose only the required resolver service through supported DNS sharing and endpoint associations
  3. Publish the application through AWS PrivateLink endpoint service and interface endpoints
  4. Use allowed principals and enable acceptance requirements for the endpoint service
  5. Create an interface VPC endpoint for the partner's PrivateLink endpoint service

Explanation

Correct Answer

E:

An interface endpoint places consumer-owned ENIs in selected subnets and connects only to the published service.

Incorrect Answers

A:

Gateway endpoints provide private S3 routes within a VPC using an endpoint target rather than NAT and per-hour interface endpoint ENIs; that addresses route-table-based S3 private service access, rather than application-specific private access across account boundaries.

B:

Service-specific resolver access can be designed without indiscriminately propagating all VPC CIDR prefixes; this belongs to constrained DNS service connectivity without full-mesh routes, while the problem is application-specific private access across account boundaries.

C:

PrivateLink exposes service endpoints using consumer VPC addresses without demanding broad routability between overlapping VPC CIDR ranges; this changes private application access without overlapping-CIDR routing, not the necessary application-specific private access across account boundaries.

D:

In the consumer authorization for published endpoint services workflow, privateLink provider settings regulate which principals may request endpoints and whether the provider must accept connections; the current case needs application-specific private access across account boundaries.

Question 109

A data-processing VPC needs privately routed access to Amazon S3 without NAT or per-subnet interface endpoints. Which endpoint is a low-cost fit?

  1. Create an S3 gateway VPC endpoint and add its route-table associations
  2. Publish the application through AWS PrivateLink endpoint service and interface endpoints
  3. Create an interface VPC endpoint for the partner's PrivateLink endpoint service
  4. Terminate access on interface endpoints that address the service locally in the consumer VPC

Explanation

Correct Answer

A:

Gateway endpoints provide private S3 routes within a VPC using an endpoint target rather than NAT and per-hour interface endpoint ENIs.

Incorrect Answers

B:

PrivateLink exposes service endpoints using consumer VPC addresses without demanding broad routability between overlapping VPC CIDR ranges; this belongs to private application access without overlapping-CIDR routing, while the problem is route-table-based S3 private service access.

C:

An interface endpoint places consumer-owned ENIs in selected subnets and connects only to the published service; this changes application-specific private access across account boundaries, not the necessary route-table-based S3 private service access.

D:

In the private service consumption across identical addressing realms workflow, consumer endpoints provide local private IP destinations, avoiding ambiguous full-network route advertisements to the overlapping provider; the current case needs route-table-based S3 private service access.

Question 110

A large AWS footprint requires centrally controlled inter-Region segmentation and policy for many branch and VPC attachments. What managed backbone design is relevant?

  1. Apply AWS RAM sharing and attachment acceptance controls to the shared network resource
  2. Establish Transit Gateway inter-Region peering between the gateways
  3. Establish an inter-Region VPC peering connection and explicit reciprocal routes
  4. Use AWS Cloud WAN with core network segments and attachment policies

Explanation

Correct Answer

D:

Cloud WAN applies centralized policy-driven connectivity across supported Regions and attachment types, simplifying global network governance.

Incorrect Answers

A:

Resource sharing and attachment approval bound which accounts can join centralized connectivity; routing decisions still belong to network policy; that addresses governed membership for a multi-account hub, rather than policy-governed multi-Regional WAN segmentation.

B:

TGW peering joins two regional transit hubs using AWS infrastructure, though routes through the peering remain explicitly configured; this belongs to managed peering between regional transit gateways, while the problem is policy-governed multi-Regional WAN segmentation.

C:

Inter-Region VPC peering permits private IP communication between supported VPC pairs but does not add routes automatically; this changes direct inter-Regional private VPC connectivity, not the necessary policy-governed multi-Regional WAN segmentation.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests