Skip to main content

Professional Cloud Architect practice question · Designing for security and compliance

An application needs database passwords and third-party API keys that are versioned, access-controlled with IAM, and…

An application needs database passwords and third-party API keys that are versioned, access-controlled with IAM, and auditable. Which service should store them?

  • ASecret Manager
  • BA Cloud Storage bucket with the secrets in a text file
  • CEnvironment variables committed to the source repository
  • DA ConfigMap in GKE
Show the answer and explanation

Correct answer: A) Secret Manager

Why each option is right or wrong

  • A) Correct. Secret Manager stores secrets as versioned resources with IAM-based access control, audit logging, and optional rotation — the purpose-built home for credentials.
  • B) Incorrect. That lacks versioned secret semantics, fine-grained access, and rotation, and is easy to misconfigure as public.
  • C) Incorrect. Committing secrets to source control is a classic leak vector.
  • D) Incorrect. ConfigMaps are not encrypted secret stores and aren't audited or versioned like Secret Manager.
Exam domain
Designing for security and compliance · ~17.5% of Professional Cloud Architect
Question type
Multiple choice (one answer)

Practise the full Professional Cloud Architect exam

This question is one of a small free sample from the CertRidge Professional Cloud Architect bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.