Google Cloud Professional Cloud Security Engineer Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Prepare for the Google Cloud Professional Cloud Security Engineer Exam with our interactive quiz. Study with flashcards and multiple-choice questions, complete with hints and explanations. Ace your exam with confidence!

Practice this question and more.


What is the best method to securely store plain text secrets in Google Cloud Platform?

  1. Use a public repository to share secrets

  2. Encrypt the secrets with a Customer-Managed Encryption Key (CMEK)

  3. Store secrets directly in source code

  4. Use Cloud SQL for secret storage

The correct answer is: Encrypt the secrets with a Customer-Managed Encryption Key (CMEK)

The best method to securely store plain text secrets in Google Cloud Platform is to encrypt the secrets with a Customer-Managed Encryption Key (CMEK). This approach enhances security by ensuring that sensitive data, such as API keys, passwords, and other confidential information, is stored in an encrypted format. Using CMEK allows organizations to have control over their encryption keys, offering an additional layer of security by enabling key rotation, auditing, and compliance with various security standards. This level of control helps in managing access to secrets more effectively while safeguarding them from unauthorized access. The other methods suggested are not secure practices. Storing secrets in a public repository significantly increases the risk of exposure to unauthorized individuals, which is counterproductive to maintaining confidentiality. Putting secrets directly in source code is also a poor practice, as it leads to potential leaks when the code is shared, version-controlled, or deployed. Although Cloud SQL could be used for storing secrets, it is not inherently designed for secret management and does not provide specialized functionalities such as encryption management, access control, or auditing specifically tailored for sensitive information. Thus, using CMEK is the most secure and appropriate option for managing plain text secrets in Google Cloud Platform.