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
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
FIFO stands for **First-In-First-Out** and follows that strictly Standard Queues may be delivered in any order they were sent
26
The main function of a dead letter queue is handling message \_\_\_\_\_\_\_\_
The main function of a dead letter queue is handling message **failure**
27
AWS SNS + Amazon SQS Fan-Out allow you to subscribe to ___ or \_\_\_\_\_Amazon SQS queues to an Amazon SNS \_\_\_\_\_\_
AWS SNS + Amazon SQS Fan-Out allow you to subscribe to **one** or **more** Amazon SQS queues to an Amazon SNS **topic**
28
Amazon EventBridge is a __________ event bus for building event-driven \_\_\_\_\_\_\_\_\_\_
Amazon EventBridge is a **serverless** event bus for building event-driven **applications**
29
Amazon EventBridge is a serverless event bus that makes it easier to **\_\_\_\_\_** event-driven applications at **\_\_\_\_\_** using events generated from your **\_\_\_\_\_\_\_\_\_\_**
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
Some services and API destinations that AWS EventBridge routes events to are: (4) **\_\_\_\_** Gateway \_\_\_\_\_\_\_ \_\_\_/\_\_\_\_
Some services and API destinations that AWS EventBridge routes events to are **API** Gateway, Lambda, SNS/**SQS**
31
API Gateway is a fully managed service for publishing, \_\_\_\_\_\_\_\_\_\_, \_\_\_\_\_\_\_\_\_\_, and __________ APIs
API Gateway is a fully managed service for publishing**, maintaining, monitoring,** and **securing** APIs
32
All of the APIs created with Amazon API Gateway expose _____ \_\_\_\_\_\_\_\_\_ only
All of the APIs created with Amazon API Gateway expose **HTTPS endpoints** only
33
Caching with API Gateway reduces the ________ of _____ to your backend and improve _______ of request to the API
Caching with API Gateway reduces the **number** of **calls** to your backend and improve **latency** of request to the API
34
Whenever you're talking about credentials and Lambda ensure you're attaching a ____ to the \_\_\_\_\_\_\_\_
Whenever you're talking about credentials and Lambda ensure you're attaching a **role** to the **function**
35
The three API endpoint types and their use cases are Edge Optimized for **\_\_\_\_\_** use Regional for **\_\_\_\_\_\_** use VPC or DX Connection for ___________ use
The three API endpoint types and their use cases are Edge Optimized for **Global** Use Regional for **Regional** **Private**: VPC or DX Connection
36
Simple Queue Service (SQS) is a message queue service for store and ________ patterns
Simple Queue Service (SQS) is a message queue service for store and **forward** patterns
37
Fargate can't work \_\_\_\_. In order to use Fargate, you must be using ___ or \_\_\_
Fargate can't work **alone**. In order to use Fargate, you must be using **ECS or EKS**
38
The max length of time that a message will persist in SQS is ___ days. Default is ___ days and can be as short as __ minute.
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
Simple Queue Service is a messaging queue that allows __________ processing of work
Simple Queue Service is a messaging queue that allows **asynchronous** processing of work.
40
The default Delivery Delay parameters with SQS is __ seconds and can be set up to ___ minutes.
The default Delivery Delay parameters with SQS is **0** and can be set up to **15** minutes.
41
Simple Queue Service (SQS) setting max message size can be up to ___ KB of text in ___ format.
Simple Queue Service (SQS) setting max message size can be up to **256** KB of text in **any** format.
42
With SQS messages are _________ by default but if you want ________ at rest you'll have to manually set it up
With SQS messages are **encrypted** by default but if you want **encryption** at rest you'll have to manually set it up
43
In **\_\_\_\_\_\_\_\_\_\_\_\_** operations tasks are performed **\_\_\_\_** at a **\_\_\_\_\_\_**, and only when one is completed is the following **\_\_\_\_\_\_\_\_\_\_\_**.
In **Synchronous** operations tasks are performed **one** at a **time**, and only when one is completed is the following **unblocked**.
44
AWS SQS: Short polling Short Polling constantly checks the Que for new **\_\_\_\_\_** which burns CPU and costs more **\_\_\_\_\_** for each API call
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
Amazon Elastic Container Service (ECS) and Amazon EKS are both managed, highly available, and scalable _______ \_\_\_\_\_\_\_\_ service
Amazon Elastic Container Service (ECS) and Amazon EKS are both managed, highly available, and scalable **container platform** service
46
Amazon ECS Cluster is a logical grouping of ___ \_\_\_\_\_\_\_\_\_
Amazon ECS Cluster is a logical grouping of **EC2 instances**
47
An EC2 instance running Amazon ECS Agent is called __________ \_\_\_\_\_\_\_\_
An EC2 instance running Amazon ECS Agent is called **Container Instance**
48
Amazon ECS: Task Definition is a blueprint that describes how a _______ container should \_\_\_\_\_
Amazon ECS: Task Definition is a blueprint that describes how a **docker** container should **launch**
49
The two **ECS** launch types are ____ or \_\_\_\_\_. And choosing one or the other determines the type of ____________ your task and ________ are hosted on.
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
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
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
ECS Images are created from a read-only template called an image which has the instructions for ________ a docker Container
ECS Images are created from a read-only template called an image which has the instructions for **creating** a **Docker** Container
52
ECS Images are stored in a registry such as DockerHub or AWS ________ \_\_\_\_\_\_\_\_\_ _______ (ECR)
ECS Images are stored in a registry such as DockerHub or AWS **Elastic Container Registry** (ECR)
53
ECS Tasks is a ____ \_\_\_\_ in JSON format that describes one or more \_\_\_\_\_\_\_\_\_\_ The Maximum # of containers it can define is \_\_\_.
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
Cluster Auto Scaling uses a capacity provider to **\_\_\_\_\_** the number of EC2 instances using EC2 **\_\_\_\_\_\_\_\_\_**
Cluster Auto Scaling uses a capacity provider to **scale** the number of EC2 instances using EC2 **Autoscaling**
55
Amazon ECS Cluster is a ____ grouping of container instances that you place ____ on
Amazon ECS Cluster is a **logical** grouping of container instances that you place **tasks on**
56
ECS Container Agent allows container __________ to connect to the \_\_\_\_\_\_\_
ECS Container Agent allows **container instances** to connect to the **cluster**
57
ECS Container Agent is ______ and _______ based. You have to _______ install the ECS container agent in order to use a non-AWS Linux instance.
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
The two types of autoscaling for ECS are _______ Auto Scaling and ________ Auto Scaling.
The two types of autoscaling for ECS are **Service** Auto Scaling and **Cluster** Auto Scaling.
59
Service Auto Scaling supports Target \_\_\_\_\_\_\_\_ Step scaling \_\_\_\_\_\_ policies
Service Auto Scaling supports Target **Tracking** **Step scaling** **Schedule** policies
60
Service Auto Scaling adjusts the ____ task count up or down using the __________ Auto Scaling Service
Service Auto Scaling adjusts the **desired** task count up or down using the **Application** Auto Scaling Service
61
Target Tracking scaling policy will increase or decrease the number of tasks that your service runs based on a ______ \_\_\_\_\_\_ for a specific __________ metric
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
Step scaling policy will ________ or ________ the number of tasks that your service runs in response to CloudWatch alarms.
Step scaling policy will increase or decrease the number of tasks that your service runs in response to CloudWatch **alarms.**
63
Step scaling is based on a set of adjustments, known as ____ \_\_\_\_\_\_\_\_\_\_\_, which vary based on the _____ of the alarm breach
Step scaling is based on a set of adjustments, known as **step adjustments**, which vary based on the **size** of the alarm breach
64
Long Polling Checks for new messages then **\_\_\_\_ \_\_\_** before checking again
Long Polling Checks for new messages then **hangs out** before checking again
65
Between Long vs Short Polling, which is the one that you may end up using in most cases?
Between Long vs Short Polling, which is the one that you may end up using in most cases? **Long Polling**
66
AWS Fargate is a **\_\_\_\_\_\_\_\_**, pay-as-you-go compute engine that lets you focus on **\_\_\_\_\_\_\_\_\_\_\_** applications without **\_\_\_\_\_\_\_\_\_\_\_** servers.
AWS Fargate is a **serverless**, pay-as-you-go compute engine that lets you focus on **building** applications without **managing** ​servers.
67
With **\_\_\_\_\_\_\_\_\_\_\_** operations, you can deal with **\_\_\_\_\_\_\_** requests simultaneously, thus completing more tasks in a much shorter period.
With **asynchronous** operations, you can deal with **multiple** requests simultaneously, thus completing more tasks in a much shorter period.