A developer has written an AWS Lambda function using Java as the runtime environment. The developer wants to isolate a performance bottleneck in the code. Which steps should be taken to reveal the bottleneck?
A) Use the Amazon CloudWatch API to write timestamps to a custom CloudWatch metric. Use the CloudWatch console to analyze the resulting data.
B) Use the AWS X-Ray API to write trace data into X-Ray from strategic places within the code. Use the Amazon CloudWatch console to analyze the resulting data.
C) Use the AWS X-Ray API to write trace data into X-Ray from strategic places within the code. Use the X-Ray console to analyze the resulting data.
D) Use the Amazon CloudWatch API to write timestamps to a custom CloudWatch metric. Use the AWS X-Ray console to analyze the resulting data.
Correct Answer:
Verified
Q129: A Developer has an Amazon DynamoDB table
Q130: A developer is using Amazon DynamoDB to
Q131: A Developer is designing an AWS Lambda
Q132: A front-end web application is using Amazon
Q133: A company is managing a NoSQL database
Q135: A gaming application stores scores for players
Q136: A developer is creating a script to
Q137: Two containerized microservices are hosted on Amazon
Q138: An application is using a single-node Amazon
Q139: A developer is migrating code to an
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