Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified Developer - Associate · AWS
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
D is the correct answer.
Correct answer is B. To deploy only the Lambda functions that have changed using AWS SAM Accelerate, the developer can use the sam deploy --no-execute-changeset command. This command will create an AWS CloudFormation change set without executing it, allowing the developer to preview the changes before deploying.
D. sam sync --watch: This command is a part of SAM Accelerate and is used for rapid iterative development. When run, it watches for changes in the source files of your Lambda functions and APIs and deploys only those changes, rather than redeploying the entire stack. This greatly speeds up the deployment process during development. Therefore, to implement AWS SAM Accelerate and only redeploy the Lambda functions that have changed, the developer should use sam sync --watch. This command aligns with the goal of deploying changes rapidly and efficiently, focusing only on the components that have been modified.