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

A developer wants the ability to roll back to a previous version of an AWS Lambda function in the event of errors caused by a new deployment.

How can the developer achieve this with MINIMAL impact on users?

  • A. Change the application to use an alias that points to the current version. Deploy the new version of the code. Update the alias to use the newly deployed version. If too many errors are encountered, point the alias back to the previous version.
  • B. Change the application to use an alias that points to the current version. Deploy the new version of the code. Update the alias to direct 10% of users to the newly deployed version. If too many errors are encountered, send 100% of traffic to the previous version.
  • C. Do not make any changes to the application. Deploy the new version of the code. If too many errors are encountered, point the application back to the previous version using the version number in the Amazon Resource Name (ARN).
  • D. Create three aliases: new, existing, and router. Point the existing alias to the current version. Have the router alias direct 100% of users to the existing alias. Update the application to use the router alias. Deploy the new version of the code. Point the new alias to this version. Update the router alias to direct 10% of users to the new alias. If too many errors are encountered, send 100% of traffic to the existing alias.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
tomchandler077
Highly Voted 9 months, 2 weeks ago
Option B is the best choice for achieving the objective with minimal impact on users. It uses a canary deployment strategy, which allows for testing the new version on a smaller scale before a full rollout. This method provides a balance between risk management and operational simplicity, ensuring that any potential negative impacts of the new deployment are contained and easily reversible.
upvoted 5 times
...
preachr
Most Recent 6 months, 3 weeks ago
Selected Answer: B
https://docs.aws.amazon.com/lambda/latest/dg/configuring-alias-routing.html
upvoted 1 times
...
wh1t4k3r
7 months, 4 weeks ago
Selected Answer: B
For people voting A: you have no idea what is the traffic load to the application. Using the method described on A will affect 100% of all users all at once until you are able to rollback. B divertes 10% of traffic only than can be easly switched back and would impact only 10% of users
upvoted 2 times
...
KennethNg923
8 months, 1 week ago
Selected Answer: B
B Update the alias to direct 10% of users to the newly deployed version -> minimal impact
upvoted 1 times
...
piipo
9 months ago
Selected Answer: B
B is best
upvoted 1 times
...
catoteja
9 months, 1 week ago
B looks better
upvoted 2 times
...
Alagong
9 months, 2 weeks ago
Selected Answer: A
VOTE A
upvoted 2 times
...
siheom
9 months, 2 weeks ago
SHOULD BE A
upvoted 2 times
...
rdiaz
9 months, 3 weeks ago
Selected Answer: B
Minimal impact
upvoted 3 times
...
blow96
9 months, 3 weeks ago
A is correct
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