EC2 Data Management Flashcards
You have just terminated an EC2 instance in us-east-1a, and its attached EBS volume is now available. Your teammate tries to attach it to an EC2 instance in us-east-1b but he can’t. What is a possible cause for this?
A. He’s missing IAM permissions
B. EBS volumes are to an AWS Region
C. EBS volumes are locked to an Availability Zone
C. EBS volumes are locked to an Availability Zone
EBS Volumes are created for a specific AZ. It is possible to migrate them between different AZs using EBS Snapshots.
You have launched an EC2 instance with two EBS volumes, the Root volume type and the other EBS volume type to store the data. A month later you are planning to terminate the EC2 instance. What’s the default behavior that will happen to each EBS volume?
A. Both the root volume type and the EBS volume type will be deleted
B. The root volume type will be deleted and the EBS volume type will not be deleted
C. The root volume type will not be deleted and EBS volume type will be deleted
D. Both the root volume type and the EBS volume type will not be deleted
B. The root volume type will be deleted and the EBS volume type will not be deleted
By default, the Root volume type will be deleted as its Delete On Termination attribute is checked by default. Any other EBS volume types will not be deleted as its Delete On Termination attribute is disabled by default.
You can use an AMI in N.Virginia Region us-east-1 to launch an EC2 instance in any AWS Region.
A. True
B. False
B. False
AMIs are built for a specific AWS Region, they’re unique for each AWS Region. You can’t launch an EC2 instance using an AMI in another AWS Region, but you can copy the AMI to the target AWS Region and then use it to create your EC2 instances.
Which of the following EBS volume types can be used as boot volumes when you create EC2 instances?
A. gp2, gp3, io1, io2
B. gp2, gp3, st1, sc1
C. io1, io2, st1, sc1
A. gp2, gp3, io1, io2
When creating EC2 instances, you can only use the following EBS volume types as boot volumes: gp2, gp3, io1, io2, and Magnetic (Standard).
What is EBS Multi-Attach?
A. Attach the same EBS volume to multiple EC2 instances in multiple AZs
B. Attach multiple EBS volumes in the same AZ to the same EC2 instance
C. Attach the same EBS volume to multiple EC2 instance in the same AZ
D. Attach multiple EBS volumes in multiple AZs to the same EC2 instance
C. Attach the same EBS volume to multiple EC2 instance in the same AZ
Using EBS Multi-Attach, you can attach the same EBS volume to multiple EC2 instances in the same AZ. Each EC2 instance has full read/write permissions.
You have provisioned an 8TB gp2 EBS volume and you are running out of IOPS. What is NOT a way to increase performance?
A. Mount EBS volumes in RAID 0
B. Change to an io1 volume type
C. Increase the EBS volume size
C. Increase the EBS volume size
For EBS gp2 volumes, it has max. IOPS of 16,000 or equivalent 5334 GB
You have a fleet of EC2 instances distributed across AZs that process a large data set. What do you recommend to make the same data to be accessible as an NFS drive to all of your EC2 instances?
A. Use an Instance Store
B. Use EBS
C. Use EFS
C. Use EFS
EFS is a network file system (NFS) that allows you to mount the same file system on EC2 instances that are in different AZs.
You would like to have a high-performance local cache for your application hosted on an EC2 instance. You don’t mind losing the cache upon the termination of your EC2 instance. Which storage mechanism do you recommend as a Solutions Architect?
A. Instance Store
B. EBS
C. EFS
A. Instance Store
EC2 Instance Store provides the best disk I/O performance.
You are running a high-performance database that requires an IOPS of 310,000 for its underlying storage. What do you recommend?
A. Use an EC2 Instance Store
B. Use an EBS gp2 drive
C. Use an EBS io1 drive
D. Use an EBS io2 Block Express drive
A. Use an EC2 Instance Store
You can run a database on an EC2 instance that uses an Instance Store, but you’ll have a problem that the data will be lost if the EC2 instance is stopped (it can be restarted without problems). One solution is that you can set up a replication mechanism on another EC2 instance with an Instance Store to have a standby copy. Another solution is to set up backup mechanisms for your data. It’s all up to you how you want to set up your architecture to validate your requirements. In this use case, it’s around IOPS, so we have to choose an EC2 Instance Store.