Courseiva

Google PCA Designing for Security and Compliance Practice Question

An organization needs to store secrets used by multiple GCP services. They require automatic rotation of secrets every 30 days and integration with Cloud Functions. Which service should they use?

⚠ Common exam trap

PCA often tests the difference between Cloud KMS (encryption keys) and Secret Manager (application secrets). Candidates may confuse the two, especially when rotation is mentioned, as KMS also supports rotation but for keys, not arbitrary secrets.

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 a GCP service designed to store, manage, and access secrets such as API keys, passwords, and certificates. It supports automatic rotation of secrets via integration with Cloud Functions and other services, and provides versioning and audit logging.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Cloud HSM

    Why it's wrong here

    Cloud HSM provides hardware-backed key storage and cryptographic operations, not secret payload storage or scheduled rotation. It is tempting because it hardens key material, but the requirement for automatic 30-day rotation and Cloud Functions integration points to Secret Manager, which handles secret versions and rotation directly.

  • ✗

    Cloud KMS

    Why it's wrong here

    Cloud KMS manages encryption keys and performs cryptographic operations; it does not store secret payloads or rotate them on a schedule. It is tempting because both concern credentials, but automatic 30-day rotation with Cloud Functions integration is Secret Manager's role, not KMS's key lifecycle.

  • ✗

    Cloud Asset Inventory

    Why it's wrong here

    Cloud Asset Inventory catalogs and exports resource metadata; it neither stores secret values nor rotates them. It is tempting because it inventories GCP resources including secrets, but listing assets is unrelated to holding credentials, scheduling 30-day rotation, or serving secrets to Cloud Functions at runtime.

  • ✓

    Secret Manager

    Why this is correct

    Secret Manager stores credentials centrally and supports automatic rotation schedules, meeting the 30-day rotation requirement. Its native integration with Cloud Functions lets workloads retrieve secrets at runtime, satisfying the constraint that multiple GCP services consume the same secrets securely.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

One of 807 original PCA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Google Cloud exam blueprint

This PCA 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 PCA exam.