SAP-C02 第 153 题
题目
A company has deployed an application on AWS Elastic Beanstalk. The application uses Amazon Aurora for the database layer. An Amazon CloudFront distribution serves web requests and includes the Elastic Beanstalk domain name as the origin server. The distribution is configured with an alternate domain name that visitors use when they access the application. Each week, the company takes the application out of service for routine maintenance. During the time that the application is unavailable, the company wants visitors to receive an informational message instead of a CloudFront error message. A solutions architect creates an Amazon S3 bucket as the first step in the process. Which combination of steps should the solutions architect take next to meet the requirements? (Choose three.)
中文翻译:
一家公司在 AWS Elastic Beanstalk 上部署了一个应用程序。该应用程序使用 Amazon Aurora 作为数据库层。 Amazon CloudFront 分配服务 Web 请求并包含 Elastic Beanstalk 域名作为源服务器。该分发配置了访问者在访问应用程序时使用的备用域名。每周,该公司都会停止使用该应用程序以进行日常维护。在应用程序不可用期间,该公司希望访问者收到信息性消息,而不是 CloudFront 错误消息。解决方案架构师创建 Amazon S3 存储桶作为该流程的第一步。解决方案架构师下一步应该采取哪些步骤组合来满足要求? (选择三项。)
选项
A. Upload static informational content to the S3 bucket.
中文翻译:
将静态信息内容上传到 S3 存储桶。
B. Create a new CloudFront distribution. Set the S3 bucket as the origin.
中文翻译:
创建新的 CloudFront 分配。将 S3 存储桶设置为原点。
C. Set the S3 bucket as a second origin in the original CloudFront distribution. Configure the distribution and the S3 bucket to use an origin access identity (OAI).
中文翻译:
将 S3 存储桶设置为原始 CloudFront 分配中的第二个源。配置分配和 S3 存储桶以使用源访问身份 (OAI)。
D. During the weekly maintenance, edit the default cache behavior to use the S3 origin. Revert the change when the maintenance is complete.
中文翻译:
在每周维护期间,编辑默认缓存行为以使用 S3 源。维护完成后恢复更改。
E. During the weekly maintenance, create a cache behavior for the S3 origin on the new distribution. Set the path pattern to \ Set the precedence to 0. Delete the cache behavior when the maintenance is complete.
中文翻译:
在每周维护期间,为新发行版上的 S3 源创建缓存行为。将路径模式设置为\ 将优先级设置为0。维护完成后删除缓存行为。
F. During the weekly maintenance, configure Elastic Beanstalk to serve traffic from the S3 bucket.
中文翻译:
在每周维护期间,配置 Elastic Beanstalk 以服务来自 S3 存储桶的流量。
答案
ACD
解析
正确答案:ACD 解析: 本题应选择 ACD。 正确选项: A. 将静态信息内容上传到 S3 存储桶。 C. 将 S3 存储桶设置为原始 CloudFront 分配中的第二个源。配置分配和 S3 存储桶以使用源访问身份 (OAI)。 D. 在每周维护期间,编辑默认缓存行为以使用 S3 源。维护完成后恢复更改。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开...