AWS Certified Developer Associate DVA-C01 – Question340

An application is using a custom library to make HTTP calls directly to AWS service endpoints. The application is experiencing transient errors that are causing processes to stop when each error is first encountered. A request has been made to make the application more resilient by adding error retries and exponential backoff.
How should a developer implement the changes with MINIMAL custom code?

A.
Add a Retry-After HTTP header to API requests
B. Use the AWS CLI to configure the retry settings in a named profile
C. Change the custom library to retry on 5xx errors only
D. Use an AWS SDK and set retry-specific configurations

Correct Answer: B

Explanation: