When should you use the force-unlock command?
When should you use the force-unlock command?A . You see a status message that you cannot acquire the lockB . You have a high priority changeC . Automatic unlocking failedD . Your apply failed due to a state lockView AnswerAnswer: C Explanation: Manually unlock the state for the defined configuration....
Which of the following is not true of Terraform providers?
Which of the following is not true of Terraform providers?A . Providers can be written by individualsB . Providers can be maintained by a community of usersC . Some providers are maintained by HashiCorpD . Major cloud vendors and non-cloud vendors can write, maintain, or collaborate on Terraform providersE ....
In contrast to Terraform Open Source, when working with Terraform Enterprise and Cloud Workspaces, conceptually you could think about them as completely separate working directories.
In contrast to Terraform Open Source, when working with Terraform Enterprise and Cloud Workspaces, conceptually you could think about them as completely separate working directories.A . TrueB . FalseView AnswerAnswer: B
If writing Terraform code that adheres to the Terraform style conventions, how would you properly indent each nesting level compared to the one above it?
If writing Terraform code that adheres to the Terraform style conventions, how would you properly indent each nesting level compared to the one above it?A . With four spacesB . With a tabC . With three spacesD . With two spacesView AnswerAnswer: D
How can terraform plan aid in the development process?
How can terraform plan aid in the development process?A . Validates your expectations against the execution plan without permanently modifying stateB . Initializes your working directory containing your Terraform configuration filesC . Formats your Terraform configuration filesD . Reconciles Terraform’s state against deployed resources and permanently modifies state using the...
Terraform providers are always installed from the Internet.
Terraform providers are always installed from the Internet.A . TrueB . FalseView AnswerAnswer: B Explanation: Terraform configurations must declare which providers they require, so that Terraform can install and use them. Reference: https://www.terraform.io/docs/language/providers/configuration.html
You should store secret data in the same version control repository as your Terraform configuration.
You should store secret data in the same version control repository as your Terraform configuration.A . TrueB . FalseView AnswerAnswer: B Explanation: Reference: https://blog.gruntwork.io/a-comprehensive-guide-to-managing-secrets-in-your-terraform-code-1d586955ace1
Which of the following is allowed as a Terraform variable name?
Which of the following is allowed as a Terraform variable name?A . countB . nameC . sourceD . versionView AnswerAnswer: B
When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?
When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?A . On disk in the /tmp directoryB . In memoryC . On disk in the .terraform sub-directoryD . They are not cachedView AnswerAnswer: C
What command does Terraform require the first time you run it within a configuration directory?
What command does Terraform require the first time you run it within a configuration directory?A . terraform importB . terraform initC . terraform planD . terraform workspaceView AnswerAnswer: B Explanation: terraform init command is used to initialize a working directory containing Terraform configuration files. Reference: https://www.terraform.io/docs/cli/commands/init.html