Let’s Get Certified

Terraform 004 practice questions with explanations

Practice saved plans, state identity, workspace permissions and sensitive values. Check the worked reasoning and then change one assumption.

By Let’s Get Certified · Published

Official guide · Terraform 004 · Terraform 1.12 objective list

Commit to a choice before opening its explanation. Each original practice case includes a follow-up that changes the decision.

Saved plan

The approved artifact was produced before a different run completed an apply. What should the release owner do?

  1. Compare a fresh plan and obtain review
  2. Apply a different workspace’s saved plan
  3. Treat validation as equivalent to review
Show answer and reasoning

Compare a fresh plan and obtain review

The state changed after the proposal was reviewed. A new plan shows the current operations.

Change the scenario

If the state is still current, verify that the exact approved plan is used.

Review the underlying decision. Worked lesson case. Take a timed Terraform 004 practice exam.

Resource identity

An unchanged object is moving to a child module. Which evidence should the reviewer request?

  1. A success message from fmt
  2. A plan recognizing the address move with no remote replacement
  3. A list of installed provider binaries
Show answer and reasoning

A plan recognizing the address move with no remote replacement

An address move should connect the new configuration to the existing state object.

Change the scenario

If a provider argument also changed, evaluate that separate action.

Review the underlying decision. Worked lesson case. Take a timed Terraform 004 practice exam.

Workspace permissions

A production plan is ready but an operator cannot approve the apply. What should the owner inspect?

  1. Provider version constraints
  2. Output sensitivity
  3. Workspace permissions and blocking run policies
Show answer and reasoning

Workspace permissions and blocking run policies

Apply authorization and policy checks govern progression after planning.

Change the scenario

A speculative pull request plan cannot be promoted by approving it.

Review the underlying decision. Worked lesson case. Take a timed Terraform 004 practice exam.

Sensitive state

A variable is marked sensitive. The requirement is that its short-lived value never persist in the Terraform state. Which design should the reviewer evaluate?

  1. Disable colored terminal output.
  2. Protect the repository branch and keep the current resource argument.
  3. Use an ephemeral input in a supported write-only argument and verify the resulting state.
Show answer and reasoning

Use an ephemeral input in a supported write-only argument and verify the resulting state.

Sensitive display redaction and persistence are independent. The receiving provider argument must support the intended data flow. Test with a synthetic value in a disposable workspace.

Change the scenario

If the provider only exposes a normal persisted argument, review a different credential delivery mechanism and control access to any state already written.

Review the underlying decision. Practice with the recording. Take a timed Terraform 004 practice exam.

What should I practice next?

After the first paper, label each miss by the evidence needed to answer it: configuration, state, a plan or workspace permissions. Revisit that lesson and try the second paper without the map.