SOA-C02 Question 25
Select 3A company wants to create a CloudWatch dashboard to monitor key metrics for its EC2 instances, including CPU utilization, disk read/write operations, and network traffic. The dashboard should allow them to visualize these metrics in real-time and provide a single-pane-of-glass view. Which of the following steps are required to successfully create and configure the CloudWatch dashboard?
- A
Create a new CloudWatch dashboard and add widgets for each desired metric.
- B
Manually configure a cron job on the EC2 instances to send metrics to CloudWatch.
- C
Select the appropriate namespace and metrics, such as EC2/CPUUtilization, when adding widgets.
- D
Use IAM policies to allow CloudWatch to access metrics from EC2 instances.
- E
Save the dashboard after adding and configuring all the necessary widgets.
Show answer and explanation
Correct answers: A, C, E
Explanation
To create a CloudWatch dashboard, you need to start by creating the dashboard and adding widgets for each desired metric. During widget configuration, you must select the right namespace and metrics to display relevant data. Once all widgets are added and configured, saving the dashboard ensures the settings are retained. Manual cron jobs or additional IAM policies are not required as EC2 metrics are automatically sent to CloudWatch.
- A. Correct.
Correct: Creating a new CloudWatch dashboard and adding widgets is the first step to visualize metrics. Widgets are used to display metrics on the dashboard.
- B. Incorrect.
Incorrect: EC2 instances automatically send metrics to CloudWatch without requiring a manual cron job. Enhanced monitoring or custom metrics may require additional configuration, but not a cron job.
- C. Correct.
Correct: When adding widgets to the CloudWatch dashboard, you need to select the appropriate namespace and metrics, such as EC2/CPUUtilization, to display the desired data.
- D. Incorrect.
Incorrect: IAM policies are not required for CloudWatch to access metrics from EC2 instances. CloudWatch can automatically fetch metrics from supported AWS services.
- E. Correct.
Correct: Saving the dashboard is a necessary final step to ensure that all configured widgets and settings are preserved.