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 316 discussion

A company’s SysOps administrator manages a fleet of Windows Amazon EC2 instances that run in a single AWS account. The instances have a tag that includes a key of “OS" and a value of "Windows." The company uses AWS Systems Manager to patch the instances.

The company has installed the Amazon CloudWatch agent on the instances, but the configuration is inconsistent. The SysOps administrator needs to reconfigure every instance to use the same predefined CloudWatch configuration.

Which combination of steps will meet these requirements? (Choose two.)

  • A. Store the CloudWatch agent configuration file in an Amazon S3 bucket.
  • B. Store the contents of the CloudWatch agent configuration file in Systems Manager OpsCenter.
  • C. Store the contents of the CloudWatch agent configuration file in Systems Manager Parameter Store.
  • D. Create a Systems Manager State Manager association to run the AmazonCloudWatch-ManageAgent Systems Manager Run Command document. Select Systems Manager as an optional configuration source. Target the instances based on tag values.
  • E. Create a Systems Manager State Manager association to run the AmazonCloudWatch-ManageAgent Systems Manager Run Command document. Configure the document to use the S3 bucket location as the configuration source. Target the instances based on tag value.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
Gomer
Highly Voted 1 year, 10 months ago
Selected Answer: CD
I don't know if S3 option works, but I do know AWS documents using Parameter Store to store a CloudWatch agent configuration file, and to start the agent using the config stored in Parameter Store, therefore I know C & D are valid. Here are references: "Uploading the CloudWatch agent configuration file to Systems Manager Parameter Store" https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html Command to start CloudWatch agent by loading configuration file previously saved in Systems Manager Parameter store: sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s -c ssm:configuration-parameter-store-name https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/install-CloudWatch-Agent-on-EC2-Instance-fleet.html
upvoted 20 times
...
Slays
Most Recent 6 months, 1 week ago
Selected Answer: AE
Why Option A is Correct: Storing the CloudWatch agent configuration file in Amazon S3 makes it easily accessible to the EC2 instances. The S3 bucket acts as a centralized storage location for the predefined configuration file, ensuring all instances use the same version when updating their agent settings. Why Option E is Correct: Using AWS Systems Manager State Manager associations allows the administrator to ensure that every tagged instance consistently applies the same CloudWatch configuration. The AmazonCloudWatch-ManageAgent Run Command document can pull the agent configuration file from the S3 bucket and apply it across all targeted instances. Targeting based on tags (e.g., OS: Windows) ensures that only the Windows EC2 instances are updated.
upvoted 1 times
...
abitwrong
11 months, 2 weeks ago
Selected Answer: AE
Assuming there the instances are deployed to different regions, then its better to store the configuration file in S3. Because storing it in Parameter store would require additional steps. "If you use multiple Regions, you must synchronize CloudWatch configuration updates in each Region's Parameter Store. Parameter Store is a Regional service and the same parameter must be updated in each Region that uses the CloudWatch agent." https://docs.aws.amazon.com/prescriptive-guidance/latest/implementing-logging-monitoring-cloudwatch/create-store-cloudwatch-configurations.html
upvoted 2 times
...
xile1021
1 year, 6 months ago
Selected Answer: AD
A&D Option B and Option C do not directly address the requirement to configure the CloudWatch agent with a consistent predefined configuration across all instances. Option E does not use the S3 bucket as the configuration source, which is typically the recommended way to manage CloudWatch agent configurations for consistency.
upvoted 2 times
Debugs_Bunny
1 year, 4 months ago
We deploy CloudWatch in our company almost everyday using options C and D. if you go with A then D doesn't make sense cuz the source says systems manager no S3...
upvoted 2 times
...
...
AShahine21
1 year, 9 months ago
CD, used in prod already
upvoted 4 times
...
vcloudpmp
1 year, 10 months ago
https://docs.aws.amazon.com/prescriptive-guidance/latest/implementing-logging-monitoring-cloudwatch/create-store-cloudwatch-configurations.html Single account in the scenario. Seems like central storage by way of S3 is not required.
upvoted 1 times
...
Shoppe
1 year, 10 months ago
Selected Answer: AD
Step A involves storing the CloudWatch agent configuration file in an Amazon S3 bucket. This allows for centralized storage of the configuration file, making it easily accessible. Step D involves creating a Systems Manager State Manager association to run the AmazonCloudWatch-ManageAgent Systems Manager Run Command document. By selecting Systems Manager as an optional configuration source and targeting the instances based on tag values, you can ensure that every instance with the specified tag (in this case, "OS" tag with a value of "Windows") will be reconfigured to use the predefined CloudWatch configuration. These steps ensure that the CloudWatch agent configuration is consistent across all Windows EC2 instances by leveraging Systems Manager and the predefined configuration stored in an S3 bucket. Therefore, the correct choices are A and D.
upvoted 3 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