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
It provide VPC Config information to the function.
Private subnet ID and security group ID.
23
Lambda configures an ENI, using an IP from the private subnet CIDR range.
Lambda Uses the VPC Information
24
It allows your function to access resources in VPC.
Security Group
25
Great way to visualize and orchestrate your serverless applications.
Step Functions Visualize and Orchestrate
26
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.
Step Functions
27
It logs the state of each step, so if something goes wrong, you can track what went wrong and where.
Step Functions Logging
28
Step Functions Workflow that is long running(up to 1 year). At-most-once. Non-idempotent.
Step Functions Standard Workflows
29
Step Functions Workflow that is the workflow must be complete before next step begins.
Step Functions Synchronous Express Workflows
30
Step Functions Workflow that is short lived (up to 5 mins). At-least-once. Idempotent.
Step Functions Express Workflows
31
Step Functions Workflow that is other task are not dependent on the completion of the workflow.
Step Functions Asynchronous Express Workflows
32
It helps developers analyze and debug distributed applications.
X-RAY
33
It is a visual representation of your application.
X-RAY Service Map
34
It must be installed on your EC2 instance. It is use to instrument your application to send traces to X-Ray.
X-Ray agent/daemon and X-Ray SDK
35
it provides an end-to-end view of requests as they travel through your application.
X-RAY Service Map
36
X-Ray integrates with many AWS services like?
DynamoDB, Lambda, API Gateway, etc.
37
You can also instrument your own applications to send data to X-Ray like?
data about incoming HTTP requests to your application
38
X-Ray Supported Platforms
EC2, Elastic Beanstalk environments, on-premises systems, and ECS.
39
How to Running X-Ray in ECS?
Run the X-Ray daemon in its own Docker image, running alongside your application.
40
How to X-Ray Annotations works?
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
Improve the performance of your APIs by to _________________ avoid calling your backend every time.
Caching the output of API calls
42
How API GATEWAY Caching reduces the number of API calls?
API Gateway returns the cached response instead of making a new request to your application.
43
API Gateway responses are cached for a. The default TTL is 300 seconds (5 minutes).
TTL period
44
What is the default TTL?
The default TTL is 300 seconds (5 minutes).
45
You can import APIs using external definition files like?
OpenAPI, formerly known as Swagger?
46
How to deal with legacy applications that use SOAP.
You can configure API Gateway as a SOAP web service passthrough, or you can use API Gateway to convert the XML response to JSON.