The_________determines how Terraform creates, updates, or delete resources.
Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files. How can you protect that data?
What is the workflow for deploying new infrastructure with Terraform?
Terraform providers are part of the Terraform core binary.
Which of the following is not a valid Terraform variable type?
You've used Terraform to deploy a virtual machine and a database. You want to replace this virtual machine instance with an identical one without affecting the database. What is the best way to achieve this using Terraform?
You have declared a variable called var.list which is a list of objects that all have an attribute id . Which options will produce a list of the IDs? Choose two correct answers.
Which is the best way to specify a tag of v1.0.0 when referencing a module stored in Git (for example.
Git::https://example.com/vpc.git)?
Which task does terraform init not perform?
Which of the following statements about Terraform modules is not true?
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?
Only the user that generated a plan may apply it.
Which command must you first run before performing further Terraform operations in a working directory?
You are writing a child Terraform module that provisions an AWS instance. You want to reference the IP address returned by the child module in the root configuration. You name the instance resource "main'.
Which of these is the correct way to define the output value?
A)
B)
C)
D)
What does state looking accomplish?
When does Sentinel enforce policy logic during a Terraform Cloud run?
Select the command that doesn’t cause Terraform to refresh its state.
You have to initialize a Terraform backend before it can be configured.
Which method for sharing Terraform configurations fulfills the following criteria:
1. Keeps the configurations confidential within your organization
2. Support Terraform’s semantic version constrains
3. Provides a browsable directory
Which two steps are required to provision new infrastructure in the Terraform workflow? Choose two correct answers.
You have used Terraform lo create an ephemeral development environment in the (loud 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 of the resources that mil be deleted? Choose two correct answers.
Which option cannot be used to keep secrets out of Terraform configuration files?
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.
What type of block is used to construct a collection of nested configuration blocks?
What are some benefits of using Sentinel with Terraform Cloud/Terra form Cloud? Choose three correct answers.
In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.
In Terraform HCL, an object type of object({name=string, age-number}) would match this value.
A)
B)
C)
D)
Terraform configuration (including any module references) can contain only one Terraform provider type.
How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?
What value does the Terraform Cloud private registry provide over the public Terraform Module Registry?
Which of these ate secure options for storing secrets for connecting to a Terraform remote backend? Choose two correct answers.
Which of the following is not a valid Terraform collection type?
Variables declared within a module are accessible outside of the module.
What kind of configuration block will create an infrastructure object with settings specified within the block?
A terraform apply can not _________ infrastructure.
You are using a networking module in your Terraform configuration with the name label my-network. In your main configuration you have the following code:
When you run terraform validate, you get the following error:
What must you do to successfully retrieve this value from your networking module?
What does this code do?
The Terraform binary version and provider versions must match each other in a single configuration.
Which of the following does terraform apply change after you approve the execution plan? (Choose two.)
Which of the following commands would you use to access all of the attributes and details of a resource managed by Terraform?
One remote backend configuration always maps to a single remote workspace.
When should you use the force-unlock command?
You add a new resource to an existing Terraform configuration, but do not update the version constraint in the configuration. The existing and new resources use the same provider. The working contains a .terraform.lock, hc1 file.
How will Terraform choose which version of the provider to use?