Q29 — AWS DEA-C01 Ch.1
Question 29 of 100 | ← Chapter 1
A company is planning to upgrade its Amazon Elastic Block Store (Amazon EBS) General Purpose SSD storage from gp2 to gp3. The company Wants to prevent any interruptions in its Amazon EC2 instances that will cause data loss during the migration to the upgraded storage. Which solution will meet these requirements with the LEAST operational overhead?
- A. Create snapshots of the gp2 volumes. Create new gp3 volumes from the snapshots. Attach the new gp3 volumes to the EC2 instances.
- B. Create new gp3 volumes. Gradually transfer the data to the new gp3 volumes. When the transfer is complete, mount the new gp3 Volumes to the EC2 instances to replace the gp2 volumes.
- C. Change the volume type of the existing gp2 volumes to gp3. Enter new values for volume size, IOPS, and throughput. ✓
- D. Use AWS DataSync to create new gp3 volumes. Transfer the data from the original gp2 volumes to the new gp3 volumes.
Correct Answer: C. Change the volume type of the existing gp2 volumes to gp3. Enter new values for volume size, IOPS, and throughput.
Explanation
在AWS中,对于需要无缝迁移AmazonEBS存储类型(如从gp2到gp3)而不影响AmazonEC2实例运行和数据完整性的场景,最佳实践是直接更改现有卷的存储类型。选项C允许直接更改现有gp2卷的类型为gp3,无需停机,因为AWSEBS支持在线修改卷的存储类型。这样做可以减少操作开销并避免数据迁移过程中可能出现的中断和数据丢失风险。其他选项,如创建快照、创建新卷、数据迁移等,虽然可以实现迁移,但都会涉及更复杂的操作和高昂的停机成本。