EBS, EFS, FSx, and Instance stores Flashcards
What are EBS Volumes?
Elastic Block Store. Storage volumes you can attach to your EC2 instances. Essential a virtual hard disk.
What is a GP2 EBS volume good for?
For Boot volumes or development and test environments not latency sensitive.
What is IO2 EBS volumes good for?
If you have a high performance application such as large Databases
What is ST1 EBS Volume good for?
Frequently accessed and throughput intensive workloads. Such as big data, data warehouse, ETL, and log processing
Can an ST1 be used as a boot volume?
No
What is an SC1 EBS Volume good for?
For cold storage. Low cost low performance.
What is IOPS?
Measures the number of read and write operations per second.
What is Throughtput?
Measures the number of bits read or written per second
Which EBS volume is better for 16,000 IOPS or lower?
GP2 - General Purpose
Which EBS volume is better for over 16,000 IOPS?
IO2 - Provisioned IOPS
What is the lowest cost EBS Volume?
SC1 - Cold Storage
What is the root device volume?
The required EBS volume on an EC2 instance
What is an EBS Snapshot?
Point in time copy of a volume
What do you need to do to make sure an EBS Snapshot is consistent?
Stop the EC2 Instance since some things might still be in RAM
Does an Encrypted EBS Volumes snapshot become encrypted automatically?
Yes
Can you share an EBS snapshot across regions?
No - They will only be shared in the region it was created by default
Can you copy an EBS snapshot to another region?
Yes
Are EBS volumes in the same AZ as your EC2 Instance?
Yes
Can you resize EBS volumes while an EC2 instance is still running?
Yes
Can you switch EBS volume types while an EC2 instance is still running?
Yes
Where are EBS Snapshots stored?
S3
Are EBS Snapshots incremental?
Yes
Can you encrypt an EBS volume when you copy it if it was not encrypted before?
Yes
When encrypting an EBS volume. Is data at rest encrypted?
Yes
When encrypting an EBS volume. Is data in flight not encrypted?
No, its encrypted
When encrypting an EBS volume, are the future snapshots encrypted?
Yes
When making a volume from an EBS snapshot, where the EBS volume was encrypted, are the volumes encrypted?
Yes
If you were just hired by a company and you found out their EC2 instances were not encrypted what would be the steps to encrypting them?
1) Create a snapshot of the unencrypted root device volume
2) Create a copy of the snapshot and select the encrypted option
3) Create an AMI from the Encrypted snapshot
4) Use that AMI to launch new encrypted instances.
What is EC2 Hibernation?
A way to shut down your EC2 instance and preserve the RAM on its system by writing it to the EBS volume.
Why would you use EC2 Hibernation?
Since it saves the contents of the RAM to disk then it boots up much faster and continues where the instance left off since you do not need to reload the operating system.
Can you hibernate an instance with 150GB of RAM?
No, it has to be less than 150GB
What EC2 instance families can you hibernate?
C, R, and M
What operating systems can you perform an EC2 Hibernation on?
Windows, Amazon Linux 2, and Ubuntu
What is the max time you can have an EC2 instance hibernated?
60 days
Are on-demand and Reserved instances the only types you can hibernate?
Yes
What is EFS?
Amazon Elastic File System. It is shared storage amongst multiple EC2 instances.
What are some good use cases for EFS?
1) Content management, like a WP blog
2) Server farms
Can EFS be used on Windows?
No, only Linux
What Network File System does EFS support?
NFSv4
Do you have to pre provision storage for EFS?
No, you only pay for what you use.
Can EFS scale up to petabytes?
Yes
True or False. EFS can not support thousands of concurrent connections.
False
True or False. EFS Data is stored across multiple AZ’s within a region.
True
True or False. EFS does not have read-after-write consistency.
False
What would you use to have highly scalable shared storage using NFS?
EFS
What is FSx for Windows?
Fully managed native Microsoft Windows file system
If you have to migrate a Windows application on a shared file service what service would you use?
FSx for Windows
What is Amazon FSx for Lustre?
A fully managed file system that is optimized for compute intensive workloads.
What is Amazon FSx for Lustre used for mainly?
AI and Machine Learning
Can Amazon FSx for Lustre store data directly to S3?
yes
What are the two different AMI’s?
EBS and Instance store volumes
What are instance store volumes sometimes called?
Ephemeral storage
If an EC2 instance using instance store data is stopped what happens?
You lose your data
If anything happens to an EC2 instance using Instance Store that causes it to stop what happens?
you lose your data
Can you reboot an instance store volume and keep your data?
Yes
What is AWS Backup?
A way of backing up the different AWS services.
Can you use AWS Backup with Organizations?
Yes
True or False? You can create an unencrypted EBS volume from an encrypted snapshot by unselecting the “encryption” check box when restoring it.
False
True or False? EBS volumes are encrypted by default.
False
True or False? Amazon Machine Images are Region specific. To use one in another Region, it needs to be explicitly copied there.
True
Why would you consider hibernating an EC2 instance over stopping and starting it?
You have an application that takes a long time to load. Hibernating the instance prevents you from having to reload it.