🔥 40% Off Crucial Exams Memberships — Deal ends today!

3 hours, 1 minute remaining!

GCP Professional Cloud Security Engineer Practice Question

A software team is building a cross-platform mobile app that lets Google Workspace users view and update objects in their own Cloud Storage buckets. Security has mandated the following:

  • The app must never embed or distribute long-lived Google credentials.
  • Each user must grant only the minimum necessary permissions.
  • Users must be able to withdraw the app's access at any time without changing their passwords. Which approach best satisfies all requirements?
  • Embed an API key restricted to Cloud Storage in the application code and rotate the key monthly.

  • Package a dedicated service account key with the mobile app and grant it the Storage Object Admin IAM role.

  • Implement the OAuth 2.0 authorization-code flow and request only the Cloud Storage read/write scope, storing the refresh token securely on the backend.

  • Use Workload Identity Federation with a public identity pool that maps each device ID to a Storage service account.

GCP Professional Cloud Security Engineer
Configuring Access
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot