Which of the following is available only in Terraform Enterprise or Cloud workspaces and not in Terraform CLI?

Which of the following is available only in Terraform Enterprise or Cloud workspaces and not in Terraform CLI?A . Secure variable storageB . Support for multiple cloud providersC . Dry runs with terraform planD . Using the workspace as a data sourceView AnswerAnswer: B Explanation: Reference: https://www.terraform.io/docs/language/providers/configuration.html

March 10, 2022 No Comments READ MORE +

Which backend does the Terraform CLI use by default?

Which backend does the Terraform CLI use by default?A . Terraform CloudB . ConsulC . RemoteD . LocalView AnswerAnswer: D

March 10, 2022 No Comments READ MORE +

What command should be used to tell Terraform to no longer manage the resource?

A fellow developer on your team is asking for some help in refactoring their Terraform code. As part of their application’s architecture, they are going to tear down an existing deployment managed by Terraform and deploy new. However, there is a server resource named aws_instance.ubuntu[1] they would like to keep...

March 10, 2022 No Comments READ MORE +

Where does the Terraform local backend store its state?

Where does the Terraform local backend store its state?A . In the /tmp directoryB . In the terraform.tfvars fileC . In the terraform.tfstate fileD . In the user's .terraformrc fileView AnswerAnswer: C Explanation: The local backend stores state on the local filesystem, locks that state using system APIs, and performs...

March 9, 2022 No Comments READ MORE +

What does the default "local" Terraform backend store?

What does the default "local" Terraform backend store?A . tfplan filesB . Terraform binaryC . Provider pluginsD . State fileView AnswerAnswer: D Explanation: The local backend stores state on the local filesystem, locks that state using system APIs, and performs operations locally. Reference: https://www.terraform.io/docs/language/settings/backends/local.html

March 9, 2022 No Comments READ MORE +

How is the Terraform remote backend different than other state backends such as S3, Consul, etc.?

How is the Terraform remote backend different than other state backends such as S3, Consul, etc.?A . It can execute Terraform runs on dedicated infrastructure on premises or in Terraform CloudB . It doesn't show the output of a terraform apply locallyC . It is only available to paying customersD...

March 9, 2022 No Comments READ MORE +

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

Which of the following is not a valid Terraform collection type?A . listB . mapC . treeD . setView AnswerAnswer: C

March 8, 2022 No Comments READ MORE +

Terraform can run on Windows or Linux, but it requires a Server version of the Windows operating system.

Terraform can run on Windows or Linux, but it requires a Server version of the Windows operating system.A . TrueB . FalseView AnswerAnswer: A Explanation: Reference: https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster-windows

March 8, 2022 No Comments READ MORE +

Terraform validate reports syntax check errors from which of the following scenarios?

Terraform validate reports syntax check errors from which of the following scenarios?A . Code contains tabs indentation instead of spacesB . There is missing value for a variableC . The state files does not match the current infrastructureD . None of the aboveView AnswerAnswer: B

March 8, 2022 No Comments READ MORE +

Which of the following should you put into the Terraform 0.12 configuration’s provider block?

You need to constrain the GitHub provider to version 2.1 or greater. Which of the following should you put into the Terraform 0.12 configuration’s provider block?A . version >= 2.1B . version ~> 2.1C . version = “<= 2.1”D . version = “>= 2.1”View AnswerAnswer: B

March 8, 2022 1 Comment READ MORE +