Core Compute Services Flashcards

1
Q

What is an image?

A

A software bundle that was built from a template definition and made available within a single AWS region.

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

What is a dedicated instance?

A

A regular EC2 instance that, instead of sharing a physical host with other AWS customers, runs on an isolated host that’s set aside exclusively for our account.

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

What is the most expensive instance?

A

On-demand (you pay for every hour the instance is running regardless of whether you’re actually using it)

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

When should you run an on-demand instance?

A

When you need to run for a limited time without interruption (i.e. your ecommerce site is offering a one-day, 50% sale)

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

When should you run a reserved instance?

A

When your application needs to run uninterrupted for more than a month at a time

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

When should you run a spot instance?

A

When you don’t need to run constantly and can survive unexpected shutdowns (i.e. development environments or containerized big data workloads)

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

What is the catch with spot instances?

A

While it’s possible to save up to 90% off of on-demand cost with spot instances, it’s possible that the capacity can, within two minutes notice, be reclaimed and shut down your instance

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

What are two managed deployment services?

A

Lightsail

Elastic Beanstalk

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

What do you need to configure with Lightsail?

A

Set the pricing level (billed at a flat rate)

Add an optional script to run at startup

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

What do you need to set up Elastic Beanstalk?

A

Define application platform

Upload your code!

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

What is a downside to Elastic Beanstalk?

A

You don’t get to choose how many vCPUs or how much memory you will use. Your application will scale its resource consumption on demand.

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

What AWS resources would you use to orchestrate swarms of Docker containers on AWS using EC2 resources?

A

ECS (Elastic Container Service)

EKS (Elastic Container Service for Kubernetes)

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

What are Lambda functions?

A

They are serverless functions that spring into existence, perform a task, and then die down quickly (15min tops). They are only triggered by a preset event.

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

What are instances defined by?

A
AMIs (or base OS)
Instance type
Storage volumes (either instance volume or EBS)
Pricing model
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the four different AMI categories?

A

Quick Start

custom (My AMIs)

AWS Marketplace

Community

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

What are the benefits of EBS volumes?

A

They are versatile (can be converted to AMIs) and they survive an instance shut down.

17
Q

What are the benefits of instance store volumes?

A

Faster reads/writes (because they are located on the physical server hosting your instance).

18
Q

What is a vCPU?

A

A virtual central processing unit is a metric that roughly measures an instance type’s compute power in terms of the number of processors on a physical server.

19
Q

What happens when you purchase an EC2 reserved instance?

A

Charges for any instances you run matching the reserved instance type will be covered by the reservation.

20
Q

What AWS services use primarily EC2 resources under the hood?

A

Lightsail

Elastic Beanstalk

21
Q

What is the difference between a dedicated instance and a dedicated host?

A

Dedicated hosts will ensure that the underlying host will NOT change even if the server is stopped. Dedicated instances can change the underlying host.