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

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

Viewing page 6 out of 12 pages
Viewing questions 51-60 out of questions
Questions # 51:

Module variable assignments are inherited from the parent module and you do not need to explicitly set them.

Options:

A.

True


B.

False


Expert Solution
Questions # 52:

Terraform providers are part of the Terraform core binary.

Options:

A.

True


B.

False


Expert Solution
Questions # 53:

A module can always refer to all variables declared in its parent module.

Options:

A.

True


B.

False


Expert Solution
Questions # 54:

Which of these is true about Terraform ' s plugin-based architecture?

Options:

A.

Terraform can only source providers from the internet


B.

Every provider in a configuration has its own state file for its resources


C.

You can create a provider for your API if none exists


D.

All providers are part of the Terraform core binary


Expert Solution
Questions # 55:

What is the workflow for deploying new infrastructure with Terraform?

Options:

A.

Write Terraform configuration, run terraform init to initialize the working directory orworkspace, and run terraform apply


B.

Write Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure


C.

Write Terraform configuration, run terraform apply to create infrastructure, use terraform validate to confirm Terraform deployed resources correctly


D.

Write Terraform configuration, run terraform plan to initialize the working directory or workspace, and terraform apply to create the infrastructure


Expert Solution
Questions # 56:

You used Terraform to create an ephemeral development environment in the cloud and are now ready to destroy all the infrastructure described by your Terraform configuration. To be safe, you would like to first see all the infrastructure that Terraform will delete.

Which command should you use to show all the resources that will be deleted? (Pick the 2 correct responses)

Options:

A.

Runterraform destroy. This will output all the resources that will be deleted before prompting for approval.


B.

Runterraform show -destroy.


C.

Runterraform state rm *.


Expert Solution
Questions # 57:

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

Options:

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.


Expert Solution
Questions # 58:

When does Sentinel enforce policy logic during a Terraform Cloud run?

Options:

A.

Before the plan phase


B.

During the plan phase


C.

Before the apply phase


D.

After the apply phase


Expert Solution
Questions # 59:

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

Options:

A.

azurerm


B.

azurerm_resource_group


C.

ev


D.

test


Expert Solution
Questions # 60:

Which Terraform command checks that your configuration syntax is correct?

Options:

A.

terraform validate


B.

terraform init


C.

terraform show


D.

terraform fmt


Expert Solution
Viewing page 6 out of 12 pages
Viewing questions 51-60 out of questions