Question 163:
A large IT company has used AWS ECS to deploy dozens of Microservices. There is a new requirement from management to report any state change of either ECS container instances or ECS tasks to a group channel in Microsoft Teams. The notification messages should be nicely readable and sent immediately whenever a status change happens. Which two methods in combinations can achieve this requirement? (Select TWO)
Answer options:
A.Create a T2 micro instance to handle the customized notifications. Integrate with Microsoft Teams via its Incoming Webhook. B.Add a new CloudWatch Events rule for status change of ECS. Add a Lambda function as the target when an event is triggered. C.Configure a new SNS topic called ECS_Status_Change. Register the SNS as the trigger of a Lambda function to generate custom readable alarms. D.Set up alarms in ECS CloudWatch Metrics. When the state of either ECS instance or ECS task changes, generate an alarm to trigger an SNS topic. E.Create a Lambda function to analyze the state change event in ECS and then provide an appropriate message to the channel in Microsoft Teams.