Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon DVA-C02 Exam - Topic 3 Question 62 Discussion

Posted by Amina on Apr 05, 2026 at 08:11 PM

A company has an existing application that has hardcoded database credentials A developer needs to modify the existing application The application is deployed in two AWS Regions with an active-passive failover configuration to meet company's disaster recovery strategy

The developer needs a solution to store the credentials outside the code. The solution must comply With the company's disaster recovery strategy

Which solution Will meet these requirements in the MOST secure way?

Suggested Answer: A

AWS Secrets Manager is a service that allows you to store and manage secrets, such as database credentials, API keys, and passwords, in a secure and centralized way.It also provides features such as automatic secret rotation, auditing, and monitoring1. By using AWS Secrets Manager, you can avoid hardcoding credentials in your code, which is a bad security practice and makes it difficult to update them.You can also replicate your secrets to another Region, which is useful for disaster recovery purposes2. To access your secrets from your application, you can use the ARN of the secret, which is a unique identifier that includes the Region name.This way, your application can use the appropriate secret based on the Region where it is deployed3.

AWS Secrets Manager

Replicating and sharing secrets

Using your own encryption keys


Get Premium DVA-C02 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
19 comments · newest first
MA
Matteo Rodriguez 10 days ago
Going with A since the tricky part is cross-region secret replication and region-specific ARNs.
AN
Ankit Gupta 40 minutes ago
↳ replying to Matteo Rodriguez
If both options use region-based ARNs, why is A more secure for DR than B?
ME
Meghan 2 months ago
Right, we need to prioritize security in our solutions.
PA
Paulina 3 months ago
Exactly, A or B are the way to go for security.
LI
Lili 3 months ago
D seems risky too. EFS might not be the best choice for credentials.
LA
Lakeesha 3 months ago
I feel like C is less secure. S3 isn't meant for sensitive data.
JU
Justine 3 months ago
But A has more features for managing secrets.
GE
German 3 months ago
Option B is good too. Parameter Store is simpler and still secure.
ME
Meghan 3 months ago
I agree, A is secure and supports replication.
FE
Felicidad 4 months ago
I think option A is the best. Secrets Manager is designed for this.
LE
Lenita 4 months ago
I’m surprised they even considered EFS for this. Doesn’t make sense.
KR
Kris 4 months ago
Wait, why would anyone use a config file? Seems risky!
AD
Adrianna 4 months ago
Parameter Store works too, but not as secure as Secrets Manager.
BE
Beckie 6 months ago
I agree, Secrets Manager is designed for this!
CA
Cassi 6 months ago
Option A is the best choice for security and compliance.
LE
Leslie 7 months ago
I vaguely recall that using ARNs for region-specific access is important. So, options A and B seem to align with that requirement, but I’m leaning towards A for the added security features.
IS
Isadora 7 months ago
I practiced a similar question where we had to choose between S3 and EFS for storing config files. I think options C and D might not be as secure since they involve config files, which can be less protected.
LI
Ligia 7 months ago
I'm not entirely sure, but I think AWS Systems Manager Parameter Store is also a viable option. Option B might work, but I feel like it doesn't have the same level of security as Secrets Manager.
VE
Veta 7 months ago
I remember we discussed using AWS Secrets Manager for storing sensitive information securely. It seems like option A could be the best choice since it supports replication.
0/2000 characters

Save Cancel