AmazonAmazon
DVA-C02 · Question #21
DVA-C02 Question #21: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #21. The question stem and answer options stay visible for context.
Submitted by zhang_li· Mar 5, 2026Development with AWS Services
Question
A developer is writing an AWS Lambda function. The developer wants to log key events that occur while the Lambda function runs. The developer wants to include a unique identifier to associate the events with a specific function invocation. The developer adds the following code to the Lambda function: Which solution will meet this requirement?
Options
- AObtain the request identifier from the AWS request ID field in the context object. Configure the
- BObtain the request identifier from the AWS request ID field in the event object. Configure the
- CObtain the request identifier from the AWS request ID field in the event object. Configure the
- DObtain the request identifier from the AWS request ID field in the context object. Configure the
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.