Question 444:
You are building a Lambda function that connects to an AWS Aurora cluster and performs SQL queries. You want to use IAM database authentication to connect to the DB cluster so that the Lambda function does not need to use a username and password. IAM should manage the authentication process. How would you implement this?
Answer options:
A.Enable IAM database authentication in the DB cluster and assign the IAM permission to the Lambda execution role. B.Generate a credential in Secrets Manager and configure the Lambda function to perform database authentication using it. C.Create an IAM user for the database and enable the IAM database authentication with the user. Assign the user to the Lambda function. D.Enable IAM database authentication in the Aurora cluster. In the Lambda execution role, add the database as the trusted entity.