SAM Flashcards

1
Q

What commands do you use to package and deploy your SAM code?

A

aws cloudformation package / sam package
aws cloudformation deploy / sam deploy

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

What does the sam package command do?

A

Zips and uploads your transformed cloudformation template and application code to an S3 bucket

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

What does the sam deploy command do?

A

Deploys your application from an S3 bucket to CloudFormation

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

What is a sam template?

A

A simple yaml template that gets transformed into cloudformation templates by the sam command ‘package’

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

How can you test Lambda functions locally?

A

Use the SAM CLI + AWS Toolkits to step-through and debug code

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