Solved

A Company Has an Application That Runs on AWS Lambda@Edge

Question 220

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions