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

44 minutes, 42 seconds remaining!

GCP Professional Cloud Security Engineer Practice Question

Your security team has enforced two organization-wide controls on a Cloud Storage bucket that stores sensitive audit logs: (1) uniform bucket-level access is on, so no object ACLs are allowed, and (2) public access prevention blocks the use of the IAM principals allUsers and allAuthenticatedUsers. An external auditor who does not have a Google account needs read-only access to a single log object for the next 12 hours. You must satisfy the request without changing or violating the existing bucket controls and without granting broader or longer-lived access than necessary. What should you do?

  • Generate a V4 signed URL for the required object that expires in 12 hours and send the URL to the auditor.

  • Grant the Storage Object Viewer role on the bucket to a new service account, then email the auditor the service account's JSON key so they can access the object with gcloud.

  • Add an IAM binding that grants roles/storage.objectViewer to allAuthenticatedUsers, then remove the binding after 12 hours.

  • Apply a predefined reader object ACL to the specific object for allUsers and configure Object Lifecycle Management to remove the ACL after 12 hours.

GCP Professional Cloud Security Engineer
Ensuring data protection
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