SAP-C02 · Question #145
A company runs applications on Amazon EC2 instances. The company plans to begin using an Auto Scaling group for the instances. As part of this transition, a solutions architect must ensure that Amazon
The correct answer is B. Create an Amazon CloudWatch agent configuration for the workload In AWS Systems Manager. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/download-CloudWatch- Agent-on-EC2-Instance-SSM-first.html
Question
A company runs applications on Amazon EC2 instances. The company plans to begin using an Auto Scaling group for the instances. As part of this transition, a solutions architect must ensure that Amazon CloudWatch Logs automatically collects logs from all new instances. The new Auto Scaling group will use a launch template that includes the Amazon Linux 2 AMI and no key pair. Which solution meets these requirements?
Options
- ACreate an Amazon CloudWatch agent configuration for the workload Store the CloudWatch agent
- BCreate an Amazon CloudWatch agent configuration for the workload In AWS Systems Manager
- CCreate an Amazon CloudWatch agent configuration for the workload Create an AWS Lambda
- DCreate an Amazon CloudWatch agent configuration for the workload.
How the community answered
(62 responses)- A3% (2)
- B85% (53)
- C3% (2)
- D8% (5)
Explanation
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/download-CloudWatch- Agent-on-EC2-Instance-SSM-first.html
Community Discussion
No community discussion yet for this question.