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:
Verified
Q120: A Developer is publishing critical log data
Q121: A developer needs to manage AWS infrastructure
Q122: A Developer is migrating existing applications to
Q123: A company wants to containerize an existing
Q124: A Developer has an application that must
Q126: An application is experiencing performance issues based
Q127: A developer is building an application using
Q128: A developer has built a market application
Q129: A Developer has an Amazon DynamoDB table
Q130: A developer is using Amazon DynamoDB to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents