Monitoring, Logging, Analysis, Remediation, and Performance Optimization

A CloudWatch agent configuration publishes mem_used_percent for each EC2 instance and appends AutoScalingGroupName. Operations needs only a group-level metric, with no original per-instance series published, while retaining other collected metrics. Which configuration meets these requirements?

Show the answer

Correct answerC. Set aggregation_dimensions to AutoScalingGroupName and add mem_used_percent to the mem drop_original_metrics list.

AWhy not this: Dashboard visibility does not control which metric series the agent publishes.

BWhy not this: Appending a dimension labels metrics; a longer interval changes frequency but does not suppress original series.

CWhy this is right: Aggregation produces the group-level series, while drop_original_metrics suppresses only the specified original metric series.

DWhy not this: Removing the measurement stops its collection, preventing publication of the required aggregate.

aggregation_dimensions creates the group-level series, and drop_original_metrics suppresses the original series for the specified metric without disabling its aggregate. Removing the measurement stops collection, so it cannot produce the required aggregate.