Serverless Application Repository Flashcards

1
Q

Serverless Application Repository

A

The AWS Serverless Application Repository is a managed repository for deploying and publishing serverless applications.

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

True/False. You can also use pre-built applications instead of cloning, building, packaging, and publishing source code to AWS before deploying it.

A

True.

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

True/False. Each application includes an AWS SAM template that specifies the AWS resources that will be used.

A

True.

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

How do you define your application?

A

Use an AWS SAM template to define your application.

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

How can you publish a serverless app?

A

-AWS Management Console
-AWS SAM CLI
-AWS SDKs

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

True/False. When you publish an app, it is initially set to public and only accessible to the AWS account that created it.

A

False. When you publish an app, it is initially set to PRIVATE and only accessible to the AWS account that created it.

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

Options for deploying and sharing your app.

A

-Private
-Privately Shared
-Publicly Shared

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

Private deployment

A

-Not shared with any other AWS accounts.
-Only accessible to the AWS account that created it.
-You have permission to deploy applications created with your AWS account.

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

Privately Shared Deployment

A

-Shared to a specific set of AWS accounts.
-Accessible in the AWS Region in which they are created.
-You have permission to deploy applications shared with your AWS account.

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

Publicly Shared Deployment

A

-Shared with everyone.
-Accessible to all AWS Regions.
-You have permission to deploy any publicly shared application.

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

What is included in a publicly shared application?

A

A link to the source code is included in publicly shared applications.

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

What happens when an app is deployed to another Region?

A

If the public app is deployed to another Region, AWS SAR copies the app deployment artifacts to an Amazon S3 bucket in the destination Region.

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

How can you deploy an instance of your layer to another AWS account?

A

By sharing Lambda layers.

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

True/False. To deploy an application, you must have permission to do so .

A

True.

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

What does Serverless Application Repository (SAR) check before deploying an app?

A

-IAM roles
-AWS resource policies
-Nested applications specified by the template

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

Requirements for searching and browsing applications for which you have permissions.

A

-Created using your AWS account
-Privately shared with your AWS account
-Publicly shared

17
Q

How can you deploy and update applications?

A

Use AWS Console or AWS CLI to deploy and update applications.

18
Q

How can you monitor API calls?

A

Create a trail in AWS CloudTrail to capture all API calls.

19
Q

Without a CloudTrail trail, how can you view the most recent events?

A

Even if you haven’t configured a trail, you can still view the most recent events in the CloudTrail console’s Event history.

20
Q

How is SAR priced?

A

You are charged for AWS resources used in the applications you deploy.