API Gateway Flashcards

1
Q

What is the API Gateway?

A

service to publish, maintain, monitor, secure API’s at any scale

Easily create an API that acts as “front door” for applications to access data, business logic, functionality from your back end services on EC2, Lambda, any web application.

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

What is API Caching?

A

Reduces number of calls made to your endpoint

Improves latency of requests to your API

API Gateway will look up response from the cache instead of your endpoint

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

What can API Gateway do?

A

can throttle requests to mitigate attacks
low cost, efficient
scales easily
Connect it to Cloudwatch to log all requests

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

What is the Same origin policy?

A

Web browser allows scripts in first web page to access data in second web page, only if both pages have the same origin

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

CORS - Cross-Origin Resource Sharing

A

Method that lets the server relax the Same Origin Policy

Allows resources on a page to be requested from domain outside the domain that first resource was requested from

Enable CORS on API Gateway if you see this, “Origin policy cannot be read at the remote resource”

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