Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 140 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 140
Topic #: 1
[All Terraform Associate Questions]

Terraform variable names are saved in the state file.

  • A. True
  • B. False
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
keiffo2
Highly Voted 2 years, 2 months ago
terraform state is a representation of your infrastructure, not of your config file, so variables wouldn't be stored in state. FALSE
upvoted 10 times
...
camps
Highly Voted 1 year, 7 months ago
Selected Answer: B
B. False. Terraform variable names are not saved in the state file. The state file contains information about the resources that Terraform manages, such as their current state and metadata. Variables are used in your Terraform configuration to parameterize your code and make it more reusable, but they are not saved in the state file. Instead, variable values are provided at runtime, either by passing them on the command line, through environment variables, or by using default values defined in your configuration.
upvoted 7 times
...
Nunyabiznes
Most Recent 1 year, 7 months ago
Selected Answer: B
B. False. Terraform variable names are not saved in the state file. The state file contains the actual values of the resources that were created or modified by Terraform.
upvoted 1 times
...
RVivek
2 years, 2 months ago
Selected Answer: B
I checked in my lab. variable name is not stored in state file
upvoted 3 times
...
dani88ge
2 years, 2 months ago
Selected Answer: B
I choose B! For sure.
upvoted 1 times
...
depal_dhir
2 years, 2 months ago
Selected Answer: B
Terraform stores information about your infrastructure in a state file. This state file keeps track of resources created by your configuration and maps them to real-world resources. https://learn.hashicorp.com/tutorials/terraform/state-cli
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...