A company's website uses an Amazon EC2 instance store for its catalog of items. The company wants to make sure that the catalog is highly available and that the catalog is stored in a durable location.
What should a solutions architect do to meet these requirements?
A. Move the catalog to Amazon ElastiCache for Redis.
B. Deploy a larger EC2 instance with a larger instance store.
C. Move the catalog from the instance store to Amazon S3 Glacier Deep Archive.
D. Move the catalog to an Amazon Elastic File System (Amazon EFS) file system.
D
技巧:排除明顯錯(cuò)誤選項(xiàng),在沒(méi)有明顯錯(cuò)誤的選項(xiàng)中選擇最合理的選項(xiàng)。
一家公司網(wǎng)站使用 Amazon EC2 實(shí)例存儲(chǔ)(instance store)來(lái)存放商品目錄,公司希望確保該目錄具有高可用性(highly available)且存儲(chǔ)在耐久性(durable)的位置,要求解決方案架構(gòu)師采取措施來(lái)滿足這些要求。
A. 不正確。將目錄遷移到 Amazon ElastiCache for Redis。Amazon ElastiCache for Redis 是一種內(nèi)存中的數(shù)據(jù)存儲(chǔ)服務(wù),主要用于緩存數(shù)據(jù)以提高應(yīng)用程序的性能。它雖然具有高性能,但并不適合作為長(zhǎng)期存儲(chǔ)和確保高可用性及耐久性的解決方案。因?yàn)閮?nèi)存中的數(shù)據(jù)在服務(wù)器重啟或出現(xiàn)故障時(shí)可能會(huì)丟失,不能滿足題目中對(duì)高可用性和耐久性的要求。
B. 不正確。部署一個(gè)更大的 EC2 實(shí)例并配備更大的實(shí)例存儲(chǔ)。實(shí)例存儲(chǔ)是直接連接到 EC2 實(shí)例的臨時(shí)存儲(chǔ),雖然可以增加存儲(chǔ)容量,但它仍然存在局限性。實(shí)例存儲(chǔ)的數(shù)據(jù)在實(shí)例停止、終止或出現(xiàn)硬件故障時(shí)會(huì)丟失,無(wú)法提供高可用性和耐久性。
C. 不正確。將目錄從實(shí)例存儲(chǔ)遷移到 Amazon S3 Glacier Deep Archive。Amazon S3 Glacier Deep Archive 是一種用于長(zhǎng)期數(shù)據(jù)歸檔的低成本存儲(chǔ)服務(wù),它的數(shù)據(jù)檢索時(shí)間較長(zhǎng),主要用于不經(jīng)常訪問(wèn)的數(shù)據(jù)存儲(chǔ)。而題目中提到的是商品目錄,通常需要相對(duì)較快的訪問(wèn)速度,并且 S3 Glacier Deep Archive 不是專門為高可用性和頻繁訪問(wèn)而設(shè)計(jì)的存儲(chǔ)解決方案。
D. 正確。將目錄遷移到 Amazon Elastic File System (Amazon EFS) 文件系統(tǒng)。Amazon EFS 是一種完全托管的網(wǎng)絡(luò)文件系統(tǒng),可與 AWS 云服務(wù)和本地資源一起使用。它具有高可用性和耐久性,數(shù)據(jù)會(huì)自動(dòng)跨多個(gè)可用區(qū)(Availability Zones)進(jìn)行復(fù)制,以確保在單個(gè)可用區(qū)出現(xiàn)故障時(shí)數(shù)據(jù)仍然可用。同時(shí),EFS 提供了可擴(kuò)展的存儲(chǔ)容量,能夠根據(jù)數(shù)據(jù)量的增長(zhǎng)自動(dòng)調(diào)整,并且支持多個(gè) EC2 實(shí)例同時(shí)訪問(wèn),適合用于存儲(chǔ)需要高可用性和耐久性的商品目錄數(shù)據(jù)。