Flashcardsfor IT Certifications

D1: Secrets, Credentials & Encryption Keys

Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards

Question
Where should app secrets be stored?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Secrets, Credentials & Encryption Keys practice questions and answers
  1. Where should app secrets be stored?
    Secret Manager.
  2. How do Cloud Run apps use secrets?
    Mount as volumes or environment variables referencing Secret Manager.
  3. How do you rotate secrets?
    Add new secret versions and update apps; use rotation schedules/notifications.
  4. Why reference 'latest' version carefully?
    Unexpected changes; pin versions for controlled rollout.
  5. What is Cloud KMS for?
    Create and manage encryption keys (CMEK, application-level encryption).
  6. Secret Manager vs Cloud KMS?
    Secret Manager stores secrets; KMS manages keys and performs cryptographic operations.
  7. How to avoid service account keys?
    Attached service accounts, impersonation and Workload Identity Federation.
  8. What is Workload Identity Federation?
    External workloads get short-lived Google credentials via token exchange.
  9. Which role reads secrets?
    Secret Manager Secret Accessor (roles/secretmanager.secretAccessor).
  10. Why never commit secrets to git?
    They leak easily and persist in history.