AWS Certified Developer – Associate (DVA-C02) — Question 87

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 on the EC2 instances allows for centralized log management without significant changes to the existing application architecture. Option A requires a complete rewrite to a cloud-native structure, which is not minimal. Option B involves additional complexity with setting up multiple services. Option C limits the application's availability and performance by reducing it to a single instance.