DOP-C02 exam dumps

DOP-C02 practice question 248 of 411

AWS Certified DevOps Engineer - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

DOP-C02 Question 248

Select 3

You are managing a web application hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). Users have reported intermittent errors when accessing the application. To troubleshoot the issue, you decide to monitor relevant CloudWatch metrics and logs. Which combination of metrics and logs should you focus on to identify the root cause of the errors?

  1. A

    5xxErrorCount metric from the ALB

  2. B

    CPUUtilization metric from the EC2 instances

  3. C

    RequestCount metric from the ALB

  4. D

    QueueDepth metric from an Amazon SQS queue integrated with the application

  5. E

    Access logs from the ALB

Show answer and explanation

Correct answers: A, B, E

Explanation

To identify the root cause of the reported errors, focusing on the 5xxErrorCount metric from the ALB will help detect server-side issues. Additionally, monitoring the CPUUtilization metric from the EC2 instances can reveal if resource exhaustion is contributing to the errors. Lastly, ALB access logs provide detailed insights into the request and response data, aiding in pinpointing the exact cause of the problem. Other metrics, such as RequestCount or QueueDepth, are less relevant to diagnosing intermittent errors in this specific scenario.

  • A. Correct.

    5xxErrorCount metric from the ALB is critical to identify server-side issues, such as application errors or misconfigurations, causing 5xx HTTP response codes.

  • B. Correct.

    CPUUtilization metric from the EC2 instances helps determine if the instances are under high load, which could be causing the errors.

  • C. Incorrect.

    RequestCount metric from the ALB tracks the number of requests received but does not directly identify errors.

  • D. Incorrect.

    QueueDepth metric from an Amazon SQS queue is unrelated to identifying errors in this scenario unless the issue involves queue backlog, which is not mentioned.

  • E. Correct.

    Access logs from the ALB provide detailed information about the requests and responses, which can help diagnose the source of the errors.

Timed practice exam

Take a DOP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam