List of questions
Related questions
Question 53 - DVA-C02 discussion
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?
A.
Obtain the request identifier from the AWS request ID field in the context object. Configure the application to write logs to standard output.
B.
Obtain the request identifier from the AWS request ID field in the event object. Configure the application to write logs to a file.
C.
Obtain the request identifier from the AWS request ID field in the event object. Configure the application to write logs to standard output.
D.
Obtain the request identifier from the AWS request ID field in the context object. Configure the application to write logs to a file.
Your answer:
0 comments
Sorted by
Leave a comment first