Amazon Web ServicesDOP-C02Updated Jun 2026

AWS Certified DevOps Engineer - Professional

429 real-world practice questions with community-voted answers and discussion.

Questions
429
Status
Live now
Vendor
Amazon Web Services
Domains
$30one-time
Lifetime access · Updates included
Online practice
Interactive runner with community comments and Practice / Study modes.
PDF to my inbox
Full bank as a searchable PDF, delivered in minutes.
Both (recommended)
Online access plus the PDF for offline study. Same price.
Try the free preview
All 429 questions
Community-voted answers & discussion
PDF for offline study
Free updates for a year

What's inside

Real exam-style questions

Curated from thousands of reports, with correct answers verified by community vote.

Community discussion

Every question has reasoning from practitioners who sat the exam — read why the answer is the answer.

PDF to your inbox

Prefer paper or an iPad? Get a clean, searchable PDF of the full bank as soon as you purchase.

Sample question

One question, free, no sign-up. Click the correct choice.

Topic 1 · Question 1 · Free sample
A company has a mobile application that makes HTTP API calls to an Application Load Balancer (ALB). The ALB routes requests to an AWS Lambda function. Many different versions of the application are in use at any given time, including versions that are in testing by a subset of users. The version of the application is defined in the user-agent header that is sent with all requests to the API. After a series of recent changes to the API, the company has observed issues with the application. The company needs to gather a metric for each API operation by response code for each version of the application that is in use. A DevOps engineer has modified the Lambda function to extract the API operation name, version information from the user-agent header and response code. Which additional set of actions should the DevOps engineer take to gather the required metrics?
AModify the Lambda function to write the API operation name, response code, and version number as a log line to an Amazon CloudWatch Logs log group. Configure a CloudWatch Logs metric filter that increments a metric for each API operation name. Specify response code and application version as dimensions for the metric.
BModify the Lambda function to write the API operation name, response code, and version number as a log line to an Amazon CloudWatch Logs log group. Configure a CloudWatch Logs Insights query to populate CloudWatch metrics from the log lines. Specify response code and application version as dimensions for the metric.
CConfigure the ALB access logs to write to an Amazon CloudWatch Logs log group. Modify the Lambda function to respond to the ALB with the API operation name, response code, and version number as response metadata. Configure a CloudWatch Logs metric filter that increments a metric for each API operation name. Specify response code and application version as dimensions for the metric.
DConfigure AWS X-Ray integration on the Lambda function. Modify the Lambda function to create an X-Ray subsegment with the API operation name, response code, and version number. Configure X-Ray insights to extract an aggregated metric for each API operation name and to publish the metric to Amazon CloudWatch. Specify response code and application version as dimensions for the metric.
Community voted A · 15 votesStart free preview →