<< Prev Question Next Question >>

Question 17/154

You have a simple Terraform configuration containing one virtual machine (VM) in a cloud provider. You run terraform apply and the VM is created successfully.
What will happen if you delete the VM using the cloud provider console, then run terraform apply again without changing any Terraform code?

LEAVE A REPLY

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

Question List (154q)
Question 1: You have deployed a new webapp with a public IP address on a...
Question 2: Terraform providers are part of the Terraform core binary....
Question 3: Only the user that generated a plan may apply it....
Question 4: Terraform can only manage resource dependencies if you set t...
Question 5: Running terraform fmt without any flags in a directory with ...
Question 6: How can you trigger a run in a Terraform Cloud workspace tha...
Question 7: What feature stops multiple users from operating on the Terr...
Question 8: You ate creating a Terraform configuration which needs to ma...
Question 9: Terraform configuration can only import modules from the pub...
Question 10: What does this code do? terraform { required_providers { aws...
Question 11: What is the workflow for deploying new infrastructure with T...
Question 12: terraform validate confirms that your infrastructure matches...
Question 13: Your risk management organization requires that new AWS S3 b...
Question 14: A Terraform output that sets the " sensitive " argument to t...
Question 15: A module can always refer to all variables declared in its p...
Question 16: You have just developed a new Terraform configuration for tw...
Question 17: You have a simple Terraform configuration containing one vir...
Question 18: HashiCorp Configuration Language (HCL) supports user-denned ...
Question 19: You can access state stored with the local backend by using ...
Question 20: Which of these statements about Terraform Cloud workspaces i...
Question 21: If you manually destroy infrastructure, what is the best pra...
Question 22: Terraformrequiresthe Go runtime as a prerequisite for instal...
Question 23: What command can you run to generateDOT (Graphviz)formatted ...
Question 24: Which of these actions are forbidden when the Terraform stat...
Question 25: Which of these workflows is only enabled by the use of Infra...
Question 26: If a module declares a variable without a default value, you...
Question 27: Which Terraform collection type should you use to store key/...
Question 28: Terraform encrypts sensitive values stored in your state fil...
Question 29: Which of the following should you add in the required_provid...
Question 30: Which of the following module source paths does not specify ...
Question 31: A terraform apply can not _________ infrastructure....
Question 32: You modified your Terraform configuration and run Terraform ...
Question 33: You can configure multiple cloud blocks in your Terraform co...
Question 34: You want to know from which paths Terraform is loading provi...
Question 35: Your team often uses API calls to create and manage cloud in...
Question 36: You decide to move a Terraform state file to Amazon S3 from ...
Question 37: You have developed a new cloud-based service that uses propr...
Question 38: When using a remote backend or terraform Cloud integration, ...
Question 39: What is terraform plan -refresh-only intended to detect?...
Question 40: What functionality do providers offer in Terraform?(Pick 3 c...
Question 41: terraform validate reports syntax check errors for which of ...
Question 42: How does Terraform manage most dependencies between resource...
Question 43: Which are examples of infrastructure as code? Choose two cor...
Question 44: You can configure Terraform to log to a file using the TF_LO...
Question 45: terraform plan updates your state file....
Question 46: Your team is collaborating on infrastructure using Terraform...
Question 47: Why would you use the -replace flag for terraform apply?...
Question 48: Which command generates DOT (Document Template) formatted da...
Question 49: Which of the following can you do with terraform plan? Pick ...
Question 50: You have used Terraform lo create an ephemeral development e...
Question 51: Which task does terraform init not perform?...
Question 52: Exhibit: module " network " { source = " terraform-google-mo...
Question 53: You are tasked with making a change to an infrastructure sta...
Question 54: You have a Terraform configuration that defines a single vir...
Question 55: Terraform configuration (including any module references) ca...
Question 56: Which configuration consistency errors does terraform valida...
Question 57: Which of the following is not an action performed by terrafo...
Question 58: You have never used Terraform before and would like to test ...
Question 59: A developer launched a VM outside of the Terraform workflow ...
Question 60: Your DevOps team is currently using the local backend for yo...
Question 61: When should you write Terraform configuration files for exis...
Question 62: When using multiple configurations of the same Terraform pro...
Question 63: Before you can use a new backend or HCP Terraform/Terraform ...
Question 64: terraform validate confirms thesyntaxof Terraform files....
Question 65: Running terraform fmt without any flags in a directory with ...
Question 66: Which of the following is not a way to trigger terraform des...
Question 67: Infrastructure as Code (laC) can be stored in a version cont...
Question 68: Exhibit: resource " kubernetes_namespace " " example " { nam...
Question 69: A resource block is shown in the Exhibit section of this pag...
Question 70: When does Sentinel enforce policy logic during a Terraform C...
Question 71: Which two steps are required to provision new infrastructure...
Question 72: Your team adopts AWS CloudFormation as the standardized meth...
Question 73: The -refresh-only parameter will update your state file when...
Question 74: What functionality do providers offer in Terraform? (Pick th...
Question 75: Exhibit: module " web_stack " { source = " ./modules/web_sta...
Question 76: Terraform providers are always installed from the Internet....
Question 77: A Terraform backend determines how Terraform loads state and...
Question 78: You use a cloud provider account that is shared with other t...
Question 79: terraform destroy is the only way to remove infrastructure....
Question 80: Which parameters does terraform import require? Choose two c...
Question 81: Once you configure a new Terraform backend with a terraform ...
Question 82: Which backend does the Terraform CLI use by default?...
Question 83: Which of these are features of HCP Terraform/Terraform Cloud...
Question 84: Terraform configuration can only call modules from the publi...
Question 85: A resource block is shown in the Exhibit space of this page....
Question 86: Where can Terraform not load a provider from?...
Question 87: When you use a remote backend that needs authentication, Has...
Question 88: What task does the terraform import command perform?...
Question 89: Using the terraform state rm command against a resource will...
Question 90: When should you use the force-unlock command?...
Question 91: You ' re writing a Terraform configuration that needs to rea...
Question 92: What is the primary purpose of IaC (Infrastructure as Code)?...
Question 93: What is modified when executing Terraform inrefresh-only mod...
Question 94: You have a simple Terraform configuration containing one VM ...
Question 95: You've enabled DEBUG-level logging for Terraform, and you'd ...
Question 96: A child module can always access variables declared in its p...
Question 97: When you initialize Terraform, where does it cache modules f...
Question 98: In Terraform HCL, an object type of object({name=string, age...
Question 99: When should you run terraform init?...
Question 100: Which command should you run to check if all code in a Terra...
Question 101: When you run terraform apply, the Terraform CLI will print o...
Question 102: Outside of the required_providers block, Terraform configura...
Question 103: You want to use API tokens and other secrets within your tea...
Question 104: You have a list of numbers that represents the number of fre...
Question 105: You should run terraform fnt to rewrite all Terraform config...
Question 106: Where does HashiCorp recommend you store API tokens and othe...
Question 107: You can develop a custom provider to manage its resources us...
Question 108: You can execute terraform fmt to standardize all Terraform c...
Question 109: What does terraform destroy do?...
Question 110: You can define multiple backend blocks in your Terraform con...
Question 111: You are using a networking module in your Terraform configur...
Question 112: Which of the following does terraform apply change after you...
Question 113: What Terraform command always causes a state file to be upda...
Question 114: When you use a backend that requires authentication, it is b...
Question 115: A developer accidentally launched a VM (virtual machine) out...
Question 116: You ' ve used Terraform to deploy a virtual machine and a da...
Question 117: You just scaled your VM infrastructure and realize you set t...
Question 118: Which Terraform command checks that your configuration synta...
Question 119: What kind of configuration block will create an infrastructu...
Question 120: Why does this backend configuration not follow best practice...
Question 121: Which of these statements about HCP Terraform/Terraform Clou...
Question 122: What does state looking accomplish?...
Question 123: When declaring a variable, setting the sensitive argument to...
Question 124: When you use a backend that requires authentication, it is b...
Question 125: If you update the version constraint in your Terraform confi...
Question 126: One remote backend configuration always maps to a single rem...
Question 127: What is the provider for this resource?...
Question 128: Setting the TF_LOG environment variable to DEBUG causes debu...
Question 129: terraform apply will fail if you have not run terraform plan...
Question 130: How does the Terraform cloud integration differ from other s...
Question 131: Which of the following is not a valid Terraform variable typ...
Question 132: You need to destroy all of the resources in your Terraform w...
Question 133: A senior admin accidentally deleted some of your cloud insta...
Question 134: You corrected a typo in a resource name, changing it from aw...
Question 135: You can reference a resource created with for_each using a S...
Question 136: How does the use of Infrastructure as Code (IaC) enhance the...
Question 137: Which of the following statements about Terraform modules is...
Question 138: Which parameters does the import block require? (Pick the 2 ...
Question 139: Exhibit: resource " azurerm_linux_web_app " " app " { name =...
Question 140: Which of the following arguments are required when declaring...
Question 141: How do you specify a module's version when publishing it to ...
Question 142: Terraform installs its providers during which phase?...
Question 143: If you don't use the local Terraform backend, where else can...
Question 144: A resource block is shown in the Exhibit space of this page....
Question 145: What is a Terraform provider not responsible for?...
Question 146: What's the proper syntax for the plan command?...
Question 147: You just upgraded the version of a provider in an existing T...
Question 148: You have to initialize a Terraform backend before it can be ...
Question 149: Only the user that generated a terraform plan may apply it....
Question 150: One cloud block always maps to a single HCP Terraform/Terraf...
Question 151: Which are benefits of migrating from a local state backend t...
Question 152: You created infrastructure outside the Terraform workflow th...
Question 153: A Terraform local value can reference other Terraform local ...
Question 154: You've updated your Terraform configuration, and you need to...