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?

A

ECS

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?

A

No

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
Q

How do we create a rule for EventBridge?

A

We must define a pattern (what triggers it), select event bus, select your target, and tag it

26
Q

What is the fastest way to respond to API calls?

A

EventBridge

27
Q

What is Amazon ECR?

A

Elastic Container Registry is a managed registry that offers secure, scalable, and reliable infrastructure

28
Q

Can you have private and open container repositories in ECR?

A

Yes

29
Q

What is EKS Distro?

A

A Kubernetes distribution based on and used by Amazon EKS

30
Q

What is the difference between EKS Distro and EKS?

A

EKS Distro is managed by you where EKS is managed by Amazon

31
Q

If you need self-managed Kubernetes deployments, what should you use?

A

EKS Distro

32
Q

What is EKS Anywhere?

A

An on prem way to manage Kubernetes clusters with the same practices used for Amazon EKS

33
Q

What is ECS anywhere?

A

A feature within ECS that allows AWS managed container orchestration on prem

34
Q

What are the requirements for ECS Anywhere?

A

Must have SSM agent, ECS agent, and Docker installed

35
Q

What is Aurora serverless?

A

an on demand and auto scaling configuration for the Amazon Aurora database

36
Q

What is AWS X-Ray?

A

collects application data for viewing, filtering, and gaining insights about requests and responses

37
Q

What is AWS X-Ray?

A

collects application data for viewing, filtering, and gaining insights about requests and responses

38
Q

If you wanted to view downstream response times for applications, what should you use?

A

AWS X-ray

39
Q

What is AWS AppSync?

A

A robust and scalable GraphQL interface for application developers

40
Q

What are lifecycle policies in regards to Amazon ECR?

A

allows you to manage the lifecycle of the images in your repositories

41
Q

What is Scan on Push in regards to ECS?

A

image scanning that helps identify software vulnerabilities in your container images.

42
Q

Can you enable tag immutability in ECR?

A

Yes

43
Q

Can you configure the operating system in a serverless application?

A

No

44
Q

What is a really common trigger for AWS Lambda?

A

EventBridge

45
Q

What is the maximum amount of time Lambda can run?

A

15 minutes

46
Q

How can you run Fargate without needing ECS or EKS?

A

You can’t