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

Terraform encrypts sensitive values stored in your state file.

A.

True

B.

False

Part of a configuration is shown in the exhibit below.

You want to pass the id of the vsphere_datacenter data source to the datacenter_id argument of the vsphere_folder resource.

Which reference would you use?

A.

data.vsphere_datacenter.dc.id

B.

data.vsphere_datacenter.dc

C.

data.dc.id

D.

vsphere_datacenter.dc.id

Terraform stores the value of an output in its state file, even if the sensitive argument is set to true.

A.

True

B.

False

Which of the following does HCP Terraform perform during a health assessment for a workspace?

Pick the 2 correct responses below:

A.

Terraform test execution

B.

Check block validation

C.

Estimate infrastructure cost

D.

Resource drift detection

E.

Sentinel policy checks

What functionality do providers offer in Terraform?(Pick 3 correct responses)

A.

Interact with cloud provider APIs.

B.

Provision resources for on-premises infrastructure services.

C.

Group a collection of Terraform configuration files that map to a single state file.

D.

Provision resources for public cloud infrastructure services.

E.

Enforce security and compliance policies.

How could you reference an attribute from the vsphere_datacenter data source for use with the datacenter_id argument within the vsphere_folder resource in the following configuration?

A.

Data.vsphere_datacenter.DC.id

B.

Vsphere_datacenter.dc.id

C.

Data,dc,id

D.

Data.vsphere_datacenter,dc

You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (* files). You need to enable additional logging messages to find this out. Which of the following would achieve this?

A.

Set verbose for each provider in your Terraform configuration

B.

Set the environment variable TF_LOG_TRACE

C.

Set the environment variable TF_LOG_PATH

D.

Set the environment variable TF_log_TRACE

You can install community and partner plugins using terraform init.

A.

True

B.

False

A module block used in your configuration is shown in the exhibit. You have been asked to update the version of this module from 4.2.1 to 5.0.0.

Exhibit:

module " compute " {

source = " Azure/compute/azurerm "

version = " 4.2.1 "

}

Which two steps must you take to accomplish this?

A.

Run the terraform init command.

B.

Run the terraform pull command.

C.

Update the version argument in the module block.

D.

Remove the version argument from the module block.

You created infrastructure outside the Terraform workflow that you now want to manage using Terraform. Which command brings the infrastructure into Terraform state?

A.

terraform get

B.

terraform refresh

C.

terraform import

D.

terraform init