A company runs many services in its on-premises data center that is connected to AWS using AWS Direct Connect (DX) and an IPsec VPN. The service data is sensitive and cannot traverse the public internet. The company wants to offer these services to other companies that are running in AWS. Which solution will allow other AWS customers to connect to the on-premises services without using the internet?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a VPC Endpoint Service that accepts TCP traffic, place it behind a Network Load Balancer (NLB), and make the service available over Direct Connect..
Why this is the answer
The correct solution uses a VPC Endpoint Service (AWS PrivateLink) to expose the on-premises services to other AWS accounts securely and privately. PrivateLink allows consumers to access services as if they were in their own VPC, without traversing the public internet. Placing the service behind a Network Load Balancer (NLB) is appropriate because NLBs operate at Layer 4 (TCP/UDP) and can handle high throughput with low latency, suitable for various service types. Making the service available over Direct Connect ensures the traffic between AWS and on-premises remains private. Incorrect options: An Application Load Balancer (ALB) operates at Layer 7 (HTTP/HTTPS) and is not suitable for all service types, especially if the on-premises services are not HTTP/HTTPS based. Attaching an Internet Gateway or NAT Gateway would expose the services to the public internet, which violates the requirement that sensitive data cannot traverse the public internet.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed