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

A company has a serverless application on AWS that uses a fleet of AWS Lambda functions that have aliases. The company regularly publishes new Lambda function by using an in-house deployment solution. The company wants to improve the release process and to use traffic shifting. A newly published function version should initially make available only to a fixed percentage of production users.

Which solution will meet these requirements?

  • A. Configure routing on the alias of the new function by using a weighted alias.
  • B. Configure a canary deployment type for Lambda.
  • C. Configure routing on the new versions by using environment variables.
  • D. Configure a linear deployment type for Lambda.
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
Digo30sp
Highly Voted 1 year, 8 months ago
Selected Answer: A
The correct answer is (A). Weighted aliases allow you to route traffic to different versions of a function based on weights that you assign. This allows you to implement a canary deployment, where you initially route a small percentage of your traffic to the new version of the function, and then gradually increase the percentage as you gain confidence in the new version.
upvoted 8 times
rimaSamir
1 year, 4 months ago
If we need Canary deployment, then why not B ? How you will use A in automated deployment?
upvoted 3 times
albert_kuo
8 months, 3 weeks ago
While canary deployments are a valid strategy for gradual rollouts, Lambda doesn't have a built-in "canary deployment type." This option is misleading and not applicable in the context of Lambda functions.
upvoted 1 times
...
albert_kuo
10 months, 4 weeks ago
the key word is "fixed percentage"
upvoted 2 times
...
...
...
65703c1
Most Recent 1 year ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
DeaconStJohn
1 year, 2 months ago
Selected Answer: B
I am struggling to see how the correct answer isn't canary. please feel free to enlighten me as I am at a loss how this question description is anything but canary
upvoted 1 times
DeaconStJohn
1 year, 2 months ago
is this question a case of what naming convention is used within Lambda service. i.e. Canary deployments via Weighted Aliases.
upvoted 1 times
DeaconStJohn
1 year, 2 months ago
Still very on the fence with this one. My key take aways are that the question says an in house deployment solution and not "codedeploy." By using weighted aliases we are in fact performing a canary deployments. Bitch of a question.
upvoted 1 times
ahadh7621
11 months ago
My thought process is this. They can't use Canary Deployment because that is specifically for AWS CodeDeploy: https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html They are using an in-house deployment method, so AWS canary deployments aren't applicable. They can, however, use routing configuration on an alias to send a portion of traffic to a second function version. For example, you can reduce the risk of deploying a new version by configuring the alias to send most of the traffic to the existing version, and only a small percentage of traffic to the new version. https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing
upvoted 2 times
...
...
...
...
KarBiswa
1 year, 3 months ago
Selected Answer: A
https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing:~:text=function%20version.%20For%20example%2C%20you%20can%20reduce%20the%20risk%20of%20deploying%20a%20new%20version%20by%20configuring%20the%20alias%20to%20send%20most%20of%20the%20traffic%20to%20the%20existing%20version%2C%20and%20only%20a%20small%20percentage%20of%20traffic%20to%20the%20new%20version.
upvoted 2 times
...
NijeshT
1 year, 6 months ago
Answer is A. weighted aliases offer fixed, predefined percentages
upvoted 4 times
...
fordiscussionstwo
1 year, 8 months ago
AAAAAAAAAAA
upvoted 4 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 ...