The -refresh-only parameter will update your state file when used with terraform plan.
- ATrue
- BFalse (correct answer)
Reveal answer & explanationHide answer
The correct answer is B. Option B: False
Page 2 of 2 Β· 26 total questions.
The -refresh-only parameter will update your state file when used with terraform plan.
The correct answer is B. Option B: False
It is _________ to change the Terraform backend from the default local backend to a different one after performing your first terraform apply.
The correct answer is D. Option D: optional
If you manually destroy resources within your infrastructure, what is the best practice for reflecting this change in Terraform?
The correct answer is C. Option C: Remove the resource definition from your file and run terraform apply -refresh-only.
Explanation
terraform apply executes the dependency-aware changes required to make infrastructure match the configuration.
When a check blockβs assertion fails, Terraform blocks the current operation from executing.
The correct answer is B. Option B: False
Which of the following does HCP Terraform perform during a health assessment for a workspace? (Choose two.)
The correct answer is B, D. Option B: Resource drift detection Option D: Check block validation
Explanation
Infrastructure drift occurs when remote objects change outside Terraform so their real attributes differ from configuration and state.
You can configure multiple cloud blocks in your Terraform configuration to connect your workspace to both HCP Terraform and your Terraform Enterprise instance.
The correct answer is B. Option B: False
Showing questions 21β26 of 26 Β· Page 2 of 2