D1: Creating & Managing Service Accounts
Google Cloud Professional Cloud DevOps Engineer exam practice questions · 10 flashcards
Question
Why dedicated service accounts per workload?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Creating & Managing Service Accounts practice questions and answers
- Why dedicated service accounts per workload?Least privilege and auditability.
- Avoid default compute SA?It may have broad roles; use custom SAs.
- CI/CD service account best practice?Separate SA per pipeline/environment with minimal roles.
- Keyless auth from external CI?Workload Identity Federation.
- Impersonation role?Service Account Token Creator.
- Attach SA to resources role?Service Account User (actAs).
- Cloud Build default SA changes?Use a user-specified SA for builds where possible.
- Disable unused SAs?Use unused SA insights; disable before deleting.
- Workload Identity Federation for GKE?Pods use KSAs mapped to IAM without keys.
- SA key risks?Long-lived, leakable credentials.