DVA-C02 · Question #696
DVA-C02 Question #696: Real Exam Question with Answer & Explanation
The correct answer is B: Deploy a Lambda extension to deliver the function's logs and metrics to an external platform.. Using a Lambda extension designed to deliver logs and metrics to an external observability platform minimizes operational overhead by offloading logging and metric forwarding outside of the function code, avoiding manual instrumentation or additional infrastructure.
Question
A retail company uses an AWS Lambda function to process incoming orders from an Amazon SQS queue. The function performs multiple data transformations and then saves the data to an Amazon DynamoDB table. The company wants to configure the Lambda function to perform custom logging. The company wants to send function metrics and logs to an AWS supported external observability platform. Which solution will meet these requirements with the LEAST operational overhead?
Options
- AUse Amazon CloudWatch to capture the Lambda function's logs and metrics. Stream the logs and
- BDeploy a Lambda extension to deliver the function's logs and metrics to an external platform.
- CRewrite the Lambda function's handler code to stream the function logs and metrics to an external
- DUse AWS CloudTrail to capture the Lambda function's logs and metrics. Use Amazon
Explanation
Using a Lambda extension designed to deliver logs and metrics to an external observability platform minimizes operational overhead by offloading logging and metric forwarding outside of the function code, avoiding manual instrumentation or additional infrastructure.
Community Discussion
No community discussion yet for this question.