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性能。