Topic 1 Question 113
A developer is working on an ecommerce website. The developer wants to review server logs without logging in to each of the application servers individually. The website runs on multiple Amazon EC2 instances, is written in Python, and needs to be highly available.
How can the developer update the application to meet these requirements with MINIMUM changes?
Rewrite the application to be cloud native and to run on AWS Lambda, where the logs can be reviewed in Amazon CloudWatch.
Set up centralized logging by using Amazon OpenSearch Service, Logstash, and OpenSearch Dashboards.
Scale down the application to one larger EC2 instance where only one instance is recording logs.
Install the unified Amazon CloudWatch agent on the EC2 instances. Configure the agent to push the application logs to CloudWatch.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: D
Option D is the best option because it requires minimum changes and leverages the existing infrastructure.
👍 5MrTee2023/04/22 - 正解だと思う選択肢: D
By installing the Amazon CloudWatch agent on the EC2 instances, the developer can easily collect and send logs from each instance to Amazon CloudWatch. The CloudWatch agent provides a unified way to collect logs, system-level metrics, and custom metrics from the EC2 instances.
👍 1loctong2023/05/17
シャッフルモード