DOP-C02 exam dumps

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

Select 3

Your company is monitoring a fleet of EC2 instances using Amazon CloudWatch. A critical application running on these instances requires near real-time monitoring of CPU utilization. Additionally, the team needs to distinguish metrics between different environments (e.g., 'production' and 'staging'). Which combination of actions will meet these requirements?

  1. A

    Enable high-resolution metrics for CPU utilization on the EC2 instances.

  2. B

    Use the 'Environment' dimension when publishing custom metrics for the application.

  3. C

    Enable CloudWatch Detailed Monitoring for the EC2 instances.

  4. D

    Use a custom namespace to store the CPU utilization metrics for the application.

  5. E

    Aggregate CPU utilization metrics across all instances by default and remove any dimensions.

Show answer and explanation

Correct answers: A, B, C

Explanation

To achieve near real-time monitoring of CPU utilization, you must enable both high-resolution metrics and Detailed Monitoring. High-resolution metrics allow for data collection at 1-second intervals, while Detailed Monitoring reduces the default interval to 1 minute for EC2 metrics. Moreover, adding the 'Environment' dimension helps distinguish metrics between environments, such as 'production' and 'staging', ensuring clarity in monitoring and troubleshooting.

  • A. Correct.

    Correct: Enabling high-resolution metrics allows you to collect data at a higher frequency (e.g., 1-second intervals), providing near real-time monitoring for CPU utilization.

  • B. Correct.

    Correct: Using the 'Environment' dimension allows you to differentiate between metrics for 'production' and 'staging' environments, which is critical for isolating performance issues.

  • C. Correct.

    Correct: CloudWatch Detailed Monitoring reduces the default metric collection interval for EC2 instances from 5 minutes to 1 minute, which is essential for faster insights.

  • D. Incorrect.

    Incorrect: While using a custom namespace can help organize metrics, it is not a requirement for monitoring CPU utilization or distinguishing environments. AWS provides CPU utilization metrics in the default EC2 namespace.

  • E. Incorrect.

    Incorrect: Removing dimensions would prevent the team from distinguishing metrics between different environments (e.g., 'production' vs. 'staging'), which is against the stated requirements.

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