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

Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions
Questions # 41:

What is the Terraform style convention for indenting a nesting level compared to the one above it?

Options:

A.

With two spaces.


B.

With four spaces.


C.

With three spaces.


D.

With a tab.


Expert Solution
Questions # 42:

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

Why would you use the -replace flag for terraform apply?

Options:

A.

You want Terraform to ignore a resource on the next apply


B.

You want Terraform to destroy all the infrastructure in your workspace


C.

You want to force Terraform to destroy a resource on the next apply


D.

You want to force Terraform to destroy and recreate a resource on the next apply


Expert Solution
Questions # 44:

Terraform configuration can only call modules from the public registry.

Options:

A.

True


B.

False


Expert Solution
Questions # 45:

A senior admin accidentally deleted some of your cloud instances. What will Terraform do when you run terraform apply?

Options:

A.

Tear down the entire workspace's infrastructure and rebuild it.


B.

Build a completely brand new set of infrastructure.


C.

Rebuild only the instances that were deleted.


D.

Stop and generate an error message about the missing instances.


Expert Solution
Questions # 46:

Any user can publish modules to the public Terraform Module Registry.

Options:

A.

True


B.

False


Expert Solution
Questions # 47:

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

Options:

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


Expert Solution
Questions # 48:

When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?

Options:

A.

You can import infrastructure without corresponding Terraform code


B.

Terraform will generate the corresponding configuration files for you


C.

Before you run terraform Import


D.

After you run terraform import


Expert Solution
Questions # 49:

How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?

Options:

A.

It can execute Terraform runs on dedicated infrastructure in Terraform Cloud


B.

It doesn't show the output of a terraform apply locally


C.

It is only arable lo paying customers


D.

All of the above


Expert Solution
Questions # 50:

What does terraform import do?

Options:

A.

Imports existing resources into the state file


B.

Imports all infrastructure from a given cloud provider


C.

Imports a new Terraform module


D.

Imports clean copies of tainted resources


E.

None of the above


Expert Solution
Viewing page 5 out of 7 pages
Viewing questions 41-50 out of questions