Bird
0
0

You need a CloudWatch dashboard to display CPU utilization for multiple EC2 instances side by side. Which JSON widget configuration is the best practice?

hard📝 Application Q8 of 15
AWS - CloudWatch
You need a CloudWatch dashboard to display CPU utilization for multiple EC2 instances side by side. Which JSON widget configuration is the best practice?
ACreate separate dashboards for each EC2 instance's CPUUtilization metric
BUse a single metric widget with multiple metrics arrays, each specifying one instance's CPUUtilization
CUse a text widget listing all instance IDs and their CPU values manually updated
DConfigure a single metric widget with a wildcard for InstanceId to aggregate all instances
Step-by-Step Solution
Solution:
  1. Step 1: Understand widget metric arrays

    A single metric widget can display multiple metrics side by side by listing each instance's metric separately.
  2. Step 2: Evaluate other options

    Separate dashboards reduce visibility; text widgets don't show live metrics; wildcards aggregate metrics, not side-by-side.
  3. Final Answer:

    Use a single metric widget with multiple metrics arrays, each specifying one instance's CPUUtilization -> Option B
  4. Quick Check:

    Multiple metrics in one widget show side-by-side [OK]
Quick Trick: List multiple metrics in one widget for side-by-side display [OK]
Common Mistakes:
MISTAKES
  • Creating multiple dashboards instead of one
  • Using text widgets for dynamic metrics
  • Using wildcards that aggregate rather than separate metrics

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes