Serverless Architecture Flashcards

1
Q

What is Lambda?

A

AWS Lambda is a serverless compute service that lets you run code without provisioning or managing the underlying servers. It’s like you’re running code without computers.

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

What is the max amount of ram that a Lambda function can have?

A

10gb

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

Whats the longest a Lambda function can run?

A

15 minutes.

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

What is AWS Serverless Application Repository?

A

Allows users to easily find, deploy, or even publish their own serverless application

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

What is the AWS SAM Template?

A

A manifest

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

What are the two options for AWS Serverless Application Repository

A

1) Publish
2) Deploy

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

What is AWS Fargate best used for?

A

When you have containers that do not need to run all the time.

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

Is Fargate a serverless tool?

A

Yes

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

Do you need ECS or EKS to use Fargate?

A

Yes

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

What is AWS EventBridge?

A

Formely Cloudwatch Events

is a serverless event bus. It allows you to pass events from source to an endpoint. It is essentially the glue that holds your serverless application together.

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

What AWS feature can alert a variety of different endpoints like Lambda functions, that something has happened when any API call that happens?

A

AWS EventBridge

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

What is Amazon ECR?

A

Elastic Container Registry

An AWS-managed container image repository

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

What Formats does Amazon ECR support?

A

Docker Images

OCI Images

OCI-compatible artifacts.

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

What are lifecycle Policies in AWS ECR?

A

Rules defining when to expire and remove unused or older images

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

What is Image Scanning for AWS ECR?

A

Scan on push repository settings allow for identifying software vulnerabilities in your container image

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

What is Tag Mutability in AWS ECR?

A

It helps prevent image tags from being overwritten

17
Q

What is AWS EKS Distro? (EKS-D)

A

Is a K8 distribution based on and used by Amazon EKS.

It is like AWS EKS but it is fully managed by you and can run anywhere, on prem, competitor, whatever.

18
Q

What is AWS X-RAY?

A

Application Insights
Collects application data for viewing, filtering, and gaining insights about requests and responses. It also has traces similar to new relic so you can see downstream data.

19
Q

What is the header for Amazon Xray that contains added information?

A

X-Amzn-Trace-Id

20
Q

What is AWS AppSync?

A

Scalable GraphQL Interface

21
Q

What AWS service can create EC2 instances and place containers in them based on your task definitions?

A

ECS

22
Q

What is the maximum length of time Lambda can run?

A

15 minutes

23
Q

How can you easily collect insights regarding requests and responses for your AWS Lambda application?

A

AWS X-Ray

24
Q

You expect your new application to have variable reads and writes to the relational database. Which service allows you to test the optimal sizing of your instances while also keeping your budget in mind?

A

Amazon Aurora Serverless

25
Q

What is one thing EC2 instances allow you to configure but a serverless application doesn’t?

A

Operating System

26
Q

Where are container images stored?

A

In a container registry

27
Q

You need to manage a container-based application on-premises via an AWS service. Which of the following would meet your needs?

A

Amazon ECS Anywhere