An application is running on an EC2 instance. The Developer wants to store an application metric in Amazon CloudWatch. What is the best practice for implementing this requirement?
A) Use the PUT Object API call to send data to an S3 bucket. Use an event notification to invoke a Lambda function to publish data to CloudWatch.
B) Publish the metric data to an Amazon Kinesis Stream using a PutRecord API call. Subscribe a Lambda function that publishes data to CloudWatch.
C) Use the CloudWatch PutMetricData API call to submit a custom metric to CloudWatch. Provide the required credentials to enable the API call.
D) Use the CloudWatch PutMetricData API call to submit a custom metric to CloudWatch. Launch the EC2 instance with the required IAM role to enable the API call.
Correct Answer:
Verified
Q183: A company is developing a new online
Q184: An application needs to use the IP
Q185: A Developer is creating a mobile application
Q186: A company is using AWS CodePipeline to
Q187: An application displays a status dashboard. The
Q189: A company is building an application to
Q190: An organization is using Amazon CloudFront to
Q191: A Developer uses AWS CodeDeploy to automate
Q192: A social media company is using Amazon
Q193: A Developer will be using the AWS
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