Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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