Amazon DVA-C02 Exam - Topic 1 Question 6 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?
D) Obtain the request identifier from the AWS request ID field in the context object. Configure the application to write logs to a file.
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.
Silvana
7 months agoXochitl
7 months agoAmber
7 months agoMoira
8 months agoStephania
8 months agoJenelle
8 months agoRhea
8 months agoDalene
8 months agoGail
8 months agoAaron
8 months agoFernanda
8 months agoMarge
8 months agoLatosha
8 months agoJudy
8 months agoCassie
8 months agoDanica
8 months agoMichal
8 months ago