🔥 3-day streak
AWS Certified Developer - Associate16 / 150
Question 16 of 150

A developer's Lambda function currently writes plain-text log lines such as 'Processed order 12345 in 240ms'. The operations team wants to build CloudWatch Logs Insights queries and metric filters that can reliably extract the order ID, duration, and status without brittle string parsing. What is the MOST effective change the developer should make to the logging approach?

Reviewed for accuracy · Report an issueNext question