Courseiva
Configuring Access and SecurityeasyMultiple ChoiceObjective-mapped

Google ACE Configuring Access and Security Practice Question

A developer wants to store a database password securely and make it accessible to a Compute Engine instance. Which Google Cloud service should be used?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Secret Manager

Secret Manager is designed for storing secrets like passwords, API keys, and certificates. Cloud KMS is for encryption key management. Cloud Storage is not secure for secrets. Cloud Filestore is for file storage.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Secret Manager

    Why this is correct

    Secret Manager is the correct choice because it is Google Cloud's purpose-built service for storing sensitive data such as database passwords, API keys, and certificates. It provides fine-grained IAM policies, automatic versioning, audit logging of secret access, and integration with services like Cloud Functions and GKE. Additionally, it supports secret rotation and allows you to enforce retention policies, making it the secure and native solution for managing a database password.

  • Cloud Storage

    Why it's wrong here

    Cloud Storage is an object storage service designed for unstructured data such as images, backups, or application files. While you could technically store a password in a text file inside a bucket, Cloud Storage lacks the specialized secret management features like versioned secrets, access-specific audit logs, and IAM conditions tailored to individual secrets. Misconfigured bucket permissions are a common source of data breaches, and using it for secrets would bypass Google Cloud's recommended security model for sensitive credentials.

  • Cloud Filestore

    Why it's wrong here

    Cloud Filestore provides managed network file storage (NFS) for workloads that need shared file systems, such as high-performance computing or legacy applications. It has no concept of secret versioning, secret-level IAM, or audit logging of read access to individual credential values; instead, security relies on POSIX permissions and network access controls. Storing a database password in a Filestore share would expose the plaintext to any process with file read access and would not integrate with Google Cloud's native secret management workflows.

  • Cloud KMS

    Why it's wrong here

    Cloud KMS is a cryptographic key management service that creates, stores, and manages encryption keys, not the secrets themselves. You could use a KMS key to encrypt the password, but the ciphertext would still need to be stored elsewhere, and KMS does not provide versioning, rotation, or audit logging for a secret value like Secret Manager does. In fact, Secret Manager leverages Cloud KMS to encrypt secrets under the hood, so using KMS directly would require you to build your own secret storage layer and would not give you the native access control or audit trail needed for a database password.

About these practice questions

This ACE question is part of Courseiva's 769-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.