Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your company is deploying an automated data processing application on a Compute Engine virtual machine (VM) in Google Cloud. The application needs to read source files from and write processed results to a Cloud Storage bucket without requiring human user interaction or personal login credentials.
Which IAM principal type should you create and grant access to for this application workload?
A service account is a special type of Google Cloud identity intended for applications, compute workloads, and virtual machines rather than individual human users. It is identified by a unique email address (such as custom-app@project-id.iam.gserviceaccount.com) and allows programmatic tasks to authenticate and call Google Cloud APIs securely.
roles/storage.objectAdmin) directly to the service account, giving the VM instance only the permissions necessary to access the specified Cloud Storage bucket.Using a service account is Google's recommended practice for workload identities. It isolates application permissions from human personnel, adheres to the principle of least privilege, and prevents operational disruptions when employee accounts change or are deprovisioned.
A Google Group is a named collection of Google Accounts and service accounts identified by a single group email address (such as cloud-engineers@example.com).
You had a team of multiple cloud operators or analysts who all required identical read access to the Cloud Storage bucket and you wanted to manage their access collectively.
While a service account can be added as a member of a Google Group, the application itself still runs as a service account.
A Google Account represents an individual human user (such as a developer, administrator, or employee) authenticated through an @gmail.com address or a corporate email managed by Cloud Identity or Google Workspace.
A developer or system administrator needed personal access to log into the Google Cloud console or run gcloud CLI commands from their workstation.
Google Accounts should be used exclusively for human users who require individual access and interactive sign-in sessions.
A Google Workspace domain represents all user accounts created within an organization's registered internet domain name (such as example.com).
Your organization wanted to make general corporate documentation or non-sensitive internal reference data accessible to every employee in the company directory simultaneously.
Google Workspace domains are used for organization-wide identity management and collaboration sharing, never for workload-level compute permissions.
Change the inputs and watch how the outcome changes.

Change the principal type and workload context to see whether the application can reach the Cloud Storage bucket without human login.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated