AWS Certified Solutions Architect – Professional — Question 298

A company is creating a centralized logging service running on Amazon EC2 that will receive and analyze logs from hundreds of AWS accounts. AWS PrivateLink is being used to provide connectivity between the client services and the logging service.
In each AWS account with a client, an interface endpoint has been created for the logging service and is available. The logging service running on EC2 instances with a Network Load Balancer (NLB) are deployed in different subnets. The clients are unable to submit logs using the VPC endpoint.
Which combination of steps should a solutions architect take to resolve this issue? (Choose two.)

Answer options

Correct answer: A, C

Explanation

When using AWS PrivateLink, the source IP addresses of the traffic reaching the EC2 target instances are the private IP addresses of the Network Load Balancer (NLB). Therefore, the EC2 instances' security group must allow inbound traffic from the NLB subnets. Additionally, because the NLB and EC2 instances are deployed in different subnets, the Network Access Control Lists (NACLs) for both subnets must be configured to allow bidirectional traffic between them.