Bird
0
0

You want a CloudWatch dashboard to show CPU utilization for multiple EC2 instances side by side. Which JSON widget configuration approach is best?

hard📝 Best Practice Q15 of 15
AWS - CloudWatch
You want a CloudWatch dashboard to show CPU utilization for multiple EC2 instances side by side. Which JSON widget configuration approach is best?
AAdd a text widget listing instance IDs
BCreate multiple dashboards, one per instance
CUse a single metric widget without specifying InstanceId
DCreate one widget with multiple metrics, each metric for one instance
Step-by-Step Solution
Solution:
  1. Step 1: Understand dashboard widget capabilities

    A single widget can show multiple metrics side by side by listing each instance's CPU metric.
  2. Step 2: Evaluate other options for efficiency and clarity

    Multiple dashboards (B) is inefficient; single metric without InstanceId (C) aggregates all instances; text widget (D) does not show metrics.
  3. Final Answer:

    Create one widget with multiple metrics, each metric for one instance -> Option D
  4. Quick Check:

    Multiple metrics in one widget = side-by-side display [OK]
Quick Trick: Use multiple metrics in one widget for side-by-side comparison [OK]
Common Mistakes:
  • Creating separate dashboards wastes effort
  • Omitting InstanceId shows combined data, not per instance
  • Using text widgets instead of metric widgets

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes