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

A company is developing a serverless application that consists of various AWS Lambda functions behind Amazon API Gateway APIs. A developer needs to automate the deployment of Lambda function code. The developer will deploy updated Lambda functions with AWS CodeDeploy. The deployment must minimize the exposure of potential errors to end users. When the application is in production, the application cannot experience downtime outside the specified maintenance window.

Which deployment configuration will meet these requirements with the LEAST deployment time?

  • A. Use the AWS CodeDeploy in-place deployment configuration for the Lambda functions. Shift all traffic immediately after deployment.
  • B. Use the AWS CodeDeploy linear deployment configuration to shift 10% of the traffic every minute.
  • C. Use the AWS CodeDeploy all-at-once deployment configuration to shift all traffic to the updated versions immediately.
  • D. Use the AWS CodeDeploy predefined canary deployment configuration to shift 10% of the traffic immediately and shift the remaining traffic after 5 minutes.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
65703c1
5 months ago
Selected Answer: D
D is the correct answer.
upvoted 2 times
...
KarBiswa
8 months ago
Selected Answer: D
https://docs.aws.amazon.com/whitepapers/latest/practicing-continuous-integration-continuous-delivery/deployment-methods.html#:~:text=A%20variation%20of,is%20gradually%20increased.
upvoted 2 times
...
rimaSamir
9 months ago
Selected answer is A. To them who have choosen D, you have forgotton also about "When the application is in production, the application cannot experience downtime outside the specified maintenance window."
upvoted 1 times
...
SerialiDr
9 months, 2 weeks ago
Selected Answer: D
D. Use the AWS CodeDeploy predefined canary deployment configuration to shift 10% of the traffic immediately and shift the remaining traffic after 5 minutes: The canary deployment strategy first shifts a small percentage of traffic to the new version (e.g., 10%) and, after a specified period (e.g., 5 minutes), shifts the remaining traffic. This approach allows for initial validation of the new version with minimal user exposure before full rollout, balancing speed and risk mitigation.
upvoted 2 times
...
c9ebec2
10 months, 2 weeks ago
Selected Answer: D
Lambda deploy supports just Linear or Canary. So answer is D. Linear or All
upvoted 2 times
...
aravindpti
11 months ago
Answer A. https://aws.amazon.com/blogs/containers/aws-codedeploy-now-supports-linear-and-canary-deployments-for-amazon-ecs/
upvoted 1 times
...
jingle4944
1 year ago
Canary deployment is supported: https://aws.amazon.com/blogs/compute/implementing-safe-aws-lambda-deployments-with-aws-codedeploy/
upvoted 1 times
...
passhojaun
1 year ago
Selected Answer: A
Canary is not supported in AWS CodeDeploy.
upvoted 1 times
Jaimoo
1 year ago
https://aws.amazon.com/es/blogs/containers/aws-codedeploy-now-supports-linear-and-canary-deployments-for-amazon-ecs/
upvoted 2 times
...
...
passhojaun
1 year ago
Canary is not supported in AWS CodeDeploy.
upvoted 2 times
Monivs
9 months, 3 weeks ago
Canary is supported by code deploy https://docs.aws.amazon.com/codedeploy/latest/userguide/welcome.html
upvoted 1 times
...
...
Yuxing_Li
1 year, 1 month ago
Selected Answer: D
Canary is faster than linear in this case.
upvoted 2 times
...
love777
1 year, 2 months ago
Selected Answer: A
Explanation: In an AWS Lambda context, using the in-place deployment configuration minimizes deployment time and provides fast updates to the function's code. In this case, the application consists of AWS Lambda functions behind Amazon API Gateway APIs. With the in-place deployment configuration, all traffic is shifted to the updated versions of the Lambda functions immediately after deployment. Option B suggests a linear deployment configuration that shifts 10% of the traffic every minute. While this provides controlled deployment and gradual rollout, it might not be the fastest approach if you want to minimize deployment time. Option C suggests an all-at-once deployment configuration. While this configuration might be fast, it poses a higher risk of exposing potential errors to end users all at once.
upvoted 1 times
Monivs
9 months, 3 weeks ago
Inplace deployment is not supported by ECS and Lambda
upvoted 1 times
...
...
RaidenKurosaki
1 year, 2 months ago
Selected Answer: D
Canary deployment
upvoted 2 times
...
Parsons
1 year, 2 months ago
Selected Answer: D
D is correct. Keyword: -"must minimize the exposure of potential errors to end users", you just have to trade-off 10% of traffic - "cannot experience downtime ", eliminate C. - "LEAST deployment time", with B, You have to take 10 mins other than D just 5 min.
upvoted 4 times
...
cloudenthusiast
1 year, 2 months ago
Selected Answer: D
the predefined canary deployment configuration, which shifts a small percentage of traffic to the updated versions immediately, and then shifts the remaining traffic after a specified period
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