Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 147 Topic 15 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 147 Topic 15 Discussion

DVA-C02 Exam Topic 15 Question 147 Discussion:
Question #: 147
Topic #: 15

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 147

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.