AWS Certified Developer – Associate — Question 88

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?

Answer options

Correct answer: D

Explanation

The correct answer is D because installing the Amazon CloudWatch agent allows the developer to efficiently collect and centralize logs from multiple EC2 instances with minimal changes to the application. Option A requires significant rewriting of the application, while option B involves more complex setup and infrastructure changes. Option C compromises availability by reducing redundancy, which is counterproductive for a highly available application.