D1: Creating, Disabling & Authorizing Service Accounts
Google Cloud Professional Cloud Security Engineer exam practice questions · 10 flashcards
Question
How to create a service account?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Creating, Disabling & Authorizing Service Accounts practice questions and answers
- How to create a service account?gcloud iam service-accounts create NAME.
- How to disable a service account?gcloud iam service-accounts disable SA_EMAIL.
- Disable vs delete?Disable is reversible; delete is permanent after a recovery window.
- What does actAs (serviceAccountUser) allow?Attaching the SA to resources and running as it.
- How to grant roles on resources to an SA?Add serviceAccount:EMAIL as member in IAM bindings.
- How to control who can use an SA?Grant roles on the SA resource itself.
- Can a deleted SA be undeleted?Within 30 days, using its unique ID.
- Why disable before deleting?Confirm nothing breaks before permanent removal.
- Who should create SAs?Limited admins (Service Account Admin role).
- Org policy to restrict SA creation?iam.disableServiceAccountCreation.