exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 303 discussion

A company runs an application on AWS. The application consists of a static website that is hosted on Amazon S3. The application includes Amazon API Gateway APIs that invoke AWS Lambda functions. During a period of high traffic on the application, application users reported that the application was slow at irregular intervals. There were no failed requests.

A developer needs to find the slow executions across all the Lambda functions.

Which solution will meet these requirements?

  • A. Perform a query across all the Lambda function log groups by using Amazon CloudWatch Logs Insights. Filter on type of report and sort descending by Lambda function execution duration.
  • B. Enable AWS CloudTrail Insights on the account where the Lambda functions are running. After CloudTrail Insights has finished processing, review CloudTrail Insights to find the anomalous functions.
  • C. Enable AWS X-Ray for all the Lambda functions. Configure an X-Ray insight on a new group that includes all the Lambda functions. After the X-Ray insight has finished processing, review the X-Ray logs.
  • D. Set up AWS Glue to crawl through the logs in Amazon CloudWatch Logs for the Lambda functions. Configure an AWS Glue job to transform the logs into a structured format and to output the logs into Amazon S3. Use the Amazon CloudWatch dashboard to visualize the slowest functions based on the duration.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
monishvster
Highly Voted 1 year, 2 months ago
Selected Answer: C
X-ray will provide better insights for performance
upvoted 6 times
...
ShakthiGCP
Most Recent 5 months, 2 weeks ago
Selected Answer: C
X-Ray for performance
upvoted 1 times
...
BrainFried
8 months, 3 weeks ago
Selected Answer: A
I think the answer is A The goal is to analysis past executions of the Lambda functions, to isolate and identity the slow Lambda functions. This can be done with option A. Option D does not retroactively analyse past executions of Lambda functions - therefore it's not as effective as option A ~~
upvoted 2 times
...
65703c1
11 months, 2 weeks ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
KarBiswa
1 year, 1 month ago
Selected Answer: C
https://docs.aws.amazon.com/lambda/latest/operatorguide/general-approach.html#:~:text=Use%20X%2DRay%20to%20find%20all%20the%20services%20involved%20in%20a%20request.%20For%20larger%20serverless%20applications%2C%20this%20is%20the%20fastest%20way%20to%20locate%20all%20of%20the%20interactions%20involved%20in%20the%20request.%20From%20X%2DRay%2C%20isolate%20the%20service%20where%20latency%20or%20errors%20are%20occurring%20then%20drill%20down%20further. It clearly an interaction issues among the services no failure has occurred
upvoted 4 times
...
Abdullah22
1 year, 1 month ago
Selected Answer: C
not sure between A and C but going with C.
upvoted 2 times
...
SerialiDr
1 year, 1 month ago
Selected Answer: A
A. Perform a query across all the Lambda function log groups by using Amazon CloudWatch Logs Insights. Filter on type of report and sort descending by Lambda function execution duration. Here's why this approach is most efficient: Centralized Logs: CloudWatch Logs Insights allows you to query logs across all your Lambda function log groups in a single location. Targeted Filtering: You can filter the query to focus on specific time periods of high traffic, pinpointing anomalies during those times. Sorting by Duration: By sorting the results descending by execution duration, you can easily identify Lambda functions with the slowest execution times. Fast Insights: CloudWatch Logs Insights offers near real-time analysis, enabling you to quickly identify performance bottlenecks.
upvoted 2 times
65703c1
11 months, 2 weeks ago
You can only select upto 50 logs. Cant query against all. It's C
upvoted 1 times
...
...
CrescentShared
1 year, 2 months ago
Selected Answer: A
Hesitate. A or C?
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago