How does Terraform manage most dependencies between resources?
Answer(s): A
This is how Terraform manages most dependencies between resources, by using the references between them in the configuration files. For example, if resource A depends on resource B, Terraform will create resource B first and then pass its attributes to resource A.
You have declared a variable called var.list which is a list of objects that all have an attribute id . Which options will produce a list of the IDs? Choose two correct answers.
Answer(s): B,C
These are two ways to produce a list of the IDs from a list of objects that have an attribute id, using either a for expression or a splat expression syntax.
It is best practice to store secret data in the same version control repository as your Terraform configuration.
Answer(s): B
It is not a best practice to store secret data in the same version control repository as your Terraform configuration, as it could expose your sensitive information to unauthorized parties or compromise your security. You should use environment variables, vaults, or other mechanisms to store and provide secret data to Terraform.
_______backends support state locking.
Answer(s): C
Some backends support state locking, which prevents other users from modifying the state file while a Terraform operation is in progress. This prevents conflicts and data loss. Not all backends support this feature, and you can check the documentation for each backend type to see if it does.
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.