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:

Verified
Correct Answer:
Verified
Q337: How is provisioned throughput affected by the
Q338: Your application is trying to upload a
Q339: A development team is working on a
Q340: A developer is creating AWS CloudFormation templates
Q341: A Developer is writing an application that
Q343: An application is designed to use Amazon
Q344: A Developer has written a serverless application
Q345: A company needs a version control system
Q346: A developer works in an environment with
Q347: A Developer is working on an application