Free Terraform-Associate-003 Actual Exam Questions - Question 14 Discussion

Question No. 14
[Navigate Terraform State and Backends]
What Terraform command always causes a state file to be updated with changes that might have
been made outside of Terraform?
Select one option, then reveal solution.
US
ZP
Zain P.
2026-02-12

Makes sense that only option A actually syncs the state with real infrastructure changes without applying new ones. So, I’d go with A.

0
RK
Ryan K.
2026-02-11

B just shows the state information in JSON format—it doesn’t update anything. So it can’t be that one. Wouldn’t the command have to do some kind of refresh or sync to update the state file?

0
AF
Ali F.
2026-01-25

A, it’s the only one that refreshes state without applying changes.

0
MR
Marco R.
2026-01-21

A imo, it forces state refresh without applying anything new.

0
MR
Marco R.
2026-01-17

It’s A. Plan with –refresh-only is made exactly for syncing state with real infrastructure changes without applying anything new, so it updates state after external changes. The others don’t do that.

0
OV
Omar V.
2026-01-15

A vs D? I’m not sure the question explains enough about target-state in plan. I thought plan -refresh-only was what updates state after outside changes. Anyone confirm?

0