AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 77

A company has 20 service teams. Each service team is responsible for its own microservice. Each service team uses a separate AWS account for its microservice and a VPC with the 192.168.0.0/22 CIDR block. The company manages the AWS accounts with AWS Organizations.

Each service team hosts its microservice on multiple Amazon EC2 instances behind an Application Load Balancer. The microservices communicate with each other across the public internet. The company’s security team has issued a new guideline that all communication between microservices must use HTTPS over private network connections and cannot traverse the public internet.

A DevOps engineer must implement a solution that fulfills these obligations and minimizes the number of changes for each service team.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B because using AWS PrivateLink to create VPC endpoints allows secure communication between microservices over private network connections without needing to change existing VPC structures. Option A requires setting up a new account and VPC, which increases complexity. Option C involves VPC peering, which can be more complicated to manage at scale. Option D, while effective, introduces a transit gateway, adding additional components and management overhead.