A developer on your team is going lo leaf down an existing deployment managed by Terraform and deploy a new one. However, there is a server resource named aws instant.ubuntu[l] theywould like to keep. What command should they use to tell Terraform to stop managing that specific resource?
Which of these ate features of Terraform Cloud? Choose two correct answers.
Infrastructure as Code (laC) can be stored in a version control system along with application code.
You must use different Terraform commands depending on the cloud provider you use.
In a Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.
How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?
Which of the following arguments are required when declaring a Terraform output?
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?
When using multiple configuration of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?
Which type of block fetches or computes information for use elsewhere in a Terraform configuration?
Which of the following ate advantages of using infrastructure as code (laC) instead of provisioning with a graphical user interface (GUI)? Choose two correct answers.
You have never used Terraform before and would like to test it out using a shared team account for a cloud provider. The shared team account already contains 15 virtual machines (VM). You develop a Terraform configuration containing one VM. perform terraform apply, and see that your VM was created successfully. What should you do to delete the newly-created VM with Terraform?
Which parameters does terraform import require? Choose two correct answers.
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?
When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?
In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.
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.
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?
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?
Which of the following methods, used to provision resources into a public cloud, demonstrates the concept of infrastructure as code?
If a module declares a variable with a default, that variable must also be defined within the module.
Which of the following does terraform apply change after you approve the execution plan? (Choose two.)
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.
What is the Terraform style convention for indenting a nesting level compared to the one above it?
Outside of the required_providers block, Terraform configurations always refer to providers by their local names.
Which command must you first run before performing further Terraform operations in a working directory?
When using a remote backend or terraform Cloud integration, where does Terraform save resource sate?