A Developer is creating an Auto Scaling group whose instances need to publish a custom metric to Amazon CloudWatch. Which method would be the MOST secure way to authenticate a CloudWatch PUT request?
A) Create an IAM user with PutMetricData permission and put the user credentials in a private repository; have applications pull the credentials as needed.
B) Create an IAM user with PutMetricData permission, and modify the Auto Scaling launch configuration to inject the user credentials into the instance user data.
C) Modify the CloudWatch metric policies to allow the PutMetricData permission to instances from the Auto Scaling group.
D) Create an IAM role with PutMetricData permission and modify the Auto Scaling launching configuration to launch instances using that role.
Correct Answer:
Verified
Q12: A current architecture uses many Lambda functions
Q13: A Developer is testing a Docker-based application
Q14: An application under development is required to
Q15: An application is designed to use Amazon
Q16: An application takes 40 seconds to process
Q18: An application reads data from an Amazon
Q19: A deployment package uses the AWS CLI
Q20: When writing a Lambda function, what is
Q21: An application is real-time processing millions of
Q22: The Developer for a retail company must
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents