Which are examples of infrastructure as code? Choose two correct answers.
You can develop a custom provider to manage its resources using Terraform.
Where does the Terraform local backend store its state?
How does Terraform manage most dependencies between resources?
You have deployed a new webapp with a public IP address on a cloud provider. However, you did not create any outputs for your code. What is the best method to quickly find the IP address of the resource you deployed?
How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? Choose two correct answers.
Which of the following is not a valid Terraform variable type?
Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?
How does Terraform determine dependencies between resources?
What does state looking accomplish?
What are some benefits of using Sentinel with Terraform Cloud/Terra form Cloud? Choose three correct answers.
You decide to move a Terraform state file to Amazon S3 from another location. You write the code below into a file called backend.tf.
Which command will migrate your current state file to the new S3 remote backend?
Terraform variable names are saved in the state file.
Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?
Module version is required to reference a module on the Terraform Module Registry.
Your DevOps team is currently using the local backend for your Terraform configuration. You would like to move to a remote backend to store the state file in a central location. Which of the following backends would not work?
You want to define a single input variable to capture configuration values for a server. The values must represent memory as a number, and the server name as a string.
Which variable type could you use for this input?
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?
Outside of the required_providers block, Terraform configurations always refer to providers by their local names.
How would you reference the volume IDs associated with the ebs_block_device blocks in this configuration?
What is one disadvantage of using dynamic blocks in Terraform?
Which of the following statements about Terraform modules is not true?
You much initialize your working directory before running terraform validate.
How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?
Which of the following is not a valid siring function in Terraform?
Select the command that doesn’t cause Terraform to refresh its state.
You have created a main.tf Terraform configuration consisting of an application server, a database and a load balanced. You ran terraform apply and Terraform created all of the resources successfully.
Now you realize that you do not actually need the load balancer, so you run terraform destroy without any flags. What will happen?