Google Professional Cloud Security Engineer Question 36
Select 3Google Cloud PlatformYour organization uses an external identity provider (IdP) to manage workforce authentication. You need to configure Workforce Identity Federation in Google Cloud to allow users from your IdP to access resources in your Google Cloud project without creating and managing Google accounts. Which of the following steps are required to achieve this?
- A
Create a workload identity pool in Google Cloud.
- B
Configure a service account in Google Cloud with the appropriate IAM permissions.
- C
Link the external identity provider to the workload identity pool.
- D
Set up a Cloud VPN connection between the IdP and Google Cloud for user authentication.
- E
Define an IAM policy binding to allow members of the workload identity pool access to specific Google Cloud resources.
Show answer and explanation
Correct answers: A, C, E
Explanation
Workforce Identity Federation allows external identity providers to authenticate users for Google Cloud resources without managing Google accounts. The key steps are creating a workload identity pool, linking the external IdP to the pool, and setting up IAM policy bindings to define access. Service accounts and Cloud VPN are not involved in this configuration.
- A. Correct.
Creating a workload identity pool is a required step to set up Workforce Identity Federation, as it acts as a container for external identities.
- B. Incorrect.
Configuring a service account is not directly required for Workforce Identity Federation setup. Service accounts are used for applications, not workforce users.
- C. Correct.
Linking the external identity provider to the workload identity pool is crucial to enable Google Cloud to trust and authenticate users from the IdP.
- D. Incorrect.
A Cloud VPN connection is not required for Workforce Identity Federation. Authentication relies on tokens and not network-level connectivity.
- E. Correct.
Defining an IAM policy binding is necessary to grant appropriate access to Google Cloud resources for members of the workload identity pool.