TA-002-P · Question #214
The terraform state command can be used to ____
The correct answer is A. Update current state. The terraform state command is used for advanced state management, including moving resources (terraform state mv), removing resources (terraform state rm), and listing/showing state - all of which effectively update the current state. It is a valid command with several…
Question
The terraform state command can be used to ____
Options
- AUpdate current state
- BRefresh existing state file
- CPrint the current state file in console
- DIt is not a valid command
How the community answered
(41 responses)- A88% (36)
- B7% (3)
- C2% (1)
- D2% (1)
Explanation
The terraform state command is used for advanced state management, including moving resources (terraform state mv), removing resources (terraform state rm), and listing/showing state - all of which effectively update the current state. It is a valid command with several subcommands. Options B and C describe terraform refresh and terraform show respectively.
Topics
Community Discussion
No community discussion yet for this question.