Question 1
IntermediateConfiguring Access · Configuring Workload Identity Federation
NovaTech is a multi-cloud organization that runs its primary CI/CD pipelines in AWS. These AWS-based pipelines need to deploy infrastructure and upload build artifacts to Google Cloud. The Chief Information Security Officer (CISO) has strictly forbidden the creation and export of long-lived Google Cloud Service Account keys to prevent credential leakage. Which approach is the most secure and optimal way to grant the AWS pipelines access to Google Cloud resources?
Answer and explanation
Correct answer: B
Workload Identity Federation is the optimal and recommended way to grant on-premises or multi-cloud workloads access to Google Cloud resources without using long-lived service account keys. By configuring an identity pool and an AWS provider, AWS workloads can exchange their AWS STS tokens for short-lived Google Cloud access tokens, eliminating the risk of key leakage.
