CompTIA Cloud+ (CV0-003) — Question 116

A production engineer is configuring a new application, which is running in containers, that requires access to a database. Which of the following methods will allow the application to authenticate to the database in the MOST secure way?

Answer options

Correct answer: D

Explanation

The correct answer is D, as using the orchestrator's secret manager ensures that credentials are stored securely and can be managed centrally with access controls. Options A and C expose credentials either directly or indirectly, while option B, although more secure than A and C, still does not provide the same level of security and management capabilities as a dedicated secret manager.