Other Compute Section Flashcards

1
Q

Two services that launch dockers

A

ECS (Elastic Container Store) / Fargate

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

A software development platform to store apps

A

docker

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

where are docker images stored?

A

docker repositories

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

what is the URL address for a public docker hub?

A

https://hub.docker.com/

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

What is the difference between a virtual machine and a container?

A

In a VM, resources are not shared whereas with containers, server resources are shared between containers

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

Of the two services that launch container services, which one requires the uses of instances and maintaining infrastructure versus which one is serverless

A

ECS requires infrastructure
Fargate is serverless

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

what is the name of the AWS docker repository?

A

ECR - Elastic Container Registry

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

Serverless is akin to _aaS

A

Function

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

Lambda - how many requests are afforded under the free tier

A

1 million

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

Lambda - how many GB of compute time are afforded under the free tier?

A

400,000 GB- seconds (or 4 TB) seconds of compute time

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

What service is utilized to monitor Lambda?

A

AWS Cloudwatch

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

Lambda is considered to an (expensive/inexpensive) service.

A

Inexpensive

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

Batch jobs must be packaged as what type of image?

A

docker image

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

Apps created with Dockers are stored in what?

A

containers

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

On which OS can your run Docker apps?

A

any OS

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

What programming languages can Docker work with?

A

any

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

Are docker containers scalable?

A

yes

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

When scaling docker containers, how quickly can they be scaled?

A

in seconds

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

If you have multiple Docker container applications running, what is the minimum # of EC2 instances?

A

Just 1, as containers share server resources

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

What is the docker equivalent of the role hypervisor plays in creating VMs on top of hardware?

A

Docker daemon

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

what purpose does ECS serve?

A

launches Docker containers on AWS

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

With ECS, are EC2 instances required?

A

yes

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

With ECS, EC2 instances are created (as needed/in advance by you).

A

in advance, by you

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

With ECS, who is responsible for stopping/starting containers? You/AWS

A

AWS

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

Can ECS implement load balancing?

A

yes

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

What is one example where ECS might implement load balancing?

A

if you wanted to utilize a web application

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

Amazon S3, Dynamo DB, Lambda, and Fargate are all examples of what type (classification) of service?

A

serverless

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

With Lambda, we don’t have servers but instead, just have v______ f_______

A

virtual functions

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

Lambda is limited by …. what?

A

time

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

Lambda is (shorter/longer) executions.

A

shorter

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

Lambda runs
a. continuously
b. when manually started
c. on demand

A

on demand

32
Q

Lambda, scaling is (manual/automatic)

A

automatic

33
Q

Lambda is
a. expensive to run
b inexpensive

A

inexpensive

34
Q

For Lamba, how are you charged (choose two)?
1. per line of code
2.per request
3. set monthly fee that covers all usage
4. per compute time x data used

A
  1. per request
  2. per compute time x data used
35
Q

When using Lambda, how much will it cost you for 1,000,000 Lambda requests?

A

Nothing, that’s covered under the free tier

36
Q

When using Lambda, how much will it cost for 400,000GB (4TB) of compute time?

A

Nothing, that’s covered under the free tier

37
Q

what type of service is serverless, and said to be “event driven”, only invoked by AWS when needed

A

Lambda

38
Q

Lamba is considered a (passive/reactive) type of service.

A

reactive

39
Q

Lambda can get up to __GB of RAM per function.

A

10

40
Q

The C_____ R______ API will allow you to run any language you want through Lambda

A

Custom Runtime API

41
Q

What is the purpose of the “Lambda Container Image”?

A

allows you to run docker containers on top of Lambda

42
Q

When using the “Lambda Container Image” to run a docker image on top of Lambda, what must the container image contain?

A

must contain the Lambda runtime API

43
Q

why would someone run a CRON job?

A

So that they could set a specific schedule of when to run a script

44
Q

By default, what type of AMI is a CRON job run on?

A

Linux AMI

45
Q

Beyond the free tier, how much are you going to pay for Lambda request?

A

$.20 per 1 million requests - $.0000002 per request)

46
Q

Beyond the free tier, how much are you going to pay for Lambda compute time?

A

$1 for 600,000 GB-seconds

47
Q

management tool that sits between a client and a collection of backend services

A

API Gateway

48
Q

acts as a reverse proxy to accept all application programming interface (API) calls, aggregate the various services required to fulfill them, and return the appropriate result.

A

API Gateway

49
Q

fully managed service for developers to easily create, publish, maintain, monitor, and secure APIs

A

API Gateway

50
Q

if the exam asks about “where to create a serverless and scalable API” think of this

A

Amazon Gateway API

51
Q

fully managed batch processing service that can do batch processing at any scale

A

AWS Batch

52
Q

A batch job can run (insert number) of computing batch jobs on AWS

A

100,000s

53
Q

a b____ job runs with a definitive start and stop

A

batch

54
Q

a batch job will dynamically launch either of these two types of instances to accommodate the load of the job you’re trying to run

A

EC2 instances or Spot instances

55
Q

you can either s_____ or s_______ batch jobs and AWS Batch will do the request

A

submit, schedule

56
Q

Batch jobs are defined as what kind of image?

A

docker

57
Q

Batch jobs run on E__

A

ECS

58
Q

acts as a “front door” for applications to access data, business logic, or functionality from your backend services, such as workloads running on Amazon Elastic Compute Cloud (Amazon EC2), code running on AWS Lambda, any web application, or real-time communication applications.

A

API Gateway

59
Q

are defined as docker images and run on ECS

A

batch jobs

60
Q

batch jobs are helpful for (getting coffee/cost optimizations) and focusing (more/less) on the infrastructure

A

cost optimizations / less

61
Q

AWS Batch will make sure you have the right amount of (coffee/resources/instances) to accommodate the load for the job

A

instances

62
Q

what two types of storage space does batch jobs rely on and, why?

A

EBS and “instance store”, because batch jobs run on instances, which themselves use EBS and “instance store” for storage

63
Q

what kind of time limit are batch jobs limited to?

A

no time limit

64
Q

Batch is a (non managed/managed) service

A

managed

65
Q

True or False: Batch is a serverless service

A

False

66
Q

Which is the reason people use Amazon LightSail?

A

It’s a simpler alternative to using EC2, RDS, ELB, EBS, Route 53, etc

67
Q

Amazon LightSail - what is included in the Free Tier?

A

three months - 750 hours / month

68
Q

a virtual private server (VPS) provider and is the easiest way to get started with AWS for developers, small businesses, students, and other users who need a solution to build and host their applications on cloud.

A

Amazon LightSail

69
Q

Lightsail has (high/low) and (random/predictable) pricing.

A

low / predictable

70
Q

True or False: you can setup notifications and monitoring of LightSail resources

A

True

71
Q

LIghtSail (does/does not) have high availability, (does/does not) have auto scaling, (unlimited/limited) AWS integrations

A

Does / Does Not / Limited

72
Q

Lamba is billed “per request (number of invocations)” and “by the time run x by the (Storage/RAM) provisioned”

A

RAM (think how long was the TV show and how much data did it use, maybe a 4K show used more data than low definition)

73
Q

Lambda supports many programming languages except for arb_____ Docker

A

arbitrary

74
Q

Maximum Lamba invocation time (the maximum amount of time a Lamba job is allowed to run)

A

15 minutes

75
Q

creating thumbnails for images uploaded to S3 or running a serverless CRON job would be good use cases for ….

A

Lambda

76
Q

API Gateway allows expose Lambda functions as H___ API

A

HTTP