EFS, EBS and Storage Gateway Flashcards
ISCSI, NFS, and SMB protocols are used for which gateway types.
ISCSI is for the Volume Gateway,
NFS/SMB is for File Gateway
When you create an EFS volume for multiple EC2 instances across multiple AZ’s, what else gets created by default?
Each instance will have an Elastic Network Interface created so it can access EFS
When you encrypt an EBS volume what 4 things to you get as a result in terms of data encryption?
Data
- Encrypted at Rest
- Encrypted In flight between Ec2 instance and the EBS volume
- Encrypted Snapshots
- Encrypted volumes create from snapshots
Which of the following EBS types can be used as boot volumes (2): GP2, IO1, ST1, SC1
GP2 and IO1
Is there a network impact in AWS when using EBS volumes in RAID1 configuration - why, why not?
Yes. EBS volumes are attached via the network to an instance. RAID1 will double the amount of traffic as data needs to be written to 2 volumes concurrently.
You have a workload that requires high throughput (MB/S) streaming workload. What is the best EBS type to use: GP2, IO1, ST1, SC1?
ST1 - ST is HDD backed and is optimised for workloads where MB/S is more important than IOPS
Which service encrypts EFS data at rest
KMS
Do you setup RAID in the AWS console, or the instance OS
Instance OS
Do you need to provision capacity in EFS. What impacts does this have on pricing?
No. You pay for what you use in EFS but it comes at 3x the cost as GP2
Can EC2 instances in different AZ’s connect to the same EFS volume?
Yes
What must you do when taking a snapshot of a RAID EBS volume which you don’t need to do when taking a snapshot of a standard EBS volume?
- Stop all applications writing to the volume
- Flush any disk caches
- Check the Ec2 instance is not writing to the volume and detach it
- Snapshot each EBS volume.
If an EBS volume is locked to an AZ, how can you copy it to a different AZ or region?
Create a snapshot and copy that to the new location and then create a volume based off the snapshot.
What happens to data on an instances root volume on instance termination?
All data is lost
For GP2 EBS Volume, how many IOPS are there per GB?
3IOPS/GB
For an IO1 EBS Volume, how many IOPS are there per GB?
50IOPS/GB
When restoring a snapshot, what would you use the fio and dd commands for?
Pre-warming the volume - this pulls the storage blocks from S3 and writes them to the volume
Does instance store data persist on an instances REBOOT?
Yes
What is the NFS default port?
2049
What does the Amazon Data Lifecycle Manager do with respect to snapshots
ADLM allows for the automatic creation of snapshots.
For both GP2 and IO1 EBS volumes what is the minimum number of IOPS a volume can have?
100
Do you need to detach the EBS volume which is being backup via a snapshot?
No, but it is recommended.
When taking a snapshot of an EBS volume, will this have an impact on IO?
Yes. Ideally these should be done outside of peak hours
For an ST1 EBS type, are IOPS an applicable measure?
No. ST volumes are HDD based and MB/S is the correct measure
The NFSv4.1 protocol is used for what type of AWS storage?
EFS