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 314 discussion

A developer works for a company that only has a single pre-production AWS account with an AWS CloudFormation AWS Serverless Application Model (AWS SAM) stack. The developer made changes to an existing AWS Lambda function specified in the AWS SAM template and additional Amazon Simple Notification service (Amazon SNS) topics.

The developer wants to do a one-time deploy of the changes to test if the changes are working. The developer does not want to impact the existing pre-production application that is currently being used by other team members as part of the release pipeline.

Which solution will meet these requirements?

  • A. Use the AWS SAM CLI to package and deploy the SAM application to the pre-production AWS account. Specify the debug parameter.
  • B. Use the AWS SAM CLI to package and create a change set against the pre-production AWS account. Execute the change set in a new AWS account designated for a development environment.
  • C. Use the AWS SAM CLI to package and deploy the SAM application to a new AWS account designated for a development environment.
  • D. Update the CloudFormation stack in the pre-production account. Add a separate stage that points to a new AWS account designated for a development environment.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
SerialiDr
Highly Voted 1 year, 1 month ago
Selected Answer: C
This option meets the requirements by deploying the changes to a completely separate AWS account, ensuring that the pre-production application is not impacted. This approach allows the developer to test the changes in isolation.
upvoted 6 times
...
Saurabh04
Most Recent 8 months, 2 weeks ago
Selected Answer: B
I recommend Option B—create a change set in a separate development environment. This way, you can test your changes without affecting other team members.
upvoted 1 times
...
65703c1
11 months, 1 week ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
KarBiswa
1 year, 1 month ago
Selected Answer: C
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-deploy.html B option seems to be by default
upvoted 2 times
...
CrescentShared
1 year, 2 months ago
Selected Answer: C
C is correct.
upvoted 2 times
...
tgv
1 year, 2 months ago
best practice here is to sam pack and sam deploy to a new AWS account dedicated to development so in this case the developer wouldn't impact whatsoever the existing pre-prod application. option C
upvoted 2 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