Other Compute Services Flashcards

1
Q

What is Docker?

A

Docker is a software development platform that allows you to deploy applications.

Applications are packaged into containers that can be run on any OS, and these containers can be scaled up and down very quickly.

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

Where are Docker images stored?

A

Docker images are stored in Docker Repositories.

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

What is Amzon ECS?

A

ECS = Elastic Container Service

Allows you to launch Docker containers on AWS on infrastructure (EC2) that you provision and maintain.

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

What is Amazon Fargate?

A

Allows you to launch Docker containers on AWS without having to provision infrastructure.

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

What is Amazon ECR?

A

ECR = Elastic Container Registry

It is a Private Docker registry on AWS and allows you to store Docker images to be run by ECR or Fargate.

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

What is Serverless?

A

Allows developers to simply deploy code or functions without needing to manage servers.

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

What is AWS Lambda?

A

Allows you to run virtual functions with no servers to manage.

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

What are the 5 benefits of AWS Lambda?

A

Easy Pricing - Payper request and compute time + very generous free tier

Integrated with the whole of AWS suite

Event-Driven: functions are invoked by AWS only when needed.

Integrated with many programming languages

East monitoring through CloudWatch

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

How is Lambda priced?

A

Pay per calls
Pay per duration (compute time)

It is very cheap to run AWS Lambda so it’s very popular

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

What is the Amazon API Gateway

A

Fully managed service for developers to easily create, publish, maintain, monitor and secure APIS.

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

What is AWS Batch?

A

Fully managed batch processing at any scale.

You submit or schedule the batch job and AWS will provision the right compute/memory (EC2 or spot instances) to run the job.

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

What is a batch job vs. a streaming?

A

A batch job is a job with a start and end date, as opposed to streaming which is continuous.

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

What is the difference between AWS Lambda and AWS Batch?

A

Lambda has a time limit, limited run time, limited temporary disk space, and is serverless.

Batch has no time limit and any runtime as long as it’s packaged as a Docker image. Relies on EBS for store space and EC2, though it is managed by AWS.

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

What is Amazon Lightsail?

A

AWS Service for users that have little to no cloud knowledge and want a low/predictable pricing to get started with Amazon. Packages Amazon services together.

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

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

A

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
16
Q

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

A

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.

17
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?

A

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.

18
Q

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

A

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

19
Q

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

A

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