AWS Certified SysOps Administrator – Associate — Question 318

A SysOps administrator is re-architecting an application. The SysOps administrator has moved the database from a public subnet, where the database used a public endpoint, into a private subnet to restrict access from the public network. After this change, an AWS Lambda function that requires read access to the database cannot connect to the database. The SysOps administrator must resolve this issue without compromising security.

Which solution meets these requirements?

Answer options

Correct answer: A

Explanation

Creating an AWS PrivateLink interface endpoint for the Lambda function allows it to securely and privately connect to resources within the VPC using private IP addresses. This avoids exposing the database to the public internet while resolving the connectivity issue. Moving the database back to a public subnet or relying solely on IAM roles fails to address the network routing requirements securely.