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

A developer is building a serverless application by using the AWS Serverless Application Model (AWS SAM). The developer is currently testing the application in a development environment. When the application is nearly finished, the developer will need to set up additional testing and staging environments for a quality assurance team.

The developer wants to use a feature of the AWS SAM to set up deployments to multiple environments.

Which solution will meet these requirements with the LEAST development effort?

Answer options

Correct answer: A

Explanation

Option A is correct because it allows the developer to efficiently manage environment configurations with a single TOML file, minimizing development effort for multiple environments. The other options involve either creating multiple templates or using additional parameters, which complicate the deployment process and require more development work.