Ultimate access to all questions.
In an AWS environment with a connection to an on-premises data center via Direct Connect, a development team has created a Lambda function needing access to a private subnet database. What configuration is required for the Lambda function to access the database?
Explanation:
The correct answer is A. To allow the Lambda function to access a database in a private subnet within the company's on-premises data center, the Lambda function needs to be configured to run within the VPC. By doing this and assigning the appropriate security group, the Lambda function can communicate with the database securely through the Direct Connect connection. Other options either add unnecessary complexity or are not valid configurations for this use case.