<< Prev Question Next Question >>

Question 40/106

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?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (106q)
Question 1: You ate making changes to existing Terraform code to add som...
Question 2: You have developed a new cloud-based service that uses propr...
Question 3: You have a Terraform configuration that defines a single vir...
Question 4: Where does the Terraform local backend store its state?...
Question 5: Which of these commands makes your code more human readable?...
Question 6: How can you trigger a run in a Terraform Cloud workspace tha...
Question 7: What is modified when executing Terraform inrefresh-only mod...
Question 8: Before you can use a remote backend, you must first execute ...
Question 9: Variables declared within a module are accessible outside of...
Question 10: Any user can publish modules to the public Terraform Module ...
Question 11: Which Terraform collection type should you use to store key/...
Question 12: Which of these are benefits of using Sentinel with HCP Terra...
Question 13: What does terraform import do?
Question 14: Which of the following arguments are required when declaring...
Question 15: What Terraform command always causes a state file to be upda...
Question 16: Which of the following is availableonlyinHCP Terraform works...
Question 17: In a Terraform Cloud workpace linked to a version control re...
Question 18: Which statement describes a goal of Infrastructure as Code (...
Question 19: Your security team scanned some Terraform workspaces and fou...
Question 20: How can terraform plan aid in the development process?...
Question 21: Using the terraform state rm command against a resource will...
Question 22: Where can Terraform not load a provider from?...
Question 23: Terraform configuration (including any module references) ca...
Question 24: What does this code do? terraform { required_providers { aws...
Question 25: Which of these ate features of Terraform Cloud? Choose two c...
Question 26: The public Terraform Module Registry is free to use....
Question 27: How could you reference an attribute from the vsphere_datace...
Question 28: What is the Terraform style convention for indenting a nesti...
Question 29: When does Terraform create the .terraform.lock.hc1 file?...
Question 30: By default, if you do not define a backend for your configur...
Question 31: When you initialize Terraform, where does it cache modules f...
Question 32: Only the user that generated a plan may apply it....
Question 33: What is a Terraform provider not responsible for?...
Question 34: Define the purpose of state in Terraform....
Question 35: A resource block is shown in the Exhibit section of this pag...
Question 36: terraform validate uses provider APIs to verify your infrast...
Question 37: You have never used Terraform before and would like to test ...
Question 38: You modified your Terraform configuration and run Terraform ...
Question 39: How would you output returned values from a child module in ...
Question 40: You have created a main.tf Terraform configuration consistin...
Question 41: Which argument can you use toprevent unexpected updatesto a ...
Question 42: You have deployed a new webapp with a public IP address on a...
Question 43: You created infrastructure outside the Terraform workflow th...
Question 44: Which of these statements about HCP Terraform/Terraform Clou...
Question 45: Terraform variable names are saved in the state file....
Question 46: Which command must you first run before performing further T...
Question 47: Which is the best way to specify a tag of v1.0.0 when refere...
Question 48: You are writing a child Terraform module that provisions an ...
Question 49: Which of the following is not a valid Terraform variable typ...
Question 50: When should you write Terraform configuration files for exis...
Question 51: You've used Terraform to deploy a virtual machine and a data...
Question 52: You want to use API tokens and other secrets within your tea...
Question 53: Which are forbidden actions when the terraform state file is...
Question 54: Which of the following can you do with terraform plan? (Pick...
Question 55: Which of the following methods, used to provision resources ...
Question 56: If you manually destroy infrastructure, what is the best pra...
Question 57: A resource block is shown in the Exhibit space of this page....
Question 58: Which of the following command would be use to access all of...
Question 59: Which of the following are advantages of using infrastructur...
Question 60: Which are examples of infrastructure as code? Choose two cor...
Question 61: Which configuration consistency errors does terraform valida...
Question 62: A senior admin accidentally deleted some of your cloud insta...
Question 63: Which command add existing resources into Terraform state?...
Question 64: When do changes invoked by terraform apply take effect?...
Question 65: Terraform variables and outputs that set the description arg...
Question 66: terraform validate confirms thesyntaxof Terraform files....
Question 67: What does the default "local" Terraform backend store?...
Question 68: Why does this backend configuration not follow best practice...
Question 69: Which task does terraform init not perform?...
Question 70: You used Terraform to create an ephemeral development enviro...
Question 71: Select the command that doesn't cause Terraform to refresh i...
Question 72: What kind of configuration block will create an infrastructu...
Question 73: Before you can use a new backend or HCP Terraform/Terraform ...
Question 74: You can configure Terraform to log to a file using the TF_LO...
Question 75: When you run terraform apply, the Terraform CLI will print o...
Question 76: terraform apply is failing with the following error. What ne...
Question 77: You add a new resource to an existing Terraform configuratio...
Question 78: HashiCorp Configuration Language (HCL) supports user-denned ...
Question 79: Running terraform fmt without any flags in a directory with ...
Question 80: What information does the public Terraform Module Registry a...
Question 81: Which of these are features of Terraform Cloud? Choose two c...
Question 82: Which of the following is not a benefit of adopting infrastr...
Question 83: Terraform installs its providers during which phase?...
Question 84: You can reference a resource created with for_each using a S...
Question 85: When using a remote backend or terraform Cloud integration, ...
Question 86: You're writing a Terraform configuration that needs to read ...
Question 87: terraform validate reports syntax check errors for which of ...
Question 88: You are using a networking module in your Terraform configur...
Question 89: You want to define multiple data disks as nested blocks insi...
Question 90: Terraform encrypts sensitive values stored in your state fil...
Question 91: Terraformrequiresthe Go runtime as a prerequisite for instal...
Question 92: Which two steps are required to provision new infrastructure...
Question 93: When should you use the force-unlock command?...
Question 94: Terraform providers are part of the Terraform core binary....
Question 95: Which of these is true about Terraform's plugin-based archit...
Question 96: What is the provider for this resource? (Exhibit)...
Question 97: Terraform configuration can only call modules from the publi...
Question 98: What is terraform plan -refresh-only intended to detect?...
Question 99: Which of the following statements about Terraform modules is...
Question 100: You're building a CI/CD (continuous integration/continuous d...
Question 101: Which of the following is not a valid Terraform collection t...
Question 102: What is the name of the default file where Terraform stores ...
Question 103: You have never used Terraform before and would like to test ...
Question 104: You can develop a custom provider to manage its resources us...
Question 105: How is terraform import run?
Question 106: A Terraform output that sets the "sensitive" argument to tru...