
Answer-first summary for fast verification
Answer: sam sync --watch
The correct answer is D. The 'sam sync --watch' command is part of AWS SAM Accelerate, which is designed for rapid iterative development. It watches for changes in the source files of your Lambda functions and APIs, and only deploys those changes instead of redeploying the entire stack. This helps in speeding up the deployment process during development by focusing only on the components that have been modified.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In the context of AWS, a developer is utilizing AWS SAM for serverless application development involving API Gateway, Lambda, and DynamoDB. When only Lambda functions are updated, the current process rebuilds the entire application. To streamline deployment using AWS SAM Accelerate and redeploy only the modified Lambda functions, which command should the developer use?
A
sam deploy --force-upload
B
sam deploy --no-execute-changeset
C
sam package
D
sam sync --watch
No comments yet.