LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Google Professional Cloud Developer

Google Professional Cloud Developer

Get started today

Ultimate access to all questions.


Your team is developing a serverless web application on Cloud Run that requires access to images stored in a private Cloud Storage bucket. You need to grant the application IAM permissions to access the bucket's images while following Google's recommended security best practices. What steps should you take?

Exam-Like



Explanation:

The correct approach involves securing the bucket and using least privilege. Enforcing public access prevention ensures the bucket cannot be made public, a Google best practice. Using a user-managed service account (instead of the default Compute Engine account) allows granular permissions. Granting the Storage Object Viewer role to this service account provides the necessary access without excessive privileges. Options A/B use the default service account (insecure), and C suggests signed URLs, which are unnecessary here as the app itself (not end-users) needs access.

Powered ByGPT-5