LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


Your E-commerce website consists of 30 microservices, each with its own dedicated database backend. What is the most secure method to store the credentials?

Real Exam



Explanation:

Storing credentials in the source code (A) is insecure because it makes them discoverable in plain text to anyone with access to the source code. Using a config file with restricted access (B) is better but still requires manual updates and poses risks if the file contains plain text credentials. Environment variables (C) are not ideal because they need to be available in plain text when the session starts. The most secure option is a secret management system (D), which handles credentials securely by generating, using, rotating, encrypting, and destroying cryptographic keys, and managing permissions to those keys.

For more information, visit:

  • Google Cloud Secret Manager
  • Google Cloud Secret Manager Documentation
Powered ByGPT-5