One remote backend configuration always maps to a single remote workspace.

One remote backend configuration always maps to a single remote workspace.A . TrueB . FalseView AnswerAnswer: A Explanation: Reference: https://www.terraform.io/docs/language/settings/backends/remote.html

August 29, 2021 No Comments READ MORE +

When running the command terraform taint against a managed resource you want to force recreation upon, Terraform will immediately destroy and recreate the resource.

When running the command terraform taint against a managed resource you want to force recreation upon, Terraform will immediately destroy and recreate the resource.A . TrueB . FalseView AnswerAnswer: B

August 29, 2021 No Comments READ MORE +

In Terraform 0.13 and above, outside of the required_providers block, Terraform configurations always refer to providers by their local names.

In Terraform 0.13 and above, outside of the required_providers block, Terraform configurations always refer to providers by their local names.A . TrueB . FalseView AnswerAnswer: A Explanation: Outside of the required_providers block, Terraform configurations always refer to providers by their local names. Reference: https://www.terraform.io/docs/language/providers/requirements.html

August 29, 2021 No Comments READ MORE +

The terraform.tfstate file always matches your currently built infrastructure.

The terraform.tfstate file always matches your currently built infrastructure.A . TrueB . FalseView AnswerAnswer: B Explanation: Reference: https://www.terraform.io/docs/language/state/index.html

August 29, 2021 No Comments READ MORE +

What is one disadvantage of using dynamic blocks in Terraform?

What is one disadvantage of using dynamic blocks in Terraform?A . They cannot be used to loop through a list of valuesB . Dynamic blocks can construct repeatable nested blocksC . They make configuration harder to read and understandD . Terraform will run more slowlyView AnswerAnswer: A Explanation: Reference: https://github.com/hashicorp/terraform/issues/19291

August 29, 2021 No Comments READ MORE +

Which of the following commands would you use first?

You run a local-exec provisioner in a null resource called null_resource.run_script and realize that you need to rerun the script. Which of the following commands would you use first?A . terraform taint null_resource.run_scriptB . terraform apply -target=null_resource.run_scriptC . terraform validate null_resource.run_scriptD . terraform plan -target=null_resource.run_scriptView AnswerAnswer: A

August 29, 2021 No Comments READ MORE +

You should store secret data in the same version control repository as your Terraform configuration.

You should store secret data in the same version control repository as your Terraform configuration.A . TrueB . FalseView AnswerAnswer: B Explanation: Reference: https://blog.gruntwork.io/a-comprehensive-guide-to-managing-secrets-in-your-terraform-code-1d586955ace1

August 28, 2021 No Comments READ MORE +

What should you do to delete the newly-created VM with Terraform?

You have never used Terraform before and would like to test it out using a shared team account for a cloud provider. The shared team account already contains 15 virtual machines (VM). You develop a Terraform configuration containing one VM, perform terraform apply, and see that your VM was created...

August 28, 2021 No Comments READ MORE +

How can terraform plan aid in the development process?

How can terraform plan aid in the development process?A . Validates your expectations against the execution plan without permanently modifying stateB . Initializes your working directory containing your Terraform configuration filesC . Formats your Terraform configuration filesD . Reconciles Terraform’s state against deployed resources and permanently modifies state using the...

August 28, 2021 No Comments READ MORE +

When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?

When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?A . On disk in the /tmp directoryB . In memoryC . On disk in the .terraform sub-directoryD . They are not cachedView AnswerAnswer: C

August 28, 2021 No Comments READ MORE +