Flashcardsfor IT Certifications

D4: Creating Service Accounts

Google Cloud Associate Cloud Engineer exam practice questions · 11 flashcards

Question
What is a service account?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 Creating Service Accounts practice questions and answers
  1. What is a service account?
    A non-human identity used by applications and workloads.
  2. Service account email format?
    NAME@PROJECT_ID.iam.gserviceaccount.com.
  3. How do you create a service account?
    gcloud iam service-accounts create NAME --display-name=...
  4. What are default service accounts?
    Created when some services are enabled, e.g. Compute Engine default SA (PROJECT_NUMBER-compute@developer.gserviceaccount.com).
  5. Why avoid default service accounts?
    They can have broad roles (historically Editor).
  6. Which org policy stops automatic Editor grants to default SAs?
    iam.automaticIamGrantsForDefaultServiceAccounts.
  7. What are Google-managed service accounts (service agents)?
    Accounts Google uses to act on your resources, e.g. service-PROJECT_NUMBER@...gserviceaccount.com.
  8. Should you delete service agents?
    No; services may break.
  9. How do you disable a service account?
    gcloud iam service-accounts disable SA_EMAIL.
  10. How do you list service accounts?
    gcloud iam service-accounts list.
  11. Best practice: one SA per what?
    Per application/workload, with only needed roles.