DOP-C02 exam dumps

DOP-C02 practice question 331 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 331

Select 2

Your team has developed a microservices application deployed on Amazon ECS using Fargate. Recently, users have been reporting high latency during specific API calls. As the DevOps Engineer, you need to identify the root cause of the latency. Which combination of AWS services should you use to monitor and debug the issue most effectively?

  1. A

    Use Amazon CloudWatch Logs to analyze application logs and set up log filters.

  2. B

    Enable AWS X-Ray tracing for the microservices to trace request flows and identify bottlenecks.

  3. C

    Set up Amazon CloudWatch Alarms to notify you when API latency exceeds a threshold.

  4. D

    Use AWS Config to track configuration changes in the ECS service.

  5. E

    Analyze AWS CloudTrail logs to identify unauthorized access to the ECS cluster.

Show answer and explanation

Correct answers: A, B

Explanation

To debug high latency in a microservices application, you need to analyze detailed application logs and trace request flows through the system. Amazon CloudWatch Logs helps you monitor application-level logs, while AWS X-Ray provides distributed tracing across microservices to identify performance bottlenecks. These two services together are well-suited for identifying and resolving latency issues.

  • A. Correct.

    Amazon CloudWatch Logs is essential for analyzing application logs and can help you identify errors or patterns contributing to latency issues.

  • B. Correct.

    AWS X-Ray provides end-to-end tracing of requests across your microservices, enabling you to pinpoint bottlenecks and high-latency segments.

  • C. Incorrect.

    While CloudWatch Alarms are useful for alerting on latency thresholds, they do not help with diagnosing root cause issues related to application performance.

  • D. Incorrect.

    AWS Config tracks configuration changes, but it is not directly relevant for diagnosing runtime latency issues.

  • E. Incorrect.

    AWS CloudTrail is used for auditing API calls and identifying security-related events, not for debugging latency issues in applications.

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