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

A company is building a microservices application that consists of many AWS Lambda functions. The development team wants to use AWS Serverless Application Model (AWS SAM) templates to automatically test the Lambda functions. The development team plans to test a small percentage of traffic that is directed to new updates before the team commits to a full deployment of the application.

Which combination of steps will meet these requirements in the MOST operationally efficient way? (Choose two.)

  • A. Use AWS SAM CLI commands in AWS CodeDeploy to invoke the Lambda functions to test the deployment.
  • B. Declare the EventInvokeConfig on the Lambda functions in the AWS SAM templates with OnSuccess and OnFailure configurations.
  • C. Enable gradual deployments through AWS SAM templates.
  • D. Set the deployment preference type to Canary10Percent30Minutes. Use hooks to test the deployment.
  • E. Set the deployment preference type to Linear10PercentEvery10Minutes. Use hooks to test the deployment.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
dilleman
Highly Voted 1 year, 6 months ago
Selected Answer: CD
C and D should be correct. Given that "The development team plans to test a small percentage of traffic that is directed to new updates before the team commits to a full deployment of the application." then Option D makes more sense than Option E.
upvoted 6 times
...
Anandesh
Most Recent 9 months, 1 week ago
Selected Answer: CD
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html You need to enable the gradual deployment first then only codeDeploy will invoke lambda function
upvoted 1 times
...
65703c1
11 months, 1 week ago
Selected Answer: CD
CD is the correct answer.
upvoted 1 times
...
KarBiswa
1 year, 1 month ago
Selected Answer: AC
For A - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-automated-tests.html#:~:text=You%20can%20use%20the%20sam%20local%20invoke%20command%20to%20manually%20test%20your%20code%20by%20running%20Lambda%20functions%20locally.%20With%20the%20AWS%20SAM%C2%A0CLI%2C%20you%20can%20easily%20author%20automated%20integration%20tests%20by%20first%20running%20tests%20against%20local%20Lambda%20functions%20before%20deploying%20to%20the%20AWS%20Cloud. C - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html
upvoted 1 times
...
KarBiswa
1 year, 1 month ago
Selected Answer: CD
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html
upvoted 1 times
...
KarBiswa
1 year, 1 month ago
Selected Answer: AD
I will got A & D D is nice and clear no debates For A - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-automated-tests.html#:~:text=You%20can%20use%20the%20sam%20local%20invoke%20command%20to%20manually%20test%20your%20code%20by%20running%20Lambda%20functions%20locally.%20With%20the%20AWS%20SAM%C2%A0CLI%2C%20you%20can%20easily%20author%20automated%20integration%20tests%20by%20first%20running%20tests%20against%20local%20Lambda%20functions%20before%20deploying%20to%20the%20AWS%20Cloud.
upvoted 1 times
KarBiswa
1 year, 1 month ago
changing the option to C, D
upvoted 1 times
...
...
SerialiDr
1 year, 3 months ago
Selected Answer: CD
C. Enable gradual deployments through AWS SAM templates: Gradual deployments allow you to safely deploy your application while exposing new versions to only a portion of your traffic. This approach is ideal for testing new updates in a production environment without impacting all users. AWS SAM supports the configuration of deployment preferences directly within the SAM template. D. Set the deployment preference type to Canary10Percent30Minutes. Use hooks to test the deployment: The Canary deployment type is suitable for gradually introducing a new version of the Lambda function. In this case, "Canary10Percent30Minutes" means that 10% of the traffic will be directed to the new version for 30 minutes. If no issues are detected, the rest of the traffic is shifted to the new version. The use of hooks allows for automated tests to run against the new deployment, ensuring its stability before full traffic shift.
upvoted 2 times
...
c9ebec2
1 year, 4 months ago
Selected Answer: AD
A: test code during deploy https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-automated-tests.html D: Canary, to deploy a small percentage
upvoted 2 times
...
PrakashM14
1 year, 5 months ago
Selected Answer: CD
C. Enable gradual deployments through AWS SAM templates. D. Set the deployment preference type to Canary10Percent30Minutes. Use hooks to test the deployment.
upvoted 4 times
...
Digo30sp
1 year, 6 months ago
Selected Answer: CE
The correct answers are (C) and (E). (C) is the most important step because it allows you to deploy new Lambda function updates to a small percentage of your traffic. (E) is the second most important step because it allows you to test new Lambda function updates using hooks.
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