9 - ECS, Lambda, Batch, Lightsail
What is the maximum length of Lambda Invocation time
15 minutes
- Fully managed service to easily create, publish, maintain, monitor, and secure API's. - Serverless and scalable - Supports Restful aand WebSocket API
API Gateway
How are Lambda functions exposed as API's
API Gateway
How is a Lambda function exposed as an API
API Gateway
What serverless technology is used to build and deploy API's
API Gateway
Fully managed batch processing at any scale
AWS Batch
Where are docker containers stored
AWS ECR (Elastic Container Registry)
Batch vs Lambda - No time limit - Any runtime as long as it is packaged as a docker image - Rely on EBS / EC2 Instance store for disk space - Not serverless but it is managed
Batch
How is Lambda monitored
CloudWatch
What is required to run Docker on ECS
EC2 instance(s)
Batch relies on
EC2 instances
Docker Containers run on ______________
EC2 instances
What is ECR
Elastic Container Registry
What is ECS
Elastic Container Service
With Lambda, what invokes functions
Events (Event Driven)
What is the non-EC2 way to run docker containers
Fargate
What is used to run Docker containers without provisioning infrastructure
Fargate
Which Docker service is serverless
Fargate
You would like to launch Docker containers in AWS without worrying about provisioning or managing any infrastructure. The Docker containers will be used to host a heavy workloads to serve different types of requests. Some requests may need up to 30 minutes to be completed. Which AWS service should you use to run Docker containers in a Serverless way and satisfy the requirements? a - ECS b - Fargate c - ECR d - Lambda
Fargate
Batch vs Lambda - Time Limit - Limited runtimes - Limited temporary disk space - Serverless
Lambda
Serverless, Function as a service, seamless scaling, reactive
Lambda
What Service gives us the following: - Virtual functions - Limited by time - short execution - Run on-demand - Scaling is automated
Lambda
What is ECS used for
Launch Docker instances
What can be used to get Virtual Servers, Storage, databases, and networking all in one place
LightSail
Does Fargate require EC2 instance to run on
No
Does LightSail have auto-scaling
No
How is Lambda priced
Per Request and compute time (Duration)
What is ECR used for
Storing Docker images so they can be run on AWS
Which AWS serverless service can be used by developers to create APIs? a - Ecr b - Lambda c - API Gateway
c - API Gateway
Which AWS service allows you to launch Docker containers on AWS, but requires you to provision and maintain the infrastructure? a - ECR b - EC2 c - ECS d - Fargate
c - ECS
Where should you store your private Docker images so they can be run by ECS or Fargate? a - Elastic Docker Registry b - Elastic Docker File Registration c - Elastic Container Registry d - Elastic Private Container Registry
c - Elastic Container Registry
A complete cloud beginner would like to create a simple application with predictable pricing. What service should this person use? a - EC2 b - Lambda c - Lightsail d - EasyStart
c - Lightsail
How do you get charged in AWS Lambda? a - Per Programming Language b - Per number of functions c - Per call and duration d - Per inactive time
c - Per call and duration
A company needs to run thousands of jobs but would like to NOT manage the compute resources. What service can it use? a - ECS b - EC2 Snapshot Instances c - EC2 Instances d - Batch
d - Batch
Which of the following statements is NOT a feature of AWS Lambda? a - Integration with the whole AWS suite of services b - Virtual Functions c - Automated and continuous scaling d - Definition of a minimum and a maximum of EC2 instances running
d - Definition of a minimum and a maximum of EC2 instances running
Can Docker images be run on Lambda
yes