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

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

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

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?

Options:

A.

Run the terraform fmt command during the code linting phase of your CI/CD process Most Voted


B.

Designate one person in each team to review and format everyone ' s code


C.

Manually apply two spaces indentation and align equal sign " = " characters in every Terraform file (*.tf)


D.

Write a shell script to transform Terraform files using tools such as AWK, Python, and sed


Expert Solution
Questions # 52:

How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? Choose two correct answers.

Options:

A.

End-users have to request infrastructure changes


B.

Ticket based systems generate a full audit trail of the request and fulfillment process


C.

Users can access catalog of approved resources from drop down list in a request form


D.

The more resources your organization needs, the more tickets your infrastructure team has to process


Expert Solution
Questions # 53:

Which of the following is not a way to trigger terraform destroy?

Options:

A.

terraform destroy


B.

All of these will trigger terraform destroy


C.

terraform plan -destroy


D.

terraform destroy -auto-approve


Expert Solution
Questions # 54:

Which command generates DOT (Document Template) formatted data to visualize Terraform dependencies?

Options:

A.

terraform graph


B.

terraform show


C.

terraform refresh


D.

terraform output


Expert Solution
Questions # 55:

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 # 56:

When you run terraform apply, the Terraform CLI will print output values from both the root module and any child modules.

Options:

A.

True


B.

False


Expert Solution
Questions # 57:

When using a remote backend or terraform Cloud integration, where does Terraform save resource sate?

Options:

A.

In an environment variable


B.

On the disk


C.

In the remote backend or Terraform Cloud


D.

In memory


Expert Solution
Questions # 58:

Your DevOps team is currently using the local backend for your Terraform configuration. You would like to move to a remote backend to store the state file in a central location. Which of the following backends would not work?

Options:

A.

Artifactory


B.

Amazon S3


C.

Terraform Cloud


D.

Git


Expert Solution
Questions # 59:

Which of the following can you do with terraform plan?

Pick the two correct responses below.

Options:

A.

Save a generated execution plan to apply later.


B.

View the execution plan and check whether the changes match your expectations.


C.

Schedule Terraform to run at a planned time in the future.


D.

Execute a plan in a different workspace.


Expert Solution
Questions # 60:

You can develop a custom provider to manage its resources using Terraform.

Options:

A.

True


B.

False


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