You must aggregate application log files from a custom app running on hundreds of Ubuntu EC2 instances and store them in CloudWatch Logs with minimal operational overhead. Which method is the best choice?
Choose an answer
Tap an option to check your answer.
Correct answer: Save a CloudWatch agent configuration in AWS Systems Manager Parameter Store, install the CloudWatch agent on each instance via Systems Manager, and point each agent to that configuration so it collects the application logs..
Why this is the answer
The correct option leverages AWS Systems Manager for scalable deployment and centralized configuration management. By saving the CloudWatch agent configuration in Parameter Store, you create a single source of truth that can be easily updated and applied to hundreds of instances. Systems Manager allows for automated installation of the CloudWatch agent across all EC2 instances, and then directs each agent to use the Parameter Store configuration, ensuring consistent log collection with minimal manual intervention. Configuring syslogd directly to CloudWatch Logs is not a native or supported integration. Installing the CloudWatch agent via a package manager is feasible but lacks the centralized management and automation benefits for hundreds of instances. Running the CloudWatch configuration wizard on every instance is highly impractical and time-consuming for a large fleet.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed