Question : An EBS volume was unable to detach from an instance. Thus, the user used the Force Detach option. Which of the below mentioned options can happen after the volume has been Forcibly detached? 1. AWS deletes the volume automatically since it will be in a corrupted state 2. The instance may not be able to flush the file system and may result in a corrupted file system of the volume 3. Access Mostly Uused Products by 50000+ Subscribers 4. AWS terminates the instance automatically since the file system is corrupted
Explanation: If the EBS volume stays in the detaching state, the user can force the detachment by clicking Force Detach. Forcing the detachment can lead to either data loss or a corrupted file system. The user should use this option only as a last resort to detach a volume from a failed instance or if he is detaching a volume with the intention of deleting it. The instance does not get an opportunity to flush file system caches or file system metadata. If the user uses this option, he must perform a file system check and repair the procedures.
Question : You have created an EBS volume of GB. The user takes the first snapshot of that volume. What will happen when the snapshot is taken? 1. AWS will copy all the blocks from EBS and create a snapshot 2. The I/O on the volume will be frozen while a snapshot is being taken 3. Access Mostly Uused Products by 50000+ Subscribers 4. AWS will create a snapshot of the modified content in the same AZ of the region
Explanation: When a user creates a snapshot it asynchronously copies the data modified on the EBS volume. It does not copy the whole volume or all the data written to it, but just the modified one. For the first time it will copy all the data written on the volume and not copy the blank / empty blocks.
Question : You have attached an EBS volume created from an existing snapshot to a running instance. The volume is not mounted on the instance yet. Now you takes a snapshot of the attached volume, what will happen? 1. The new snapshot will only have the original volume content 2. The snapshot will succeed but it will have no data 3. Access Mostly Uused Products by 50000+ Subscribers 4. The snapshot will succeed with all the modified data of the EBS volume
Explanation: When a user creates an EBS volume from a snapshot it will have all the contents of the original volume. When the volume is attached but not mounted the user cannot write on that volume. In this case when the user takes a snapshot it will succeed, but will have only the original contents of the volume since the data may not have been modified.