AWS Certified DevOps Engineer – Professional (DOP-C02) study guide
What the DOP-C02 exam tests, domain by domain, and how to tell the right answer from the nearly right one. Each topic links to fuller study notes and free practice questions.
Last checked against the official exam guide and AWS documentation · How we write our content
About the DOP-C02 exam
The AWS Certified DevOps Engineer – Professional exam checks whether you can automate how software and infrastructure are built, deployed, operated and secured on AWS, usually across many accounts and Regions. AWS aims it at people with 2 or more years of provisioning, operating and managing AWS environments, plus experience with the software development lifecycle, scripting, automation and securing infrastructure.
| Questions | 75: 65 scored and 10 unscored, which aren’t marked |
| Time | 180 minutes |
| Question types | Multiple choice (one answer from four) and multiple response (two or more from five or more) |
| Score | Scaled from 100 to 1,000; 750 to pass |
| Scoring model | Compensatory: you need to pass overall, not in each domain |
| Guessing | An unanswered question counts as wrong, and there is no penalty for a wrong answer, so answer everything |
Check the official certification page for the current price, languages and booking options before you book.
What the exam really tests
Professional questions are long. They describe an organization with several accounts, an existing toolchain and a list of constraints, then offer four answers that all sound plausible. The winning answer meets every constraint with the most automation and the least custom code. A few themes run through the whole exam:
- Automate, don’t operate. EventBridge rules, Config remediation, Systems Manager Automation and pipelines beat scripts on servers and manual steps.
- Deploy safely. Blue/green, canary and linear traffic shifting with CloudWatch alarms and automatic rollback.
- Think multi-account. Organizations, Control Tower, StackSets, delegated administrators, cross-account roles and customer managed KMS keys for shared artifacts.
- See everything. Centralized logs, metrics, traces and findings, with alarms that page only when it matters.
- Least privilege at scale. Permissions boundaries, SCPs, ABAC, Identity Center and short-lived credentials.
How to read a question
- Read the last sentence first to see what’s being asked and the qualifier: least operational overhead, fastest recovery, most secure, fewest changes.
- List the hard constraints: accounts, Regions, RTO and RPO, existing tools, compliance rules.
- Eliminate answers that use retired or closed services, add custom servers, or break a constraint.
- Between the last two, choose the managed, native integration over the glue code.
Pace yourself: 180 minutes for 75 questions is about 2 minutes 20 seconds each, and long scenarios take longer. Flag and move on.
How the domains add up
SDLC Automation is the largest domain at 22%. Configuration Management and IaC and Security and Compliance follow at 17% each, then Resilient Cloud Solutions and Monitoring and Logging at 15% and Incident and Event Response at 14%. The domains overlap heavily: a deployment question often turns on monitoring, and an incident question on IAM.
Domain 1: SDLC Automation 22%
The largest domain covers building CI/CD: CodePipeline stages and triggers, source connections to GitHub, GitLab and Bitbucket, CodeBuild and buildspecs, secrets in builds, automated tests and reports, artifact repositories, AMI and container image pipelines, CodeDeploy to EC2 and on-premises, ECS, EKS and Lambda deployments, and pipelines that deploy across accounts.
CodePipeline structure, stages and triggers
CodePipeline models a release as stages of actions. Know V2 triggers with branch and file path filters, execution modes, pipeline variables, manual approvals, stage conditions and rollback, and cross-Region artifact stores.
Study notes and 1 free question on CodePipeline structure, stages and triggersSource repositories and Git connections
Pipelines start from source: GitHub, GitLab, Bitbucket and self-managed Git through AWS CodeConnections, plus S3 and ECR sources. Know connections and hosts, full clone vs zip output, and webhook filters in CodeBuild.
Study notes and 1 free question on Source repositories and Git connectionsBuilds with CodeBuild and buildspec
CodeBuild runs builds in managed containers defined by a buildspec. Know buildspec phases, environment variables, caching, VPC builds, privileged mode for Docker, batch builds, compute choices and webhook filter groups.
Study notes and 2 free questions on Builds with CodeBuild and buildspecBuild and deployment secrets
Builds and deployments need passwords, tokens and keys without exposing them. Know Secrets Manager and Parameter Store references in buildspecs and task definitions, role-based access instead of keys, and how to keep secrets out of logs and artifacts.
Study notes and 1 free question on Build and deployment secretsAutomated tests and test reports in pipelines
Pipelines should test automatically at each stage: unit, integration, security, load and canary tests. Know CodeBuild test and coverage reports, failing builds on test results, image scanning gates, and synthetic canaries after deployment.
Study notes and 2 free questions on Automated tests and test reports in pipelinesArtifact repositories (CodeArtifact, ECR, S3)
Build outputs need trusted storage: CodeArtifact for packages with upstream public registries, ECR for container images with scanning, lifecycle and replication, and S3 for other artifacts. Know repository policies and cross-account access.
Study notes and 1 free question on Artifact repositories (CodeArtifact, ECR, S3)AMI and container image pipelines (EC2 Image Builder)
Golden AMIs and container images should be built by a pipeline. Know EC2 Image Builder recipes, components, tests, schedules and distribution across Regions and accounts, plus how to roll new AMIs into Auto Scaling groups.
Study notes and 1 free question on AMI and container image pipelines (EC2 Image Builder)CodeDeploy on EC2 and on-premises (agent, AppSpec, hooks)
CodeDeploy deploys to EC2 and on-premises servers with an agent and an AppSpec file. Know in-place vs blue/green, lifecycle hooks and their order, deployment configurations, alarms and automatic rollback, and how to troubleshoot.
Study notes and 2 free questions on CodeDeploy on EC2 and on-premises (agent, AppSpec, hooks)Deployments for ECS and EKS
Container deployments on ECS and EKS: rolling updates with circuit breakers, blue/green with CodeDeploy or ECS built-in deployments, canary and linear shifting with alarms, and Kubernetes rollouts with readiness probes and access entries.
Study notes and 2 free questions on Deployments for ECS and EKSLambda deployments (aliases, traffic shifting, SAM)
Lambda releases use versions and aliases with traffic shifting through CodeDeploy, usually declared in SAM with DeploymentPreference. Know canary and linear configurations, pre- and post-traffic hooks, alarms, layers and API Gateway stages.
Study notes and 2 free questions on Lambda deployments (aliases, traffic shifting, SAM)Multi-account pipelines and deployments
Many companies run pipelines in a tooling account that deploy to dev, test and prod accounts. Know cross-account deployment roles, customer managed KMS keys for artifacts, bucket policies, CDK bootstrapping trust and StackSets for fleets.
Study notes and 2 free questions on Multi-account pipelines and deployments
Domain 2: Configuration Management and IaC 17%
This domain covers defining and governing infrastructure as code: CloudFormation templates, change sets, custom resources and stack policies, the CDK and SAM, StackSets across accounts and Regions, Service Catalog, AppConfig feature flags, account provisioning with Organizations and Control Tower, cross-account roles and SCPs, Systems Manager Automation and patching, and automation with Lambda and Step Functions.
CloudFormation templates, change sets and stack updates
CloudFormation is the base of infrastructure as code on AWS. Know change sets, update behaviors and replacement, DeletionPolicy and UpdateReplacePolicy, stack policies, termination protection, drift detection, nested stacks, exports and rollback settings.
Study notes and 2 free questions on CloudFormation templates, change sets and stack updatesCustom resources, helper scripts and stack policies
Advanced CloudFormation: custom resources backed by Lambda, cfn-init and helper scripts, creation policies and wait conditions, macros and transforms, and how to recover stacks stuck in UPDATE_ROLLBACK_FAILED or DELETE_FAILED.
Study notes and 1 free question on Custom resources, helper scripts and stack policiesAWS CDK and AWS SAM
The AWS CDK defines infrastructure in programming languages and synthesizes CloudFormation; AWS SAM adds shorthand for serverless apps. Know constructs, bootstrapping, cdk diff and synth, CDK Pipelines, SAM templates, sam build, deploy, sync and local testing.
Study notes and 1 free question on AWS CDK and AWS SAMStackSets across accounts and Regions
CloudFormation StackSets deploy one template to many accounts and Regions. Know self-managed vs service-managed permissions, delegated administrators, automatic deployment to new accounts in OUs, and concurrency and failure tolerance settings.
Study notes and 1 free question on StackSets across accounts and RegionsReusable governed templates (Service Catalog, modules)
AWS Service Catalog lets teams launch approved, governed products from a portfolio. Know products, portfolios, launch constraints with a launch role, template constraints, TagOptions, sharing across accounts, and how it differs from CloudFormation modules.
Study notes and 1 free question on Reusable governed templates (Service Catalog, modules)Application configuration and feature flags (AppConfig)
AWS AppConfig deploys application configuration and feature flags safely, separate from code. Know configuration profiles, validators, deployment strategies with bake time, alarm-based rollback, the AppConfig Agent and multi-variant flags.
Study notes and 1 free question on Application configuration and feature flags (AppConfig)Account creation and landing zones (Organizations, Control Tower)
Multi-account landing zones: AWS Organizations with OUs and SCPs, AWS Control Tower with Account Factory, controls (preventive, detective, proactive), Customizations for Control Tower, Account Factory for Terraform and lifecycle events.
Study notes and 2 free questions on Account creation and landing zones (Organizations, Control Tower)Cross-account roles and SCPs
Access across many accounts uses cross-account roles, SCPs, resource policies and organization condition keys. Know how SCPs limit even admins, how to require permissions boundaries, and how aws:PrincipalOrgID and resource control policies secure resources.
Study notes and 1 free question on Cross-account roles and SCPsSystems Manager Automation, State Manager and patching
AWS Systems Manager runs operations at scale: Automation runbooks with approvals and rate controls, Run Command, State Manager associations, Patch Manager baselines and maintenance windows, Parameter Store, and Session Manager instead of SSH.
Study notes and 2 free questions on Systems Manager Automation, State Manager and patchingAutomation with Lambda and Step Functions
Lambda and Step Functions automate operations and glue services together. Know Standard vs Express workflows, task tokens for callbacks, retries and catches, direct service integrations, and Lambda limits and asynchronous error handling.
Study notes and 1 free question on Automation with Lambda and Step Functions
Domain 3: Resilient Cloud Solutions 15%
This domain covers keeping workloads available and recoverable: Multi-AZ and multi-Region designs for compute and data, Route 53 health checks and failover, load balancer health and cross-zone settings, EC2 Auto Scaling policies, lifecycle hooks and warm pools, scaling containers and serverless workloads, and disaster recovery strategies with AWS Backup, RTO and RPO.
Multi-AZ and multi-Region high availability
High availability starts with Multi-AZ and extends to multiple Regions. Know RDS Multi-AZ, Aurora replicas and global databases, DynamoDB global tables, S3 replication with RTC, ElastiCache and EFS options, and stateless app tiers.
Study notes and 3 free questions on Multi-AZ and multi-Region high availabilityRoute 53 health checks and failover routing
Route 53 steers traffic with health checks and routing policies. Know failover, weighted, latency, geolocation and multivalue routing, endpoint, calculated and CloudWatch alarm health checks, alias records, and Application Recovery Controller.
Study notes and 1 free question on Route 53 health checks and failover routingLoad balancers, target health and cross-zone
Load balancers spread traffic and remove unhealthy targets. Know ALB, NLB and GWLB differences, health check settings, deregistration delay, slow start, cross-zone load balancing, stickiness, and how Auto Scaling uses ELB health checks.
Study notes and 1 free question on Load balancers, target health and cross-zoneEC2 Auto Scaling (policies, lifecycle hooks, warm pools)
EC2 Auto Scaling keeps the right number of healthy instances. Know target tracking, step, scheduled and predictive scaling, lifecycle hooks, warm pools, instance refresh, mixed instances with Spot, and health check settings.
Study notes and 2 free questions on EC2 Auto Scaling (policies, lifecycle hooks, warm pools)Scaling ECS, EKS and serverless workloads
Scaling containers and serverless workloads: ECS service auto scaling with target tracking and custom backlog metrics, capacity providers, EKS with Karpenter and HPA, Fargate, Lambda concurrency and SQS-based scaling.
Study notes and 1 free question on Scaling ECS, EKS and serverless workloadsDR strategies, AWS Backup and RTO/RPO
Disaster recovery matches RTO and RPO to cost: backup and restore, pilot light, warm standby or multi-site active-active. Know AWS Backup plans, cross-Region and cross-account copies, Vault Lock, restore testing, PITR and Elastic Disaster Recovery.
Study notes and 3 free questions on DR strategies, AWS Backup and RTO/RPO
Domain 4: Monitoring and Logging 15%
This domain covers seeing what workloads are doing: collecting, retaining, encrypting and centralizing logs with subscriptions, custom metrics, metric filters and alarms, analyzing logs with Logs Insights and Athena, distributed tracing with X-Ray and OpenTelemetry, and the CloudWatch agent and metric streams.
Log collection, retention, encryption and subscriptions
CloudWatch Logs collects application and service logs. Know log groups, retention, KMS encryption, data protection policies, subscription filters to Lambda, Firehose and Kinesis, cross-account centralization, and log classes.
Study notes and 3 free questions on Log collection, retention, encryption and subscriptionsCustom metrics, metric filters and alarms
CloudWatch metrics and alarms detect problems. Know custom metrics and embedded metric format, metric filters, metric math, anomaly detection, composite alarms, missing data treatment, high-resolution metrics and alarm actions.
Study notes and 3 free questions on Custom metrics, metric filters and alarmsLogs Insights, Athena and dashboards
Analyzing logs and metrics: CloudWatch Logs Insights for recent logs, Athena for archives in S3, OpenSearch for search and dashboards, CloudWatch dashboards, Contributor Insights and CloudTrail Lake for API history.
Study notes and 2 free questions on Logs Insights, Athena and dashboardsDistributed tracing with X-Ray
Distributed tracing follows a request across services to find slow or failing calls. Know X-Ray traces, segments, service maps and sampling, and why new instrumentation should use OpenTelemetry (ADOT or the CloudWatch agent) rather than the X-Ray SDKs and daemon.
Study notes and 1 free question on Distributed tracing with X-RayCloudWatch agent and metric streams
The CloudWatch agent collects memory, disk and custom metrics and logs from servers; metric streams send metrics continuously to Firehose or partners. Know agent configuration in Parameter Store, procstat, StatsD and collectd, and stream filters.
Study notes and 2 free questions on CloudWatch agent and metric streams
Domain 5: Incident and Event Response 14%
This domain covers reacting to events automatically and fixing what breaks: EventBridge rules and schedules, AWS Health events, AWS Config rules with automatic remediation, troubleshooting failed deployments and CloudFormation stacks, and managing operational issues with OpsCenter and root cause analysis.
EventBridge rules and event-driven responses
EventBridge routes events from AWS services, apps and partners to targets. Know event patterns, rule targets and input transformers, retries and dead-letter queues, cross-account and cross-Region buses, archive and replay, Scheduler and Pipes.
Study notes and 3 free questions on EventBridge rules and event-driven responsesAWS Health events and notifications
AWS Health reports service issues, scheduled maintenance and account notices that affect your resources. Know the Health Dashboard, organizational view with a delegated administrator, Health events in EventBridge, and automated responses.
Study notes and 1 free question on AWS Health events and notificationsAWS Config rules and automatic remediation
AWS Config records resource configuration and evaluates rules. Know managed and custom rules, conformance packs, organization-wide deployment with a delegated administrator, aggregators, and automatic remediation with Systems Manager Automation runbooks.
Study notes and 2 free questions on AWS Config rules and automatic remediationTroubleshooting failed deployments and stacks
Diagnose failed deployments and stacks: CodeDeploy hook failures, ECS tasks that won't start, CloudFormation rollback states, Lambda deployment rollbacks, CodeBuild failures and pipeline permission errors. Learn which log or event tells you the cause.
Study notes and 3 free questions on Troubleshooting failed deployments and stacksOpsCenter, Incident Manager and root cause analysis
Managing operational issues: Systems Manager OpsCenter OpsItems with runbooks and deduplication, CloudWatch investigations, on-call notification, and root cause analysis. Incident Manager is closed to new customers, so prefer other tools for new designs.
Study notes and 1 free question on OpsCenter, Incident Manager and root cause analysis
Domain 6: Security and Compliance 17%
This domain covers security at scale: least privilege with permissions boundaries, session policies and ABAC, federation with IAM Identity Center and OIDC, rotating machine credentials, Security Hub CSPM, GuardDuty and defense in depth, encryption with KMS and ACM, Macie, and auditing with CloudTrail, Access Analyzer and Inspector.
Least privilege, permissions boundaries and ABAC
Least privilege at scale: permissions boundaries for delegated role creation, session policies, attribute-based access control with tags, external IDs for third parties, and policy evaluation logic across identity, resource, boundary, session and SCP policies.
Study notes and 3 free questions on Least privilege, permissions boundaries and ABACFederation and IAM Identity Center
People and pipelines should sign in with federated, short-lived credentials. Know IAM Identity Center with an external identity provider and SCIM, permission sets across accounts, IAM OIDC and SAML providers, and OIDC trust for CI systems such as GitHub Actions.
Study notes and 2 free questions on Federation and IAM Identity CenterCredential rotation for machine identities
Machine credentials must rotate without downtime. Know Secrets Manager managed and Lambda rotation, single-user vs alternating-users strategies, staging labels, cross-account secrets, and replacing static keys with roles.
Study notes and 1 free question on Credential rotation for machine identitiesSecurity Hub, GuardDuty and defense in depth
Defense in depth across accounts: Security Hub CSPM standards with central configuration, GuardDuty threat detection with automated responses, Inspector, Detective, WAF, Shield, Network Firewall and security group management with Firewall Manager.
Study notes and 3 free questions on Security Hub, GuardDuty and defense in depthEncryption, KMS, ACM and Macie
Protect data with encryption and discovery: KMS key types, key policies and grants, multi-Region keys, ACM certificates and DNS validation, S3 encryption and enforcement, EBS default encryption, and Macie automated sensitive data discovery.
Study notes and 2 free questions on Encryption, KMS, ACM and MacieCloudTrail, Access Analyzer, Inspector and auditing
Auditing at scale: organization CloudTrail trails with log file validation, CloudTrail Lake, IAM Access Analyzer external and unused access findings, Inspector, Audit Manager, and protecting the audit trail itself.
Study notes and 2 free questions on CloudTrail, Access Analyzer, Inspector and auditing
An 8-week study plan
This plan assumes about an hour on weekdays and a longer, hands-on session at the weekend. It’s a professional exam, so give it more time than an associate; if you run CI/CD and multi-account AWS at work, six weeks may be enough.
| Week | Focus | Do this |
|---|---|---|
| 1 | Baseline and pipelines | Take the free practice exam in timed mode. Then CodePipeline (V2 triggers, stages, actions), CodeConnections, CodeBuild and buildspecs, secrets and test reports. |
| 2 | Deployments | CodeDeploy on EC2 (AppSpec, hooks, blue/green), ECS blue/green, EKS rollouts, Lambda aliases and SAM traffic shifting, artifact repositories, EC2 Image Builder, cross-account pipelines. |
| 3 | Infrastructure as code | CloudFormation (change sets, drift, stack policies, custom resources, helper scripts, rollback states), CDK bootstrapping, SAM, StackSets, Service Catalog, AppConfig. |
| 4 | Multi-account and automation | Organizations, Control Tower and its customizations, SCPs, cross-account roles, Systems Manager Automation, State Manager, Patch Manager, Step Functions. |
| 5 | Resilience | Multi-AZ and multi-Region data stores, Route 53 failover, load balancer health checks, Auto Scaling policies, lifecycle hooks and warm pools, container scaling, DR strategies and AWS Backup. |
| 6 | Monitoring and incidents | CloudWatch Logs subscriptions and encryption, metric filters, metric math and composite alarms, Logs Insights, OpenTelemetry tracing, CloudWatch agent, metric streams, EventBridge, AWS Health, Config remediation, OpsCenter. |
| 7 | Security | Permissions boundaries, session policies, ABAC, Identity Center, OIDC for CI, Secrets Manager rotation, Security Hub CSPM, GuardDuty, KMS, ACM, Macie, CloudTrail, Access Analyzer, Inspector. |
| 8 | Exam practice | Full timed practice exams. Review every wrong answer and rebuild the weakest pieces by hand. |
How to use practice questions well
- Practice the length. Do full 75-question sets in 180 minutes so the real exam’s stamina demand isn’t a surprise.
- Read the wrong options. They are usually real features that solve a neighboring problem, or the right service with the wrong setting.
- Don’t memorize questions. The real exam won’t reuse them.
- Aim for 80% or more across a few full timed practice exams before you book.
Get hands-on
In a personal account with a budget alert set: build a CodePipeline from a GitHub repository through CodeBuild to a Lambda function deployed by SAM with a canary and an alarm, then break the function and watch it roll back; deploy a StackSet to two Regions; write a Config rule with an automatic remediation runbook. Delete everything afterward.
Frequently asked questions
Do I need an associate certification first?
No, AWS has no prerequisites. Most candidates find SysOps/CloudOps (SOA) or Developer (DVA) knowledge a big help, because this exam assumes it and goes further.
Which services are no longer right answers?
OpsWorks has reached end of life, Incident Manager is closed to new customers, and the X-Ray SDKs and daemon are in maintenance mode in favor of OpenTelemetry. Prefer current services such as Systems Manager, CloudWatch and OpenTelemetry-based collectors.
How deep is the coding?
You need to read buildspecs, AppSpec files, CloudFormation and IAM policies, and understand what a short script does. You won’t write programs.
Are the practice questions the real exam questions?
No. Every question on this site is original, written from the public exam guide and checked against AWS documentation. Using real exam questions breaks the AWS Certification Program Agreement.
Test yourself
The free DOP-C02 practice exam has 75 questions with an explanation for every option. No sign-up needed.
Want to be sure you're ready? The 5 full-length practice sets add 375 new questions, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets