AWS Certified Developer Associate DVA-C02 Practice Question

A development team maintains an AWS SAM template that defines its serverless application stack for the dev environment. The team now needs to deploy the same template to a staging AWS account and wants to avoid editing the template file stored in source control.

Which action enables the team to deploy the same SAM template to the staging environment without modifying the template file?

  • Duplicate the template file and hard-code the staging values before deploying.

  • Pass environment-specific parameters with the --parameter-overrides option (or a named config environment) when running sam deploy.

  • Change the Transform declaration in the template from AWSServerless-2016-10-31 to AWSServerless-2017-01-01.

  • Rename the template file before deploying it to the staging environment.

AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot