Quiz 4 Question 7 of 20

The CloudWatch agent is running on a university's EC2 instances and its config lists the memory metric. The agent log reports AccessDenied for PutMetricData, and no memory datapoints arrive. Which change fixes the publish failure?

Select an answer to reveal the explanation.

Motivation