TERRAFORM-ASSOCIATE-003 Exam Questions
247 real TERRAFORM-ASSOCIATE-003 exam questions with expert-verified answers and explanations. Page 3 of 5.
- Question #104
Module version is required to reference a module on the Terraform Module Registry.
- Question #106
terraform validate confirms that your infrastructure matches the Terraform state file.
- Question #107
Which command must you first run before performing further Terraform operations in a working directory?
- Question #108
A developer accidentally launched a VM (virtual machine) outside of the Terraform workflow and ended up with two servers with the same name. They don't know which VM Terraform mana...
- Question #109
When does Sentinel enforce policy logic during a Terraform Cloud run?
- Question #110
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...
- Question #111
A terraform apply can not _________ infrastructure.
- Question #112
How is terraform import run?
- Question #113
A provider configuration block is required in every Terraform configuration. Example:
- Question #114
You have multiple team members collaborating on infrastructure as code (IaC) using Terraform, and want to apply formatting standards for readability. How can you format Terraform H...
- Question #115
One remote backend configuration always maps to a single remote workspace.
- Question #116
Which of the following does terraform apply change after you approve the execution plan? (Choose two.)
- Question #117
You are working on some new application features and you want to spin up a copy of your production deployment to perform some quick tests. In order to avoid having to configure a n...
- Question #118
Which of the following commands would you use to access all of the attributes and details of a resource managed by Terraform?
- Question #119
If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?
- Question #120
Which option cannot be used to keep secrets out of Terraform configuration files?
- Question #121
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.
- Question #122
Outside of the required_providers block, Terraform configurations always refer to providers by their local names.
- Question #123
Terraform providers are always installed from the Internet.
- Question #124
What feature stops multiple users from operating on the Terraform state at the same time?
- Question #125
Which of the following is not a valid siring function in Terraform?
- Question #126
What does the default "local" Terraform backend store?
- Question #127
How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?
- Question #128
You're building a CI/CD (continuous integration/continuous delivery) pipeline and need to inject sensitive variables into your Terraform run. How can you do this safely?
- Question #129
If a module declares a variable with a default, that variable must also be defined within the module.
- Question #130
When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)
- Question #131
Which of the following should you put into the required_providers block?
- Question #132
Which of the following methods, used to provision resources into a public cloud, demonstrates the concept of infrastructure as code?
- Question #133
Which are forbidden actions when the terraform state file is locked? Choose three correct answers.
- Question #134
Which of these ate secure options for storing secrets for connecting to a Terraform remote backend? Choose two correct answers.
- Question #135
Which of these statements about Terraform Cloud workspaces is false?
- Question #136
When should you use the force-unlock command?
- Question #137
When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?
- Question #138
Variables declared within a module are accessible outside of the module.
- Question #139
Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files. How can you protect that data?
- Question #140
If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform Init.
- Question #141
Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?
- Question #142
What does Terraform use the .terraform.lock.hc1 file for?
- Question #143
Why does this backend configuration not follow best practices?
- Question #144
Module variable assignments are inherited from the parent module and you do not need to explicitly set them.
- Question #145
What are some benefits of using Sentinel with Terraform Cloud/Terra form Cloud? Choose three correct answers.
- Question #146
Which of these is true about Terraform's plugin-based architecture?
- Question #147
The Terraform binary version and provider versions must match each other in a single configuration.
- Question #148
Which of the following is not true of Terraform providers?
- Question #149
Which of the following are advantages of using infrastructure as code (laC) instead of provisioning with a graphical user interface (GUI)? Choose two correct answers.
- Question #150
What are some benefits of using Sentinel with Terraform Cloud/Terraform Cloud? Choose three correct answers.
- Question #151
Which of the following is not a valid source path for specifying a module?
- Question #152
Changing the Terraform backend from the default "local" backend to a different one after performing your first terrafom apply is:
- Question #153
Which type of block fetches or computes information for use elsewhere in a Terraform configuration?
- Question #154
Which of these actions will prevent two Terraform runs from changing the same state file at the same time?