Serverless Architecture Flashcards

1
Q

What are the benefits of serverless?

A

Ease, event based, pay as you go

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

Ceteris paribus, is serverless or traditional architecture better?

A

serverless

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

What is Lambda?

A

a serverless compute service that lets us run code without provisioning or managing the underlying servers. Kinda like running code without computers

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

What is a runtime in regards to Lambda?

A

The language you wrote the code in

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

If your Lambda makes API calls, what do you need?

A

Permissions

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

What begins a Lambda function?

A

A trigger

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

Can Lambda run inside and outside a VPC?

A

Yes

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

What is the AWS Serverless Application Repository?

A

Allows users to easily find, deploy, or even publish serverless applications

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

When you publish with AWS Serverless Application Repository, what are you doing?

A

Making the app available for others to deploy.

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

When you deploy with AWS Serverless Applicaiton Repository, what are you doing?

A

You are finding others applications and deploying those

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

How do you define apps with AWS Serverless Application Repository?

A

SAM Templates

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

Are published SAM Templates public by default?

A

No, private

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

What is a really helpful tool to migrate from on prem to AWS (hint: it utilizes dockerfiles?

A

containers

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

What is EKS?

A

Kubernetes is an open source container management service. EKS is amazon’s way to integrate Kubernetes.

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

What is ECS?

A

Elastic container service allows us to manage thousands of containers

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

Does ECS integrate with ELB?

A

Yes, containers come online with to the appropriate load balancer

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

Can containers have roles attached to them in ECS?

A

Yes

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

If you need a service to manage containers on prem and in the cloud, what should you use?

A

EKS

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

If you need a container management service that is just for AWS, what should you use?

20
Q

What does AWS Fargate do?

A

a serverless compute engine for containers that works with ECS and EKS

21
Q

Is Fargate cheaper than maintaining the EC2 instances yourself?

22
Q

Should long running containers use Fargate?

A

Typically no

23
Q

When should you use Fargate instead of Lambda?

A

When you have consistent workloads

24
Q

What is Amazon EventBridge?

A

A serveless service that allows you to pass events from a source to an endpoint (formerly know as cloudwatch events)

25
How do we create a rule for EventBridge?
We must define a pattern (what triggers it), select event bus, select your target, and tag it
26
What is the fastest way to respond to API calls?
EventBridge
27
What is Amazon ECR?
Elastic Container Registry is a managed registry that offers secure, scalable, and reliable infrastructure
28
Can you have private and open container repositories in ECR?
Yes
29
What is EKS Distro?
A Kubernetes distribution based on and used by Amazon EKS
30
What is the difference between EKS Distro and EKS?
EKS Distro is managed by you where EKS is managed by Amazon
31
If you need self-managed Kubernetes deployments, what should you use?
EKS Distro
32
What is EKS Anywhere?
An on prem way to manage Kubernetes clusters with the same practices used for Amazon EKS
33
What is ECS anywhere?
A feature within ECS that allows AWS managed container orchestration on prem
34
What are the requirements for ECS Anywhere?
Must have SSM agent, ECS agent, and Docker installed
35
What is Aurora serverless?
an on demand and auto scaling configuration for the Amazon Aurora database
36
What is AWS X-Ray?
collects application data for viewing, filtering, and gaining insights about requests and responses
37
What is AWS X-Ray?
collects application data for viewing, filtering, and gaining insights about requests and responses
38
If you wanted to view downstream response times for applications, what should you use?
AWS X-ray
39
What is AWS AppSync?
A robust and scalable GraphQL interface for application developers
40
What are lifecycle policies in regards to Amazon ECR?
allows you to manage the lifecycle of the images in your repositories
41
What is Scan on Push in regards to ECS?
image scanning that helps identify software vulnerabilities in your container images.
42
Can you enable tag immutability in ECR?
Yes
43
Can you configure the operating system in a serverless application?
No
44
What is a really common trigger for AWS Lambda?
EventBridge
45
What is the maximum amount of time Lambda can run?
15 minutes
46
How can you run Fargate without needing ECS or EKS?
You can't