↓ Try a sample question (with explanation)

AWS · Practice questions

DOP-C02 AWS Certified DevOps Engineer - Professional

Study 427 DOP-C02 AWS Certified DevOps Engineer - Professional practice questions with explanations. 43 of them are free to try, no sign-up needed.

Buy to unlock all questions, full reading mode and PDFs.

About this question bank

Questions
427 in total
Free to try
43 questions (no sign-up)
Exam domains
6 domains
Price
JPY 1,500 (≈ US$10; shown in your local currency at checkout) · one-time payment · 3 months
PDF
Japanese–English · Chinese–English · Korean–English · English (for buyers)
Data version
2026-12

About this exam

A Professional-level AWS Certification for DevOps engineers who provision, operate and manage systems on AWS. It covers SDLC automation, configuration management and infrastructure as code, resilient cloud solutions, monitoring and logging, incident and event response, and security and compliance, with an emphasis on designing automation for large environments.

Try a sample question

This is an original sample question written by itmoshi based on the exam objectives.

A team exposes a Lambda function through an alias and deploys it with AWS CodeDeploy. For each release, the team wants to send only 10% of traffic to the new version first and, if there are no problems for 5 minutes, shift all remaining traffic. If the function's error count rises during this time, it must roll back to the previous version without human intervention. Which configuration meets these requirements?

  1. AUse the CodeDeployDefault.LambdaAllAtOnce deployment configuration and enable automatic rollback in the deployment group
  2. BUse the CodeDeployDefault.LambdaLinear10PercentEvery1Minute deployment configuration and associate a CloudWatch alarm with the deployment group
  3. CPublish the new version, then manually repoint the alias to it in the Lambda console
  4. DUse the CodeDeployDefault.LambdaCanary10Percent5Minutes deployment configuration, associate an error-count CloudWatch alarm with the deployment group, and enable rollback when the alarm fires
Show answer and explanation

Answer:D "10% first, the rest after 5 minutes" is a canary configuration, combined with an alarm and automatic rollback.

Why it is correct

CodeDeployDefault.LambdaCanary10Percent5Minutes sends 10% of the alias traffic to the new version and shifts the remaining 90% all at once after 5 minutes. With an error-count CloudWatch alarm associated with the deployment group and automatic rollback enabled for when the alarm threshold is met, CodeDeploy points the alias back to the previous version if problems occur during the shift. This satisfies both the gradual shift and the hands-off rollback.

The other options

  • ✗ A AllAtOnce shifts 100% of traffic to the new version immediately, so it does not send only 10% first. It is suited to environments such as development where gradual validation is unnecessary.
  • ✗ B Linear10PercentEvery1Minute adds 10% every minute, which is not the required behavior of holding at 10% for 5 minutes and then shifting the rest at once. Use it when you want to ramp up load gradually.
  • ✗ C Repointing the alias manually moves all traffic at once and provides no automatic rollback on errors. It is a small-scale manual release process without CodeDeploy.

Key takeaway

Canary → a slice first, then everything else after a set time. Linear → equal increments at fixed intervals. AllAtOnce → everything immediately. Rolling back automatically on the Lambda error metric requires an associated CloudWatch alarm and rollback-on-alarm settings.

Try 43 questions like this for free

Most frequent topics

  1. Deployment strategies for instances, containers and serverless53 questions
  2. Automating security controls and data protection43 questions
  3. Implementing CI/CD pipelines42 questions
  4. Auditing, monitoring and analyzing logs and metrics to detect issues40 questions
  5. Identity and access management at scale33 questions
  6. Managing event sources to process events, send notifications and take automated actions31 questions

Number of questions per topic among the 427 in this bank (top topics), as classified by itmoshi.

Exam domains

  1. SDLC Automation109 questions
  2. Configuration Management and Infrastructure as Code63 questions
  3. Resilient Cloud Solutions53 questions
  4. Monitoring and Logging66 questions
  5. Incident and Event Response47 questions
  6. Security and Compliance89 questions

Other AWS exams

← All exams

itmoshi is an unofficial study service and is not affiliated with AWS or any exam provider.