DVA-C03 · LESSON 3
Testing and Deployment22% · 1 topics
Pin built image digests and promote the tested artifact across environments. Complement SAM event tests with real authorization and integration tests. For weighted Lambda rollout through CodeDeploy, configure alarms and rollback targets first. Review AI-generated tests for failure and boundary cases.
3.1Validate one artifact and deploy progressively
Concept
Pin built image digests and promote the tested artifact across environments. Complement SAM event tests with real authorization and integration tests. For weighted Lambda rollout through CodeDeploy, configure alarms and rollback targets first. Review AI-generated tests for failure and boundary cases.
How it works / steps
- Write requirements and success criteria first.
- Use a test environment and retain success and failure evidence.
- Review the result, then check your decisions with domain practice below.
Workplace example
Induce an error in a test revision and verify rollback after the alarm.
Common confusions and exam tips
- Mock accuracy does not convert to official scaled scores. Check current service behavior in official documentation.
Mini quiz
Q1. An ECS service is deployed blue/green with CodeDeploy. If errors increase in the new version, you want to revert to the old version without human intervention. Which method is most appropriate?
- Stop blue/green, switch to all-at-once deployment, and re-release a fix immediately when errors occur
- Greatly increase client-side retry counts so errors are absorbed by retries
- Have staff check logs hourly after deployment and redeploy the old task definition if errors are high
- Associate CloudWatch alarms with the deployment group and enable automatic rollback on alarm
Show answer and explanation
Answer: D Associate CloudWatch alarms with the deployment group and enable automatic rollback on alarm
If an alarm fires during deployment or the wait period, CodeDeploy can automatically roll back and return traffic to the original task set.
Q2. How can 5% of production Lambda traffic reach a new version?
- The log-group retention period
- A weighted alias targeting versions
- An environment variable renaming the function
- The execution-role trust policy
Show answer and explanation
Answer: B A weighted alias targeting versions
Route an alias between published versions with controlled weights.
Reference links
Lessons are written by this site based on public information and do not guarantee exam content. Product specifications change, so check the latest information at the reference links.
Notes (unofficial, original questions, no pass guarantee)
- The questions on this site are original practice questions written by this site based on publicly available skills outlines and exam guides. They are not actual exam questions.
- Amazon Web Services, AWS and related marks are trademarks of Amazon.com, Inc. or its affiliates. This site is not affiliated with or endorsed by AWS.
- This content is a study aid and does not guarantee a pass. Exam content, format and prerequisites may change without notice; always check the latest information on the official page before taking the exam.
- Your accuracy on the mock exam cannot be converted to the official (scaled) score and does not predict a pass or fail.
- Progress is saved only in this browser (localStorage) unless you sign in with Google to sync it. You can delete it from the Cookie & storage settings page (Japanese).