Troubleshoot and optimise Flashcards

1
Q

What is a 429 error?

A

you are exceeding the rate limits set by the AWS service you are using

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to solve 429 error?

A

implementing exponential backoff for retrying the requests

this means you wait a short time before retrying and this prevents overwhelming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a 503 error?

A

A “Service Unavailable” error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to investigate a 503 error?

A

One option is to search logs using Cloud Trail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a “Provisioned Throughput Exception”?

A

the number of read or write requests to a table or an index exceeds the provisioned throughput capacity that has been specified for that table or index

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name 3 ways to handle a “Provisioned Throughput Exception”?

A
  1. Increase Provisioned Throughput Capacity
  2. Implement Exponential Backoff (handle throttling and retries when encountering provisioned throughput exceptions. This helps to reduce the frequency of failed requests and minimizes the impact on your application’s performance.)
  3. Distribute Workloads
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Your app is configured to interact with an S3 bucket, but you are getting errors that the bucket does not exist.

How would you understand why the bucket was deleted?

A

Look for the Bucket Deletion API request in the Cloud Trail logs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is 200 status code?

A

ok

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is 201 status code?

A

created

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a 204 status code?

A

no content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a 400 status code?

A

bad request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a 401 status code?

A

unauthorized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a 403 status code?

A

Forbidden

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is 404 status code?

A

Not found

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a 429 status code?

A

too many requests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is 500 status code?

A

internal server error

17
Q

What is a 502 status code?

A

bad gateway

18
Q

What is 504 status code?

A

gateway timeout