Which method would be the best way to authenticate your Cloud Watch PUT request?

You are creating an Auto Scaling group whose Instances need to insert a custom metric into Cloud Watch. Which method would
be the best way to authenticate your Cloud Watch PUT request?

A.
Create an IAM role with the Put Metric Data permission and modify the Auto Scaling launch configuration to launch instances
in that role

B.
Create an IAM user with the Put Metric Data permission and modify the Auto Scaling launch configuration to inject the users
credentials into the instance User Data

C.
Modify the appropriate Cloud Watch metric policies to allow the Put Metric Data permission to instances from the Auto Scaling
group

D.
Create an IAM user with the Put Metric Data permission and put the credentials in a private repository and have applications
on the server pull the credentials as needed

5 Comments on “Which method would be the best way to authenticate your Cloud Watch PUT request?


Leave a Reply

Your email address will not be published. Required fields are marked *