SAP-C02 学习助手

SAP-C02 第 36 题

Route 53 Lambda CloudFront S3 Config

题目

A company’s solutions architect is reviewing a web application that runs on AWS. The application references static assets in an Amazon S3 bucket in the us-east-1 Region. The company needs resiliency across multiple AWS Regions. The company already has created an S3 bucket in a second Region. Which solution will meet these requirements with the LEAST operational overhead?

中文翻译:
一家公司的解决方案架构师正在审查在 AWS 上运行的 Web 应用程序。该应用程序引用 us-east-1 区域中 Amazon S3 存储桶中的静态资产。该公司需要跨多个 AWS 区域的弹性。该公司已在第二个区域创建了 S3 存储桶。哪种解决方案能够以最少的运营开销满足这些要求?

选项

A. Configure the application to write each object to both S3 buckets. Set up an Amazon Route 53 public hosted zone with a record set by using a weighted routing policy for each S3 bucket. Configure the application to reference the objects by using the Route 53 DNS name.

中文翻译:
配置应用程序以将每个对象写入两个 S3 存储桶。通过对每个 S3 存储桶使用加权路由策略,设置具有记录集的 Amazon Route 53 公共托管区域。配置应用程序以使用 Route 53 DNS 名称引用对象。

B. Create an AWS Lambda function to copy objects from the S3 bucket in us-east-1 to the S3 bucket in the second Region. Invoke the Lambda function each time an object is written to the S3 bucket in us-east-1. Set up an Amazon CloudFront distribution with an origin group that contains the two S3 buckets as origins.

中文翻译:
创建一个 AWS Lambda 函数,将对象从 us-east-1 中的 S3 存储桶复制到第二个区域中的 S3 存储桶。每次将对象写入 us-east-1 中的 S3 存储桶时,都会调用 Lambda 函数。设置具有包含两个 S3 存储桶作为源的源组的 Amazon CloudFront 分配。

C. Configure replication on the S3 bucket in us-east-1 to replicate objects to the S3 bucket in the second Region. Set up an Amazon CloudFront distribution with an origin group that contains the two S3 buckets as origins.

中文翻译:
在 us-east-1 中的 S3 存储桶上配置复制,以将对象复制到第二个区域中的 S3 存储桶。设置具有包含两个 S3 存储桶作为源的源组的 Amazon CloudFront 分配。

D. Configure replication on the S3 bucket in us-east-1 to replicate objects to the S3 bucket in the second Region. If failover is required, update the application code to load S3 objects from the S3 bucket in the second Region.

中文翻译:
在 us-east-1 中的 S3 存储桶上配置复制,以将对象复制到第二个区域中的 S3 存储桶。如果需要故障转移,请更新应用程序代码以从第二个区域中的 S3 存储桶加载 S3 对象。

答案

C

解析

正确答案:C 解析: 本题应选择 C。 正确选项: C. 在 us-east-1 中的 S3 存储桶上配置复制,以将对象复制到第二个区域中的 S3 存储桶。设置具有包含两个 S3 存储桶作为源的源组的 Amazon CloudFront 分配。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等...

登录后查看完整解析