AWS Certified Developer Associate DVA-C02 Practice Question

An e-commerce startup runs a checkout microservice as an AWS Lambda function invoked by Amazon API Gateway. During seasonal promotions, the 95th-percentile latency for the checkout API rises sharply as request volume increases. CloudWatch metrics confirm that function duration grows with concurrency, but the average memory utilization remains well below the allocated quota. Before changing configuration or architecture, the development team wants detailed timing information for each invocation to identify exactly where time is being spent. Which action should the team take first to collect the necessary data?

  • Enable active tracing with AWS X-Ray to gather detailed execution traces for each invocation.

  • Redesign the workflow to decouple processing steps by introducing an Amazon SQS queue.

  • Increase the function's memory allocation to give each invocation more CPU resources.

  • Add an in-memory or external cache to reduce repeated data-fetch operations.

AWS Certified Developer Associate DVA-C02
Troubleshooting and Optimization
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot