exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 110 discussion

An environment consists of 100 Amazon EC2 Windows instances. The Amazon CloudWatch agent is deployed and running on all EC2 Instances with a baseline configuration file to capture log files. There is a new requirement to capture the DHCP log files that exist on 50 of the instances.
What is the MOST operationally efficient way to meet this new requirement?

  • A. Create an additional CloudWatch agent configuration file to capture the DHCP logs. Use the AWS Systems Manager Run Command to restart the CloudWatch agent on each EC2 instance with the append-config option to apply the additional configuration file.
  • B. Log in to each EC2 Instance with administrator rights. Create a PowerShell script to push the needed baseline log files and DHCP log files to CloudWatch.
  • C. Run the CloudWatch agent configuration file wizard on each EC2 instance. Verify that the baseline log files are included and add the DHCP log files during the wizard creation process.
  • D. Run the CloudWatch agent configuration file wizard on each EC2 instance and select the advanced detail level. This will capture the operating system log files.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
haxaffee
Highly Voted 1 year, 7 months ago
Selected Answer: A
While I find no real solution in the internet for Windows instances, I will go with A because I can't believe logging into EVERY INSTANCE with 100x is a valid solution. Who does that 2022.
upvoted 20 times
...
Hatem08
Most Recent 5 months ago
Selected Answer: A
A is the correct one
upvoted 2 times
...
CVDON
11 months, 2 weeks ago
A is more efficient
upvoted 2 times
...
Gomer
11 months, 2 weeks ago
Selected Answer: A
# Append configuration file (Linux) to running agent so metrics and logs listed in file are collected. (see: "Common scenarios with the CloudWatch agent") /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a append-config -m ec2 -s -c file:/tmp/app.json
upvoted 1 times
...
michaldavid
1 year, 4 months ago
Selected Answer: A
aaaaaaaa
upvoted 1 times
...
Surferbolt
1 year, 6 months ago
Selected Answer: A
A. Systems Manager is the way to go.
upvoted 3 times
...
sassy69
1 year, 6 months ago
I go with A. D is valid, but not the MOST operationally efficient.
upvoted 2 times
...
kati2k22cz
1 year, 7 months ago
Selected Answer: D
D. More info of detail level here https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/create-cloudwatch-agent-configuration-file-wizard.html
upvoted 1 times
Liongeek
1 year, 5 months ago
The wizard only can be used if you log to the instance. But there are 100 instances. That solution doesn't apply.
upvoted 4 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago