SAP-C02 学习助手

SAP-C02 第 58 题

S3 EC2 EBS IAM Systems Manager

题目

A company has a monolithic application that is critical to the company’s business. The company hosts the application on an Amazon EC2 instance that runs Amazon Linux 2. The company’s application team receives a directive from the legal department to back up the data from the instance’s encrypted Amazon Elastic Block Store (Amazon EBS) volume to an Amazon S3 bucket. The application team does not have the administrative SSH key pair for the instance. The application must continue to serve the users. Which solution will meet these requirements?

中文翻译:
一家公司拥有对其业务至关重要的整体应用程序。该公司在运行 Amazon Linux 2 的 Amazon EC2 实例上托管该应用程序。该公司的应用程序团队收到法律部门的指示,将数据从实例的加密 Amazon Elastic Block Store (Amazon EBS) 卷备份到 Amazon S3 存储桶。应用程序团队没有实例的管理 SSH 密钥对。应用程序必须继续为用户服务。哪种解决方案可以满足这些要求?

选项

A. Attach a role to the instance with permission to write to Amazon S3. Use the AWS Systems Manager Session Manager option to gain access to the instance and run commands to copy data into Amazon S3.

中文翻译:
将角色附加到有权写入 Amazon S3 的实例。使用 AWS Systems Manager 会话管理器选项获取对实例的访问权限并运行命令以将数据复制到 Amazon S3 中。

B. Create an image of the instance with the reboot option turned on. Launch a new EC2 instance from the image. Attach a role to the new instance with permission to write to Amazon S3. Run a command to copy data into Amazon S3.

中文翻译:
创建启用重启选项的实例的映像。从映像启动新的 EC2 实例。将具有写入 Amazon S3 权限的角色附加到新实例。运行命令将数据复制到 Amazon S3 中。

C. Take a snapshot of the EBS volume by using Amazon Data Lifecycle Manager (Amazon DLM). Copy the data to Amazon S3.

中文翻译:
使用 Amazon Data Lifecycle Manager (Amazon DLM) 拍摄 EBS 卷的快照。将数据复制到 Amazon S3。

D. Create an image of the instance. Launch a new EC2 instance from the image. Attach a role to the new instance with permission to write to Amazon S3. Run a command to copy data into Amazon S3.

中文翻译:
创建实例的图像。从映像启动新的 EC2 实例。将具有写入 Amazon S3 权限的角色附加到新实例。运行命令将数据复制到 Amazon S3 中。

答案

A

解析

正确答案:A 解析: 本题应选择 A。 正确选项: A. 将角色附加到有权写入 Amazon S3 的实例。使用 AWS Systems Manager 会话管理器选项获取对实例的访问权限并运行命令以将数据复制到 Amazon S3 中。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题...

登录后查看完整解析