Easy1 markMultiple Choice
Domain 5.2: Managing service accountsDomain 5Service AccountsCompute Engine

GCP ACE · Question 45 · Domain 5.2: Managing service accounts

When you enable the Compute Engine API in a new project, a default service account is automatically created.

What is the standard email address format for the default Compute Engine service account?

Answer options:

A.

[PROJECT_NUMBER]-compute@developer.gserviceaccount.com

B.

[PROJECT_ID]@appspot.gserviceaccount.com

C.

compute@[PROJECT_ID].iam.gserviceaccount.com

D.

default@[PROJECT_ID].google.com

How to approach this question

Memorize the specific naming conventions for GCP's default service accounts.

Full Answer

A.`[PROJECT_NUMBER]-compute@developer.gserviceaccount.com`✓ Correct
When the Compute Engine API is enabled, GCP automatically creates a default service account. Its email address format is always `[PROJECT_NUMBER]-compute@developer.gserviceaccount.com`. By default, this account is granted the Editor role on the project (though best practice is to change this).

Common mistakes

Confusing the Compute Engine default SA with the App Engine default SA (`@appspot.gserviceaccount.com`), or thinking it uses the Project ID instead of the Project Number.

Practice the full GCP Associate Cloud Engineer Practice Exam 5

50 questions · hints · full answers · grading

More questions from this exam