ECS Flashcards

1
Q

What is EC2?

A

EC2 = Elastic Compute Cloud = IaaS
- Renting virtual machines (EC2)
- Storing data on virtual machines (EBS)
- Distributing load across machines (ELB)
- Scaling services using an auto-scaling group (ASG)

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

What controls how traffic is allowed into or out of EC2 Instances?

A

Security Groups

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

What kind of allow rules can security groups reference?

A

They can reference by IP and other security groups.

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

What do security groups regulate?

A

They regulate access to ports, authorized IPv4/IPv6 ranges, inbound network traffic, and outbound network traffic.

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

Are security groups locked down to a region/VPC combination?

A

True

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

What is the default security group configuration?

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
7
Q

What is an EBS Volume?

A

An EBS (Elastic Block Store) Volume is a network drive you can attach to your instances while they run.

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

On how many instances can an EBS volume be attached to at a time and is it available on multiple AZ?

A

They can only be mounted to one instance at a time. They are bound to a specific availability zone.

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

What is the default Delete on Termination attribute for EBS volumes?

A

The root EBS volume will delete on termination and any other EBS volume attached is not deleted.

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

What is an EBS Snapshot?

A

It is a backup of your EBS volume at a point in time.

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

How can you transfer an EBS volume from one AZ to another?

A

Create an EBS snapshot of your EBS volume and restore it in another AZ.

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

How long does it take to restore an EBS Snapshot moved to an EBS Snapshot Archive?

A

It takes 24 to 72 hours for restoring the archive.

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

How much cheaper is the EBS Snapshot Archive Tier?

A

It is 75% cheaper.

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

How can you prevent accidental deletion of EBS Snapshots?

A

Create a Recycle Bin for EBS Snapshots.

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

What is an AMI?

A

An Amazon Machine Image is a customization of an EC2 instance. They are built for a specific region and can be copied across regions.

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

From which AMIs can an EC2 instance be launched from?

A
  • A Public AMI
  • Your own AMI
  • An AWS Marketplace AMI
17
Q

What should you use if your EC2 instance needs a high performance hardware disk?

A

An EC2 Instance Store.

18
Q

What happens if an EC2 Instance using an EC2 Instance Store is stopped?

A

An EC2 Instance Store is ephemeral memory and the storage will be lost once an EC2 Instance is stopped.

19
Q

What is EFS?

A

Elastic File System (EFS) is a managed NFS (network file system) that can be mounted on many EC2.

20
Q

Does EFS work with EC2 instances in multi-AZ?

A

Yes

21
Q

Does EFS work with EC2 instances in multi-AZ?

A

Yes

22
Q

What are the 6 EBS Volume Types?

A
  • gp2/gp3 (SSD): General purpose SSD
  • io1/io2 (SSD): Highest-performance SSD
  • st1 (HDD): Low-cost HDD
23
Q

What EBS Volume Types can be used with EBS Multi-Attach?

A

The io1/io2 types.

24
Q

What is EBS Multi-Attach?

A

Attaching the same EBS volume to multiple EC2 instances in the same AZ for up to 16 instances at a time.