AWS Certified DevOps Engineer - Professional exam guide

What the DOP-C02 exam looks like, what it covers, and how to prepare.

Try Practice Exam 1 free See all 5 practice exams

The exam at a glance

Exam codeDOP-C02
Questions75 (65 scored, 10 unscored)
Time180 minutes
Passing score750 (scaled score 100-1,000)
PriceUSD 300
Question typesmultiple choice, multiple response
How you take itPearson VUE test center or online proctored
Valid for3 years; recertify by passing the latest version of the exam
Recommended experience2 or more years provisioning, operating and managing AWS environments, plus SDLC and programming/scripting experience
LanguagesEnglish, Japanese, Korean, Simplified Chinese

Good to know: The Korean version of the exam retires after December 31, 2026.

What the exam covers

DomainShare of the exam
1. SDLC Automation22%
2. Configuration Management and IaC17%
3. Resilient Cloud Solutions15%
4. Monitoring and Logging15%
5. Incident and Event Response14%
6. Security and Compliance17%

Try 10 sample questions

From Practice Exam 5, one or two per domain. No account needed.

  1. A buildspec cache key includes a hash of package-lock.json. After that file changes, no cache matches the exact key. What does a fallback key such as npm-key- do?

    • A. It saves a new cache without restoring any cache
    • B. It restores only a cache whose key matches the full key exactly
    • C. It restores a cache whose key starts with that prefix
    • D. It turns the cache off for that build
    Show answer

    Answer: C. Correct. CodeBuild matches the primary key exactly, and each fallback key is matched using a prefix search.

  2. A root stack has termination protection turned on and contains nested stacks. A user tries to delete one nested stack directly. What happens?

    • A. The deletion fails, because the protection applies to the nested stacks
    • B. The nested stack is deleted, because only root stacks are protected
    • C. The deletion fails only if the nested stack has its own protection set
    • D. The nested stack is deleted after the user turns its protection off
    Show answer

    Answer: A. Correct. Turning protection on for a stack passes the same choice to its nested stacks, so a direct delete of a nested stack fails.

  3. An application keeps shared files on Amazon EFS and must keep working if one Availability Zone becomes unavailable. Which file system type fits?

    • A. A One Zone file system
    • B. A One Zone file system replicated to another Region
    • C. A Regional file system
    • D. A One Zone file system with automatic backups
    Show answer

    Answer: C. Correct. Regional file systems store data redundantly across multiple Availability Zones, so they stay available when one zone is unavailable.

  4. A team wants an alarm on an application metric with a 10-second period. How must the metric be published?

    • A. As a custom metric with 1-second storage resolution
    • B. As a metric stream that samples the metric every second
    • C. As a standard resolution custom metric with a 10-second period
    • D. As an AWS service metric
    Show answer

    Answer: A. Correct. Only custom metrics stored at a 1-second resolution support sub-minute periods.

  5. An SNS topic delivers to an HTTPS endpoint that is sometimes down. Where is the dead-letter queue attached?

    • A. To the subscription
    • B. To the subscription's filter policy
    • C. To the topic
    • D. To the topic's delivery retry policy
    Show answer

    Answer: A. Correct. Deliveries happen at the subscription level, so the queue is attached to each subscription with a redrive policy.

  6. An external identity provider must create and remove users and groups in IAM Identity Center automatically. Which protocol does this?

    • A. LDAP
    • B. SAML 2.0
    • C. OAuth 2.0
    • D. SCIM
    Show answer

    Answer: D. Correct. IAM Identity Center supports automatic provisioning from an identity provider with SCIM v2.0.

  7. A test pipeline's CloudFormation deploy action should delete a stack stuck in ROLLBACK_FAILED and create it again. Which action mode does that?

    • A. REPLACE_ON_FAILURE
    • B. CHANGE_SET_REPLACE
    • C. DELETE_ONLY
    • D. CREATE_UPDATE
    Show answer

    Answer: A. Correct. It deletes a stack that is in a failed state and creates a new one; use it for testing only, because it might delete your stack.

  8. A template uses CloudFormation dynamic references to read secrets from Secrets Manager. Which statement is true?

    • A. Dynamic references can supply secure values to custom resources
    • B. Dynamic references are resolved before a transform such as AWS::Include runs
    • C. A template can contain an unlimited number of dynamic references
    • D. Dynamic references are not supported in EC2 UserData properties
    Show answer

    Answer: D. Correct. The documentation lists UserData, and AWS::CloudFormation::Init metadata, as places where dynamic references are not supported.

  9. A Valkey or Redis OSS replication group has Multi-AZ turned on, and its primary node fails. Which node does ElastiCache promote to primary?

    • A. The replica with the lowest node number
    • B. The replica in the zone with the most free capacity
    • C. The replica with the least replication lag
    • D. A new node launched after the failure
    Show answer

    Answer: C. Correct. ElastiCache promotes the replica with the least replication lag, then launches a replacement replica in the failed primary's zone.

  10. An application on Linux servers sends StatsD metrics. How does the CloudWatch agent collect them?

    • A. Turn on detailed monitoring for the instances
    • B. Add a statsd section to the agent configuration
    • C. Create a metric filter on the application's log group
    • D. Run the X-Ray daemon beside the application on each server
    Show answer

    Answer: B. Correct. The agent reads StatsD metrics once statsd is added to the metrics_collected section.

Try a full practice exam free

A simple way to prepare

  1. Find your starting point. Take Practice Exam 1 as a free timed attempt. Your score by domain shows where to focus.
  2. Study your weakest domains first. Use the official study guide and documentation linked below.
  3. Practice with explanations. Work through the other practice exams in study mode and read why each answer is right or wrong.
  4. Rehearse the real thing. Take a final practice exam in timed mode. Book the real exam when every domain feels comfortable.

Official sources

Checked against these pages on December 5, 2026. Exam details change, so confirm them on the official page before you book.

CertMonster is independent practice material, not affiliated with or endorsed by AWS.