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 stores confidential audit reports in a private Google Cloud Storage bucket. A third-party compliance auditor who does not have a Google account or IAM credentials in your organization needs temporary access to download specific files within a 2-hour window.
Which approach should you use to grant the auditor secure, time-limited access to the files?
Authenticated browser downloads (cookie-based authentication) allow users to access files via URLs formatted like https://storage.cloud.google.com/BUCKET_NAME/OBJECT_NAME by prompting them to log in with an authenticated Google account.
storage.objects.get IAM or ACL permissions on the object.403 Forbidden (access denied) error.Storage Object Viewer or ACL READ permissions assigned directly to that specific identity.storage.cloud.google.com rather than query-string signed endpoints.The auditor was an internal employee or external collaborator with an existing corporate Google account that had already been granted the Storage Object Viewer role on the bucket.
Authenticated browser downloads are intended for quick human collaboration within an organization, not for sharing private data with external users who lack Google identities.
The Storage Object Admin (roles/storage.objectAdmin) role grants full control over objects within a bucket, including uploading, listing, deleting, and modifying object ACLs.
Storage Object Admin grants full read, write, overwrite, and delete capabilities over all objects in the bucket.A vendor needed long-term, full administrative and upload control over their own dedicated drop box bucket and possessed a valid Google account.
Always apply the principle of least privilege. An auditor only requires temporary read permissions, making administrative roles fundamentally inappropriate.
A Signed URL is a mechanism in Google Cloud Storage that gives time-limited read or write access to a specific Cloud Storage resource. Anyone who possesses the URL can use it to access the specified object without requiring a Google account or IAM permissions of their own, because the URL carries cryptographic authentication derived from a delegated service account.

GET for downloading or PUT for uploading) and specific object paths.curl command.Signed URLs are specifically designed for external, unauthenticated, or third-party sharing where creating and managing temporary IAM principals or Google accounts is impractical or undesired.
Assigning the Storage Object Viewer role to the allUsers principal identifier makes the bucket's contents accessible to anyone on the public internet without any authentication.
allUsers makes sensitive audit reports completely public across the internet for anyone who discovers or guesses the object URL.allUsers).allUsers represents all unauthenticated users on the public internet.allUsers.You were hosting a publicly distributed open-source file or static website asset intended for anonymous download by the general public without authentication.
Security frameworks and cloud posture tools flag allUsers access on private storage buckets as a critical security vulnerability.
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