Serverless Computing Flashcards

1
Q

Enables you to build scalable applications quickly, without managing any server

A

Serverless

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

Serverless Application are event driven, and you are charged only when your code is executed. True or False

A

True

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

It is a Lambda resource or a resource in another service that you configure to invoke your function in response to lifecycle events, external requests, or on a schedule.

A

Lambda Triggers

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

Lambda pay only when?

A

Your code executes

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

Examples of serverless technology?

A

Lambda, API Gateway, DynamoDB, S3, SNS, SQS.

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

Lambda is continuous scaling means?

A

Lambda scales automatically.

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

Lambda functions are ___________. Each event will trigger a single function.

A

Independent

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

Lambda functions are event driven means?

A

Lambda functions are triggered by an event or action.

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

What are the AWS Services that can invoke lambda functions?

A

DynamoDB, Kinesis, SQS, Application Load Balancer, API Gateway, Alexa, CloudFront, S3, SNS, SES, CloudFormation, CloudWatch, CodeCommit, CodePipeline

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

It provides an endpoint to your applications running in
AWS.

A

Amazon API Gateway

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

You can ___________ API Gateway to prevent your application from being
overloaded by too many requests.

A

Throttle

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

Everything is logged to ___________, For example, API calls,
latencies, and errors as well. And if you remember,

A

CloudWatch

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

CORS is enforced by the?

A

Client

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

If you are using Javascript/AJAX that uses multiple domains with
API Gateway, ensure that you have enabled ___________ on API
Gateway

A

CORS

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

You can have multiple versions of lambda functions? True or False

A

True

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

It is always the latest version of code you uploaded to Lambda.

A

$LATEST

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

Can split traffic using ________ to different versions of lambda functions

A

Aliases

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

Versions are immutable (Cannot be changed)? True or False

A

True

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

Cannot split traffic with $latest, instead create an alias to latest? True or False

A

True

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

What is throttling default Limit?

A

10,000 rps and 5,000 Concurrent Requests

18
Q

If you do hit the Lambda concurrent execution limit, you will start to see __________
which means there are too many requests coming in and you have hit the concurrent executions limit.

A

429 HTTP status code

19
Q

If you do hit the Lambda concurrent execution limit, the remedy is?

A

Get the limit raised by AWS support.

20
Q

if you’re running a critical application, then you can use __________ to guarantee a set number of Lambda concurrent executions are always available for your critical function.

A

Reserved concurrency

21
Q

You can enable Lambda to access resources in a?

A

Private VPC.

22
Q

It provide VPC Config information to the function.

A

Private subnet ID and security group ID.

23
Q

Lambda configures an ENI, using an IP from the private subnet CIDR range.

A

Lambda Uses the VPC Information

24
Q

It allows your function to access resources in VPC.

A

Security Group

25
Q

Great way to visualize and orchestrate your serverless applications.

A

Step Functions Visualize and Orchestrate

26
Q

It automatically triggers and tracks each step of the state machine or workflow. The output of one step is often the input to the next.

A

Step Functions

27
Q

It logs the state of each step, so if something goes wrong, you can track what went wrong and where.

A

Step Functions Logging

28
Q

Step Functions Workflow that is long running(up to 1 year). At-most-once. Non-idempotent.

A

Step Functions Standard Workflows

29
Q

Step Functions Workflow that is the workflow must be complete before next step begins.

A

Step Functions Synchronous Express Workflows

30
Q

Step Functions Workflow that is short lived (up to 5 mins). At-least-once. Idempotent.

A

Step Functions Express Workflows

31
Q

Step Functions Workflow that is other task are not dependent on the completion of the workflow.

A

Step Functions Asynchronous Express Workflows

32
Q

It helps developers analyze and debug distributed applications.

A

X-RAY

33
Q

It is a visual representation of your application.

A

X-RAY Service Map

34
Q

It must be installed on your EC2 instance. It is use to instrument your application to send traces to X-Ray.

A

X-Ray agent/daemon and X-Ray SDK

35
Q

it provides an end-to-end view of requests as they travel through your application.

A

X-RAY Service Map

36
Q

X-Ray integrates with many AWS services like?

A

DynamoDB, Lambda, API Gateway, etc.

37
Q

You can also instrument your own applications to send data to X-Ray like?

A

data about incoming HTTP requests to your application

38
Q

X-Ray Supported Platforms

A

EC2, Elastic Beanstalk environments, on-premises systems, and ECS.

39
Q

How to Running X-Ray in ECS?

A

Run the X-Ray daemon in its own Docker image, running alongside your application.

40
Q

How to X-Ray Annotations works?

A

Add user-defined key-value pairs to your X-Ray data, allowing you to filter, index, and search (e.g., game_name=TicTacToe, game_id=2645).

41
Q

Improve the performance of your APIs by to _________________ avoid calling your backend every time.

A

Caching the output of API calls

42
Q

How API GATEWAY Caching reduces the number of API calls?

A

API Gateway returns the cached response instead of making a new request to your application.

43
Q

API Gateway responses are cached for a. The default TTL is 300 seconds (5 minutes).

A

TTL period

44
Q

What is the default TTL?

A

The default TTL is 300 seconds (5 minutes).

45
Q

You can import APIs using external definition files like?

A

OpenAPI, formerly known as Swagger?

46
Q

How to deal with legacy applications that use SOAP.

A

You can configure API Gateway as a SOAP web service passthrough, or you can use API Gateway to convert the XML response to JSON.