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

You can configure Terraform to log to a file using the TF_LOG environment variable.

A.

True

B.

False

Which command must you first run before performing further Terraform operations in a working directory?

A.

terraform import

B.

terraform workspace

C.

terraform plan

D.

terraform init

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

A.

True

B.

False

Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files. How can you protect that data?

A.

Edit your state file to scrub out the sensitive data

B.

Always store your secrets in a secrets.tfvars file

C.

Delete the state file every time you run Terraform

D.

Store the state in an encrypted backend

When you include a module block in your configuration that references a module from the Terraform Registry, the "version" attribute is required.

A.

True

B.

False

Which argument can you use toprevent unexpected updatesto a module's configuration when calling Terraform Registry modules?

A.

source

B.

count

C.

version

D.

lifecycle

If a module declares a variable without a default value, you must pass the value of the variable within the module block when you call the module in your configuration.

A.

True

B.

False

The public Terraform Module Registry is free to use.

A.

True

B.

False

Which of these statements about Terraform Cloud workspaces is false?

A.

They have role-based access controls

B.

You must use the CLI to switch between workspaces

C.

Plans and applies can be triggered via version control system integrations

D.

They can securely store cloud credentials

Infrastructure as Code (laC) can be stored in a version control system along with application code.

A.

True

B.

False