D1: Securing & Auditing Service Account Keys
Google Cloud Professional Cloud Security Engineer exam practice questions · 10 flashcards
Question
Why avoid service account keys?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Securing & Auditing Service Account Keys practice questions and answers
- Why avoid service account keys?Long-lived credentials that can leak and be misused.
- Org policy to block key creation?iam.disableServiceAccountKeyCreation.
- Org policy to block key upload?iam.disableServiceAccountKeyUpload.
- Org policy to force key expiry?iam.serviceAccountKeyExpiryHours.
- Max user-managed keys per SA?10.
- How to find unused keys?Key usage insights/activity analysis in Policy Intelligence.
- What happens if Google detects a leaked key?Google can notify and, by policy, disable it automatically.
- How to rotate keys?Create new key, update apps, delete old key.
- Alternatives to keys?Attached SAs, impersonation, Workload Identity Federation.
- Where to store unavoidable keys?Secret Manager, never in code repositories.