exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 256 discussion

A developer is building a serverless application that runs on AWS. The developer wants to create an accelerated development workflow that deploys incremental changes to AWS for testing. The developer wants to deploy the incremental changes but does not want to fully deploy the entire application to AWS for every code commit.

What should the developer do to meet these requirements?

  • A. Use the AWS Serverless Application Model (AWS SAM) to build the application. Use the sam sync command to deploy the incremental changes.
  • B. Use the AWS Serverless Application Model (AWS SAM) to build the application. Use the sam init command to deploy the incremental changes.
  • C. Use the AWS Cloud Development Kit (AWS CDK) to build the application. Use the cdk synth command to deploy the incremental changes.
  • D. Use the AWS Cloud Development Kit (AWS CDK) to build the application. Use the cdk bootstrap command to deploy the incremental changes.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
tgv
Highly Voted 8 months, 1 week ago
Selected Answer: A
Here the answer is A - sam sync. According to my research: - cdk synth: only constructs your CloudFormation template. It does not deploy (create actual resources) it to AWS. You can take the template constructed, deploy it manually in CFN console, edit or inspect. - sam init: used to initialize a new serverless application - cdk bootstrap: the main purpose of cdk bootstrap is to provision a set of resources required to support the deployment of AWS CDK applications
upvoted 6 times
...
65703c1
Most Recent 5 months ago
Selected Answer: A
A is the correct answer.
upvoted 2 times
...
KarBiswa
7 months, 3 weeks ago
Selected Answer: A
https://aws.amazon.com/blogs/compute/speeding-up-incremental-changes-with-aws-sam-accelerate-and-nested-stacks/#:~:text=AWS%20SAM%20Accelerate%20enhances%20the%20development%20experience.%20It%20automatically%20observes%20local%20code%20changes%20and%20synchronizes%20them%20to%20AWS%20without%20building%20and%20deploying%20every%20function%20in%20my%20project.
upvoted 2 times
...
ANDRES715
8 months ago
Selected Answer: A
You.com
upvoted 1 times
...
CrescentShared
8 months, 1 week ago
Selected Answer: A
Serverless cdk synth command is not used for deploying changes. Instead, cdk synth generates an AWS CloudFormation template from the CDK app's code, which describes the cloud resources that need to be created or updated. It does not actually deploy those changes to AWS.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago