D1: Securing Service Accounts
Google Cloud Professional Cloud Security Engineer exam practice questions · 10 flashcards
Question
What is a service account?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Securing Service Accounts practice questions and answers
- What is a service account?A non-human identity for workloads.
- When are service accounts required?Applications/VMs/pipelines calling Google APIs without a user.
- Risk of default service accounts?Historically granted Editor role automatically.
- Org policy to stop automatic Editor grants?iam.automaticIamGrantsForDefaultServiceAccounts.
- Best practice for default SAs?Don't use them; create dedicated least-privilege SAs.
- Why one SA per workload?Least privilege and clear auditing.
- What are service agents?Google-managed SAs that services use to act on your resources.
- How to find unused service accounts?Service account insights/unused SA recommender.
- How to protect SAs from misuse?Limit who has serviceAccountUser/TokenCreator on them.
- Why are SAs high-value targets?Attackers can impersonate them to access resources.