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
10 months agoXochitl
10 months agoAmber
10 months agoMoira
11 months agoStephania
11 months agoJenelle
11 months agoRhea
11 months agoDalene
11 months agoGail
11 months agoAaron
11 months agoFernanda
11 months agoMarge
11 months agoLatosha
11 months agoJudy
11 months agoCassie
11 months agoDanica
11 months agoMichal
11 months ago