Chp 5: EC2 Fundamentals Flashcards

1
Q

Types of storage for EC2 Instances

A
  1. Network Attached (EBS + EFS)

2. Hardware (EC2 instance store)

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

Is it possible to bootstrap instance using a user data script?

A

yes it is

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

EC2 user data script can automate what types of tasks

A
  1. installing software
  2. installing updates
  3. downloading common files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

EC2 User Data Script is run as which user?

A

root

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

EC2 instance type

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

How many instances can a security group can be attached to?

A

multiple

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

Security groups are locked down to what

A

Region/vpc combo

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

Should SSH have its own security group?

A

yes

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

When is it a security group related issue?

A

If the app is not accessible

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

Describe the default traffic for security groups

A

all inbound traffic is blocked

all outbound traffic is authorized

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

EC2 instance purchasing options

A
  1. on demand
  2. reserved
  3. spot
  4. dedicated host
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe an EC2 dedicated host

A

a physical server with EC2 instance capacity fully dedicated

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

When is an EC2 dedicated host ideal

A
  • licenses

- when compliance requirements are an issue

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

What is the min time required for EC2 dedicated host?

A

3 year

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

What are spot fleets?

A

a set of spot instances + (optional) on demand instances

will try to meet the target capacity with price constraints

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

What are the strategies used to allocate spot instances?

A
  • lowest price
  • diversify
  • capacity optimized