EC2 Instance Storage Flashcards

1
Q

What is an EBS Volume?

A

An Elastic Block Store Volume is a network drive you can attach to your instances while they run. Think of as a network USB stick

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

How many instances can an EBS Volume be mounted to at a time?

A

One (at the CCP level)

Though technically with EBS Multi-Attach you can attach to multiple but this is out of scope for cloud pract. exam

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

What do EBS Volumes let you do?

A

Allow your instances to persist data, even after their termination

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

Are EBS Volumes bound to a specific availability zone?

A

Yes

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

Is there latency when using EBS Volume?

A

Yes, since it uses the network to communicate the instance.

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

EBS Volumes take a long time to detach from one EC2 instance and attach to another?

A

No, they can do so very quickly

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

Can an EBS Volume in us-east-1 be attached to us-east-1b?

A

No, they are locked to an AZ

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

How are you billed for EBS Volume?

A

Billed for all the provisioned capacity (size in GBs, and IOPS)

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

What are IOPS?

A

A unit of measure representing input/output operations per second.

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

Can EBS Volumes be unattached to an EC2 Instance?

A

Yes

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

What is Delete on Termination attribute for EBS Volumes?

A

Controls the EBS behavior when an EC2 instance terminates. By default the root EBS volume is deleted and all others are not deleted. If not deleted you can preserve info after instance is gone.

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

What is EBS Snapshots?

A

A backup of your EBS Volume

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

Is it necessary to detach volume to do a snapshot?

A

No, but it is recommended

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

Can you copy a snapshot across AZ or region?

A

Yes

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

What does AMI stand for?

A

Amazon Machine Image

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

What is an Amazon Machine Image?

A

Ready-to-ouse EC2 instances with our customizations

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

Are AMIs built for a specific region?

A

Yes, and they can be copied across regions

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

What are the three ‘types’ of AMIs?

A
  1. A public AMI: AWS provided
  2. Your own AMI: you make and maintain them yourself
  3. AWS Marketplace AMI: an AMI someone else made
19
Q

What is AMI Process from an EC2 instance?

A
  1. Start an EC2 instance and customize it
  2. Stop the instance (for data integrity)
  3. Build an AMI - this will also create EBS snapshots
  4. Launch instances from other AMIs
20
Q

What is EC2 Image Builder?

A

Used to automate the creation of Virtual Machines or container images. Automate the creation, maintain, validate, and test EC2 AMIs

21
Q

Can EC2 Image Builder be run on a schedule?

A

Yes

22
Q

How much does EC2 Image Builder cost?

A

Free service

23
Q

What is an image recipe?

A

A document that defines the components to be applied to the source images to create the desired configuration for the output image. Cannot be modified after it is created

24
Q

What are build components for EC2 Image Builder?

A

Software scripts that define a sequence of steps for downloading, installing, and configuring software packages.

25
Q

What is an EC2 Instance Store?

A

High performance hardware disk attached to our EC2 instance

26
Q

What does it mean to say EC2 Instance Store is ephemeral?

A

They will lose their storage if they’re stopped

27
Q

Why would you use an EC2 Instance Store?

A

EBS volumes are network drives with good but limited performance. EC2 Instance Store is a high-performance hardware disk. No good for long term storage only short term.

28
Q

What does EFS stand for?

A

Elastic File System

29
Q

What is Elastic File System?

A

Managed NFS (network file system) that can be mounted on 100s of EC2. Highly available, scalable, expensive, pay per use, no capacity planning

30
Q

What type of instances does EFS work with?

A

Linux EC2 instances

31
Q

Is EFS multi-AZ?

A

Yes

32
Q

What is EBS vs EFS differences?

A

EBS is connected to one instance in one availability zone. If you want to share you have to take snapshot. (at least for this level of exam)

EFS can be attached to multiple instances in multiple AZs in a region and they all share the same EFS

33
Q

What is AWS responsible for with EC2 Storage?

A
  1. Infrastructure
  2. Replication for data for EBS volumes & EFS drives
  3. Replacing faulty hardware
  4. Ensuring their employees cannot access your data
34
Q

What is your responsibility for with EC2 Storage?

A
  1. Setting up backup / snapshot procedures
  2. Setting up data encryption
  3. Responsibility of any data on the drives
  4. Understanding the risk of using EC2 Instance Store
35
Q

How can you lose an EFS?

A

If you stop it or if faulty hardware

36
Q

Which EC2 Storage would you use to create a shared network file system for your EC2 Instances?

  1. EBS Volume
  2. EC2 Instance Store
  3. EBS Snapshots
  4. EFS
A

EFS

37
Q

Which service can be used to automate image management processes?

  1. AMI
  2. EC2 Image Builder
  3. EBS Snapshots
  4. IAM
A

EC2 Image Builder

38
Q

What are AMIs NOT used for?

  1. Add your own software license
  2. Add your own configuration
  3. Add your own operating-system
  4. Add your own IP addresses
A

Add your own IP addresses

39
Q

EBS Volumes CANNOT be attached to multiple EC2 instances at a time

  1. True
  2. False
A

True

40
Q

An EBS Volume is a network drive you can attach to your instances while they run, so your instances’ data persist even after their termination

  1. True
  2. False
A

True

41
Q

Which statement is correct regarding EC2 Instance Store?

  1. It is not good to use as a disk to cache content
  2. It has a better I/O performance, but the data is lost if the EC2 Instance is terminated
  3. Your data is always safe with EC2 Instance Store
A

It has a better I/O performance, but the data is lost if the EC2 Instance is terminated

42
Q

What is an EBS Snapshot?

  1. The operating-system on an EC2 Instance
  2. A backup of your EBS Volume at a point in time
  3. The amount of CPU and RAM of an EC2 Instance
A

A backup of your EBS Volume at a point in time

43
Q

Where can you find a third party’s AMI so you can use it to launch your EC2 Instance?

  1. Public AMIs
  2. My own AMIs
  3. AWS Marketplace AMIs
A

AWS Marketplace AMIs

44
Q

What is an EBS Volume tied to?

  1. A region
  2. A data center
  3. An edge location
  4. An availability zone
A

An availability zone