What is the default backend for Terraform?

What is the default backend for Terraform?A . consulB . gcsC . localD . etcdView AnswerAnswer: C Explanation: By default, Terraform uses the "local" backend, which is the normal behavior of Terraform you're used to. https://www.terraform.io/docs/backends/index.html

June 21, 2021 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.)A . { for o in var.list : o => o.id }B . var.list[*].idC . [ var.list[*].id ]D . [ for...

June 21, 2021 No Comments READ MORE +

How can you format Terraform HCL (HashiCorp Configuration Language) code according to standard Terraform style convention?

You have multiple team members collaborating on infrastructure as code (IaC) using Terraform, and want to apply formatting standards for readability. How can you format Terraform HCL (HashiCorp Configuration Language) code according to standard Terraform style convention?A . Run the terraform fmt command during the code linting phase of your...

June 20, 2021 2 Comments READ MORE +

What is the default backend for Terraform?

What is the default backend for Terraform?A . consulB . gcsC . localD . etcdView AnswerAnswer: C Explanation: By default, Terraform uses the "local" backend, which is the normal behavior of Terraform you're used to. https://www.terraform.io/docs/backends/index.html

June 20, 2021 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...

June 20, 2021 No Comments READ MORE +

What features does the hosted service Terraform Cloud provide? (Choose two.)

What features does the hosted service Terraform Cloud provide? (Choose two.)A . Automated infrastructure deployment visualizationB . Automatic backupsC . Remote state storageD . A web-based user interface (UI)View AnswerAnswer: B,C Explanation: Reference: https://www.terraform.io/docs/enterprise/admin/automated-recovery.html https://www.terraform.io/docs/language/state/remote.html

June 20, 2021 No Comments READ MORE +

If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?

If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?A . Run terraform refreshB . It will happen automaticallyC . Manually update the state fireD . Run terraform importView AnswerAnswer: B

June 19, 2021 No Comments READ MORE +

What command does Terraform require the first time you run it within a configuration directory?

What command does Terraform require the first time you run it within a configuration directory?A . terraform importB . terraform initC . terraform planD . terraform workspaceView AnswerAnswer: B Explanation: terraform init command is used to initialize a working directory containing Terraform configuration files. Reference: https://www.terraform.io/docs/cli/commands/init.html

June 19, 2021 No Comments READ MORE +

Terraform works well in Windows but a Windows server is required.

Terraform works well in Windows but a Windows server is required.A . FalseB . TrueView AnswerAnswer: A Explanation: You may see this QUESTION NO: in actual exam. Please remember: Terraform does not require GO language to be installed as a prerequisite and it does not require a Windows Server as...

June 19, 2021 No Comments READ MORE +

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

June 19, 2021 No Comments READ MORE +