Deployment + Serverless Flashcards

1
Q

CloudFormation helps with automation by deploying ____________ using code like ____ or ____

A

CloudFormation helps with automation by deploying infrastructure using code like JSON or YAML

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

CloudFormation creates __________ for resources you want to provision in the _______

A

CloudFormation creates templates for resources you want to provision in the future

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

CloudFormation is ____ to use, you’re only charged for the _________ provisioned.

A

CloudFormation is free to use, you’re only charged for the resources provisioned.

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

A template in relation to CloudFormation is a ____ or ____ file that contains __________ for building out the AWS ____________

A

A template in relation to CloudFormation is a JSON or YAML file that contains instructions for building out the AWS environment

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

CloudFormation StackSets extends the functionality of stacks by enabling you to ______, ______, or ______ stacks across multiple accounts and regions with a single ________

A

CloudFormation StackSets extends the functionality of stacks by enabling you to create, update, or delete stacks across multiple accounts and regions with a single operation

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

CloudFormation ChangeSets are a summary of proposed changes to your stack which also allow you to see how those changes might impact your _________ resource before ___________

A

CloudFormation ChangeSets are a summary of propose changes to your stack which also allow you to see how those changes might impact your existing resource before implementing

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

Elastic Beanstalk can be used to quickly _______ and _______ applications in AWS

A

Elastic Beanstalk can be used to quickly deploy and manage applications in AWS

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

With Elastic Beanstalk developers upload applications and Elastic Bean Stalk handles the ________ provisioning, ____ balancing, ____-_______ and app health _________

A

With Elastic Beanstalk developers upload applications and Elastic Bean Stalk handles the capacity provisioning, load balancing, auto-scaling, and app health monitoring

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

The types of softwares Elastic Beanstalk supports are ______, Ruby, _____, ______

A

The types of software Elastic Beanstalk supports arePython, Ruby, Java, Docker

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

Environments is comprised of all the ________ created by Elastic Beanstalk and not just an ___ ________ with your uploaded code

A

Environments is comprised of all the resources created by Elastic Beanstalk and not just an EC2 instance with your uploaded code

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

Workers are specialized applications that have a _______ running task that listens for _______ on an Amazon SQS queue

A

Elastic Beanstalk: Workers are specialized applications that have a background running task that listens for messages on an Amazon SQS queue

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

Workers should be used for ____-________ tasks

A

Workers should be used for long-running tasks

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

AWS Lambda’s maximum timeout is ___ minutes and Lambda _____ the function after a timeout.

A

AWS Lambda’s maximum timeout is 15 minutes and Lambda terminates the function after a timeout.

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

An AWS service application that produces events that trigger an AWS Lambda function is called _____ ______.

A

An AWS service application that produces events that trigger an AWS Lambda function is called Event Source.

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

Some primary use cases for Lambda include ____ processing and real-time ____ or _____ processing.

A

Some primary use cases for Lambda include data processing and real-time file or stream processing.

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

AWS Lambda allows you to build a serverless backend for web, mobile, ___, and 3rd party ___ _______

A

AWS Lambda allows you to build a serverless backend for web, mobile, IOT, and 3rd party API requests

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

Simple Queue Service is best used when building __________ and __________ applications

A

Simple Queue Service is best used when building distributed and decoupled applications

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

The AWS service that sends an ____ notification when a CloudWach alarm is _______ is Simple Notification Service (SNS)

A

The AWS service that sends an email notification when a CloudWach alarm is triggered is Simple Notification Service (SNS)

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

AWS Step Functions is used to build _________ applications as a series of steps in a ______ workflow

A

AWS Step Functions is used to build distributed applications as a series of steps in a visual workflow

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

Step Functions is used for the ____ processing workflow

A

Step Functions is used for the order processing workflow

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

The two SQS Queue types are _______ queue and ____ queue.

A

The two SQS Queue types are Standard queue and FIFO queue.

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

r

An EC2 instance running Amazon ECS Agent is called _____ Instance

A

An EC2 instance running Amazon ECS Agent is called Container Instance

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

SQS Standard Queue type supports a nearly ________ ________ of transactions per second

A

SQS Standard Queue type supports a nearly unlimited number of transactions per second

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

SQS FIFO Queue type has a higher ___________ than the Standard queue but only supports up to ___ ________ per second

A

SQS FIFO Queue type has a higher throughput than the Standard queue but only supports up to 300 messages per second

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

The difference in message ordering between Standard and FIFO queue types?

FIFO stands for ___-__-____-___ and follows that strictly

Standard Queues may be delivered in ___ _______ they were sent

A

FIFO stands for First-In-First-Out and follows that strictly

Standard Queues may be delivered in any order they were sent

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

The main function of a dead letter queue is handling message ________

A

The main function of a dead letter queue is handling message failure

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

AWS SNS + Amazon SQS Fan-Out allow you to subscribe to ___ or _____Amazon SQS queues to an Amazon SNS ______

A

AWS SNS + Amazon SQS Fan-Out allow you to subscribe to one or more Amazon SQS queues to an Amazon SNS topic

28
Q

Amazon EventBridge is a __________ event bus for building event-driven __________

A

Amazon EventBridge is a serverless event bus for building event-driven applications

29
Q

Amazon EventBridge is a serverless event bus that makes it easier to _____ event-driven applications at _____ using events generated from your __________

A

Amazon EventBridge is a serverless event bus that makes it easier to build event-driven applications at scale using events generated from your applications

30
Q

Some services and API destinations that AWS EventBridge routes events to are: (4)

____ Gateway

_______

___/____

A

Some services and API destinations that AWS EventBridge routes events to are API Gateway, Lambda, SNS/SQS

31
Q

API Gateway is a fully managed service for publishing, __________, __________, and __________ APIs

A

API Gateway is a fully managed service for publishing, maintaining, monitoring, and securing APIs

32
Q

All of the APIs created with Amazon API Gateway expose _____ _________ only

A

All of the APIs created with Amazon API Gateway expose HTTPS endpoints only

33
Q

Caching with API Gateway reduces the ________ of _____ to your backend and improve _______ of request to the API

A

Caching with API Gateway reduces the number of calls to your backend and improve latency of request to the API

34
Q

Whenever you’re talking about credentials and Lambda ensure you’re attaching a ____ to the ________

A

Whenever you’re talking about credentials and Lambda ensure you’re attaching a role to the function

35
Q

The three API endpoint types and their use cases are

Edge Optimized for _____ use

Regional for ______ use

VPC or DX Connection for ___________ use

A

The three API endpoint types and their use cases are

Edge Optimized for Global Use

Regional for Regional

Private: VPC or DX Connection

36
Q

Simple Queue Service (SQS) is a message queue service for store and ________ patterns

A

Simple Queue Service (SQS) is a message queue service for store and forward patterns

37
Q

Fargate can’t work ____.

In order to use Fargate, you must be using ___ or ___

A

Fargate can’t work alone.

In order to use Fargate, you must be using ECS or EKS

38
Q

The max length of time that a message will persist in SQS is ___ days. Default is ___ days and can be as short as __ minute.

A

The max length of time that a message will persist in SQS is 14 days. Default is 4 days and can be as short as 1 minute.

39
Q

Simple Queue Service is a messaging queue that allows __________ processing of work

A

Simple Queue Service is a messaging queue that allows asynchronous processing of work.

40
Q

The default Delivery Delay parameters with SQS is __ seconds and can be set up to ___ minutes.

A

The default Delivery Delay parameters with SQS is 0 and can be set up to 15 minutes.

41
Q

Simple Queue Service (SQS) setting max message size can be up to ___ KB of text in ___ format.

A

Simple Queue Service (SQS) setting max message size can be up to 256 KB of text in any format.

42
Q

With SQS messages are _________ by default but if you want ________ at rest you’ll have to manually set it up

A

With SQS messages are encrypted by default but if you want encryption at rest you’ll have to manually set it up

43
Q

In ____________ operations tasks are performed ____ at a ______, and only when one is completed is the following ___________.

A

In Synchronous operations tasks are performed one at a time, and only when one is completed is the following unblocked.

44
Q

AWS SQS: Short polling

Short Polling constantly checks the Que for new _____ which burns CPU and costs more _____ for each API call

A

AWS SQS: Short polling

Short Polling constantly checks the Que for new messages which burns CPU and costs more money for each API call

45
Q

Amazon Elastic Container Service (ECS) and Amazon EKS are both managed, highly available, and scalable _______ ________ service

A

Amazon Elastic Container Service (ECS) and Amazon EKS are both managed, highly available, and scalable container platform service

46
Q

Amazon ECS Cluster is a logical grouping of ___ _________

A

Amazon ECS Cluster is a logical grouping of EC2 instances

47
Q

An EC2 instance running Amazon ECS Agent is called __________ ________

A

An EC2 instance running Amazon ECS Agent is called Container Instance

48
Q

Amazon ECS: Task Definition is a blueprint that describes how a _______ container should _____

A

Amazon ECS: Task Definition is a blueprint that describes how a docker container should launch

49
Q

The two ECS launch types are ____ or _____.

And choosing one or the other determines the type of ____________ your task and ________ are hosted on.

A

The two ECS launch types are EC2 or Fargate

And choosing one or the other determines the type of infrastructure your task and services are hosted on.

50
Q

The differences between the two ECS launch types:

Fargate is ____ managed and you have ____ control

With EC2 you provision your EC2 instances and gain more control but must handle ___________, _________, and optimization

A

The differences between the two ECS launch types:

Fargate: fully managed but you have less control

With EC2 you provision your EC2 instances and gain more control but must handle upgrading, patching, and optimization

51
Q

ECS Images are created from a read-only template called an image which has the instructions for ________ a docker Container

A

ECS Images are created from a read-only template called an image which has the instructions for creating a Docker Container

52
Q

ECS Images are stored in a registry such as DockerHub or AWS ________ _________ _______ (ECR)

A

ECS Images are stored in a registry such as DockerHub or AWS Elastic Container Registry (ECR)

53
Q

ECS Tasks is a ____ ____ in JSON format that describes one or more __________

The Maximum # of containers it can define is ___.

A

ECS Tasks is a text file in JSON format that describes one or more container

The Maximum # of containers it can define is 10.

54
Q

Cluster Auto Scaling uses a capacity provider to _____ the number of EC2 instances using EC2 _________

A

Cluster Auto Scaling uses a capacity provider to scale the number of EC2 instances using EC2 Autoscaling

55
Q

Amazon ECS Cluster is a ____ grouping of container instances that you place ____ on

A

Amazon ECS Cluster is a logical grouping of container instances that you place tasks on

56
Q

ECS Container Agent allows container __________ to connect to the _______

A

ECS Container Agent allows container instances to connect to the cluster

57
Q

ECS Container Agent is ______ and _______ based. You have to _______ install the ECS container agent in order to use a non-AWS Linux instance.

A

ECS Container Agent is Linux and Windows based. You have to manually install the ECS container agent in order to use a non-AWS Linux instance.

58
Q

The two types of autoscaling for ECS are _______ Auto Scaling and ________ Auto Scaling.

A

The two types of autoscaling for ECS are Service Auto Scaling and Cluster Auto Scaling.

59
Q

Service Auto Scaling supports

Target ________

Step scaling

______ policies

A

Service Auto Scaling supports

Target Tracking

Step scaling

Schedule policies

60
Q

Service Auto Scaling adjusts the ____ task count up or down using the __________ Auto Scaling Service

A

Service Auto Scaling adjusts the desired task count up or down using the Application Auto Scaling Service

61
Q

Target Tracking scaling policy will increase or decrease the number of tasks that your service runs based on a ______ ______ for a specific __________ metric

A

Target Tracking scaling policy will increase or decrease the number of tasks that your service runs based on a target value for a specific CloudWatch metric

62
Q

Step scaling policy will ________ or ________ the number of tasks that your service runs in response to CloudWatch alarms.

A

Step scaling policy will increase or decrease the number of tasks that your service runs in response to CloudWatch alarms.

63
Q

Step scaling is based on a set of adjustments, known as ____ ___________, which vary based on the _____ of the alarm breach

A

Step scaling is based on a set of adjustments, known as step adjustments, which vary based on the size of the alarm breach

64
Q

Long Polling Checks for new messages then ____ ___ before checking again

A

Long Polling Checks for new messages then hangs out before checking again

65
Q

Between Long vs Short Polling, which is the one that you may end up using in most cases?

A

Between Long vs Short Polling, which is the one that you may end up using in most cases?

Long Polling

66
Q

AWS Fargate is a ________, pay-as-you-go compute engine that lets you focus on ___________ applications without ___________ servers.

A

AWS Fargate is a serverless, pay-as-you-go compute engine that lets you focus on building applications without managing ​servers.

67
Q

With ___________ operations, you can deal with _______ requests simultaneously, thus completing more tasks in a much shorter period.

A

With asynchronous operations, you can deal with multiple requests simultaneously, thus completing more tasks in a much shorter period.