An online retail company based in the United States plans to expand its operations to Europe and Asia in the next six months. Its product currently runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Amazon EC2 Auto Scaling group across multiple Availability Zones. All data is stored in an Amazon Aurora database instance. When the product is deployed in multiple regions, the company wants a single product catalog across all regions, but for compliance purposes, its customer information and purchases must be kept in each region.
How should the company meet these requirements with the LEAST amount of application changes?
A. Use Amazon Redshift for the product catalog and Amazon DynamoDB tables for the customer information and purchases.
B. Use Amazon DynamoDB global tables for the product catalog and regional tables for the customer information and purchases.
C. Use Aurora with read replicas for the product catalog and additional local Aurora instances in each region for the customer information and purchases.
D. Use Aurora for the product catalog and Amazon DynamoDB global tables for the customer information and purchases.
C
技巧:排除明顯錯誤選項,在沒有明顯錯誤的選項中選擇最合理的選項。
某美國在線零售公司,其現有產品運行在Amazon EC2實例上,這些實例位于一個Application Load Balancer之后,并且這些實例在一個Amazon EC2 Auto Scaling組中跨多個可用區運行。該公司計劃在未來六個月內向歐洲和亞洲擴張,當產品部署到多個區域時,公司希望有一個跨所有區域的產品目錄,但出于合規目的,客戶信息和購買記錄必須保存在各個區域內。
A. 不正確。使用 Amazon Redshift 用于產品目錄,Amazon DynamoDB 表用于客戶信息和購買記錄。Amazon Redshift 主要用于大數據分析和數據倉庫,可能不是頻繁訪問的產品目錄的最佳選擇,除非目錄非常大且需要分析能力。DynamoDB是NoSQL數據庫,適合擴展和性能,但使用它可能需要更改數據模型和應用程序代碼。
B. 不正確。使用Amazon DynamoDB全局表用于產品目錄,區域表用于客戶信息和購買記錄。DynamoDB全局表提供跨多個區域的多主數據庫,自動復制,適合全球訪問的產品目錄。但是,將產品目錄切換到DynamoDB全局表,同時為客戶信息和購買記錄使用區域表,可能會引入復雜性,并需要更改數據訪問和管理方式。
C. 正確。使用 Aurora 及其讀副本用于產品目錄,并在每個區域使用額外的本地 Aurora實例用于客戶信息和購買記錄。Amazon Aurora 是關系數據庫服務,與 MySQL 和PostgreSQL 兼容。由于公司已經在使用 Aurora,這個選項可以最大限度地減少應用程序和數據模型的更改。 使用 Aurora 及其跨區域的讀副本可以確保產品目錄在全球范圍內可用且延遲低。在每個區域使用本地 Aurora 實例來存儲客戶信息和購買記錄,符合合規要求并確保數據本地化。
D. 不正確。使用 Aurora 用于產品目錄,Amazon DynamoDB 全局表用于客戶信息和購買記錄。這種混合使用關系數據庫(Aurora)和 NoSQL 數據庫(DynamoDB)的方法可能會導致應用程序邏輯、數據建模和可能的開發工作流程發生重大變化。DynamoDB 全局表用于客戶信息和購買記錄將引入與Aurora不同的數據模型和訪問模式。