AWS Certified Developer – Associate (DVA-C02) — Question 222

A developer needs to troubleshoot an AWS Lambda function in a development environment. The Lambda function is configured in VPC mode and needs to connect to an existing Amazon RDS for SQL Server DB instance. The DB instance is deployed in a private subnet and accepts connections by using port 1433.

When the developer tests the function, the function reports an error when it tries to connect to the database.

Which combination of steps should the developer take to diagnose this issue? (Choose two.)

Answer options

Correct answer: A, E

Explanation

Option A is correct because it ensures that the Lambda function can communicate with the RDS instance through the appropriate security group settings. Option E is also correct as it provides the necessary permissions for the function to create and manage network interfaces, which is essential for VPC connectivity. The other options either misconfigure the security group rules or address irrelevant permissions.