nerdexam
HashiCorpHashiCorp

TA-002-P · Question #95

TA-002-P Question #95: Real Exam Question with Answer & Explanation

The correct answer is B: Commit a change to the VCS working directory and branch that the Terraform Cloud. Committing a change to the VCS branch configured for a Terraform Cloud workspace automatically queues a new Terraform run.

Use Terraform Cloud and Terraform Enterprise capabilities

Question

How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?

Options

  • AOnly Terraform Cloud organization owners can set workspace variables on VCS
  • BCommit a change to the VCS working directory and branch that the Terraform Cloud
  • COnly members of a VCS organization can open a pull request against repositories that
  • DOnly Terraform Cloud organization owners can approve plans in VCS connected

Explanation

Committing a change to the VCS branch configured for a Terraform Cloud workspace automatically queues a new Terraform run.

Common mistakes.

  • A. Setting workspace variables is governed by Terraform Cloud's role-based access control, not restricted solely to organization owners.
  • C. The ability to open pull requests against a VCS repository is controlled by the VCS provider's own repository permission settings, not by Terraform Cloud organization membership.
  • D. Plan approval rights in Terraform Cloud are assigned through workspace-level permissions and are not exclusive to organization owners.

Concept tested. Triggering Terraform Cloud runs via VCS integration

Reference. https://developer.hashicorp.com/terraform/cloud-docs/run/ui

Topics

#Terraform Cloud#VCS Integration#Run Trigger#Workspaces

Community Discussion

No community discussion yet for this question.

Full TA-002-P PracticeBrowse All TA-002-P Questions