nerdexam
AmazonAmazon

DVA-C02 · Question #60

DVA-C02 Question #60: Real Exam Question with Answer & Explanation

The correct answer is A: Store the API credentials in AWS Secrets Manager. Retrieve the API credentials at runtime by. It's not secure to store API keys in git repository. Hence storing it in secret manger is a most secure to way to handle this scenario.

Submitted by yuriko_h· Mar 5, 2026Security

Question

A company wants to share information with a third party. The third party has an HTTP API endpoint that the company can use to share the information. The company has the required API key to access the HTTP API. The company needs a way to manage the API key by using code. The integration of the API key with the application code cannot affect application performance. Which solution will meet these requirements MOST securely?

Options

  • AStore the API credentials in AWS Secrets Manager. Retrieve the API credentials at runtime by
  • BStore the API credentials in a local code variable. Push the code to a secure Git repository. Use
  • CStore the API credentials as an object in a private Amazon S3 bucket. Restrict access to the S3
  • DStore the API credentials in an Amazon DynamoDB table. Restrict access to the table by using

Explanation

It's not secure to store API keys in git repository. Hence storing it in secret manger is a most secure to way to handle this scenario.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions