DOP-C02 exam dumps

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

Select 2

Your company runs a containerized application on Amazon ECS using the Fargate launch type. The application has intermittent performance issues, and you need to implement a monitoring solution to gain visibility into application performance and troubleshoot issues effectively. Which of the following steps should you take to achieve this? (Select TWO.)

  1. A

    Enable Container Insights in Amazon CloudWatch for the ECS cluster.

  2. B

    Create custom CloudWatch metrics for the application using the AWS SDK.

  3. C

    Use AWS X-Ray to trace requests through the application and visualize service maps.

  4. D

    Configure an Amazon SNS topic to send ECS service event notifications.

  5. E

    Deploy Prometheus on an EC2 instance to monitor the Fargate tasks.

Show answer and explanation

Correct answers: A, C

Explanation

To effectively monitor and troubleshoot the intermittent performance issues in your ECS Fargate cluster, enabling Container Insights in Amazon CloudWatch provides detailed metrics and logs for containers, while AWS X-Ray offers distributed tracing capabilities to pinpoint bottlenecks and visualize service dependencies. These two tools complement each other and are AWS-native solutions optimized for ECS and Fargate workloads.

  • A. Correct.

    Enabling Container Insights in Amazon CloudWatch provides detailed metrics and logs for ECS services, tasks, and containers, making it easier to monitor and troubleshoot performance issues.

  • B. Incorrect.

    While creating custom CloudWatch metrics is a valid approach for specific use cases, it does not provide the comprehensive monitoring and tracing capabilities required for debugging intermittent performance issues in a containerized application.

  • C. Correct.

    AWS X-Ray is designed to trace requests through distributed applications, allowing you to visualize service maps and identify bottlenecks or latency issues, which is highly relevant for troubleshooting performance problems.

  • D. Incorrect.

    Configuring an SNS topic for ECS service event notifications is useful for operational alerts but does not directly help with monitoring or troubleshooting performance issues.

  • E. Incorrect.

    Prometheus is commonly used for monitoring, but deploying it on an EC2 instance does not align with the Fargate launch type, as Fargate does not provide direct access to the underlying infrastructure.

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