Professional Cloud Developer Exam QuestionsBrowse all questions from this exam

Professional Cloud Developer Exam - Question 324


Your infrastructure team uses Terraform Cloud and manages Google Cloud resources by using Terraform configuration files. You want to configure an infrastructure as code pipeline that authenticates to Google Cloud APIs. You want to use the most secure approach and minimize changes to the configuration. How should you configure the authentication?

Show Answer
Correct Answer:

Discussion

1 comment
Sign in to comment
Sandesh24Option: C
Mar 1, 2025

Using workload identity federation allows Terraform Cloud to securely access Google Cloud APIs without relying on long-lived service account keys. This method minimizes changes to your configuration while following Google’s best practices for secure authentication. It eliminates the risks associated with managing and rotating service account keys and provides a seamless and secure integration between Terraform Cloud and Google Cloud.