Solved

A Developer Is Writing an AWS Lambda Function

Question 125

Multiple Choice

A developer is writing an AWS Lambda function. The developer wants to log key events that occur during the Lambda function and include a unique identifier to associate the events with a specific function invocation. Which of the following will help the developer accomplish this objective?


A) Obtain the request identifier from the Lambda context object. Architect the application to write logs to the console.
B) Obtain the request identifier from the Lambda event object. Architect the application to write logs to a file.
C) Obtain the request identifier from the Lambda event object. Architect the application to write logs to the console.
D) Obtain the request identifier from the Lambda context object. Architect the application to write logs to a file.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents