4.0 Monitoring and Logging DOP-C02 Practice Quiz

90 exam-style questions covering 15% of the DOP-C02 exam. Instant feedback on every answer, progress tracking, no signup required.

This domain is part of the AWS Certified DevOps Engineer Professional practice test. Each question is tagged by exam objective and difficulty so you can drill exactly the areas you need.

Sample Questions

A microservices checkout request passes through API Gateway, Lambda, SQS, and a payment service. The team needs to understand where latency is introduced for one request. Which observability signal is most useful?
  • A. Distributed trace with correlated logs
  • B. Only monthly billing reports
  • C. Only the deployment package size
  • D. Only the number of IAM users in the account

A distributed trace shows timing across service boundaries, and correlated logs add request-specific details for the same transaction. This is the correct answer.

A workload emits detailed debug logs for every request and costs are rising sharply. What should the DevOps engineer adjust?
  • A. Log levels, sampling, and retention based on operational value
  • B. Delete all error logs first
  • C. Store every debug field forever by default
  • D. Move debug logs into user responses

Controlling verbosity and retention preserves useful diagnostic data while reducing noise and cost. This is the correct answer.

A service has an increasing 5XX rate. The team needs a fast signal for detection and then detailed context for diagnosis. Which combination is appropriate?
  • A. Only source repository commit messages
  • B. CloudWatch metrics for detection and application logs for diagnosis
  • C. Only a static architecture diagram
  • D. Only IAM Access Analyzer findings

Metrics provide low-cardinality time-series signals for alarms, while logs provide detailed error context after detection. This is the correct answer.

A support team needs to follow a user request from the edge through backend services. What should every service propagate?
  • A. A different random ID at each hop with no parent relationship
  • B. A correlation ID
  • C. The full bearer token as the request identifier
  • D. The source file name of the service only

A shared correlation ID connects logs, metrics dimensions where appropriate, and traces for the same user request. This is the correct answer.

A DevOps engineer installs the CloudWatch agent but no custom metrics appear. What should be checked first?
  • A. The length of the Auto Scaling group name only
  • B. Agent configuration, instance role permissions, and agent status logs
  • C. The Route 53 record TTL for the application
  • D. The CodeDeploy deployment group color

Agent collection depends on a valid configuration, permissions to publish metrics, and a running agent. This is the correct answer.

A container service runs normally for hours and then memory gradually increases until tasks are killed. What observability signal should be collected?
  • A. Only CloudTrail management events
  • B. Only S3 object access logs for static assets
  • C. Memory utilization metrics with container logs around restarts
  • D. Only Route 53 hosted zone changes

Memory metrics reveal the leak pattern, and logs around restarts help identify workload context and errors. This is the correct answer.

An EC2 fleet must publish memory and disk utilization to CloudWatch. The default EC2 metrics are not enough. What should be configured?
  • A. Only detailed EC2 monitoring
  • B. Only an Application Load Balancer access log
  • C. CloudWatch agent with memory and disk metric collection
  • D. Only an IAM password policy

The CloudWatch agent can collect operating system metrics such as memory and disk usage that are not included in basic EC2 metrics. This is the correct answer.

A team wants to determine whether a problem affects all users or only one tenant. Which logging practice is important?
  • A. Log only free-form messages with no identifiers
  • B. Log full secrets with every request for context
  • C. Use a different field name for tenant on every service
  • D. Include safe tenant or correlation fields in structured telemetry

Structured tenant and correlation fields allow filtering impact scope without exposing sensitive values. This is the correct answer.

Key Terms in This Domain

Link to this quiz

Studying with a group or teaching a class? Send this address or paste the link into your notes, wiki, or course page:

https://quizbuffet.com/aws-devops-engineer-professional/monitoring-and-logging/

<a href="https://quizbuffet.com/aws-devops-engineer-professional/monitoring-and-logging/">AWS DevOps Engineer Professional Monitoring and Logging practice quiz on QuizBuffet</a>

Other DOP-C02 Domains

← Back to DOP-C02 practice test overview

Questions are written against the published DOP-C02 objectives and checked for accuracy and balance before they go live. How QuizBuffet writes and reviews its questions.