Serverless Application Deployment Flashcards

Serverless Application Model, Lambda and API Gateway

1
Q

What is API Gateway?

A

acts as a bridge between your application and the backend services.

It helps you create, publish, and maintain APIs so that your application can securely access data or functionality from other AWS services or your own backend services.

It also helps in managing the traffic to your APIs and provides security features to control access.

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

What are Stage Variables?

A

Stage variables in the context of the AWS API Gateway are like customizable settings for different deployment stages of your API. They allow you to adjust configurations or endpoint behavior based on the stage, making it easier to manage your API in different environments.

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

Name some of the release stages you can manage in API Gateway?

A

Alpha (initial)
Beta (more advanced)
Production (live stage)

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

What is the integration timeout for Lambda, HTTP and HTTP proxy?

A

Timeout:
30 seconds Lambda functions in API Gateway

50 milliseconds for HTTP

29 seconds for HTTP proxy integrations

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

How can you reduce the number of calls made to your endpoint and reduce latency of API requests?

A

Use API caching to cache your endpoint’s responses

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

Name 3 AWS Gateway integration types?

A

AWS_Proxy (lambda proxy integration)

HTTP (http custom integration)

HTTP_PROXY

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

How do you add permissions?

A

If you use the API Gateway console, the console automatically adds the permissions

If you set up a stage variable to call a Lambda function through API, you must manually add these permissions

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

What does SAM stand for?

A

Serverless Application Model

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

What is the Serverless Application Model (AWS SAM)?

A

SAM is an open-source framework that simplifies the process of building and deploying serverless applications on AWS. It extends AWS CloudFormation, allowing developers to define serverless applications at a higher level of abstraction, thus streamlining the development and deployment of serverless applications on AWS.

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

What is Cloud Formation?

A

AWS CloudFormation is an AWS service that helps you automate the process of managing and provisioning your infrastructure on the cloud using code.

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