Q89 — AWS SOA-C02 Ch.1
Question 89 of 100 | ← Chapter 1
A company’s SysOps administrator must ensure that all Amazon EC2 Windows instances that are launched in an AWS account have a third-party agent installed. The third-party agent has an .msi package. The company uses AWS Systems Manager for patching, and the Windows instances are tagged appropriately. The third-party agent requires periodic updates as new versions are released. The SysOps administrator must deploy these updates automatically. Which combination of steps will meet these requirements with the LEAST operational effort? (Choose two.)
- A. Create a Systems Manager Distributor package for the third-party agent. ✓
- B. Make sure that Systems Manager Inventory is configured. If Systems Manager Inventory is not configured, set up a new inventory for instances that is based on the appropriate tag value for Windows.
- C. Create a Systems Manager State Manager association to run the AWS-RunRemoteScript document. Populate the details of the third-party agent package. Specify instance tags based on the appropriate tag value for Windows with a schedule of 1 day.
- D. Create a Systems Manager State Manager association to run the AWS-ConfigureAWSPackage document. Populate the details of the third-party agent package. Specify instance tags based on the appropriate tag value for Windows with a schedule of 1 day. ✓
- E. Create a Systems Manager OpsItem with the tag value for Windows. Attach the Systems Manager Distributor package to the OpsItem. Create a maintenance window that is specific to the package deployment. Configure the maintenance window to cover 24 hours a day.
Correct Answer: A. Create a Systems Manager Distributor package for the third-party agent., D. Create a Systems Manager State Manager association to run the AWS-ConfigureAWSPackage document. Populate the details of the third-party agent package. Specify instance tags based on the appropriate tag value for Windows with a schedule of 1 day.
Explanation
SysOps管理员需使用AWS Systems Manager实现第三方代理的自动安装与更新。AWS Distributor允许创建自定义软件包,通过State Manager关联AWS-ConfigureAWSPackage文档可定期部署和更新软件包。Distributor(选项A)用于打包第三方代理的MSI文件,State Manager关联(选项D)根据标签匹配实例并设置每日执行计划,确保自动维护。其他选项涉及额外配置或非标准方法,操作成本更高。Distributor与ConfigureAWSPackage的组合直接利用原生功能,符合最小操作量要求。