SOA-C02 Question 28
Select 3You are a SysOps Administrator tasked with providing your team visibility into the performance metrics of multiple EC2 instances and RDS databases in a specific region. The team also requires the ability to monitor these metrics on a single dashboard with visual elements such as graphs and alarms. Which of the following steps will allow you to achieve this in AWS CloudWatch?
- A
Create a CloudWatch dashboard and add widgets for each EC2 instance and RDS database metrics.
- B
Enable detailed monitoring for EC2 instances and RDS databases to gather additional metrics.
- C
Use the AWS CLI or SDK to publish custom metrics to CloudWatch and then add those metrics to the dashboard.
- D
Manually export EC2 and RDS metrics to a local server and create a custom dashboard using a third-party tool.
- E
Set up CloudWatch Alarms and link them directly to the CloudWatch dashboard for real-time monitoring.
Show answer and explanation
Correct answers: A, B, E
Explanation
To provide a single, comprehensive monitoring solution for EC2 and RDS metrics, you can use CloudWatch dashboards to consolidate and visualize data with widgets. Enabling detailed monitoring enhances the granularity of the metrics, and integrating CloudWatch Alarms into the dashboard ensures real-time monitoring and alerting. This eliminates the need for custom metrics or third-party tools, as AWS CloudWatch provides all the required capabilities natively.
- A. Correct.
Correct: CloudWatch dashboards allow you to create custom visualizations of your metrics using widgets. Adding widgets for EC2 and RDS metrics would meet the requirement of monitoring multiple resources on a single dashboard.
- B. Correct.
Correct: Enabling detailed monitoring provides higher granularity metrics (1-minute interval) for EC2 and RDS, which is useful for more accurate and real-time dashboard insights.
- C. Incorrect.
Incorrect: While publishing custom metrics is useful in some scenarios, it is not necessary in this case as EC2 and RDS already provide built-in metrics that can be directly added to the dashboard.
- D. Incorrect.
Incorrect: Exporting metrics to a local server and using third-party tools is unnecessary and deviates from the functionality of AWS CloudWatch, which is designed to natively support dashboards and metrics.
- E. Correct.
Correct: CloudWatch Alarms can be linked to dashboards to monitor thresholds and trigger notifications directly from the dashboard, enhancing real-time observability.