AWS Certified Developer Associate DVA-C01 – Question293

A government agency deploys a REST application on AWS. The agency integrates the application with AWS Lambda. The agency accesses the application through Amazon API Gateway. The agency has the following policies:
– Number versions to manage the deployment of all Lambda functions to production
– Create a PROD alias to point to each function
– Reference the PROD aliases in the production stages of API Gateway
One Lambda function contains the environment variables that are used to externalize connection parameters.
The PROD alias points to version 10 of the Lambda function. A developer needs to update the connection parameters and ensure that the updated Lambda function is available on production.
Which solution will meet these requirements?

A.
Update the environment variable values on version 10 of the Lambda function. Do not change the PROD alias.
B. Update the environment variable values on version 10 of the Lambda function. Save the changes to create version 11. Update the PROD alias so that it points to version 11.
C. Update the environment variable values on the SLATEST version. Do not change the PROD alias
D. Update the environment variable values on the SLATEST version. Publish SLATEST to create version 11 of the Lambda function. Update the PROD alias so that it points to version 11.

Correct Answer: B