EC2 Flashcards

(24 cards)

1
Q

What is AMI?

A

Amazon Machine Image

An image / template that contains the OS you want for an EC2 instance

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

There are 4 kinds of AMI, what are they?

A

Amazon Quick Start AMI

AWS Marketplace AMI

Community AMI

Private AMI

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

What is an Amazoin Quick Start AMI?

A

Popular OS templates

Linux & Windows

Up to date

Officially supported

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

What is an AWS Marketplace AMI?

A

AMI provided by industry vendors like SAP and Cisco

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

What is a community AMI?

A

AMI created and maintained by people, independent vendors

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

What is a private AMI and what is one potential use case?

A

An AMI created from your own instance deployment

Have own tested, patched instance

Used for auto scaling potentially

Could be imported from an on-prem VM that you want to move to cloud

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

If you create a private AMI in a region, will it be available in another AWS region?

A

No

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

What are the 5 EC2 instance types?

A
  1. General Purpose
  2. Compute Optimized
  3. Memory Optimized
  4. Accelerated Computing
  5. Storage Optimized
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

T2, T3, M4 & M5 are all EC2 instances of which type?

A

General Purpose

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

T2 EC2 general purpose images are burstable. What does this mean?

A

Accumulate CPU credits in time of low utilization and can be applied during high demand periods

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

If you have demanding web servers or high end machine learning workflows, what EC2 instance type would you choose?

A

Compute Optimized

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

If you have intensive database, data analysis or caching operation then what type of EC2 instance type would you choose?

A

Memory Optimized

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

C4 and C5 are example of which type of EC2 instance?

A

Compute Optimized

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

X1, X1e and R4 are EC2 types of which instance family?

A

Memory Optimized

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

If you have a very demading workload like 3D visualisation or financial analysis then which instance type family would you choose?

A

Accelerated Computing

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

P3, P2, G3 & F1 are types from which instance family?

A

Accelerated Computing

17
Q

H1, I3 and D2 are types from which instance family?

A

Storage Optimized

18
Q

What does tenancy mean in relation to EC2?

A

Shared Tenancy - default, instance runs on shared hardware

Dedicated Tenancy - dedicated hardware for EC2 instance, a lot more expensive

19
Q

What is bootstrapping in EC2?

A

Execute commands on instance as it boots

Could be simple commands to install web server or a lot more complex

20
Q

What are placement groups and what are the 3 types?

A

Spread EC2 instances accross AWS infrastructure that is optimal for your use case

Cluster Groups

Spread Groups

Partition Groups

21
Q

What is an EC2 Cluster placement group?

A

Each instance in group launched within same availability zone and close proximity physically

Good for low latency

22
Q

What is an EC2 Spread placement group?

A

Seperate instance physically accross disctinct hardware even different availability zones

Similar to VMWare DRS

Can’t tolerate physical failure bringing down multiple instances

23
Q

What is an EC2 Partition placement group?

A

Associate some instances with each other, placing them in a single partition

Physical seperation from other instances running in other partitions

24
Q

What is the difference between a spread placement group and a partition placement group?

A

Spread group separates all instances accross different hardware

Partition group means instances in the group can run on the same hardware but other placements groups will run on other hardware