How does Terraform manage most dependencies between resources?
How does Terraform manage most dependencies between resources? A. Terraform will automatically manage most resource dependencies B. Using the depends_on parameter C. By defining dependencies as modules and including them in a particular order D. The order that resources appear in Terraform configuration indicates dependenciesView AnswerAnswer: A Explanation: This is...
In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.
In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.A . TrueB . FalseView AnswerAnswer: A Explanation: When you use a remote backend that needs authentication, HashiCorp recommends that you:
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...
Provides a browsable directory
Provides a browsable directoryA . Subfolder within a workspaceB . Generic git repositoryC . Terraform Cloud private registryD . Public Terraform module registryView AnswerAnswer: C Explanation: This is the method for sharing Terraform configurations that fulfills the following criteria: Keeps the configurations confidential within your organization Supports Terraform’s semantic version...
Which parameters does terraform import require? Choose two correct answers.
Which parameters does terraform import require? Choose two correct answers.A . ProviderB . Resource IDC . Resource addressD . PathView AnswerAnswer: B,C Explanation: These are the parameters that terraform import requires, as they allow Terraform to identify the existing resource that you want to import into your state file, and...
Outside of the required_providers block, Terraform configurations always refer to providers by their local names.
Outside of the required_providers block, Terraform configurations always refer to providers by their local names.A . TrueB . FalseView AnswerAnswer: B Explanation: Outside of the required_providers block, Terraform configurations can refer to providers by either their local names or their source addresses. The local name is a short name that...
You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?
You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?A . After you run terraform apply so you can validate your infrastructureB . Before you run terraform apply so you can validate your provider credentialsC . Before you...
Module version is required to reference a module on the Terraform Module Registry.
Module version is required to reference a module on the Terraform Module Registry.A . TrueB . FalseView AnswerAnswer: B Explanation: Module version is optional to reference a module on the Terraform Module Registry. If you omit the version constraint, Terraform will automatically use the latest available version of the module
When you use a remote backend that needs authentication, HashiCorp recommends that you:
When you use a remote backend that needs authentication, HashiCorp recommends that you:A . Write the authentication credentials in the Terraform configuration filesB . Keep the Terraform configuration files in a secret storeC . Push your Terraform configuration to an encrypted git repositoryD . Use partial configuration to load the...
Running terraform fmt without any flags in a directory with Terraform configuration files check the formatting of those files without changing their contents.
Running terraform fmt without any flags in a directory with Terraform configuration files check the formatting of those files without changing their contents.A . TrueB . FalseView AnswerAnswer: B Explanation: Running terraform fmt without any flags in a directory with Terraform configuration files will not check the formatting of those...