Skip to main content
OpenpassAI

Study guide4 min read

AWS DevOps Engineer Professional (DOP-C02) Practice Questions: Free Samples With Answers

5 sample questions with the reasoning behind each answer, the format of the real exam, and how to use practice tests so that they tell you something.

By , Founder

Published

On this page
  1. The short answer
  2. The DOP-C02 exam at a glance
  3. What the exam covers
  4. 5 sample questions, with answers
  5. How to use practice questions
  6. Practice exams, downloads and dumps
  7. What to do next

The short answer

  1. The real exam: 75 questions in 180 min, passing at 750 / 1000, for $300.
  2. 5 sample questions below, from 5 of the exam’s 6 domains, each with its answer and why it’s right.
  3. They are original questions, written from AWS’s published outline. They aren’t copies of real exam questions, and we don’t publish those.
  4. For a score by domain, take the free 10-question practice test. Nothing to download: it runs in your browser.

The DOP-C02 exam at a glance

From our AWS DevOps Engineer Professional exam guide, which follows AWS’s own page and is checked every week. AWS hasn’t announced a retirement date for DOP-C02.

AWS DevOps Engineer Professional (DOP-C02): exam format
AWS DevOps Engineer Professional (DOP-C02)
Exam codeDOP-C02
LevelProfessional
Written forDevOps or Platform Engineer
Questions75
Time180 min
Passing score750 / 1000
Cost$300
Recommended experience2+ years provisioning and operating AWS

What the exam covers

The exam has 6 domains: SDLC Automation (22%), Configuration Management and IaC (17%), Resilient Cloud Solutions (15%), Monitoring and Logging (15%), Incident and Event Response (14%), Security and Compliance (17%). SDLC Automation is the largest, at 22%, so it deserves the largest share of your study time.

The sample questions below start with one from each domain in turn, so you can see how each is asked.

5 sample questions, with answers

Answer each one before you open its answer. If you get it right for the wrong reason, count it as wrong: the explanation matters more than the letter.

  1. Question 1 · SDLC Automation

    A team deploys a new Lambda version and wants 10% of traffic sent to it for 10 minutes, with an automatic rollback if a CloudWatch alarm fires. What should it use?

    • AA CloudFormation stack update with no policy
    • BAmazon Route 53 weighted records
    • CLambda reserved concurrency
    • DAWS CodeDeploy with a canary deployment configuration
    Show the answer

    D. AWS CodeDeploy with a canary deployment configuration

    CodeDeploy shifts traffic between Lambda alias versions, for example LambdaCanary10Percent10Minutes, and rolls back on alarms. A plain stack update shifts everything at once, weighted DNS doesn’t apply to Lambda aliases, and reserved concurrency limits scaling.

  2. Question 2 · Configuration Management and IaC

    A CloudFormation stack update must never replace or delete the production database. What prevents it?

    • AA stack policy, plus DeletionPolicy: Retain
    • BRunning drift detection after each update
    • CTermination protection on the stack only
    • DA production tag on the database
    Show the answer

    A. A stack policy, plus DeletionPolicy: Retain

    A stack policy can deny updates that would replace the database, and DeletionPolicy: Retain keeps it if it’s removed from the template. Drift detection reports changes after the fact, termination protection stops deleting the whole stack, and tags block nothing.

  3. Question 3 · Resilient Cloud Solutions

    An Auto Scaling group behind an Application Load Balancer keeps instances that pass EC2 status checks but return HTTP 500 errors. How can the group replace them automatically?

    • ATurn on ELB health checks for the group
    • BAdd more instances to the group
    • CAdd a scheduled scaling action
    • DEnable detailed EC2 monitoring
    Show the answer

    A. Turn on ELB health checks for the group

    By default the group uses EC2 status checks only. With Elastic Load Balancing health checks on, it also replaces instances the load balancer marks unhealthy. More instances, schedules and detailed metrics don’t remove the broken ones.

  4. Question 4 · Monitoring and Logging

    Application logs in CloudWatch Logs contain the word ERROR. The team wants an alarm when more than 10 appear in five minutes. What should it create?

    • AA CloudTrail trail with data events
    • BAn AWS Config custom rule
    • CA metric filter with a CloudWatch alarm
    • DA VPC Flow Log on the subnet
    Show the answer

    C. A metric filter with a CloudWatch alarm

    A metric filter on the log group turns matching lines into a CloudWatch metric, and an alarm watches it. CloudTrail records API calls, Config records resource settings, and flow logs record network traffic.

  5. Question 5 · Incident and Event Response

    When an EC2 instance enters the stopped state, a Lambda function must run and notify the team. What should trigger it?

    • AAn EventBridge rule for EC2 state changes
    • BA CloudWatch Logs subscription filter
    • CAn S3 event notification on a bucket
    • DAn SQS dead-letter queue
    Show the answer

    A. An EventBridge rule for EC2 state changes

    EC2 sends instance state-change events to EventBridge, and a rule can match stopped and invoke Lambda. Subscription filters stream logs, S3 notifications cover bucket events, and a dead-letter queue holds failed messages.

How to use practice questions

Test before you study. A short test at the start shows which domains you already know, so you don’t spend a week on them.

Read every explanation, including the ones for questions you got right. Most exam questions turn on one detail in the scenario, and the explanation names it.

Then go full length. A few questions check your understanding; they don’t tell you whether you can hold your attention for 180 min. Before you book, sit full, timed practice exams until you pass them comfortably more than once.

Practice exams, downloads and dumps

You don’t need to download anything to practice. Our practice test is free and runs in the browser, on a phone or a computer.

Dumps are a different thing: collections sold or shared as the “real” exam questions. We don’t publish or link to them. They are taken from the exam in breach of the agreement every candidate accepts, they go out of date when AWS refreshes its questions, and nobody stands behind their answers.

There is also a plainer reason. An exam is a sample of what the job needs. If you memorize the sample, you pass without the knowledge, and the first week of work shows it.

What to do next

Take the practice test, note your weakest domain, and build your study time around it.

FAQs

Got Questions? We’ve Got Answers.

Find quick answers or contact our support team.

Are these real DOP-C02 exam questions?

No. They are original questions written from AWS’s published exam outline. Real exam questions are confidential, and we don’t publish them.

Is DOP-C02 the current exam?

AWS hasn’t announced a retirement date for DOP-C02. We check AWS’s site every week, and this page changes the day it does.

How many questions are on the AWS DevOps Engineer Professional exam?

75, in 180 min. The passing score is 750 / 1000.

Is the AWS DevOps Engineer Professional practice test free?

Yes. It has 10 questions with explanations, runs in your browser and scores you by exam domain.

Can I download the practice exam?

There is nothing to download: the practice test runs in your browser.

How much does the AWS DevOps Engineer Professional exam cost?

$300 (per attempt, before tax).

Ready to Get Certified Faster?

Start free today or see it in action first.

Pip from OpenpassAI

Hi 👋 I’m Pip, your OpenpassAI study buddy. Ready to prepare for your exam the smarter way?

Ready to explore OpenpassAI? I can show you how the platform helps you prepare, practice, and pass.