Here are 15 original exam-style questions for the AWS Certified DevOps Engineer – Professional exam (DOP-C02), mapped to the six official domains. Each one comes with the answer and a short reason why every other option is wrong. Answer each question before you read the explanation, and write down the domain of every one you miss. That list tells you where to study first.
These are not real exam questions. They are written to the official AWS exam guide. The real exam also includes multiple-response items (choose two or more); every question here has one correct answer. For the full exam overview, see the DevOps Engineer Professional certification page.
The DOP-C02 domains and how this sample is split
AWS weights DOP-C02 across six domains, with SDLC Automation the largest at 22%.
| Domain | Official weight | Questions here |
|---|---|---|
| 1. SDLC Automation | 22% | 3 (Q1–Q3) |
| 2. Configuration Management and IaC | 17% | 3 (Q4–Q6) |
| 3. Resilient Cloud Solutions | 15% | 2 (Q7–Q8) |
| 4. Monitoring and Logging | 15% | 2 (Q9–Q10) |
| 5. Incident and Event Response | 14% | 2 (Q11–Q12) |
| 6. Security and Compliance | 17% | 3 (Q13–Q15) |
The real exam has 65 scored questions plus 10 unscored ones, and you pass at 750 on a 100–1,000 scale.
The questions
Question 1 · SDLC Automation
A team deploys a business-critical AWS Lambda function through AWS CodePipeline. They want each new version to receive 10% of traffic for 10 minutes before taking all traffic. If a CloudWatch alarm on the function's error rate fires during that window, traffic must return to the previous version automatically. What should the team do?
Answer: C
CodeDeploy shifts traffic between Lambda versions using a weighted alias. A canary configuration sends a set percentage first, and alarms on the deployment group trigger an automatic rollback.
- A is manual, so it does not meet the requirement for automatic rollback.
- B updates code in place, so there is no gradual traffic shift between versions.
- D limits concurrency. It does not route a percentage of requests to the new version.
How did you do?
Fifteen questions is a sample, not a readiness verdict. Use your score to decide where to look next, not whether to book.
| Score | What it suggests |
|---|---|
| 13–15 | Strong sample. Confirm it across a full-length mock before you book. |
| 9–12 | A solid base with gaps. Check whether your misses cluster in one or two domains. |
| 5–8 | Several domains need work. Start with the heaviest: SDLC Automation (22%), then the two 17% domains. |
| 0–4 | Build the foundations first: hands-on time with CodePipeline, CloudFormation, CloudWatch and IAM. |
The real exam draws 65 scored questions from six domains. Getting ready means seeing your accuracy in each domain across many questions, so you know which gaps will cost you marks. For a sense of how this exam compares with the others, see AWS certifications ranked by difficulty and the AWS certification roadmap for 2027.
How StudyTech AI gets you exam-ready
StudyTech AI is a personalised AWS and AI certification prep platform. It finds your knowledge gaps, builds your practice around your skills and gaps, turns your mistakes into flashcards, scores your readiness for every exam domain, and tells you when you are ready to take your exam.
- Take a free diagnostic. It maps your strengths and weaknesses across every DOP-C02 domain.
- Study your weakest domain first. Each focused lesson ends with an immediate quiz, so you prove you understood it.
- Turn wrong answers into flashcards. Every mistake becomes a card you review until it sticks.
- Track progress in real time. Your dashboard updates as you practise, and mock exams are personalised to your weak areas.
- Book when the data says so. Your readiness score tells you when you are ready to sit the exam.
There is also a community inside StudyTech AI where learners help each other with questions and study plans.
StudyTech AI costs $29 a month or $297 a year. The assessment is free.
Start a free assessment on StudyTech AI
Practising for a different AWS exam? See free practice questions for 10 AWS certifications.
Verified 7 November 2026 against the official exam guide.