Topic 1 Question 270
A SysOps administrator needs to collect the content of log files from a custom application that is deployed across hundreds of Amazon EC2 instances running Ubuntu. The log files need to be stored in Amazon CloudWatch Logs.
How should the SysOps administrator collect the application log files with the LOWEST operational overhead?
Configure the syslogd service on each EC2 instance to collect and send the application log files to CloudWatch Logs.
Install the CloudWatch agent by using the Amazon Linux package manager on each EC2 instance. Configure each agent to collect the application log files.
Install the CloudWatch agent on each EC2 instance by using AWS Systems Manager. Create an agent configuration on each instance by using the CloudWatch configuration wizard. Configure each agent to collect the application log files.
Store a CloudWatch agent configuration in the AWS Systems Manager Parameter Store. Install the CloudWatch agent on each EC2 instance by using Systems Manager. Configure each agent to collect the application log files.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: D
At first reading I chose "C". However, in doing a little research its clear Amazon suggests using parameter store to a config centrally so you don't have to run the wizard a bunch of ties. I couldn't find a link to document exact steps, but the following links outline that it can be done: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/create-cloudwatch-agent-configuration-file.html https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/create-cloudwatch-agent-configuration-file-wizard.html https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/install-CloudWatch-Agent-on-EC2-Instance-fleet.html https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/install-CloudWatch-Agent-commandline-fleet.html
👍 3Gomer2023/05/01 - 正解だと思う選択肢: C
C. Install the CloudWatch agent on each EC2 instance by using AWS Systems Manager.
👍 1landsamboni2023/05/25
シャッフルモード