nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #212

You need to manage a third-party application that will run on a Compute Engine instance. Other Compute Engine instances are already running with default configuration. Application installation files a

The correct answer is C. Create a new service account and assign this service account to the new instance.. If an application uses third-party or custom identities and needs to access a resource, such as a BigQuery dataset or a Cloud Storage bucket, it must perform a transition between principals. Because Google Cloud APIs don't recognize third-party or custom identities, the applicati

Submitted by cyberguy42· Mar 30, 2026Configuring access and security

Question

You need to manage a third-party application that will run on a Compute Engine instance. Other Compute Engine instances are already running with default configuration. Application installation files are hosted on Cloud Storage. You need to access these files from the new instance without allowing other virtual machines (VMs) to access these files. What should you do?

Options

  • ACreate the instance with the default Compute Engine service account.
  • BCreate the instance with the default Compute Engine service account.
  • CCreate a new service account and assign this service account to the new instance.
  • DCreate a new service account and assign this service account to the new instance.

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    8% (2)
  • C
    88% (23)

Explanation

If an application uses third-party or custom identities and needs to access a resource, such as a BigQuery dataset or a Cloud Storage bucket, it must perform a transition between principals. Because Google Cloud APIs don't recognize third-party or custom identities, the application can't propagate the end-user's identity to BigQuery or Cloud Storage. Instead, the application has to perform the access by using a different Google identity. https://cloud.google.com/iam/docs/best-practices-for-using-and-managing-service-accounts

Topics

#service accounts#Compute Engine#Cloud Storage access#least privilege

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice