Other Compute Services Quiz Flashcards

1
Q

How do you get charged in AWS Lambda?

1 - Per programming language
2 - Per number of functions
3 - Per call and per duration
4 - Per inactive time

A

Per call and per duration

In AWS Lambda, you are charged per request and compute time, that’s it.

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

You would like a serverless service to launch Docker containers with no infrastructure to provision. Which AWS service should you use?

1 - ECS (Elastic Container Service)
2 - Fargate
3 - ECR
4 - Lambda

A

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.

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

A complete cloud beginner would like to create a simple application with predictable pricing. What service should this person use?

1 - EC2
2 - Lambda
3 - Lightsail
4 - Easy Start

A

Lightsail

Amazon Lightsail is designed to be the easiest way to launch and manage a virtual private server with AWS. Lightsail plans include everything you need to jumpstart your project – a virtual machine, SSD- based storage, data transfer, DNS management, and a static IP address – for a low, predictable price. It can be used to create a simple web application, a website or a dev/test environment.

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

What is the name of the software development platform that allows you to run applications the same way, regardless of where they are run?

1 - Dolphin
2 - Shark
3 - Docker
4 - EC2

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How would you best describe “event-driven” in AWS Lambda?

1 - Happens on a certain day
2 - Happens at a certain time
3 - Happens on a regular basis
4 - Happens when needed

A

Happens when needed

“Event-driven” in Lambda means that functions are invoked when needed. They are triggered.

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

Which AWS service allows you to launch Docker containers on AWS, but requires you to provision and maintain the infrastructure?

1 - ECS (Elastic Container Service)
2 - Fargate
3 - ECR (Elastic Container Registry)
4 - EC2 (Elastic Cloud Compute)

A

ECS (Elastic Container Service)

ECS allows you to launch Docker containers on AWS, but you must provision and maintain the infrastructure (i.e. EC2 instances).

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

Which of the following statements is INCORRECT regarding the definition of the term “serverless”?

1 - Serverless allows you to deploy functions as a service
2 - There are no servers
3 - You don’t need to manage servers
4 - Lambda is te serverless pioneer

A

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.

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

Which of the following statements is NOT a feature of AWS Lambda?

1 - Integration with the whole AWS suite of services
2 - Virtual functions
3 - Automated and continuous scaling
4 - Definition of a minimum and a maximum of EC2 instances running

A

Definition of a minimum and a maximum of EC2 instances running

This is a feature of Auto Scaling Groups, not AWS Lambda.

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

A company needs to run thousands of jobs but would like to NOT manage the compute resources. What service can it use?

1 - ECS (Elastic Container Service)
2 - EC2 Spot Instances
3 - Batch
4 - EC2 (Elastic Cloud Compute)

A

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.

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

Where should you store your private Docker images so they can be run by ECS or Fargate?

1 - Elastic Docker Registry
2 - Elastic Docker File Registry
3 - Elastic Container Registry
4 - Elastic Private Container Registry

A

ECR = 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.

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