What is the Terraform style convention for indenting a nesting level compared to the one above it?

What is the Terraform style convention for indenting a nesting level compared to the one above it?A . With a tabB . With two spacesC . With four spacesD . With three spacesView AnswerAnswer: B Explanation: This is the Terraform style convention for indenting a nesting level compared to the...

October 11, 2024 No Comments READ MORE +

In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.

In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.A . TrueB . FalseView AnswerAnswer: A Explanation: When you use a remote backend that needs authentication, HashiCorp recommends that you:

October 11, 2024 No Comments READ MORE +

If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform Init.

If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform Init.A . TrueB . FalseView AnswerAnswer: A Explanation: If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you...

October 10, 2024 No Comments READ MORE +

When using multiple configuration of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?

When using multiple configuration of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?A . AliasB . IdC . Depends_onD . nameView AnswerAnswer: A Explanation: This is the meta-argument that you must include in any non-default provider configurations, as it allows you to give a...

October 10, 2024 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...

October 8, 2024 No Comments READ MORE +

Which of the following methods could you use to discover which instance Terraform manages?

A developer accidentally launched a VM (virtual machine) outside of the Terraform workflow and ended up with two servers with the same name. They don't know which VM Terraform manages but do have a list of all active VM IDs. Which of the following methods could you use to discover...

October 7, 2024 No Comments READ MORE +

Why does this backend configuration not follow best practices?

Why does this backend configuration not follow best practices? A . An alias meta-argument should be included in backend blocks whenever possibleB . You should use the local enhanced storage backend whenever possibleC . You should not store credentials in Terraform configurationD . The backend configuration should contain multiple credentials...

October 7, 2024 No Comments READ MORE +

Terraform providers are always installed from the Internet.

Terraform providers are always installed from the Internet.A . TrueB . FalseView AnswerAnswer: B Explanation: Terraform providers are not always installed from the Internet. There are other ways to install provider plugins, such as from a local mirror or cache, from a local filesystem directory, or from a network filesystem....

October 5, 2024 No Comments READ MORE +

What does the default "local" Terraform backend store?

What does the default "local" Terraform backend store?A . tfplan filesB . State fileC . Provider pluginsD . Terraform binaryView AnswerAnswer: B Explanation: The default “local” Terraform backend stores the state file in a local file named terraform.tfstate, which can be used to track and manage the state of your...

October 5, 2024 No Comments READ MORE +

Variables declared within a module are accessible outside of the module.

Variables declared within a module are accessible outside of the module.A . TrueB . FalseView AnswerAnswer: B Explanation: Variables declared within a module are only accessible within that module, unless they are explicitly exposed as output values1.

October 4, 2024 No Comments READ MORE +