Flashcardsfor IT Certifications

D2: Build-Time vs Runtime Secret Injection

Google Cloud Professional Cloud DevOps Engineer exam practice questions · 10 flashcards

Question
Build-time secret injection?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Build-Time vs Runtime Secret Injection practice questions and answers
  1. Build-time secret injection?
    Secrets available during build steps (e.g. private package tokens).
  2. Runtime secret injection?
    Secrets fetched or mounted when the app runs.
  3. Why prefer runtime injection for app secrets?
    Secrets aren't baked into images and can rotate without rebuild.
  4. Risk of build-time secrets in images?
    Secrets persist in image layers.
  5. Cloud Build secrets?
    availableSecrets with secretEnv in steps.
  6. Docker build secrets safely?
    BuildKit secret mounts, not ARG/ENV.
  7. Runtime on GKE?
    Secret Manager add-on or CSI driver.
  8. Runtime on Cloud Run?
    Secret Manager references.
  9. Rotation impact?
    Runtime injection picks up new versions.
  10. Detect leaked secrets in images?
    Scanning tools and reviews.