Which backend does the Terraform CU use by default?

Which backend does the Terraform CU use by default?A . Depends on the cloud provider configuredB . HTTPC . RemoteD . Terraform CloudE . LocalView AnswerAnswer: E Explanation: This is the backend that the Terraform CLI uses by default, unless you specify a different backend in your configuration. The local...

October 4, 2024 No Comments READ MORE +

You can develop a custom provider to manage its resources using Terraform.

You can develop a custom provider to manage its resources using Terraform.A . TrueB . FalseView AnswerAnswer: A Explanation: You can develop a custom provider to manage its resources using Terraform, as Terraform is an extensible tool that allows you to write your own plugins in Go language. You can...

October 4, 2024 No Comments READ MORE +

Which of the following is not a valid Terraform variable type?

Which of the following is not a valid Terraform variable type?A . listB . arrayC . napD . stringView AnswerAnswer: B Explanation: This is not a valid Terraform variable type. The other options are valid variable types that can store different kinds of values2.

October 4, 2024 No Comments READ MORE +

When you use a remote backend that needs authentication, HashiCorp recommends that you:

When you use a remote backend that needs authentication, HashiCorp recommends that you:A . Write the authentication credentials in the Terraform configuration filesB . Keep the Terraform configuration files in a secret storeC . Push your Terraform configuration to an encrypted git repositoryD . Use partial configuration to load the...

October 3, 2024 No Comments READ MORE +

What are the two things you must do to achieve this?

You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? Choose two correct answers.A . Run...

October 3, 2024 No Comments READ MORE +

Which options will produce a list of the IDs?

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.A . [ var.list [ * ] , id ]B . [ for o in var.list : o.Id...

October 3, 2024 No Comments READ MORE +

You must use different Terraform commands depending on the cloud provider you use.

You must use different Terraform commands depending on the cloud provider you use.A . TrueB . FalseView AnswerAnswer: B Explanation: You do not need to use different Terraform commands depending on the cloud provider you use. Terraform commands are consistent across different providers, as they operate on the Terraform configuration...

October 2, 2024 No Comments READ MORE +

terraform validate confirms that your infrastructure matches the Terraform state file.

terraform validate confirms that your infrastructure matches the Terraform state file.A . TrueB . FalseView AnswerAnswer: B Explanation: terraform validate does not confirm that your infrastructure matches the Terraform state file. It only checks whether the configuration files in a directory are syntactically valid and internally consistent3. To confirm that...

October 2, 2024 No Comments READ MORE +

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.A . TrueB . FalseView AnswerAnswer: A Explanation: Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout, along with other log levels such as TRACE, INFO, WARN, and ERROR. This...

October 1, 2024 No Comments READ MORE +

Module version is required to reference a module on the Terraform Module Registry.

Module version is required to reference a module on the Terraform Module Registry.A . TrueB . FalseView AnswerAnswer: B Explanation: Module version is optional to reference a module on the Terraform Module Registry. If you omit the version constraint, Terraform will automatically use the latest available version of the module

October 1, 2024 No Comments READ MORE +