SOA-C03 practice question: VPC endpoints, PrivateLink and peering (1 of 2)
Networking and Content Delivery A free question from our original SOA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.
A logistics broker runs a rate-quoting service in its own VPC and wants to offer it privately to 30 partner companies, each with its own AWS account and VPC.
Several partner VPCs use the same CIDR range as the broker's VPC.
Partners must reach only the quoting service, not the rest of the broker's network, and traffic must not cross the internet.
What should a CloudOps engineer do?
Choose one answer.
AA. Create a VPC peering connection with each partner VPC and add routes to the quoting service's subnet.
BB. Put the service behind a Network Load Balancer, create a VPC endpoint service, and let each partner create an interface endpoint to it.
CC. Attach all partner VPCs to a transit gateway in the broker's account and share it with the partners through AWS RAM.
DD. Expose the service through a public Network Load Balancer and allow only the partners' NAT gateway addresses in its security group.
Show the answer and explanation
Answer: B
A. Wrong: VPC peering cannot connect VPCs with overlapping CIDR ranges. It also opens network-level paths to the broker's VPC instead of exposing a single service. Learn more: What is VPC peering? (opens in a new tab)
B. Right: Correct. AWS PrivateLink exposes one service through an endpoint service, and consumers reach it through interface endpoints in their own VPCs. Overlapping CIDR ranges do not matter, and partners cannot reach anything else. Learn more: Share your services through AWS PrivateLink (opens in a new tab)
AWS PrivateLink is the way to share a single service privately with many VPCs. The provider places the service behind a Network Load Balancer and creates an endpoint service, and each consumer creates an interface endpoint. Traffic stays on the AWS network, overlapping CIDR ranges are fine, and no wider network access is opened.
Partners reach only the service behind the load balancer, and overlapping CIDR ranges do not matter.
Want more on VPC endpoints, PrivateLink and peering? The 5 full-length practice sets have 10 more VPC endpoints, PrivateLink and peering questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →