Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 139 Topic 14 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 139 Topic 14 Discussion

DVA-C02 Exam Topic 14 Question 139 Discussion:
Question #: 139
Topic #: 14

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:

DVA-C02 Question 139

Which solution will meet this requirement?


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.


D.

Obtain the request identifier from the AWS request ID field in the context object. Configure the application to write logs to a file.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.