Questions
The answers to the following questions can be found in the Assessments section at the end of this book:
- Which of the following subcommands would you use in order to unlock the Terraform state file?
A) Unlock
B) force-unlock
C) Removing the lock on a state file is not possible
D) state-unlock
- Which Terraform command will force a marked resource to be destroyed and recreated on the next
apply
?
A) terraform destroy
B) terraform refresh
C) terraform taint
D) terraform fmt
- What does the
terraform fmt
command do?
A) Deletes the existing configuration file
B) Rewrites Terraform configuration files to a canonical format and style
C) Updates the font of the configuration file to the official font supported by HashiCorp
D) Formats the state file in order to ensure the latest state of resources can be obtained
- Person A has created one Azure virtual network in the Azure cloud using an ARM template...