TERRAFORM-ASSOCIATE-003 Exam Questions
247 real TERRAFORM-ASSOCIATE-003 exam questions with expert-verified answers and explanations. Page 4 of 5.
- Question #155
Define the purpose of state in Terraform.
- Question #156
terraform plan updates your state file.
- Question #157
Why would you use the -replace flag for terraform apply?
- Question #158
Before you can use a remote backend, you must first execute terra-form init.
- Question #159
While attempting to deploy resources into your cloud provider using Terraform, you begin to see some odd behavior and experience slow responses. In order to troubleshoot you decide...
- Question #160
You're writing a Terraform configuration that needs to read input from a local file called id_rsa.pub . Which built-in Terraform function can you use to import the file's contents...
- Question #161
Which of the following arguments are required when declaring a Terraform output?
- Question #163
Where in your Terraform configuration do you specify a state backend?
- Question #164
Infrastructure as Code (laC) can be stored in a version control system along with application code.
- Question #165
terraform validate reports syntax check errors for which of the following?
- Question #166
Which Terraform command checks that your configuration syntax is correct?
- Question #167
What does terraform import do?
- Question #168
Which of these are features of Terraform Cloud? Choose two correct answers.
- Question #169
What is terraform refresh-only intended to detect?
- Question #170
When does Terraform create the .terraform.lock.hc1 file?
- Question #171
You want to define multiple data disks as nested blocks inside the resource block for a virtual machine. What Terraform feature would help you define the blocks using the values in...
- Question #172
A Terraform output that sets the "sensitive" argument to true will not store that value in the state file.
- Question #173
All standard backend types support state locking, and remote operations like plan, apply, and destroy.
- Question #174
You can access state stored with the local backend by using terraform_remote_state data source.
- Question #175
How can terraform plan aid in the development process?
- Question #176
Multiple team members are collaborating on infrastructure using Terraform and want to format the* Terraform code following standard Terraform-style convention. How should they ensu...
- Question #177
How would you reference the "name'' value of the second instance of this resource?
- Question #178
You have a list of numbers that represents the number of free CPU cores on each virtual cluster: What Terraform function could you use to select the largest number from the list?
- Question #179
All modules published on the official Terraform Module Registry have been verified by HasihCorp.
- Question #180
What is the provider for this resource?
- Question #181
Terraform encrypts sensitive values stored in your state file.
- Question #182
Which of these are features of HCP Terraform/Terraform Cloud? (Pick the 2 correct responses)
- Question #183
Which of these actions are forbidden when the Terraform state file is locked? (Pick the 3 correct responses)
- Question #184
Which of these statements about HCP Terraform/Terraform Cloud workspaces is false?
- Question #185
Which of these are benefits of using Sentinel with HCP Terraform/Terraform Cloud? (Pick the 3 correct responses)
- Question #186
You used Terraform to create an ephemeral development environment in the cloud and are now ready to destroy all the infrastructure described by your Terraform configuration. To be...
- Question #187
Terraform configuration can only call modules from the public registry.
- Question #188
You want to use API tokens and other secrets within your team's Terraform workspaces. Where does HashiCorp recommend you store these sensitive values? (Pick the 3 correct responses...
- Question #189
When you include a module block in your configuration that references a module from the Terraform Registry, the "version" attribute is required.
- Question #190
Your root module contains a variable named num_servers. Which is the correct way to pass its value to a child module with an input named servers?
- Question #191
What is the provider for the resource shown in the Exhibit? resource "aws_vpc" "main" { name = "test" }
- Question #192
Which method for sharing Terraform modules fulfills the following criteria: - Keeps the module configurations confidential within your organization. - Supports Terraform's semantic...
- Question #193
When do you need to explicitly execute Terraform in refresh-only mode?
- Question #194
A module block is shown in the Exhibit space of this page. When you use a module block to reference a module from the Terraform Registry such as the one in the example, how do you...
- Question #195
What is the Terraform style convention for indenting a nesting level compared to the one above it?
- Question #196
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.
- Question #197
Which command(s) adds existing resources in a public cloud into Terraform state?
- Question #198
Which of these are features of HCP Terraform/Terraform Cloud? Pick the 2 correct responses below.
- Question #199
Which of the following is not a way to trigger terraform destroy?
- Question #200
Using the terraform state rm command against a resource will destroy it.
- Question #201
Before you can use a new backend or HCP Terraform/Terraform Cloud integration, you must first execute terraform init.
- Question #202
terraform validate uses provider APIs to verify your infrastructure settings.
- Question #203
Terraform variables and outputs that set the description argument will store that description in the state file.
- Question #204
You use a cloud provider account that is shared with other team members. You previously used Terraform to create a load balancer that listens on port 80. After application changes,...
- Question #205
A resource block is shown in the Exhibit space of this page. What is the Terraform resource name of the resource block?