Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 23 discussion

A company has a multi-node Windows legacy application that runs on premises. The application uses a network shared folder as a centralized configuration repository to store configuration files in .xml format. The company is migrating the application to Amazon EC2 instances. As part of the migration to AWS, a developer must identify a solution that provides high availability for the repository.
Which solution will meet this requirement MOST cost-effectively?

  • A. Mount an Amazon Elastic Block Store (Amazon EBS) volume onto one of the EC2 instances. Deploy a file system on the EBS volume. Use the host operating system to share a folder. Update the application code to read and write configuration files from the shared folder.
  • B. Deploy a micro EC2 instance with an instance store volume. Use the host operating system to share a folder. Update the application code to read and write configuration files from the shared folder.
  • C. Create an Amazon S3 bucket to host the repository. Migrate the existing .xml files to the S3 bucket. Update the application code to use the AWS SDK to read and write configuration files from Amazon S3.
  • D. Create an Amazon S3 bucket to host the repository. Migrate the existing .xml files to the S3 bucket. Mount the S3 bucket to the EC2 instances as a local volume. Update the application code to read and write configuration files from the disk.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
shahs10
Highly Voted 1 year, 7 months ago
Why is not there EFS to replace shared file system
upvoted 15 times
albert_kuo
2 months ago
Windows legacy application
upvoted 1 times
...
[Removed]
11 months, 3 weeks ago
This is what I was looking for - but not an option
upvoted 2 times
alexandru_tata
7 months, 4 weeks ago
EFS would not have been an option. It does not work for Linux: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/AmazonEFS.html
upvoted 4 times
serverlessme
4 weeks, 1 day ago
It does not work for Windows you meant to say?
upvoted 1 times
...
...
...
nmc12
1 year, 1 month ago
it is best solution. But we can use S3 without EFS
upvoted 2 times
...
...
Bibay
Highly Voted 1 year, 6 months ago
c Option C is the most cost-effective solution to provide high availability for the centralized configuration repository. Amazon S3 provides a highly durable and available object storage service. S3 stores objects redundantly across multiple devices and multiple facilities within a region, making it highly available. The developer can migrate the existing .xml files to an S3 bucket and update the application code to use the AWS SDK to read and write configuration files from Amazon S3. Option A and B are not the best solutions as they require the developer to use the host operating system to share a folder, which can lead to a single point of failure. Option D is not a recommended solution as it is not a direct way of accessing an S3 bucket. While it is possible to use third-party tools to mount an S3 bucket as a local disk, it can lead to performance issues and additional complexity.
upvoted 11 times
...
Venky786
Most Recent 2 weeks, 2 days ago
Why A is not correct answer ?
upvoted 1 times
...
tgood
3 months, 2 weeks ago
Selected Answer: C
i think EFS should be added to answer
upvoted 1 times
serverlessme
4 weeks, 1 day ago
EFS does not work for Windows.
upvoted 1 times
...
...
65703c1
6 months ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
teddyjr
6 months, 4 weeks ago
S3 mountpoint does not support editing files or deleting directories. So the answer is C
upvoted 2 times
...
Dikshika
7 months ago
D since we have s3 mountpoint available now https://aws.amazon.com/about-aws/whats-new/2023/03/mountpoint-amazon-s3/ https://docs.aws.amazon.com/AmazonS3/latest/userguide/mountpoint.html
upvoted 1 times
...
someone234
9 months, 2 weeks ago
Selected Answer: C
Option C is the most cost-effective solution to provide high availability for the centralized configuration repository. Amazon S3 provides a highly durable and available object storage service. S3 stores objects redundantly across multiple devices and multiple facilities within a region, making it highly available. The developer can migrate the existing .xml files to an S3 bucket and update the application code to use the AWS SDK to read and write configuration files from Amazon S3.
upvoted 2 times
...
gqs3119
11 months, 1 week ago
Selected Answer: D
Today It's D. Few months ago I'd pick C, but since then amazon released mountpoint for linux, so it's possible to mount S3 on any major Linux distro, by using WSL 2 it is also possible to mount S3 on Windows. Doing so cuts the cost of modifying the legacy application. https://docs.aws.amazon.com/AmazonS3/latest/userguide/mountpoint-installation.html https://aws.plainenglish.io/mounting-amazon-s3-buckets-on-windows-52b5f1434cd7
upvoted 2 times
letsLearn_001
2 days ago
Mount doesn't support for Windows.
upvoted 1 times
...
squeeze_talus0y
10 months, 1 week ago
Your solution overcomplicates things.
upvoted 3 times
...
SD_CS
9 months, 3 weeks ago
But the apps are legacy windows app so mountpoints will not help - my opinion
upvoted 1 times
...
...
leonardoliveros
1 year ago
Selected Answer: C
EBS and Instance Store just attached one instance so these's expense and don't scalable, and S3 it's the best option to handle the repository of .xml because it's very scalable and low-cost
upvoted 2 times
...
HanTran0795
1 year, 1 month ago
Selected Answer: D
It is a Windows legacy application. What if the sdk doesn't support the app? I choose D.
upvoted 2 times
ronn555
1 year ago
C S3 Buckets can only be mounted directly to Linux EC2 instances
upvoted 1 times
gqs3119
11 months, 1 week ago
It can be mounted to many distros today, and using WSL2 also to Windows. https://docs.aws.amazon.com/AmazonS3/latest/userguide/mountpoint-installation.html
upvoted 2 times
...
...
...
AhmedAliHashmi
1 year, 2 months ago
Correct answer is C
upvoted 1 times
...
senadevtrd
1 year, 5 months ago
Selected Answer: C
In theses options, this is more correct
upvoted 1 times
...
Untamables
1 year, 8 months ago
Selected Answer: C
C https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/AmazonS3.html https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingAWSSDK.html
upvoted 6 times
...
aragon_saa
1 year, 8 months ago
C https://www.examtopics.com/discussions/amazon/view/88701-exam-aws-certified-developer-associate-topic-1-question-227/
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...