API Gateway Flashcards

1
Q

What is Amazon API Gateway?

A

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. It acts as a front door for applications to access data, business logic, or functionality from backend services.

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

How does API Gateway support RESTful APIs?

A

API Gateway supports RESTful APIs by enabling the creation of RESTful interfaces that can connect to AWS Lambda functions, Amazon EC2, or other web services, facilitating the exchange of data over HTTP(S).

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

What is the role of API Gateway in microservices architecture?

A

In a microservices architecture, API Gateway serves as a single entry point for all clients. It routes requests to the appropriate microservice, handles load balancing, authentication, authorization, and can aggregate results from multiple microservices.

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

What are some key features of API Gateway?

A

Key features include traffic management, access control, monitoring, API version management, and automatic deployments with stages. It also supports API caching to improve response times and reduce the load on backend services.

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

How does API Gateway enable security for APIs?

A

API Gateway enables security for APIs through mechanisms such as identity and access management (IAM) roles and policies, client-side SSL certificates, OAuth tokens, and API keys. It also offers integration with AWS Cognito for user authentication and authorization.

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

How can API Gateway handle API versioning?

A

API Gateway can handle API versioning by allowing developers to create, publish, and maintain multiple versions of an API simultaneously. This enables developers to iterate faster and make backward-incompatible changes without affecting existing clients.

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

What is API caching in API Gateway?

A

API caching in API Gateway allows you to cache the output of your API calls, reducing the number of calls made to your backend services, improving the latency of requests, and decreasing the load on your backend services.

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

How does API Gateway integrate with other AWS services?

A

API Gateway has native integration with many AWS services including AWS Lambda, Amazon S3, Amazon DynamoDB, Amazon RDS, Amazon EC2, and AWS IAM for authentication and authorization, enabling seamless backend logic execution and data retrieval.

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

What are the pricing models for API Gateway?

A

API Gateway pricing is based on the number of API calls received, the amount of data transferred out, and any optional features such as caching. There are no minimum fees or upfront commitments.

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

How can developers monitor the performance of their APIs in API Gateway?

A

Developers can monitor the performance of their APIs in API Gateway using Amazon CloudWatch. CloudWatch provides detailed metrics on API calls, latency, and error rates, allowing for real-time monitoring and automated alarms.

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