nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #85

Your company uses Jenkins running on Google Cloud VM instances for CI/CD. You need to extend the functionality to use infrastructure as code automation by using Terraform. You must ensure that the Ter

Sign in or unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to reveal the answer and full explanation for question #85. The question stem and answer options stay visible for context.

Submitted by omar99· Apr 18, 2026Building and implementing CI/CD pipelines for a service

Question

Your company uses Jenkins running on Google Cloud VM instances for CI/CD. You need to extend the functionality to use infrastructure as code automation by using Terraform. You must ensure that the Terraform Jenkins instance is authorized to create Google Cloud resources. You want to follow Google-recommended practices. What should you do?

Options

  • AConfirm that the Jenkins VM instance has an attached service account with the appropriate
  • BUse the Terraform module so that Secret Manager can retrieve credentials.
  • CCreate a dedicated service account for the Terraform instance. Download and copy the secret
  • DAdd the gcloud auth application-default login command as a step in Jenkins before running the

Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER questions. Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#CI/CD#Terraform#IAM#Service Accounts
Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice