PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #88
Your organization is currently updating an existing corporate application that is running in another public cloud to access managed database services in Google Cloud. The application will remain in th
The correct answer is A. Use workload identity federation to impersonate a service account.. Options B and D address human user password management, which is irrelevant here - this is about authenticating a workload (an application) to GCP services, not human users. Option C requires migrating the application to GCP, which directly contradicts the stated constraint that
Question
Your organization is currently updating an existing corporate application that is running in another public cloud to access managed database services in Google Cloud. The application will remain in the other public cloud while the database is migrated to Google Cloud. You want to follow Google-recommended practices for authentication. You need to minimize user disruption during the migration. What should you do?
Options
- AUse workload identity federation to impersonate a service account.
- BAsk existing users to set their Google password to match their corporate password.
- CMigrate the application to Google Cloud, and use Identity and Access Management (IAM).
- DUse Google Workspace Password Sync to replicate passwords into Google Cloud.
How the community answered
(35 responses)- A71% (25)
- B6% (2)
- C9% (3)
- D14% (5)
Explanation
Options B and D address human user password management, which is irrelevant here - this is about authenticating a workload (an application) to GCP services, not human users. Option C requires migrating the application to GCP, which directly contradicts the stated constraint that the application will remain in another public cloud. Option A is correct and aligns with Google's recommended practices: Workload Identity Federation allows applications running outside of GCP (such as on AWS, Azure, or on-premises) to authenticate to Google Cloud services by exchanging their existing identity provider's token (e.g., an AWS IAM role token or Azure Managed Identity token) for a short-lived GCP credential used to impersonate a service account. This eliminates the need to create, distribute, and rotate long-lived service account key files, reduces security risk, requires no changes to how users authenticate, and minimizes disruption during the migration.
Topics
Community Discussion
No community discussion yet for this question.