Google Cloud Professional Cloud Security Engineer — Question 140

Your company recently published a security policy to minimize the usage of service account keys. On-premises Windows-based applications are interacting with Google Cloud APIs. You need to implement Workload Identity Federation (WIF) with your identity provider on-premises.

What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because it specifies the need to create a workload identity pool with ADFS and configure a rule for impersonation, which is a secure approach. Option B is incorrect because allowing all principals to impersonate the service account without restrictions can lead to security vulnerabilities. Options C and D are also incorrect as they involve using an OIDC service instead of ADFS, which would not align with the requirement to use the corporate ADFS.