Serverless Architecture Flashcards

(30 cards)

1
Q

What is AWS Lambda?

A

A serverless compute service that runs code in response to triggers without provisioning or managing servers. Limited to 15-minute runtime and up to 10 GB RAM.

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

What is an IAM Role in the context of AWS Lambda?

A

A set of permissions that AWS Lambda functions assume to interact with other AWS services securely.

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

What is a Lambda Trigger?

A

An event source that automatically invokes a Lambda function when a specified event occurs.

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

What is EventBridge?

A

A serverless event bus that connects applications using data from various sources, commonly used to trigger Lambda functions.

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

What is AWS Fargate?

A

A serverless compute engine for containers that works with Amazon ECS and EKS without managing servers.

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

What does Amazon ECS stand for?

A

Elastic Container Service, a fully managed container orchestration service used to run and scale containerized applications.

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

What is Amazon EKS?

A

Elastic Kubernetes Service, a managed Kubernetes service for running Kubernetes clusters on AWS and on-premises.

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

What is a Dockerfile?

A

A text file that contains the instructions to build a Docker image for containerized applications.

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

What is Amazon ECR?

A

Elastic Container Registry, a fully managed container image registry for securely storing, managing, and scanning container images.

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

What is Amazon Aurora Serverless?

A

An on-demand, auto-scaling version of Amazon Aurora designed for variable workloads, ideal for new applications and dev/test environments.

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

What is AWS X-Ray?

A

A service that provides insights into application performance by tracing requests across services.

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

What does a Trace in AWS X-Ray represent?

A

A record of a single request as it travels through different AWS services, showing performance data and response times.

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

What is Amazon API Gateway?

A

A fully managed service for creating, publishing, maintaining, monitoring, and securing APIs at any scale.

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

What is AWS AppSync?

A

A managed GraphQL service for building scalable front-end applications with real-time and offline capabilities.

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

What is GraphQL?

A

A query language for APIs and a runtime for executing queries, allowing clients to specify exactly what data they need.

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

What is critical for AWS Lambda to perform actions in other AWS services?

A

An IAM role must be attached to the Lambda function.

17
Q

Name three common AWS services that can trigger a Lambda function.

A

Amazon S3, Kinesis, and EventBridge (formerly CloudWatch Events).

18
Q

What is the maximum runtime for a Lambda function?

19
Q

What is the maximum memory allocation for a Lambda function?

20
Q

What AWS service is faster for triggering Lambda functions than reviewing logs in CloudTrail?

21
Q

When should you consider Kubernetes in a serverless/container scenario?

A

When the solution involves open-source container management.

22
Q

What AWS services allow container management both on AWS and on-premises?

A

Amazon EKS and EKS Anywhere.

23
Q

Can AWS Fargate be used by itself?

A

No, it must be used with ECS or EKS.

24
Q

What are the basic steps of using containers in AWS?

A

Write a Dockerfile, build an image, push it to a repo, and run it on a host.

25
What AWS service is used for storing container images and scanning for vulnerabilities?
Amazon ECR (Elastic Container Registry).
26
What is Amazon Aurora Serverless used for?
Auto-scaling database for variable or unknown workloads and traffic.
27
In what scenarios is Aurora Serverless a good fit?
Capacity planning, unpredictable workloads, and development environments.
28
What does AWS X-Ray provide for serverless applications?
Tracing of requests/responses, application insights, and response time analysis.
29
Which services integrate natively with AWS X-Ray?
AWS Lambda and Amazon API Gateway.
30
What is AWS AppSync used for?
Managed GraphQL interface for front-end application development.