The Terraform binary version and provider versions must match each other in a single configuration.
Which of these are features of HCP Terraform/Terraform Cloud? (Pick the 2 correct responses)
Which provider authentication method prevents credentials from being stored in the state file?
As a developer, you want to ensure your plugins are up to date with the latest versions. Which Terraform command should you use?
Which of the following command would be use to access all of the attributes and details of a resource managed by Terraform?
Terraform configuration (including any module references) can contain only one Terraform provider type.
When you use a remote backend that needs authentication, HashiCorp recommends that you:
Which is the best way to specify a tag of v1.0.0 when referencing a module stored in Git (for example.
Git::https://example.com/vpc.git)?
In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.
You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?
You add a new provider to your configuration and immediately run terraform apply in the CD using the local backend. Why does the apply fail?
Which option cannot be used to keep secrets out of Terraform configuration files?
In a HCP Terraform/Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.
What are some benefits of using Sentinel with Terraform Cloud/Terra form Cloud? Choose three correct answers.
A developer on your team is going lo leaf down an existing deployment managed by Terraform and deploy a new one. However, there is a server resource named aws instant.ubuntu[l] they would like to keep. What command should they use to tell Terraform to stop managing that specific resource?
You much initialize your working directory before running terraform validate.
You have declared a variable called var.list which is a list of objects that all have an attribute id . Which options will produce a list of the IDs? Choose two correct answers.
The_________determines how Terraform creates, updates, or delete resources.
Before you can use a remote backend, you must first execute terra-form init.
Module version is required to reference a module on the Terraform Module Registry.
You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? Choose two correct answers.
How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?
Outside of the required_providers block, Terraform configurations always refer to providers by their local names.
A provider configuration block is required in every Terraform configuration.
Example:
Which of these actions are forbidden when the Terraform state file is locked? (Pick the 3 correct responses)
If a module declares a variable with a default, that variable must also be defined within the module.
Which method for sharing Terraform configurations fulfills the following criteria:
1. Keeps the configurations confidential within your organization
2. Support Terraform’s semantic version constrains
3. Provides a browsable directory
Infrastructure as Code (laC) can be stored in a version control system along with application code.
How would you output returned values from a child module in the Terraform CLI output?
Which of these are benefits of using Sentinel with HCP Terraform/Terraform Cloud? (Pick the 3 correct responses)
In a Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.
Which command must you first run before performing further Terraform operations in a working directory?
If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform Init.
What is the Terraform style convention for indenting a nesting level compared to the one above it?
You add a new resource to an existing Terraform configuration, but do not update the version constraint in the configuration. The existing and new resources use the same provider. The working contains a .terraform.lock, hc1 file.
How will Terraform choose which version of the provider to use?
Which are forbidden actions when the terraform state file is locked? Choose three correct answers.
You must use different Terraform commands depending on the cloud provider you use.
Which method for sharing Terraform modules fulfills the following criteria:
Keeps the module configurations confidential within your organization.
Supports Terraform's semantic version constraints.
Provides a browsable directory of your modules.
Which of the following ate advantages of using infrastructure as code (laC) instead of provisioning with a graphical user interface (GUI)? Choose two correct answers.