Q53 — AWS DVA-C02 Ch.1

Question 53 of 100 | ← Chapter 1

A company has a legacy Windows application running on-premises. The application uses a network-shared folder as a centralized configuration repository, storing configuration files in XML format. The company is migrating the application to Amazon EC2 instances. As part of the migration to AWS, the developer must identify a highly available solution for the repository. Which solution most cost-effectively meets this requirement?

Correct Answer: C. Create an Amazon S3 bucket to host the repository. Migrate the existing XML files to the S3 bucket. Update the application code to read from and write to Amazon S3 using the AWS SDK.

Explanation

When migrating to AWS, high availability and cost-efficiency are critical. Option A relies on a single EC2 instance and EBS volume, introducing a single point of failure and potentially increasing costs with EC2 scaling. Option B similarly depends on ephemeral instance storage, lacking cross-instance or cross-region high availability. Option D leverages S3’s high availability but introduces complexity and potential performance issues by mounting S3 as a local volume. Option C is the most cost-effective: it leverages S3’s high availability and infinite scalability, directly reading/writing configuration files via the AWS SDK—without dependency on any specific EC2 instance or region—ensuring both high availability and cost efficiency. 【Lantern Certification provided by: swufelp1999】