What should the developer do to correct this error message?

Posted by: Pdfprep Category: DVA-C01 Tags: , ,

A developer receives the following error message when trying to launch or terminate an Amazon EC2 instance using a boto3 script.

What should the developer do to correct this error message?
A . Assign an IAM role to the EC2 instance to allow necessary API calls on behalf of the client.
B . Implement an exponential backoff algorithm for optimizing the number of API requests made to Amazon EC2.
C . Increase the overall network bandwidth to handle higher API request rates.
D . Upgrade to the latest AWS CLI version so that boto3 can handle higher request rates.

Answer: B

Explanation:

Reference: https://docs.aws.amazon.com/general/latest/gr/api-retries.html

Leave a Reply

Your email address will not be published.