Q44 — AWS DVA-C02 Ch.1
Question 44 of 100 | ← Chapter 1
A developer occasionally receives an HTTP 400: ThrottlingException error when calling Amazon CloudWatch APIs. When the call fails, no data is retrieved. To resolve this issue, which best practice should be applied first?
- A. Contact AWS Support to increase the limit.
- B. Use the AWS CLI to retrieve metrics.
- C. Analyze the application and remove API calls.
- D. Use exponential backoff to retry the call. ✓
Correct Answer: D. Use exponential backoff to retry the call.
Explanation
When a developer receives a ThrottlingException error, it indicates that the CloudWatch API request rate limit has been exceeded. In such cases, the best practice is to implement an exponential backoff strategy for retries. Exponential backoff gradually increases the delay between retries, reducing load on the API and avoiding repeated rapid retries. Using exponential backoff helps better handle transient API throttling and improves the likelihood of successful subsequent calls. 【Lantern Certification provided by: swufelp1999】