AWS SAP-C02 · Question 52 · Domain 3.1: Operational Excellence
A company has a fleet of Amazon EC2 instances running a legacy application. The application logs are written to local text files. The company wants to centralize these logs, search them in near real-time, and create dashboards to monitor application errors. Which solution requires the LEAST operational overhead?
A company has a fleet of Amazon EC2 instances running a legacy application. The application logs are written to local text files. The company wants to centralize these logs, search them in near real-time, and create dashboards to monitor application errors. Which solution requires the LEAST operational overhead?
Answer options:
Write a cron job to copy the logs to Amazon S3. Use Amazon Athena to query the logs and Amazon QuickSight for dashboards.
Install the CloudWatch agent on the EC2 instances to push logs to Amazon CloudWatch Logs. Use CloudWatch Logs Insights to search the logs and create CloudWatch Dashboards.
Deploy an ELK (Elasticsearch, Logstash, Kibana) stack on EC2 instances and configure Filebeat on the application instances.
Use Amazon Kinesis Data Firehose to stream the logs to Amazon Redshift.
How to approach this question
Full Answer
Common mistakes
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 7
75 questions · hints · full answers · grading
Expert