EC2 - Volumes and Snapshots Flashcards Preview

A Cloud Guru: AWS Solutions Architect-Associate Exam (EMIX) > EC2 - Volumes and Snapshots > Flashcards

Flashcards in EC2 - Volumes and Snapshots Deck (16)
Loading flashcards...
1
Q

When creating a new volume…

A

…make sure it is in the same AZ as your instance, or you will not be able to attach it to your instance

2
Q

After SSH into instance and elevating privileges, type what to find volumes?

A

lsblk

3
Q

To attach a volume…

A

…you need to format and mount it

4
Q

To check if a volume has data…

A

file -s e.g. file -s /dev/xvdf

“data” = no data

5
Q

To format a volume…

A

mkfs -t ext4 . ext4 is file format for Linux

6
Q

To mount a volume…

A

mount

e.g. mount /dev/xvdf /myfileserver

7
Q

Which directory is created by default when you mount a volume?

A

lost+found

8
Q

To unmount a volume…

A

umount

9
Q

If you forget to unmount a volume when you try to detach it…

A

…use Force Detach

10
Q

Where are snapshots stored?

A

S3

11
Q

When another snapshot is taken…

A

…only changed data since your last snapshot is sent to S3, since snapshots are incremental

12
Q

Can you make a volume from a snapshot?

A

Yes

13
Q

Can you change the volume type, size when you make a volume from a snapshot?

A

Yes

14
Q

What is stored on your root volume?

A

OS

15
Q

Think of a snapshot as…

A

a photograph (point in time copies of volumes)

16
Q

If you create a snapshot for the first time…

A

…it may take some time to create

Decks in A Cloud Guru: AWS Solutions Architect-Associate Exam (EMIX) Class (56):