Using the terraform state rm command against a resource will destroy it.
B
terraform destroy is the only way to remove infrastructure.
A. True
B. False
B
A Terraform output that sets the ''sensitive'' argument to true will not store that value in the state
file.
B
Why should secrets not be hard coded into Terraform code? Choose two correct answers
C, D
Terraform configuration (including any module references) can contain only one Terraform provider
type.
B
terraform init retrieves the source code tot all referenced modules
A. True
B. False
A
You decide to move a Terraform state file to Amazon S3 from another location. You write the code
below into a file called\
You immediately run terraform apply but don't see any changes. Your state file didn't move. Which
command will migrate your current state file to the new S3 remote backend?
B
How would you be able to reference an attribute from the vsphere_datacenter data source for use
with the argument within the vsprere_folder resource in the following configuration?
D
What is the purpose of a Terraform workspace in either open source of enterprise?
B
In the below configuration, how would you reference the module output vpc_id ?
Type your answer in the field provided. The text field is not case-sensitive and all variations of the
correct answer are accepted.
module.vpc.id
Which Terraform collection type should you use to store key/value pairs?
D
If a Terraform creation-time provisioner fails, what will occur by default?
C
What does this code do?
A
Which of the following can you do with terraform plan? Choose two correct answers.
A, D
How would you reference the attribute "name* of this fictitious resource in HCL?
A. resource.kubrnetes_namespace>example.name
B. kubernetes_namespace.test.name
C. kubernetes_namespace.example,name
D. data kubernetes_namespace.name
E. None of the above
C