How Should You Secure Cloud Run with Browser SSO?
Short answer
D Activate Identity-Aware Proxy on the backend and assign the IAP-secured Web App User role to restrict access to authorized users.
Question
Key Takeaways
Tests knowledge of Google Cloud access control mechanisms, specifically distinguishing between native IAM roles and network-level controls versus a dedicated secure gateway like IAP for web SSO.
Securing internet-exposed Cloud Run services requires a centralized authentication proxy that integrates with organizational identity. This page establishes why Identity-Aware Proxy is the correct architectural choice for enforcing browser-based single sign-on.
Common mistake: Learners often select Option A or C, mistakenly believing Cloud Run has a native authentication toggle or that IP-based firewall rules can handle user-level browser SSO without additional identity providers.
Expert Analysis
Why the Answer Is Correct
Identity-Aware Proxy (IAP) acts as a reverse proxy that intercepts HTTP/HTTPS requests before they reach the Cloud Run service. It handles user authentication against Google Cloud Identity, enabling seamless browser-based single sign-on, and enforces authorization using the specific IAP-secured Web App User IAM role. This architecture perfectly satisfies the requirement to restrict access to designated organizational users while maintaining internet exposure via the Application Load Balancer.
Why the Other Options Are Wrong
Option A incorrectly assumes Cloud Run includes a built-in authentication switch; it actually delegates interactive web authentication to external proxies like IAP. Option B assigns the Cloud Run User role, which grants management permissions rather than execution or access rights, providing zero authentication layer. Option C restricts traffic at the network layer using static IP whitelisting, which fails to authenticate individual users and contradicts the stated internet-facing ALB design.
Community Comment Notes
Community consensus strongly favors this option, with multiple learners noting that IAP provides centralized access control and integrates natively with Google Identity. As one contributor summarized, this setup is the standard Google-recommended pattern for securing web workloads behind load balancers. The unanimous vote distribution confirms that test-takers recognize IAP as the definitive solution for browser SSO scenarios.
Official Reference
https://cloud.google.com/iap/docs/concepts-overview
This link opens the official vendor documentation in a new tab.
Exam Strategy
When a question specifies browser access with single sign-on for an internet-facing workload, immediately look for a managed identity gateway like IAP. Avoid options that rely on native service toggles or static IP restrictions when user-level authentication and session management are explicitly required.
Frequently Asked Questions
Why isn't Cloud Run Invoker used for browser access?
Can firewall rules replace IAP for user authentication?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
Mr_MIXER007 👍 2 Answered DThe correct answer is D. Activate Identity-Aware Proxy (IAP) on the Application Load Balancer backend. Assign the role of IAP-secured Web App User to the group of privileged users. Here's why: IAP for Authentication and Authorization: IAP provides a centralized way to control access to your Cloud Run service, ensuring that only authenticated users can reach it. It integrates seamlessly with Cloud Identity for user management and supports single sign-on (SSO) for a smooth user experience. Role-Based Access Control: By assigning the IAP-secured Web App User role to the group of privileged users, you can precisely control who has access to the application.
-
yokoyan 👍 1 Answered DI think it's D.
-
1e22522 👍 1 Answered Dshould be D
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.