TF-003 Use the core Terraform workflow Practice Question
This TF-003 practice question tests your understanding of use the core terraform workflow. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Refer to the exhibit.
```
$ terraform plan -out=tfplan
$ terraform apply "tfplan"
```
The developer runs the commands above. During the apply, the network connection is lost and the command fails halfway through. The developer re-establishes connectivity and runs `terraform apply` again without specifying a plan file. What will happen?
Refer to the exhibit. A developer runs `terraform plan -out=tfplan` and then `terraform apply "tfplan"`. During apply, network fails and apply is interrupted. The developer then runs `terraform apply` again (without a plan file). What will happen?
Refer to the exhibit.
```
$ terraform plan -out=tfplan
$ terraform apply "tfplan"
```
The developer runs the commands above. During the apply, the network connection is lost and the command fails halfway through. The developer re-establishes connectivity and runs `terraform apply` again without specifying a plan file. What will happen?
A
It will automatically use the previously saved plan file `tfplan`
Why wrong: You must explicitly specify the plan file; otherwise it creates a new plan.
B
It will fail because the state is locked from the previous apply
Why wrong: The lock would have been released after the incomplete apply (or stale lock).
C
It will create a new plan and apply only the changes that are still needed
Correct! Terraform will refresh state, determine what's already created, and apply only remaining changes.
D
It will resume the previous apply from where it left off
Why wrong: Terraform does not automatically resume; it creates a new plan based on current state.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
It will create a new plan and apply only the changes that are still needed
When `terraform apply` is run without a plan file, Terraform automatically creates a new plan based on the current state and configuration, then applies only the changes that are still needed. Since the previous apply was interrupted, the state file reflects the partial progress, and the new plan will detect any remaining resources that still need to be created, updated, or destroyed, ensuring idempotent behavior.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
It will automatically use the previously saved plan file `tfplan`
Why it's wrong here
You must explicitly specify the plan file; otherwise it creates a new plan.
✗
It will fail because the state is locked from the previous apply
Why it's wrong here
The lock would have been released after the incomplete apply (or stale lock).
✓
It will create a new plan and apply only the changes that are still needed
Why this is correct
Correct! Terraform will refresh state, determine what's already created, and apply only remaining changes.
Related concept
Read the scenario before looking for a memorised answer.
✗
It will resume the previous apply from where it left off
Why it's wrong here
Terraform does not automatically resume; it creates a new plan based on current state.
Common exam traps
Common exam trap: answer the scenario, not the keyword
HashiCorp often tests the misconception that Terraform can resume or automatically reuse a plan file after an interruption, when in fact it always re-plans from the current state to ensure consistency.
Detailed technical explanation
How to think about this question
Under the hood, Terraform's apply operation is not atomic; it processes resources in dependency order, updating the state incrementally. When interrupted, the state file is left in a partially updated state, and a subsequent `terraform apply` will refresh the state, compare it to the configuration, and generate a new plan that accounts for already-created resources. This behavior is critical in real-world CI/CD pipelines where network issues or timeouts can interrupt applies, and the next run must safely reconcile the desired state without manual intervention.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A practitioner preparing for the TF-003 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Use the core Terraform workflow — This question tests Use the core Terraform workflow — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: It will create a new plan and apply only the changes that are still needed — When `terraform apply` is run without a plan file, Terraform automatically creates a new plan based on the current state and configuration, then applies only the changes that are still needed. Since the previous apply was interrupted, the state file reflects the partial progress, and the new plan will detect any remaining resources that still need to be created, updated, or destroyed, ensuring idempotent behavior.
What should I do if I get this TF-003 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This TF-003 practice question is part of Courseiva's free HashiCorp certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the TF-003 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.