nerdexam
HashiCorp

TA-002-P · Question #167

You want terraform plan and terraform apply to be executed in Terraform Cloud's run environment but the output is to be streamed locally. Which one of the below you will choose?

The correct answer is D. Remote Backends. Remote Backends enable this hybrid execution model. When configured with Terraform Cloud as the remote backend, terraform plan and terraform apply commands are executed in Terraform Cloud's managed run environment (with its own workers, policies, and audit logs), but the output…

Use Terraform Cloud and Terraform Enterprise capabilities

Question

You want terraform plan and terraform apply to be executed in Terraform Cloud's run environment but the output is to be streamed locally. Which one of the below you will choose?

Options

  • ALocal Backends.
  • BTerraform Backends.
  • CThis can be done using any of the local or remote backends.
  • DRemote Backends.

How the community answered

(18 responses)
  • C
    6% (1)
  • D
    94% (17)

Explanation

Remote Backends enable this hybrid execution model. When configured with Terraform Cloud as the remote backend, terraform plan and terraform apply commands are executed in Terraform Cloud's managed run environment (with its own workers, policies, and audit logs), but the output is streamed back to the local terminal in real time. Local backends run everything locally. The question specifically describes the behavior of the remote backend type (e.g., the remote backend using Terraform Cloud).

Topics

#Terraform Cloud#Remote Backend#Remote Operations#Local CLI Streaming

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice