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
Can ECS implement load balancing?
yes
26
What is one example where ECS might implement load balancing?
if you wanted to utilize a web application
27
Amazon S3, Dynamo DB, Lambda, and Fargate are all examples of what type (classification) of service?
serverless
28
With Lambda, we don't have servers but instead, just have v______ f_______
virtual functions
29
Lambda is limited by .... what?
time
30
Lambda is (shorter/longer) executions.
shorter
31
Lambda runs a. continuously b. when manually started c. on demand
on demand
32
Lambda, scaling is (manual/automatic)
automatic
33
Lambda is a. expensive to run b inexpensive
inexpensive
34
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
2. per request 4. per compute time x data used
35
When using Lambda, how much will it cost you for 1,000,000 Lambda requests?
Nothing, that's covered under the free tier
36
When using Lambda, how much will it cost for 400,000GB (4TB) of compute time?
Nothing, that's covered under the free tier
37
what type of service is serverless, and said to be "event driven", only invoked by AWS when needed
Lambda
38
Lamba is considered a (passive/reactive) type of service.
reactive
39
Lambda can get up to __GB of RAM per function.
10
40
The C_____ R______ API will allow you to run any language you want through Lambda
Custom Runtime API
41
What is the purpose of the "Lambda Container Image"?
allows you to run docker containers on top of Lambda
42
When using the "Lambda Container Image" to run a docker image on top of Lambda, what must the container image contain?
must contain the Lambda runtime API
43
why would someone run a CRON job?
So that they could set a specific schedule of when to run a script
44
By default, what type of AMI is a CRON job run on?
Linux AMI
45
Beyond the free tier, how much are you going to pay for Lambda request?
$.20 per 1 million requests - $.0000002 per request)
46
Beyond the free tier, how much are you going to pay for Lambda compute time?
$1 for 600,000 GB-seconds
47
management tool that sits between a client and a collection of backend services
API Gateway
48
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.
API Gateway
49
fully managed service for developers to easily create, publish, maintain, monitor, and secure APIs
API Gateway
50
if the exam asks about "where to create a serverless and scalable API" think of this
Amazon Gateway API
51
fully managed batch processing service that can do batch processing at any scale
AWS Batch
52
A batch job can run (insert number) of computing batch jobs on AWS
100,000s
53
a b____ job runs with a definitive start and stop
batch
54
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
EC2 instances or Spot instances
55
you can either s_____ or s_______ batch jobs and AWS Batch will do the request
submit, schedule
56
Batch jobs are defined as what kind of image?
docker
57
Batch jobs run on E__
ECS
58
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.
API Gateway
59
are defined as docker images and run on ECS
batch jobs
60
batch jobs are helpful for (getting coffee/cost optimizations) and focusing (more/less) on the infrastructure
cost optimizations / less
61
AWS Batch will make sure you have the right amount of (coffee/resources/instances) to accommodate the load for the job
instances
62
what two types of storage space does batch jobs rely on and, why?
EBS and "instance store", because batch jobs run on instances, which themselves use EBS and "instance store" for storage
63
what kind of time limit are batch jobs limited to?
no time limit
64
Batch is a (non managed/managed) service
managed
65
True or False: Batch is a serverless service
False
66
Which is the reason people use Amazon LightSail?
It's a simpler alternative to using EC2, RDS, ELB, EBS, Route 53, etc
67
Amazon LightSail - what is included in the Free Tier?
three months - 750 hours / month
68
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.
Amazon LightSail
69
Lightsail has (high/low) and (random/predictable) pricing.
low / predictable
70
True or False: you can setup notifications and monitoring of LightSail resources
True
71
LIghtSail (does/does not) have high availability, (does/does not) have auto scaling, (unlimited/limited) AWS integrations
Does / Does Not / Limited
72
Lamba is billed "per request (number of invocations)" and "by the time run x by the (Storage/RAM) provisioned"
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
Lambda supports many programming languages except for arb_____ Docker
arbitrary
74
Maximum Lamba invocation time (the maximum amount of time a Lamba job is allowed to run)
15 minutes
75
creating thumbnails for images uploaded to S3 or running a serverless CRON job would be good use cases for ....
Lambda
76
API Gateway allows expose Lambda functions as H___ API
HTTP