You must use different Terraform commands depending on the cloud provider you use.
You must use different Terraform commands depending on the cloud provider you use.A . TrueB . FalseView AnswerAnswer: B Explanation: You do not need to use different Terraform commands depending on the cloud provider you use. Terraform commands are consistent across different providers, as they operate on the Terraform configuration...
terraform validate confirms that your infrastructure matches the Terraform state file.
terraform validate confirms that your infrastructure matches the Terraform state file.A . TrueB . FalseView AnswerAnswer: B Explanation: terraform validate does not confirm that your infrastructure matches the Terraform state file. It only checks whether the configuration files in a directory are syntactically valid and internally consistent3. To confirm that...
Which of the following provider blocks would allow you to do this?
You ate creating a Terraform configuration which needs to make use of multiple providers, one for AWS and one for Datadog. Which of the following provider blocks would allow you to do this? A) B) C) D) A . Option AB . Option BC . Option CD . Option DView...
How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?
How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?A . Only Terraform Cloud organization owners can set workspace variables on VCS connected workspacesB . Commit a change to the VCS working directory and branch that the Terraform Cloud...
Variables declared within a module are accessible outside of the module.
Variables declared within a module are accessible outside of the module.A . TrueB . FalseView AnswerAnswer: B Explanation: Variables declared within a module are only accessible within that module, unless they are explicitly exposed as output values1.
Which of the following statements about Terraform modules is not true?
Which of the following statements about Terraform modules is not true?A . Modules can call other modulesB . A module is a container for one or more resourcesC . Modules must be publicly accessibleD . You can call the same module multiple timesView AnswerAnswer: C Explanation: This is not true,...
Why does this backend configuration not follow best practices?
Why does this backend configuration not follow best practices? A . An alias meta-argument should be included in backend blocks whenever possibleB . You should use the local enhanced storage backend whenever possibleC . You should not store credentials in Terraform configurationD . The backend configuration should contain multiple credentials...
Terraform providers are always installed from the Internet.
Terraform providers are always installed from the Internet.A . TrueB . FalseView AnswerAnswer: B Explanation: Terraform providers are not always installed from the Internet. There are other ways to install provider plugins, such as from a local mirror or cache, from a local filesystem directory, or from a network filesystem....
What should you do to delete the newly-created VM with Terraform?
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...
Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?
Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?A . terraform destroy, then terraform applyB . terraform initC . terraform pushD . terraform applyView AnswerAnswer: A Explanation: This command will initialize the new backend and prompt you...