A company wants to improve its ability to clone large amounts of production data into a test environment in the same AWS Region. The data is stored in Amazon EC2 instances on Amazon Elastic Block Store (Amazon EBS) volumes. Modifications to the cloned data must not affect the production environment. The software that accesses this data requires consistently high I/O performance.
A solutions architect needs to minimize the time that is required to clone the production data into the test environment. Which solution will meet these requirements?
A. Take EBS snapshots of the production EBS volumes. Restore the snapshots onto EC2 instance store volumes in the test environment.
B. Configure the production EBS volumes to use the EBS Multi-Attach feature. Take EBS snapshots of the production EBS volumes. Attach the production EBS volumes to the EC2 instances in the test environment.
C. Take EBS snapshots of the production EBS volumes. Create and initialize new EBS volumes. Attach the new EBS volumes to EC2 instances in the test environment before restoring the volumes from the production EBS snapshots.
D. Take EBS snapshots of the production EBS volumes. Turn on the EBS fast snapshot restore feature on the EBS snapshots. Restore the snapshots into new EBS volumes. Attach the new EBS volumes to EC2 instances in the test environment.
D
技巧:排除明显错误选项,在没有明显错误的选项中选择最合理的选项。
某公司希望提高在同一个AWS区域内将大量生产数据克隆到测试环境的能力。数据存储在Amazon EC2实例的Amazon Elastic Block Store(Amazon EBS)卷上。对克隆数据的修改不得影响生产环境。访问这些数据的软件需要一致的高I/O性能。解决方案架构师需要最小化将生产数据克隆到测试环境所需的时间。
A. 不正确。拍摄生产EBS卷的快照,将快照恢复到测试环境中的EC2实例存储卷上。实例存储卷存在下列问题。实例存储卷是临时存储,当实例停止或终止时数据会丢失,不适合长期存储测试数据。实例存储卷的I/O性能可能不稳定,且无法保证与EBS卷相同的高性能。
B. 不正确。将生产EBS卷配置为使用EBS Multi-Attach功能,拍摄快照,然后将生产EBS卷附加到测试环境中的EC2实例。Multi-Attach仅适用于io1/io2卷,允许多个EC2实例同时访问同一个EBS卷,这会导致生产环境和测试环境共享同一卷,修改测试数据会影响生产环境。
C. 不正确。拍摄生产EBS卷的快照,创建并初始化新EBS卷,在将新卷附加到测试环境中的EC2实例之前,从生产EBS快照恢复卷。创建并初始化新EBS卷后再恢复快照,这一步骤可能增加克隆时间,因为初始化新卷本身需要时间(尤其是大容量卷)。
D. 正确。拍摄生产EBS卷的快照,对EBS快照启用EBS快速快照恢复(Fast Snapshot Restore, FSR)功能,将快照恢复到新EBS卷,并将新卷附加到测试环境中的EC2实例。快速克隆功能(FSR)可以消除快照恢复的初始化时间,使新卷几乎可以立即使用,从而最小化克隆时间。快速克隆功能(FSR)是,AWS提供的一项功能,通过预先加载快照数据到EBS卷,消除恢复时的初始化延迟,确保新卷立即提供完整的I/O性能。