Home › Certifications › AWS Certified DevOps Engineer — Professional (DOP-C02)
150 multiple-choice questions, 120 flashcards and 10 scenario simulations, organised into 6 chapters, written to the AWS Certified DevOps Engineer blueprint. Every question carries a full rationale.
Study AWS Certified DevOps Engineer — Professional (DOP-C02) in CoStudy →
AWS Certified DevOps Engineer — Professional (DOP-C02) Exam Guide (public, aws.amazon.com) — 6 content domains: 1) SDLC Automation (22%) — CI/CD, build/test/deploy, source control, 2) Configuration Management and IaC (17%) — CloudFormation, CDK, Systems Manager, 3) Resilient Cloud Solutions (15%) — multi-region, fault tolerance, 4) Monitoring and Logging (15%) — CloudWatch, X-Ray, observability, 5) Incident and Event Response (14%) — automated remediation, escalation, 6) Security and Compliance (17%) — guardrails, secrets, audit. MCQs reference public AWS docs.
CoStudy's AWS Certified DevOps Engineer — Professional (DOP-C02) bank holds 280 items organised into 6 chapters that follow the published blueprint. Every multiple-choice question carries a written rationale explaining why the correct answer is correct and why each distractor is tempting but wrong, and the bank includes 10 scenario-based simulations.
Each chapter follows a domain of the published exam outline. Practise one on its own:
A sample of 12 multiple-choice questions from the bank, with the full rationale shown.
A CodeBuild project compiles a Java app and runs a 12-minute test suite. The team wants to share a 4 GB Gradle dependency cache across builds and concurrent runs to cut build time. Which cache configuration BEST fits?
Answer: A — S3 cache with paths pointing at the Gradle cache directory
Local cache is per-host and lost when the host recycles. S3 cache persists and is shared across concurrent builds. DOCKER_LAYER_CACHE is for Docker layers. CUSTOM_CACHE is local-host only.
A CodePipeline deploys CloudFormation. A change to a NAT Gateway subnet inadvertently replaces the NAT and drops production traffic for 4 minutes. The team wants to catch replacements BEFORE they happen. Which change BEST prevents recurrence?
Answer: A — Switch the deploy action to use a change set with replacement detection and require manual approval before execution when a replacement is detected
Change sets surface resource replacements before execute. Pairing with manual approval blocks the destructive change. B detects post-incident. C prevents stack delete, not resource replacement. D doesn't change replacement semantics.
A CDK app needs to generate an IAM policy whose actions depend on a config file processed at synth time. Which construct/pattern is MOST appropriate?
Answer: C — Read the config in TypeScript and pass values into PolicyStatement
CDK is code — synth-time config is just programmatic input. B is for cross-cutting concerns (e.g., tag enforcement). A introduces a macro for no reason. D runs at deploy, not synth.
A team's SAM template defines an API Gateway + Lambda. Local testing with 'sam local invoke' works, but deploy fails with 'Transform AWS::Serverless-2016-10-31 not supported'. What is the FIX?
Answer: A — Run 'sam build' then 'sam deploy --guided', which packages the template (resolving the Transform) before invoking CloudFormation
SAM templates require the Transform header; sam deploy handles it. Direct 'aws cloudformation deploy' on a SAM template without packaging will fail. B/C/D miss the point.
A team wants RTO of 5 minutes and RPO of 1 minute for a transactional Postgres workload across two regions. Which architecture is BEST?
Answer: B — Aurora Global Database with managed cross-region replication (typically sub-second replica lag) and managed failover for fast RTO
Aurora Global Database provides sub-second RPO and managed RTO. B is slower. C misses RPO. D is single-region.
PREDICTIVE SCALING (ASG):
Answer: C — Uses ML to FORECAST capacity needs based on historical patterns
Predictive scaling: ML-based proactive scaling. Analyzes 14+ days of metrics. Generates daily forecast. Works alongside dynamic scaling (target tracking) as additional layer. Best for cyclical/predictable workloads (e-commerce, content sites). DOP advanced scaling.
Which is the BEST observability stack for AWS applications?
Answer: B — CloudWatch Logs/Metrics/Logs Insights/Alarms + X-Ray distributed
AWS observability: CloudWatch (logs, metrics, alarms, dashboards, Logs Insights for queries), X-Ray (traces), Container Insights (EKS/ECS), Application Insights (SQL/.NET). OpenTelemetry integration. SLA monitoring via CloudWatch Synthetics canaries.
A CloudWatch composite alarm should fire only if BOTH 'high error rate' AND 'low traffic' alarms are active. Which BEST describes composite alarm behavior?
Answer: C — Composite alarms evaluate boolean expressions over child alarm
Composite supports AND/OR/NOT over child alarm states. B/C/D wrong.
An on-call escalation should page primary, then secondary after 10 minutes if not acknowledged. Which service BEST implements this?
Answer: A — AWS Systems Manager Incident Manager with engagement plans
Incident Manager engagement plans handle escalation with ack windows. SNS fan-outs to everyone immediately.
An EventBridge rule fires on every CloudTrail RootAccountUsage event but the SSM Automation target receives no events. The rule shows InvokeTargetsFailures > 0. What is the MOST LIKELY cause?
Answer: C — The EventBridge rule's IAM role lacks ssm:StartAutomationExecutio
InvokeTargetsFailures plus 'no events received' is classic missing target IAM. B/C/D wrong.
A team needs all CloudTrail logs to be immutable and queryable via SQL for 7 years. Which BEST combination meets the requirement?
Answer: C — CloudTrail Lake event data store with extended retention up to 7
CloudTrail Lake supports up to 7-year retention + SQL. Object Lock for immutability. B is short retention. C lacks immutability. D wrong.
Which is the BEST way to enforce security policies in IaC?
Answer: B — cfn-lint / cfn-nag (CloudFormation linting) and CDK Aspects for pre-deployment policy checks, backed by AWS Config rules post-deployment
Policy-as-code for IaC: pre-deployment linting (cfn-nag, cfn-lint, Checkov, tfsec). CDK Aspects programmatic enforcement. Post-deployment AWS Config rules + remediation. Defense in depth.
6 sample cards from the 120 in the bank.
ECS rolling update?
MinimumHealthyPercent + MaximumPercent control rate. Default 100/200.
Image Builder?
Automated AMI creation pipeline. Apply patches, run tests, distribute.
Change calendar?
AWS Systems Manager. Block automation during freeze windows.
GitHub integration with CodePipeline?
Source action via GitHub OAuth or CodeStar Connections. Webhook triggers.
CloudWatch RUM?
Real User Monitoring. Browser-side performance metrics.
AWS SAM?
Serverless Application Model. CloudFormation extension for serverless.
These samples are a small slice. The full bank runs flashcards, multiple choice and timed mock exams with per-chapter progress tracking, on the web and in the iOS app.
Open AWS Certified DevOps Engineer — Professional (DOP-C02) →
The AWS Certified DevOps Engineer — Professional (DOP-C02) bank holds 280 items: 150 multiple-choice questions, 120 flashcards and 10 scenario-based simulations. 18 of them are on this page to read free, with no signup.
Yes. Every multiple-choice item carries a written rationale that states the controlling principle behind the correct answer and then addresses each wrong option in turn — why it tempts and precisely where it fails. Knowing why the plausible answer was wrong is worth more than knowing which letter was right.
It is organised into 6 chapters that follow the published exam blueprint: SDLC Automation; Configuration Management and Infrastructure as Code; Resilient Cloud Solutions; Monitoring and Logging; Incident and Event Response; Security and Compliance. The number of questions in each chapter is proportional to that domain's published weight, so working through the bank exposes you to roughly the mix the real exam uses.
AWS Certified DevOps Engineer — Professional (DOP-C02) Exam Guide (public, aws.amazon.com) — 6 content domains: 1) SDLC Automation (22%) — CI/CD, build/test/deploy, source control, 2) Configuration Management and IaC (17%) — CloudFormation, CDK, Systems Manager, 3) Resilient Cloud Solutions (15%) — multi-region, fault tolerance, 4) Monitoring and Logging (15%) — CloudWatch, X-Ray, observability, 5) Incident and Event Response (14%) — automated remediation, escalation, 6) Security and Compliance (17%) — guardrails, secrets, audit. MCQs…
The samples on this page are free to read in full, rationales included, with no account. The complete 280-item bank, the timed mock exams and per-chapter progress tracking are part of CoStudy on the web and in the iOS app.
Last reviewed 2026-08-22. Banks are written against the certifying body's published exam outline and re-checked when that outline changes — exams get renumbered, retired and reweighted, and a bank written to a superseded outline teaches the wrong proportions. Figures that are re-indexed annually are deliberately not asserted as rules; the questions test the governing principle instead.
This bank is written against AWS's published exam material. Check the AWS Certification exam guides for the current outline, fees and eligibility rules — those change, and the certifying body is the only authority on them. CoStudy is not affiliated with AWS.