Deployment + Serverless Flashcards
CloudFormation helps with automation by deploying ____________ using code like ____ or ____
CloudFormation helps with automation by deploying infrastructure using code like JSON or YAML
CloudFormation creates __________ for resources you want to provision in the _______
CloudFormation creates templates for resources you want to provision in the future
CloudFormation is ____ to use, you’re only charged for the _________ provisioned.
CloudFormation is free to use, you’re only charged for the resources provisioned.
A template in relation to CloudFormation is a ____ or ____ file that contains __________ for building out the AWS ____________
A template in relation to CloudFormation is a JSON or YAML file that contains instructions for building out the AWS environment
CloudFormation StackSets extends the functionality of stacks by enabling you to ______, ______, or ______ stacks across multiple accounts and regions with a single ________
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
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 ___________
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
Elastic Beanstalk can be used to quickly _______ and _______ applications in AWS
Elastic Beanstalk can be used to quickly deploy and manage applications in AWS
With Elastic Beanstalk developers upload applications and Elastic Bean Stalk handles the ________ provisioning, ____ balancing, ____-_______ and app health _________
With Elastic Beanstalk developers upload applications and Elastic Bean Stalk handles the capacity provisioning, load balancing, auto-scaling, and app health monitoring
The types of softwares Elastic Beanstalk supports are ______, Ruby, _____, ______
The types of software Elastic Beanstalk supports arePython, Ruby, Java, Docker
Environments is comprised of all the ________ created by Elastic Beanstalk and not just an ___ ________ with your uploaded code
Environments is comprised of all the resources created by Elastic Beanstalk and not just an EC2 instance with your uploaded code
Workers are specialized applications that have a _______ running task that listens for _______ on an Amazon SQS queue
Elastic Beanstalk: Workers are specialized applications that have a background running task that listens for messages on an Amazon SQS queue
Workers should be used for ____-________ tasks
Workers should be used for long-running tasks
AWS Lambda’s maximum timeout is ___ minutes and Lambda _____ the function after a timeout.
AWS Lambda’s maximum timeout is 15 minutes and Lambda terminates the function after a timeout.
An AWS service application that produces events that trigger an AWS Lambda function is called _____ ______.
An AWS service application that produces events that trigger an AWS Lambda function is called Event Source.
Some primary use cases for Lambda include ____ processing and real-time ____ or _____ processing.
Some primary use cases for Lambda include data processing and real-time file or stream processing.
AWS Lambda allows you to build a serverless backend for web, mobile, ___, and 3rd party ___ _______
AWS Lambda allows you to build a serverless backend for web, mobile, IOT, and 3rd party API requests
Simple Queue Service is best used when building __________ and __________ applications
Simple Queue Service is best used when building distributed and decoupled applications
The AWS service that sends an ____ notification when a CloudWach alarm is _______ is Simple Notification Service (SNS)
The AWS service that sends an email notification when a CloudWach alarm is triggered is Simple Notification Service (SNS)
AWS Step Functions is used to build _________ applications as a series of steps in a ______ workflow
AWS Step Functions is used to build distributed applications as a series of steps in a visual workflow
Step Functions is used for the ____ processing workflow
Step Functions is used for the order processing workflow
The two SQS Queue types are _______ queue and ____ queue.
The two SQS Queue types are Standard queue and FIFO queue.
r
An EC2 instance running Amazon ECS Agent is called _____ Instance
An EC2 instance running Amazon ECS Agent is called Container Instance
SQS Standard Queue type supports a nearly ________ ________ of transactions per second
SQS Standard Queue type supports a nearly unlimited number of transactions per second
SQS FIFO Queue type has a higher ___________ than the Standard queue but only supports up to ___ ________ per second
SQS FIFO Queue type has a higher throughput than the Standard queue but only supports up to 300 messages per second
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
The main function of a dead letter queue is handling message ________
The main function of a dead letter queue is handling message failure
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
Amazon EventBridge is a __________ event bus for building event-driven __________
Amazon EventBridge is a serverless event bus for building event-driven applications
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
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
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
All of the APIs created with Amazon API Gateway expose _____ _________ only
All of the APIs created with Amazon API Gateway expose HTTPS endpoints only
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
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
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
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
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
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.
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.
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.
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.
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
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.
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
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
Amazon ECS Cluster is a logical grouping of ___ _________
Amazon ECS Cluster is a logical grouping of EC2 instances
An EC2 instance running Amazon ECS Agent is called __________ ________
An EC2 instance running Amazon ECS Agent is called Container Instance
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
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.
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
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
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)
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.
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
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
ECS Container Agent allows container __________ to connect to the _______
ECS Container Agent allows container instances to connect to the cluster
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.
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.
Service Auto Scaling supports
Target ________
Step scaling
______ policies
Service Auto Scaling supports
Target Tracking
Step scaling
Schedule policies
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
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
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.
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
Long Polling Checks for new messages then ____ ___ before checking again
Long Polling Checks for new messages then hangs out before checking again
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
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.
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.