ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 108 - DVA-C02 discussion

Report
Export

A developer must analyze performance issues with production-distributed applications written as AWS Lambda functions. These distributed Lambda applications invoke other components that make up me applications. How should the developer identify and troubleshoot the root cause of the performance issues in production?

A.
Add logging statements to the Lambda functions. then use Amazon CloudWatch to view the logs.
Answers
A.
Add logging statements to the Lambda functions. then use Amazon CloudWatch to view the logs.
B.
Use AWS CloudTrail and then examine the logs.
Answers
B.
Use AWS CloudTrail and then examine the logs.
C.
Use AWS X-Ray. then examine the segments and errors.
Answers
C.
Use AWS X-Ray. then examine the segments and errors.
D.
Run Amazon inspector agents and then analyze performance.
Answers
D.
Run Amazon inspector agents and then analyze performance.
Suggested answer: C

Explanation:

This solution will meet the requirements by using AWS X-Ray to analyze and debug the performance issues with the distributed Lambda applications. AWS X-Ray is a service that collects data about requests that the applications serve, and provides tools to view, filter, and gain insights into that data. The developer can use AWS X-Ray to identify the root cause of the performance issues by examining the segments and errors that show the details of each request and the components that make up the applications. Option A is not optimal because it will use logging statements and Amazon CloudWatch, which may not provide enough information or visibility into the distributed applications. Option B is not optimal because it will use AWS CloudTrail, which is a service that records API calls and events for AWS services, not application performance data. Option D is not optimal because it will use Amazon Inspector, which is a service that helps improve the security and compliance of applications on Amazon EC2 instances, not Lambda functions.

Reference: AWS X-Ray, Using AWS X-Ray with AWS Lambda

asked 16/09/2024
Matteo Di Pomponio
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first