Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam Professional-Cloud-DevOps-Engineer All Questions
Exam Professional-Cloud-DevOps-Engineer All Questions

View all questions & answers for the Professional-Cloud-DevOps-Engineer exam

Google Cloud DevOps Engineer Professional-Cloud-DevOps-Engineer Question # 41 Topic 5 Discussion

Professional-Cloud-DevOps-Engineer Exam Topic 5 Question 41 Discussion:
Question #: 41
Topic #: 5

You are deploying a Cloud Build job that deploys Terraform code when a Git branch is updated. While testing, you noticed that the job fails. You see the following error in the build logs:

Initializing the backend. ..

Error: Failed to get existing workspaces : querying Cloud Storage failed: googleapi : Error

403

You need to resolve the issue by following Google-recommended practices. What should you do?


A.

Change the Terraform code to use local state.


B.

Create a storage bucket with the name specified in the Terraform configuration.


C.

Grant the roles/ owner Identity and Access Management (IAM) role to the Cloud Build service account on the project.


D.

Grant the roles/ storage. objectAdmin Identity and Access Management (IAM) role to the Cloud Build service account on the state file bucket.


Get Premium Professional-Cloud-DevOps-Engineer Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.