API Gateway Flashcards
What is API Gateway
What are its 6 key features?
- It’s a solution for creating secure APIs in your cloud environment at any scale.
- Limits (10.000 per second)
- Stages (dev, prod)
- Deploy API (Select a stage and deploy)
- Cors (Enforced by client)
- Same Origin policies (XXS attacks)
- Protection (Cognito or Lambda)
What are 3 common use cases for API gateway?
Web App
IoT Device
Mobile App
In API Gateway, Can you have multiple versions of your API?
Yes
How you would define a RESTful API with API Gateway
Expose HTTPS endpoints
What are the 5 key features of API Gateway?
- Allows you to track and control any usage of the API. Throttle requests to help prevent attacks.
- Expose HTTPS endpoints to define a RESTful API.
- Highly scalable (happens automatically) and cost effective.
- Send each API endpoint to a different target.
- Maintain Multiple Versions of your API.
In API Gateway, Where are APIs deployed to?
Stages
In API Gateway, Anytime you change your API, what action must you take?
Deploy It
What can you select as Integration type with an API Gateway?
5 elements
- Lambda Function
- HTTP
- Mock
- AWS Services
- VPC Link
How can you both reduce the number of API calls, and improve latency of API Gateway?
Enable caching
In API Gateway, Where is CORS enforced?
The client
CORS is always enforced by the client.
In API Gateway, Same Origin Policies can help prevent this kind of attacks…
XSS attacks
- Ignores Curl and Postman
- Permits access to data between web-pages
- Enforced at the web browser level