Serverless Application Model (SAM) Flashcards

1
Q

Describe SAM

A

It is a subclass of Cloudformation optimized for serverless which supports functions, APIs, tables
As a developer, you can download the sam CLI and create application from template, build and deploy with ease
Runs serverless applications locally
Package and deploy using CodeDeploy

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

In the context of ECS, describe Instance Role vs Task Role

A

The task role follows the least privilege principle because each task has its own set of permissions. On the other hand, the instance role will contain all the permissions that all tasks need

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

Does lambda support multi-thread applications?

A

Yes, it is does

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