DVA-C02 · Question #228
DVA-C02 Question #228: Real Exam Question with Answer & Explanation
The correct answer is A: Check that the function's security group has outbound access on port 1433 to the DB instance's. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/lambda-rds-connect.html
Question
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.)
Options
- ACheck that the function's security group has outbound access on port 1433 to the DB instance's
- BCheck that the function's security group has inbound access on port 1433 from the DB instance's
- CCheck that the VPC is set up for a NAT gateway. Check that the DB instance has the public
- DCheck that the function's execution role permissions include rds:DescribeDBInstances,
- ECheck that the function's execution role permissions include ec2:CreateNetworkInterface,
Explanation
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/lambda-rds-connect.html
Community Discussion
No community discussion yet for this question.