Which provisioner invokes a process on the resource created by Terraform?

Which provisioner invokes a process on the resource created by Terraform?A . remote-exec B. null-exec C. local-exec D. file View Answer Answer: A Explanation: "The local-exec provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource." https://www.terraform.io/language/resources/provisioners/local-exec "The remote-exec provisioner invokes...

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

How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?A . Only Terraform Cloud organization owners can set workspace variables on VCS connected workspaces B. Commit a change to the VCS working directory and branch that the Terraform Cloud workspace is connected to...

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into syslog.

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into syslog.A . True B. False View Answer Answer: B Explanation: TF_LOG_PATH IS NOT REQUIRED, in the docs, they do not mention HAVE TO SET TF_LOG_PATH, it is optional, therefore without TF_LOG_PATH will cause detailed logs to appear on stderr. https://www.computerhope.com/jargon/s/stderr.htm#:~:text=Stderr%2C%20also%20known%20as%20standard,defaults%20to%20the%20user’s%20screen....

How can you do this safely?

You’re building a CI/CD (continuous integration/ continuous delivery) pipeline and need to inject sensitive variables into your Terraform run. How can you do this safely?A . Pass variables to Terraform with a Cvar flag B. Copy the sensitive variables into your Terraform code C. Store the sensitive variables in a secure_vars.tf file D. Store...

All standard backend types support state storage, locking, and remote operations like plan.

All standard backend types support state storage, locking, and remote operations like plan. apply and destroy.A . True B. False View Answer Answer: B Explanation: https://www.terraform.io/language/settings/backends/configuration "Some of these backends act like plain remote disks for state files, while others support locking the state while operations are being performed. This helps prevent conflicts and...