Package deal
Terraform Associate Tests Bundle Set
Terraform Associate Tests Bundle Set
[Show more]Terraform Associate Tests Bundle Set
[Show more]What is Infrastructure as Code? CORRECT ANSWER You write and execute the code to define, deploy, update, and destroy your infrastructure 
 
What are the benefits of IaC? CORRECT ANSWER a. AutomationWe can bring up the servers with one script and scale up and down based on our load with the same scri...
Preview 3 out of 19 pages
Add to cartWhat is Infrastructure as Code? CORRECT ANSWER You write and execute the code to define, deploy, update, and destroy your infrastructure 
 
What are the benefits of IaC? CORRECT ANSWER a. AutomationWe can bring up the servers with one script and scale up and down based on our load with the same scri...
Provider initialization is one of the actions of terraform init. Running this command will? CORRECT ANSWER download and initialize any providers that are not already initialized. 
 
Where are providers downloaded by terraform init stored? CORRECT ANSWER Providers downloaded by terraform init are onl...
Preview 4 out of 70 pages
Add to cartProvider initialization is one of the actions of terraform init. Running this command will? CORRECT ANSWER download and initialize any providers that are not already initialized. 
 
Where are providers downloaded by terraform init stored? CORRECT ANSWER Providers downloaded by terraform init are onl...
init CORRECT ANSWER "terraform ________" is the first command you should enter to initialize your Terraform environment and download any necessary configuration/provider files. 
 
plan CORRECT ANSWER "terraform ______" is the command you should run to view resources that will be generated from y...
Preview 3 out of 16 pages
Add to cartinit CORRECT ANSWER "terraform ________" is the first command you should enter to initialize your Terraform environment and download any necessary configuration/provider files. 
 
plan CORRECT ANSWER "terraform ______" is the command you should run to view resources that will be generated from y...
What is Infrastructure as code? CORRECT ANSWER You write and execute the code to define, deploy, update, and destroy your infrastructure 
 
What are the benefits of IaC? CORRECT ANSWER A) Automation. B) Reusability of code. C) Versioning(check incremental history of builds) 
 
How does using IaC mak...
Preview 4 out of 46 pages
Add to cartWhat is Infrastructure as code? CORRECT ANSWER You write and execute the code to define, deploy, update, and destroy your infrastructure 
 
What are the benefits of IaC? CORRECT ANSWER A) Automation. B) Reusability of code. C) Versioning(check incremental history of builds) 
 
How does using IaC mak...
HashiCorp Certified: Terraform Associate questions with correct answers
Preview 3 out of 24 pages
Add to cartHashiCorp Certified: Terraform Associate questions with correct answers
Which of the following commands will launch the Interactive console for Terraform interpolations? CORRECT ANSWER terraform console 
 
When using providers that require the retrieval of data, such as the HashiCorp Vault provider, in what phase does Terraform actually retrieve the data required? CORRE...
Preview 4 out of 58 pages
Add to cartWhich of the following commands will launch the Interactive console for Terraform interpolations? CORRECT ANSWER terraform console 
 
When using providers that require the retrieval of data, such as the HashiCorp Vault provider, in what phase does Terraform actually retrieve the data required? CORRE...
Which flag would be used within a Terraform configuration block to identify the specific version of a provider required? CORRECT ANSWER required_providers 
 
In Terraform Enterprise, a workspace can be mapped to how many VCS repos? CORRECT ANSWER 1 
 
By default, where does Terraform store its state...
Preview 2 out of 5 pages
Add to cartWhich flag would be used within a Terraform configuration block to identify the specific version of a provider required? CORRECT ANSWER required_providers 
 
In Terraform Enterprise, a workspace can be mapped to how many VCS repos? CORRECT ANSWER 1 
 
By default, where does Terraform store its state...
What is Infrastructure as Code? CORRECT ANSWER You write and execute the code to define, deploy, update, and destroy your infrastructure 
 
What are the benefits of IaC? CORRECT ANSWER a. Automation -We can bring up the servers with one script and scale up and down based on our load with the same sc...
Preview 3 out of 19 pages
Add to cartWhat is Infrastructure as Code? CORRECT ANSWER You write and execute the code to define, deploy, update, and destroy your infrastructure 
 
What are the benefits of IaC? CORRECT ANSWER a. Automation -We can bring up the servers with one script and scale up and down based on our load with the same sc...
The te file always matches your currently built infrastructure. 
 
A. True 
B. False CORRECT ANSWER B 
 
One remote backend configuration always maps to a single remote workspace. 
 
A. True 
B. False CORRECT ANSWER B 
 
How is the Terraform remote backend different than other state backends such ...
Preview 3 out of 16 pages
Add to cartThe te file always matches your currently built infrastructure. 
 
A. True 
B. False CORRECT ANSWER B 
 
One remote backend configuration always maps to a single remote workspace. 
 
A. True 
B. False CORRECT ANSWER B 
 
How is the Terraform remote backend different than other state backends such ...
CORRECT ANSWER False 
 
One remote backend configuration always maps to a single workspace? CORRECT ANSWER False. Remote backend can work with either a single Terraform Cloud workspace, or multiple remote workspaces. 
 
How is the Terraform remote backend different than other state back ends such as...
Preview 3 out of 25 pages
Add to cartCORRECT ANSWER False 
 
One remote backend configuration always maps to a single workspace? CORRECT ANSWER False. Remote backend can work with either a single Terraform Cloud workspace, or multiple remote workspaces. 
 
How is the Terraform remote backend different than other state back ends such as...
Explain what IaC is. CORRECT ANSWER The codified and reusable configuration of your infrastructure. Its essentialy a blueprint that can versioned. 
 
What are the advantages of IaC? CORRECT ANSWER 1. Cost Reduction 
2. Faster Execution 
3. Remove risk of human error 
 
Explain Mutli-Cloud and Provid...
Preview 1 out of 4 pages
Add to cartExplain what IaC is. CORRECT ANSWER The codified and reusable configuration of your infrastructure. Its essentialy a blueprint that can versioned. 
 
What are the advantages of IaC? CORRECT ANSWER 1. Cost Reduction 
2. Faster Execution 
3. Remove risk of human error 
 
Explain Mutli-Cloud and Provid...
What command can you use to display details about the resource as shown below? 
 
resource "aws_internet_gateway" "demo" { 
 vpc_id = aws_ 
 tags = { 
Name = "demo_igw" 
} 
} CORRECT ANSWER terraform state show aws_internet_ 
 
Your organization has multiple engineers that have permission to m...
Preview 2 out of 5 pages
Add to cartWhat command can you use to display details about the resource as shown below? 
 
resource "aws_internet_gateway" "demo" { 
 vpc_id = aws_ 
 tags = { 
Name = "demo_igw" 
} 
} CORRECT ANSWER terraform state show aws_internet_ 
 
Your organization has multiple engineers that have permission to m...
From the Terraform documentation, they read that if there are multiple writes happening in Terraform state file from different users, it can corrupt the state. 
To prevent this, Terraform state file lock must be used. 
Is there a additional terraform code required to implement this functionality wit...
Preview 4 out of 35 pages
Add to cartFrom the Terraform documentation, they read that if there are multiple writes happening in Terraform state file from different users, it can corrupt the state. 
To prevent this, Terraform state file lock must be used. 
Is there a additional terraform code required to implement this functionality wit...
Which Terraform files should be ignored by Git when committing code to a repo? CORRECT ANSWER te - tf state of a specific env 
s - password, ip addresses, sensitive data 
 
What are the features of Terraform state? CORRECT ANSWER Mapping to real world - 
Metadata - Including dependency order 
Perfo...
Preview 3 out of 19 pages
Add to cartWhich Terraform files should be ignored by Git when committing code to a repo? CORRECT ANSWER te - tf state of a specific env 
s - password, ip addresses, sensitive data 
 
What are the features of Terraform state? CORRECT ANSWER Mapping to real world - 
Metadata - Including dependency order 
Perfo...
What does terraform refresh modify? 
 
A. Your cloud infrastructure 
B. Your state file 
C. Your Terraform plan 
D. Your Terraform configuration CORRECT ANSWER B 
 
Which of the following is not valid source path for specifying a module? 
 
A. source = "./modulelversion=v1.0.0" B. source = "...
Preview 2 out of 14 pages
Add to cartWhat does terraform refresh modify? 
 
A. Your cloud infrastructure 
B. Your state file 
C. Your Terraform plan 
D. Your Terraform configuration CORRECT ANSWER B 
 
Which of the following is not valid source path for specifying a module? 
 
A. source = "./modulelversion=v1.0.0" B. source = "...
What does the command terraform fmt do? 
A. Rewrite Terraform configuration files to a canonical format and style 
B. Updates the font of the configuration file to the official font supported by HashiCorp 
C. Formats the state file in order to ensure the latest state of resources can be obtained 
D....
Preview 2 out of 10 pages
Add to cartWhat does the command terraform fmt do? 
A. Rewrite Terraform configuration files to a canonical format and style 
B. Updates the font of the configuration file to the official font supported by HashiCorp 
C. Formats the state file in order to ensure the latest state of resources can be obtained 
D....
True or False? When using the Terraform provider for Vault, the tight integration between these HashiCorp tools provides the ability to mask secrets in the `terraform plan` and state files. 
 
a) True 
b) False CORRECT ANSWER b) False 
 
Currently, Terraform has no mechanism to redact or protect sec...
Preview 2 out of 9 pages
Add to cartTrue or False? When using the Terraform provider for Vault, the tight integration between these HashiCorp tools provides the ability to mask secrets in the `terraform plan` and state files. 
 
a) True 
b) False CORRECT ANSWER b) False 
 
Currently, Terraform has no mechanism to redact or protect sec...
Terraform stores a cache of the attribute values for all resources in the state. True or False. CORRECT ANSWER True 
 
Terraform stores a cache of the attribute values for all resources in the state. This is the most optional feature of Terraform state and is done only as a performance improvement. ...
Preview 2 out of 8 pages
Add to cartTerraform stores a cache of the attribute values for all resources in the state. True or False. CORRECT ANSWER True 
 
Terraform stores a cache of the attribute values for all resources in the state. This is the most optional feature of Terraform state and is done only as a performance improvement. ...
If a module declares a variable with a default, that variable must also be defined within the module. 
 
A. True 
B. False CORRECT ANSWER B 
 
Which option cannot be used to keep secrets out of Terraform configuration files? 
 
A. Environment Variables 
B. Mark the variable as sensitive 
C. A Te...
Preview 3 out of 18 pages
Add to cartIf a module declares a variable with a default, that variable must also be defined within the module. 
 
A. True 
B. False CORRECT ANSWER B 
 
Which option cannot be used to keep secrets out of Terraform configuration files? 
 
A. Environment Variables 
B. Mark the variable as sensitive 
C. A Te...
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Stuvia is a marketplace, so you are not buying this document from us, but from seller cracker. Stuvia facilitates payment to the seller.
No, you only buy these notes for $40.99. You're not tied to anything after your purchase.
4.6 stars on Google & Trustpilot (+1000 reviews)
79650 documents were sold in the last 30 days
Founded in 2010, the go-to place to buy study notes for 14 years now