Question 458:
Your team is developing a Lambda function. The function would need to interact with a database. The Lambda function and the database will be deployed in different environments respectively. Which of the following is the most secure approach for the Lambda function to get the database credentials for multiple environments?
Answer options:
A.Hardcode the database credentials in GitHub for different environments of the Lambda function. B.Create a lambda function for each environment and ensure each has a different programming language. C.Store the database credentials in AWS Secrets Manager. D.Store the database credentials in a Lambda function tag.