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 10 discussion

A developer is deploying a new application to Amazon Elastic Container Service (Amazon ECS). The developer needs to securely store and retrieve different types of variables. These variables include authentication information for a remote API, the URL for the API, and credentials. The authentication information and API URL must be available to all current and future deployed versions of the application across development, testing, and production environments.
How should the developer retrieve the variables with the FEWEST application changes?

  • A. Update the application to retrieve the variables from AWS Systems Manager Parameter Store. Use unique paths in Parameter Store for each variable in each environment. Store the credentials in AWS Secrets Manager in each environment.
  • B. Update the application to retrieve the variables from AWS Key Management Service (AWS KMS). Store the API URL and credentials as unique keys for each environment.
  • C. Update the application to retrieve the variables from an encrypted file that is stored with the application. Store the API URL and credentials in unique files for each environment.
  • D. Update the application to retrieve the variables from each of the deployed environments. Define the authentication information and API URL in the ECS task definition as unique names during the deployment process.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
geekdamsel
Highly Voted 1 year, 7 months ago
Correct answer is A.
upvoted 18 times
...
Warlord_92
Highly Voted 1 year, 8 months ago
Selected Answer: A
The application has credentials and URL, so it’s convenient to store them in ssm parameter store restive them.
upvoted 9 times
...
trieudo
Most Recent 2 days, 2 hours ago
Selected Answer: A
keyword: FEWEST application changes ==> A: This minimizes code changes as the retrieval method remains consistent across environments; only the Parameter Store paths need updating. Secrets Manager securely stores sensitive credentials.
upvoted 1 times
...
Tee400
2 months, 2 weeks ago
Selected Answer: A
AWS Systems Manager Parameter Store is a service that allows you to securely store configuration data such as API URLs, credentials, and other variables. By updating the application to retrieve the variables from Parameter Store, you can separate the configuration from the application code, making it easier to manage and update the variables without modifying the application itself. Storing the credentials in AWS Secrets Manager provides an additional layer of security for sensitive information.
upvoted 2 times
...
badsati
2 months, 2 weeks ago
Answer is A AWS Systems Manager Parameter Store and AWS Secrets Manager are designed for securely storing and managing sensitive information such as credentials, API URLs, and configuration variables. Using AWS Systems Manager Parameter Store allows the developer to centrally manage configuration variables across different environments (development, testing, production) without requiring application code changes. Each variable can have a unique path in Parameter Store, ensuring separation and organization.
upvoted 2 times
...
ez_24
2 months, 2 weeks ago
Correct Answer is A Option B, using AWS Key Management Service (AWS KMS), is not ideal for this scenario primarily because AWS KMS is designed for creating and controlling encryption keys, not for storing configuration data or credentials. KMS keys are used to encrypt and decrypt data, rather than directly storing or managing it. For securely managing and retrieving application configuration data and sensitive information like API credentials, Systems Manager Parameter Store and AWS Secrets Manager are more appropriate, offering direct support for these use cases with better integration for applications.
upvoted 4 times
...
65703c1
6 months, 3 weeks ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
Prosen2522
7 months, 1 week ago
Selected Answer: A
SSM parameter store with proper posh is the answer.
upvoted 1 times
...
leonardoliveros
1 year ago
Selected Answer: A
You put the different variables for each environment, is the best solution because it's isolated between environment
upvoted 1 times
...
vmintam
1 year, 1 month ago
i think corrent is A, but why is B ?
upvoted 2 times
...
alihaider907
1 year, 2 months ago
I think the wording of option A has a typo first it mentioned " Update the application to retrieve the variables from AWS Systems Manager Parameter Store" then it says "Store the credentials in AWS Secrets Manager in each environment."
upvoted 1 times
...
meetparag81
1 year, 3 months ago
A is correct
upvoted 1 times
...
jayvarma
1 year, 4 months ago
Option A is correct. The AWS Systems Manager Paramter Store's primary purpose is to secure sensitive information such as API URLs, credentials and the variables that we store in it.
upvoted 2 times
...
MrTee
1 year, 7 months ago
Selected Answer: A
his solution allows the developer to securely store and retrieve different types of variables, including authentication information for a remote API, the URL for the API, and credentials.
upvoted 2 times
...
qsergii
1 year, 8 months ago
Definitely A
upvoted 1 times
...
fqmark
1 year, 8 months ago
it should be a, kms is used for encryption: https://aws.amazon.com/kms/
upvoted 3 times
...
prabhay786
1 year, 8 months ago
It should be option A
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago