TERRAFORM-ASSOCIATE-003 Exam Questions
247 real TERRAFORM-ASSOCIATE-003 exam questions with expert-verified answers and explanations. Page 1 of 5.
- Question #1
What does Terraform not reference when running a terraform apply -refresh-only ?
- Question #2
Which of the following is not a valid Terraform variable type?
- Question #3
You decide to move a Terraform state file to Amazon S3 from another location. You write the code below into a file called backend.tf. Which command will migrate your current state...
- Question #4
Your DevOps team is currently using the local backend for your Terraform configuration. You would like to move to a remote backend to store the state file in a central location. Wh...
- Question #5
You have deployed a new webapp with a public IP address on a cloud provider. However, you did not create any outputs for your code. What is the best method to quickly find the IP a...
- Question #6
As a developer, you want to ensure your plugins are up to date with the latest versions. Which Terraform command should you use?
- Question #7
What information does the public Terraform Module Registry automatically expose about published modules?
- Question #8
You must use different Terraform commands depending on the cloud provider you use.
- Question #9
As a member of an operations team that uses infrastructure as code (lac) practices, you are tasked with making a change to an infrastructure stack running in a public cloud. Which...
- Question #10
You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?
- Question #11
How would you reference the volume IDs associated with the ebs_block_device blocks in this configuration?
- Question #12
Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?
- Question #13
What kind of configuration block will create an infrastructure object with settings specified within the block?
- Question #14
What is the Terraform style convention for indenting a nesting level compared to the one above it?
- Question #15
You have never used Terraform before and would like to test it out using a shared team account for a cloud provider. The shared team account already contains 15 virtual machines (V...
- Question #16
When do changes invoked by terraform apply take effect?
- Question #17
What is the workflow for deploying new infrastructure with Terraform?
- Question #18
You can develop a custom provider to manage its resources using Terraform.
- Question #19
What is one disadvantage of using dynamic blocks in Terraform?
- Question #20
Which backend does the Terraform CU use by default?
- Question #21
How does Terraform manage most dependencies between resources?
- Question #22
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.
- Question #23
It is best practice to store secret data in the same version control repository as your Terraform configuration.
- Question #24
_______backends support state locking.
- Question #25
You want to define a single input variable to capture configuration values for a server. The values must represent memory as a number, and the server name as a string. Which variab...
- Question #26
Which of the following statements about Terraform modules is not true?
- Question #27
When you use a remote backend that needs authentication, HashiCorp recommends that you:
- Question #28
You can reference a resource created with for_each using a Splat ( *) expression.
- Question #29
Only the user that generated a plan may apply it.
- Question #30
You cannot install third party plugins using terraform init.
- Question #31
Which of these ate features of Terraform Cloud? Choose two correct answers.
- Question #32
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.
- Question #33
How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?
- Question #34
Which command add existing resources into Terraform state?
- Question #35
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.
- Question #36
A Terraform provider is NOT responsible for:
- Question #37
When using multiple configuration of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?
- Question #38
Terraform variable names are saved in the state file.
- Question #39
You have created a main.tf Terraform configuration consisting of an application server, a database and a load balanced. You ran terraform apply and Terraform created all of the res...
- Question #40
How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? (Choose two.)
- Question #41
You have a Terraform configuration that defines a single virtual machine with no references to it, You have run terraform apply to create the resource, and then removed the resourc...
- Question #42
You modified your Terraform configuration and run Terraform plan to review the changes. Simultaneously, your teammate manually modified the infrastructure component you are working...
- Question #43
Which parameters does terraform import require? (Choose two.)
- Question #44
What does state looking accomplish?
- Question #45
What does this code do?
- Question #46
Running terraform fmt without any flags in a directory with Terraform configuration files check the formatting of those files without changing their contents.
- Question #47
The public Terraform Module Registry is free to use.
- Question #48
How do you specify a module's version when publishing it to the public terraform Module Registry?
- Question #49
Which method for sharing Terraform configurations fulfills the following criteria: 1. Keeps the configurations confidential within your organization 2. Support Terraform's semantic...
- Question #50
Which are examples of infrastructure as code? (Choose two.)