What does Terraform not reference when running a terraform apply -refresh-only ?
Answer(s): D
When running a terraform apply -refresh-only, Terraform does not reference the configuration files,but only the state file, credentials, and cloud provider. The purpose of this command is to update the state file with the current status of the real resources, without making any changes to them.
Which of the following is not a valid Terraform variable type?
Answer(s): B
This is not a valid Terraform variable type. The other options are valid variable types that can store different kinds of values.
You decide to move a Terraform state file to Amazon S3 from another location. You write the code below into a file called backend.tf.Which command will migrate your current state file to the new S3 remote backend?
This command will initialize the new backend and prompt you to migrate the existing state file to the new location. The other commands are not relevant for this task.
Your DevOps team is currently using the local backend for your Terraform configuration. You would like to move to a remote backend to store the state file in a central location. Which of the following backends would not work?
This is not a valid backend for Terraform, as it does not support locking or versioning of state files. The other options are valid backends that can store state files in a central location.
Post your Comments and Discuss HashiCorp Terraform-Associate-003 exam with other Community members:
Marc commented on October 18, 2024 What the best way to learn terraform? UNITED STATES upvote
Chandra commented on October 09, 2024 This is the best and only way of passing this exam as it is extremely hard. Good questions and valid dump. INDIA upvote
Madhan commented on September 26, 2024 Useful questions INDIA upvote
Abu commented on September 22, 2024 I did not know these questions were available online. I did not believe and trust them and studied quite a lot and just used these questions for practice. But most of the questions turned out to be in the exam. UNITED STATES upvote
Sahin commented on July 04, 2024 Need que to learn new things UNITED STATES upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the Terraform-Associate-003 content, but please register or login to continue.