API Gateway Flashcards

1
Q

With what backends can API Gateway communicate?

A
"Lambda Functions
HTTP
Mock
AWS Services
VPC Link"
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the Enable Throttling feature?

A

limits the requests sent to your API to a set level

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

Steady-state vs burst request

A

“Steady-state - requests per second

burst - requests per milisecond”

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

What is the API Caching feature?

A

Gateway caches your responses for a specified TTL period to reduce future latency to your API

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

What is a stage?

A

“A feature for grouping functions and providing general setting (like throttling) for those functions
individaul methods can override with their own settings”

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

What are the access control mechanisms?

A

“Resource polocies
IAM roles/polocies
CORS
Lambda authorizers(lambda functions for authorizing requests)
Cognito user pools
Client side SSL certificate(gateway to resource)
Usage plans”

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

What is a Usage plan?

A

“create custom plans for users and provide them API keys

the plan limits usage of API stages/methods and tracks usage”

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

What is the default security measure provided from API Gateway?

A

“Protection from DDoS attacks

But it is not configured for every use case”

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

What are the cache settings?

A

“Flush entire cache
cache capacity
Encrypt cache data
cashe Time-to-live(TTL)”

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

Access logging vs CloudTrail

A

“Access logging - info regarding API calls to the Gateway

CloudTrail - info regarding api calls within the Group”

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