Pre-Winter Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

A Terraform local value can reference other Terraform local values.

A.

True

B.

False

Your root module contains a variable namednum_servers. Which is the correct way to pass its value to a child module with an input namedservers?

A.

servers = num_servers

B.

servers = var(num_servers)

C.

servers = var.num_servers

D.

servers = ${var.num_servers}

Which is not a benefit of adopting IaC (Infrastructure as Code)?

A.

Reusability of code

B.

Automation

C.

A GUI (Graphical User Interface)

D.

Versioning

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

A.

Write the authentication credentials in the Terraform configuration files

B.

Keep the Terraform configuration files in a secret store

C.

Push your Terraform configuration to an encrypted git repository

D.

Use partial configuration to load the authentication credentials outside of the Terraform code

What kind of configuration block will create an infrastructure object with settings specified within the block?

A.

provider

B.

state

C.

data

D.

resource

HashiCorp Configuration Language (HCL) supports user-denned functions.

A.

True

B.

False

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

A.

True

B.

False

Which of the following is not a valid source path for specifying a module?

A.

source - " github.com/hashicorp/examplePref-ul.0.8M

B.

source = " ./module?version=vl.6.0 "

C.

source - " hashicorp/consul/aws "

D.

source - " ./module "

Which features do HCP Terraform workspaces provide that are not available in Terraform Community Edition? (Pick the 3 correct responses below.)

A.

State versions and run history.

B.

Automatic detection of common security issues.

C.

Store Terraform and environment variables in variable sets.

D.

Remote execution of Terraform operations.

E.

Store your configuration in a Version Control System (VCS).

F.

Support for multiple cloud providers.

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

A.

True

B.

False