Table of Contents
How do you get charged in AWS Lambda?
Per call and per duration (In AWS Lambda, you are charged per request and compute time, that’s it.)
You would like a serverless service to launch Docker containers with no infrastructure to provision. Which AWS service should you use?
Fargate (Fargate allows you to launch Docker containers on AWS, and you don’t need to provision and maintain the infrastructure (=no EC2 instances to manage). It is serverless.)
A complete cloud beginner would like to create a simple application with predictable pricing. What service should this person use?
What is the name of the software development platform that allows you to run applications the same way, regardless of where they are run?
Docker (Docker is a software development platform that allows you to run applications the same way, regardless of where they are run. It can scale containers up and down within seconds.)
How would you best describe “event-driven” in AWS Lambda?
Happens when needed (“Event-driven” in Lambda means that functions are invoked when needed. They are triggered.)
Which AWS service allows you to launch Docker containers on AWS, but requires you to provision and maintain the infrastructure?
ECS (ECS allows you to launch Docker containers on AWS, but you must provision and maintain the infrastructure (i.e. EC2 instances).)
Which of the following statements is INCORRECT regarding the definition of the term “serverless”?
There are no servers (Serverless does not mean that there are no servers, you just do not manage, provision and see them, but they do exist.)
Which of the following statements is NOT a feature of AWS Lambda?
Definition of a minimum and a maximum of EC2 Instances running (This is a feature of Auto Scaling Groups, not AWS Lambda.)
A company needs to run thousands of jobs but would like to NOT manage the compute resources. What service can it use?
Batch (AWS Batch enables developers, scientists, and engineers to easily and efficiently run hundreds of thousands of batch computing jobs on AWS. AWS Batch dynamically provisions the optimal quantity and type of compute resources (e.g., CPU or memory-optimized instances) based on the volume and specific resource requirements of the batch jobs submitted.)
Where should you store your private Docker images so they can be run by ECS or Fargate?
Elastic Container Registry (Elastic Container Registry (ECR) is a service where you store your Docker image so they can be run by ECS or Fargate.)