Black Friday Reward - Upto 80% off - Ends in 0d 00h 00m 00s - Coupon code: VIP80

Amazon Web Services AWS Certified Developer - Associate DVA-C03 Question # 44 Topic 5 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C03 Question # 44 Topic 5 Discussion

DVA-C03 Exam Topic 5 Question 44 Discussion:
Question #: 44
Topic #: 5

A retail company runs a sales analytics application that uses an AWS Lambda function to process transaction data that is stored in Amazon DocumentDB. The application aggregates daily sales data across 500 stores and uses the data to generate reports for senior managers.

Application users report that the application is taking longer to generate reports and that their requests sometimes time out. A developer investigates and notices that the application ' s average response time for report generation has increased from 3 seconds to over 25 seconds.

The developer needs to identify the application ' s performance bottlenecks.

Which solution will meet this requirement with the LEAST operational overhead?


A.

Enable AWS X-Ray tracing for the Lambda function and DocumentDB cluster. Implement custom subsegments to track query execution to identify slow-performing queries.


B.

Add Amazon CloudWatch Logs error streaming. Create custom CloudWatch metrics based on the logs. Create a CloudWatch dashboard that shows Lambda metrics.


C.

Modify the Lambda function to use DocumentDB connection pooling. Implement async/await patterns for database operations.


D.

Add logging statements within the Lambda function to output query execution times and database connection attempts. Store IDs in Amazon CloudWatch Logs. Use CloudWatch Logs Insights to analyze the logs.


Get Premium DVA-C03 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.