DOP-C02

AWS DevOps Professional DOP-C02 practice exams

365 questions in 5 timed practice tests. Each test has about 75 questions and a 180-minute limit. The pass mark is 75%. Results are split across the 6 exam domains.

Read the DOP-C02 study guide: what the exam covers, a 4-week plan and the topics people miss.

Exam at a glance

DOP-C02 practice exam settings
Practice tests 5
Questions in total 365
Questions per test About 75
Time limit per test 180 minutes
Pass mark 75%
Question types Single answer and multiple answer (24 multiple-answer questions)
Level Professional
Category DevOps & Cloud Native

These are the settings of our practice tests. Check the official AWS exam page for the current exam format before you book.

Domains and weights

DOP-C02 exam domains, weights and question counts
Domain Weight Weight bar Questions in our bank
SDLC Automation 22% 80
Configuration Management and IaC 17% 62
Resilient Cloud Solutions 15% 54
Monitoring and Logging 15% 55
Incident and Event Response 14% 52
Security and Compliance 17% 62

Sample questions

Question 1 of 3

A company wants to roll out a new recommendation feature gradually to 5 percent of users and then increase exposure over two days. The feature must be turned off within seconds without a code deployment if the conversion-rate CloudWatch alarm fires. Which solution meets these requirements?

  1. A Use a CodeDeploy linear deployment of a new Lambda version that contains the feature, with the conversion-rate alarm configured for automatic rollback
  2. B Create two Elastic Beanstalk environments, one with the feature, and shift 5 percent of DNS traffic to it with Route 53 weighted records
  3. C Store the flag in Parameter Store and have the application poll it every 5 minutes, with an alarm action that sets the flag to off
  4. D Store a feature flag in AWS AppConfig, roll it out with a linear deployment strategy, and add the alarm as a rollback monitor (correct answer)
Why: AppConfig feature flags separate feature exposure from code deployment, deployment strategies control the rollout rate, and alarm monitors roll back the configuration automatically within seconds. A CodeDeploy linear deployment requires a code deployment and rolls back the whole version rather than one feature. Parameter Store polling every 5 minutes cannot turn the feature off within seconds and offers no gradual rollout, and DNS weighting is coarse and slow to revert due to caching.

Question 2 of 3

A company runs an AWS Elastic Beanstalk environment with 10 instances. Each deployment must run a database migration command exactly once, and a custom script must run on every instance after the application is deployed to warm local caches. Where should these be defined?

  1. A Use a leader_only container_commands entry for the migration and a .platform/hooks/postdeploy script for cache warming (correct answer)
  2. B Run both scripts in .platform/hooks/predeploy so that they execute on the instances before the new application version starts
  3. C Run the migration from a CodeBuild action before deployment, and place the cache-warming script in .platform/hooks/prebuild
  4. D Run both the migration and the cache-warming script as .ebextensions commands entries so that they run on each instance during deployment
Why: container_commands with leader_only run on a single instance per deployment, which suits one-time migrations, and postdeploy platform hooks run on every instance after deployment completes. Commands entries run on every instance before the application is extracted, so the migration would run 10 times. A prebuild hook runs before the application is deployed, so caches would warm against the old version, and predeploy runs on all instances before the app starts.

Question 3 of 3

A company uses AWS Control Tower and must prevent any account in the Sandbox OU from creating resources outside us-east-1 and eu-west-1, detect S3 buckets without versioning in the Production OU, and block CloudFormation from provisioning unencrypted EBS volumes in the Production OU. Which combination of control types should be enabled?

  1. A Detective controls for all three requirements, with AWS Config remediation to correct the noncompliant resources
  2. B Proactive controls for all three requirements, so that every check runs before resources are provisioned
  3. C Preventive for the Region restriction, detective for S3 versioning, and proactive for EBS encryption (correct answer)
  4. D A preventive control for the Region restriction and detective controls for both S3 versioning and EBS encryption
Why: Preventive controls are implemented with SCPs or RCPs and block disallowed actions such as using other Regions, detective controls use AWS Config rules to find noncompliant resources, and proactive controls use CloudFormation Hooks to block noncompliant resources before provisioning. Detective controls alone do not prevent anything. Proactive controls apply only to CloudFormation provisioning and cannot restrict Regions, and a detective control for EBS does not block provisioning.

What your score report looks like

Example attempt, DOP-C02 practice test 3

77%

Passed
Pass mark 75%

Score by exam domain
DomainWeightYour score%
SDLC Automation 22%
88
Configuration Management and IaC 17%
81
Resilient Cloud Solutions 15%
76
Monitoring and Logging 15%
58
Incident and Event Response 14%
84
Security and Compliance 17%
72

Study next: Monitoring and Logging. It is below the pass mark and carries 15% of the exam.

Domains and pass mark from our DOP-C02 practice tests. Scores are an example attempt.

Study plans

Two weeks

  1. Day 1: take practice test 1 in exam mode to get a baseline.
  2. Days 2 to 5: domain mode on SDLC Automation and Configuration Management and IaC, the two most heavily weighted domains.
  3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
  4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
  5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

Four weeks

  1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
  2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
  3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
  4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

Questions about the DOP-C02 practice exams

Are these real DOP-C02 exam questions?
No. We write every question ourselves and map it to the published DOP-C02 exam objectives. We do not use leaked or recalled questions.
Do the time limit and pass mark match the official exam?
They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
Can I try it before I pay?
Yes. The free mini exam has 15 questions with full explanations and needs no account.
How long do I keep access?
A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
What happens after I finish a test?
You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026. Written and reviewed by the DevOpsCode Lab team.

DevOpsCode Lab is not affiliated with AWS. DOP-C02 and related names are trademarks of their owners.

Related exams
Exam Vendor Level Questions Minutes Price
SCS-C03AWS Security Specialty SCS-C03 AWS Specialty 325 170 $14.99
AIB-C01AWS AI Business Strategist AIB-C01 AWS Foundational 325 90 $9.99
AIF-C01AWS AI Practitioner AIF-C01 AWS Foundational 326 90 $9.99
010-160LPI Linux Essentials 010-200 LPI Foundational 200 60 $9.99
GH-900GitHub Foundations GH-900 GitHub Foundational 300 100 $9.99
AT0-001CompTIA AutoOps+ AT0-001 CompTIA Associate 300 60 $12.99