Pass the HashiCorp Terraform Associate Terraform-Associate-003 Questions and answers with CertsForce

Viewing page 1 out of 7 pages
Viewing questions 1-10 out of questions
Questions # 1:

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

Options:

A.

Tree


B.

Map


C.

List


D.

set


Expert Solution
Questions # 2:

Which command add existing resources into Terraform state?

Options:

A.

Terraform init


B.

Terraform plan


C.

Terraform refresh


D.

Terraform import


E.

All of these


Expert Solution
Questions # 3:

You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?

Options:

A.

After you run terraform apply so you can validate your infrastructure


B.

Before you run terraform apply so you can validate your provider credentials


C.

Before you run terraform plan so you can validate your code syntax


D.

After you run terraform plan so you can validate that your state file is consistent with your infrastructure


Expert Solution
Questions # 4:

Which backend does the Terraform CU use by default?

Options:

A.

Depends on the cloud provider configured


B.

HTTP


C.

Remote


D.

Terraform Cloud


E.

Local


Expert Solution
Questions # 5:

Terraform encrypts sensitive values stored in your state file.

Options:

A.

True


B.

False


Expert Solution
Questions # 6:

Variables declared within a module are accessible outside of the module.

Options:

A.

True


B.

False


Expert Solution
Questions # 7:

Changing the Terraform backend from the default "local" backend to a different one after performing your first terrafom apply is:

Options:

A.

Optional


B.

Impossible


C.

Mandatory


D.

Discouraged


Expert Solution
Questions # 8:

What does Terraform not reference when running a terraform apply -refresh-only ?

Options:

A.

State file


B.

Credentials


C.

Cloud provider


D.

Terraform resource definitions in configuration files


Expert Solution
Questions # 9:

A resource block is shown in the Exhibit space of this page. What is the Terraform resource name of the resource block?

Options:

A.

test


B.

google


C.

compute_instance


D.

main


Expert Solution
Questions # 10:

What is modified when executing Terraform inrefresh-only mode?

Options:

A.

Your Terraform configuration.


B.

Your Terraform plan.


C.

Your state file.


D.

Your cloud infrastructure.


Expert Solution
Viewing page 1 out of 7 pages
Viewing questions 1-10 out of questions