You add a new widget to an existing CloudWatch dashboard. What is the immediate effect on the dashboard's state?
Think about how dashboards update when you save changes.
When you add a widget and save the dashboard, the widget appears immediately for all users with access. There is no delay or manual refresh needed.
Choose the valid JSON configuration for a CloudWatch dashboard containing one metric widget showing CPUUtilization for an EC2 instance.
Remember the metrics property requires a list of lists with dimension key-value pairs.
The metrics property must be a list of lists, where each inner list contains the namespace, metric name, and dimension key-value pairs. Option A correctly follows this format.
You want a single CloudWatch dashboard to show CPU utilization for EC2 instances across two AWS regions: us-east-1 and us-west-2. What is the best approach?
Think about how CloudWatch widgets specify regions for metrics.
CloudWatch dashboards can include widgets from multiple regions by specifying the region property in each widget's metric properties. This allows a single dashboard to show multi-region data.
You want to grant a user permission to view CloudWatch dashboards but not modify them. Which IAM policy action is required?
Consider which action retrieves dashboard content without changing it.
The action cloudwatch:GetDashboard allows reading dashboard content. PutDashboard and DeleteDashboards allow changes. ListDashboards only lists dashboard names.
You have a CloudWatch dashboard with 50 widgets showing various metrics. The dashboard loads slowly. What is the best practice to improve performance?
Think about reducing the number of widgets to reduce load.
Grouping related metrics into fewer widgets reduces the number of API calls and rendering overhead, improving dashboard load times. Increasing refresh rate or adding more widgets worsens performance. Removing region property does not aggregate metrics.