DVA-C02 practice question · Troubleshooting and Optimization
An application intermittently receives ThrottlingException errors from an AWS service API that it calls through the AWS…
An application intermittently receives ThrottlingException errors from an AWS service API that it calls through the AWS SDK. Before choosing a fix, the team wants to measure how often the throttling happens and whether it clusters at certain times of day. What should the developer do first?
- APublish a custom CloudWatch metric each time the SDK raises a ThrottlingException, then graph it over several days
- BIncrease the SDK's maximum retry attempts so that throttled calls eventually succeed without surfacing errors
- CSubmit a Service Quotas increase request for the API's rate limit before collecting any further data
- DTurn on AWS Config recording for the downstream service's resources to capture each throttled request
Show the answer and explanation
Correct answer: A) Publish a custom CloudWatch metric each time the SDK raises a ThrottlingException, then graph it over several days
To find out how often throttling happens and when, first measure it. A custom CloudWatch metric emitted whenever the SDK surfaces a ThrottlingException can be graphed over time before choosing a fix such as backoff tuning or a quota increase.
Why each option is right or wrong
- A) Correct. The application can use PutMetricData (or EMF) to publish a count each time it catches the exception. Graphing the Sum by period over several days shows how often throttling occurs and when. This works even if the downstream service doesn't publish its own throttle metric.
- B) Incorrect. More retries may hide the symptom, but they produce no data on how often or when throttling happens. They can also add load during the busy periods the team wants to find.
- C) Incorrect. A quota increase may be the eventual fix, but asking for one first skips the measurement the team says it needs. Without data it can't size the request or confirm that the quota is the cause.
- D) Incorrect. AWS Config records resource configuration changes, not individual API call results. It won't count throttled requests or show when they happen.
- Exam domain
- Troubleshooting and Optimization · 18% of DVA-C02
- Question type
- Multiple choice (one answer)
Related DVA-C02 questions
- A single-page app hosted at https://app.example.com sends a PUT request with a custom X-Request-Id header to an API…Troubleshooting and Optimization
- Users of a website served through Amazon CloudFront keep receiving outdated versions of pages for days after updates are…Troubleshooting and Optimization
- An API's request count follows a predictable pattern: it is high during weekday business hours and low at night and on…Troubleshooting and Optimization
- A developer runs aws ecs describe-services for a replica service and sees desiredCount: 4, runningCount: 2, and…Troubleshooting and Optimization
All 67 free DVA-C02 questions by domain · 15 sample questions on one page
Practise the full DVA-C02 exam
This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.
Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.