SAM Flashcards

1
Q

What is SAM?

A

Serverless Application Model.

Extension of CloudFormation to define serverless apps (ex APIs, LambdaFunction, DynamoDB)

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

How to use SAM?

A

Use SAM CLI to package deploymnet and upload to S3

sam package
sam deploy

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

AWS::Serverless::Api

A

API Gateway

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

AWS::Serverless::Application

A

Nested stack

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

AWS::Serverless::Function

A

Lambda

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

AWS::Serverless::SimpleTable

A

DynamoDB

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

SAM call to generate pre-configured AWS SAM templates

A

sam init

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

What SAM template property defines the point in a Lambda’s function code where execution begins

A

Handler

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

What SAM template property defines the language a Lambda function is written in

A

Runtime

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