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)
Related Professional Cloud Architect questions
- The finance group should be able to view invoices, cost reports, and budgets for the billing account but must not be…Designing for security and compliance
- Leadership wants a single place to continuously surface misconfigurations (public buckets, open firewall rules…Designing for security and compliance
- Internal microservices must present short-lived X.509 certificates to each other for mutual TLS, and the company wants…Designing for security and compliance
- Security Command Center Premium raises a cryptomining finding for a Compute Engine VM.Designing for security and compliance
All 49 free Professional Cloud Architect questions by domain · 15 sample questions on one page
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.