SAP-C02 学习助手

SAP-C02 第 258 题

Lambda CloudFront S3 EC2 EBS IAM Auto Scaling

题目

A company runs an application in an on-premises data center. The application gives users the ability to upload media files. The files persist in a file server. The web application has many users. The application server is overutilized, which causes data uploads to fail occasionally. The company frequently adds new storage to the file server. The company wants to resolve these challenges by migrating the application to AWS. Users from across the United States and Canada access the application. Only authenticated users should have the ability to access the application to upload files. The company will consider a solution that refactors the application, and the company needs to accelerate application development. Which solution will meet these requirements with the LEAST operational overhead?

中文翻译:
一家公司在本地数据中心运行应用程序。该应用程序使用户能够上传媒体文件。文件保留在文件服务器中。 Web 应用程序有很多用户。应用服务器利用率过高,偶尔会导致数据上传失败。该公司经常向文件服务器添加新存储。该公司希望通过将应用程序迁移到 AWS 来解决这些挑战。来自美国和加拿大各地的用户访问该应用程序。只有经过身份验证的用户才能够访问应用程序来上传文件。公司会考虑重构应用程序的解决方案,公司需要加速应用程序开发。哪种解决方案能够以最少的运营开销满足这些要求?

选项

A. Use AWS Application Migration Service to migrate the application server to Amazon EC2 instances. Create an Auto Scaling group for the EC2 instances. Use an Application Load Balancer to distribute the requests. Modify the application to use Amazon S3 to persist the files. Use Amazon Cognito to authenticate users.

中文翻译:
使用 AWS Application Migration Service 将应用程序服务器迁移到 Amazon EC2 实例。为 EC2 实例创建 Auto Scaling 组。使用应用程序负载均衡器来分发请求。修改应用程序以使用 Amazon S3 来保留文件。使用 Amazon Cognito 对用户进行身份验证。

B. Use AWS Application Migration Service to migrate the application server to Amazon EC2 instances. Create an Auto Scaling group for the EC2 instances. Use an Application Load Balancer to distribute the requests. Set up AWS IAM Identity Center (AWS Single Sign-On) to give users the ability to sign in to the application. Modify the application to use Amazon S3 to persist the files.

中文翻译:
使用 AWS Application Migration Service 将应用程序服务器迁移到 Amazon EC2 实例。为 EC2 实例创建 Auto Scaling 组。使用应用程序负载均衡器来分发请求。设置 AWS IAM Identity Center (AWS Single Sign-On),使用户能够登录应用程序。修改应用程序以使用 Amazon S3 来保留文件。

C. Create a static website for uploads of media files. Store the static assets in Amazon S3. Use AWS AppSync to create an API. Use AWS Lambda resolvers to upload the media files to Amazon S3. Use Amazon Cognito to authenticate users.

中文翻译:
创建一个用于上传媒体文件的静态网站。将静态资产存储在 Amazon S3 中。使用 AWS AppSync 创建 API。使用 AWS Lambda 解析器将媒体文件上传到 Amazon S3。使用 Amazon Cognito 对用户进行身份验证。

D. Use AWS Amplify to create a static website for uploads of media files. Use Amplify Hosting to serve the website through Amazon CloudFront. Use Amazon S3 to store the uploaded media files. Use Amazon Cognito to authenticate users.

中文翻译:
使用 AWS Amplify 创建用于上传媒体文件的静态网站。使用 Amplify Hosting 通过 Amazon CloudFront 为网站提供服务。使用 Amazon S3 存储上传的媒体文件。使用 Amazon Cognito 对用户进行身份验证。

答案

D

解析

正确答案:D 解析: 本题应选择 D。 正确选项: D. 使用 AWS Amplify 创建用于上传媒体文件的静态网站。使用 Amplify Hosting 通过 Amazon CloudFront 为网站提供服务。使用 Amazon S3 存储上传的媒体文件。使用 Amazon Cognito 对用户进行身份验证。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最...

登录后查看完整解析