A company has an application that runs on AWS Lambda@Edge. The application serves content that varies based on the device that the viewer is using. Information about the number of hits by device type is written to logs that are stored in a log group in Amazon CloudWatch Logs. The company needs to publish an Amazon CloudWatch custom metric for each device type. Which approach will meet these requirements?
A) Create a CloudWatch Logs Insights query to extract the device type information from the logs and to create a custom metric with device type as a dimension.
B) Create a CloudWatch metric filter to extract metrics from the log files with device type as a dimension.
C) Update the application to write its logs in the CloudWatch embedded metric format with device type as a dimension.
D) Configure the CloudWatch Logs agent for Lambda integration. Update the application to use the StatsD protocol to emit the metrics.
Correct Answer:
Verified
Q432: A developer is adding a feature to
Q433: A company maintains an application that uses
Q434: A developer added a new feature to
Q435: A microservices application is deployed across multiple
Q436: A developer is building an AWS Lambda
Q438: A developer is troubleshooting the permissions of
Q439: A developer is troubleshooting connectivity issues between
Q440: An AWS Lambda function requires read access
Q441: A developer is creating an event handling
Q442: A developer is attempting to use the
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