Q4 — AWS SOA-C02 Ch.1
Question 4 of 100 | ← Chapter 1
A company has internal hybrid applications that have resources in the AWS Cloud and on premises. Users report that the applications sometimes are not available. The company has Configured an Amazon CloudWatch alarm to monitor the tunnel status of its AWS Site-to-Site VPN connection. A SysOps administrator must implement a solution that creates a high-priority ticket in an internal ticketing tool when the VPN tunnel is down. Which solution will meet this requirement?
- A. Create an Amazon Simple Notication Service (Amazon SNS) topic for the CloudWatch alarm. Subscribe the ticketing tool's endpoint to the SNS topic.
- B. Create an Amazon Simple Queue Service (Amazon SQS) queue as the target for the CloudWatch alarm. Configure the queue to transform messages into tickets and to post the tickets to the ticketing tool’s endpoint.
- C. Create an AWS Lambda function. Configure the CloudWatch alarm to directly invoke the Lambda function to create individual tickets in the ticketing tool. ✓
- D. Create an Amazon EventBridge rule that monitors the VPN tunnel directly. Configure the ticketing tool’s endpoint as the target of the rule.
Correct Answer: C. Create an AWS Lambda function. Configure the CloudWatch alarm to directly invoke the Lambda function to create individual tickets in the ticketing tool.
Explanation
该题目涉及利用AWS服务实现自动化监控与事件响应。根据AWS文档,Amazon CloudWatch警报可配置行动触发AWS Lambda函数。选项C中,配置警报直接调用Lambda函数,该函数可集成内部工具API创建工单,无需中间服务,步骤最直接。选项A依赖工具体系支持SNS订阅;选项B需通过SQS中转,增加复杂性;选项D通过EventBridge监控需额外事件路由,而题目已用CloudWatch监控。正确答案C符合AWS服务直接集成的最佳实践。