Q78 — AWS DVA-C02 Ch.3

Question 78 of 100 | ← Chapter 3

A developer is building a serverless application deployed on AWS. The developer wants to accelerate the development workflow by deploying incremental changes to AWS for testing. The developer wants to deploy only the changed components, not redeploy the entire application for every code commit. What should the developer do to meet these requirements?

Correct Answer: A. Use AWS Serverless Application Model (AWS SAM) to build the application. Use the sam sync command to deploy incremental changes.

Explanation

Option A is correct: AWS SAM provides the sam sync command, which enables rapid, incremental deployment of changes (e.g., updated Lambda code or API Gateway configurations) without rebuilding or redeploying the entire application stack. sam init initializes a new project template and is not for incremental deployment. cdk synth generates CloudFormation templates but does not deploy; cdk bootstrap prepares the environment for CDK deployments but does not handle incremental updates. Thus, sam sync is the appropriate tool for this use case. 【Provided by Lantern Certification: swufelp1999】