Q: 7
A company has a VPC that has no internet access and has the private DNS hostnames option
enabled. An Amazon Aurora database is running inside the VPC. A security engineer wants to use
AWS Secrets Manager to automatically rotate the credentials for the Aurora database. The security
engineer configures the Secrets Manager default AWS Lambda rotation function to run inside the
same VPC that the Aurora database uses. However, the security engineer determines that the
password cannot be rotated properly because the Lambda function cannot communicate with the
Secrets Manager endpoint.
What is the MOST secure way that the security engineer can give the Lambda function the ability to
communicate with the Secrets Manager endpoint?
Options
Discussion
A is wrong, C. Interface endpoints (PrivateLink) are the secure method for Lambda in a private VPC to reach AWS services like Secrets Manager without exposing anything to the public internet. NAT or IGW would add unnecessary risk imo.
Its C. Interface VPC endpoint lets Lambda talk to Secrets Manager securely within the VPC. No need for internet.
Be respectful. No spam.