Difference between revisions of "Terraform Associate"

From wikieduonline
Jump to navigation Jump to search
 
(79 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
* https://www.hashicorp.com/certification/terraform-associate
 
* https://www.hashicorp.com/certification/terraform-associate
 +
* Exam review: https://learn.hashicorp.com/tutorials/terraform/associate-review
 +
 
* [[Terraform 0.14]] (March 2021)
 
* [[Terraform 0.14]] (March 2021)
 +
 +
== Exam Details ==
 +
https://www.hashicorp.com/certification/terraform-associate
 +
 +
* Assessment Type: Multiple choice
 +
* Format: Online proctored
 +
* Duration: 1 hour
 +
* Questions:      57
 +
* Price:         $70.50 USD plus locally applicable taxes and fees
 +
* Language: English
 +
* Expiration: 2 years
 +
*Pass Score:      700 (on a scale of 1-1000)
  
 
== Objetives ==
 
== Objetives ==
  
 
=== 1. Understand infrastructure as code (IaC) concepts ===
 
=== 1. Understand infrastructure as code (IaC) concepts ===
* Explain what IaC is
+
* [[Explain what IaC is]]
* Describe advantages of IaC patterns
+
* Describe advantages of [[IaC]] patterns
  
 
=== 2. Understand Terraform's purpose (vs other IaC) ===
 
=== 2. Understand Terraform's purpose (vs other IaC) ===
* Explain multi-cloud and provider-agnostic benefits
+
* [[Explain multi-cloud and provider-agnostic benefits]]
* Explain the benefits of state
+
* [[Explain the benefits of state]]
  
=== 3. Understand Terraform basics ===
+
=== 3. Understand Terraform basics ===
* Handle Terraform and provider installation and versioning
+
* Handle Terraform and [[Terraform provider|provider installation]] and [[Terraform provider versioning|versioning]]
* Describe plugin based architecture
+
* Describe [[Terraform plugin|plugin]] based architecture
* Demonstrate using multiple providers
+
* Demonstrate using [[multiple providers]] (<code>[[alias]]</code>)
* Describe how Terraform finds and fetches providers
+
* Describe how Terraform finds and fetches providers
* Explain when to use and not use provisioners and when to use local-exec or remote-exec
+
* Explain when to use and not use [[Terraform provisioner|provisioners]] and when to use <code>[[local-exec]]</code> or <code>[[remote-exec]]</code>
  
 
=== 4. Use the Terraform CLI (outside of core workflow) ===
 
=== 4. Use the Terraform CLI (outside of core workflow) ===
* Given a scenario: choose when to use terraform fmt to format code
+
* Given a scenario: choose when to use <code>[[terraform fmt]]</code> to format code
* Given a scenario: choose when to use terraform taint to taint Terraform resources
+
* Given a scenario: choose when to use <code>[[terraform taint]]</code> to taint Terraform resources
* Given a scenario: choose when to use terraform import to import existing infrastructure into your Terraform state
+
* Given a scenario: choose when to use <code>[[terraform import]]</code> to import existing infrastructure into your Terraform state
* Given a scenario: choose when to use terraform workspace to create workspaces
+
* Given a scenario: choose when to use <code>[[terraform workspace]]</code> to create workspaces
* Given a scenario: choose when to use terraform state to view Terraform state
+
* Given a scenario: choose when to use <code>[[terraform state]]</code> to view Terraform state
 
* Given a scenario: choose when to enable verbose logging and what the outcome/value is
 
* Given a scenario: choose when to enable verbose logging and what the outcome/value is
  
<pre>
+
===  5 Interact with [[Terraform modules]] ===
5 Interact with Terraform modules
+
* Contrast [[modules]] [[source]] options
5a Contrast module source options
+
* Interact with module inputs and outputs
5b Interact with module inputs and outputs
+
* Describe [[variable scope]] within modules/child modules
5c Describe variable scope within modules/child modules
+
* Discover modules from the public [[Terraform Module Registry]]
5d Discover modules from the public Terraform Module Registry
+
* Defining [[module version]]
5e Defining module version
+
 
6 Navigate Terraform workflow
+
=== 6 Navigate Terraform workflow ===
6a Describe Terraform workflow ( Write -> Plan -> Create )
+
* Describe Terraform workflow ( Write -> Plan -> Create )
6b Initialize a Terraform working directory (terraform init)
+
* Initialize a Terraform working directory (<code>[[terraform init]]</code>)
6c Validate a Terraform configuration (terraform validate)
+
* Validate a Terraform configuration (<code>[[terraform validate]]</code>)
6d Generate and review an execution plan for Terraform (terraform plan)
+
* Generate and review an execution plan for Terraform (<code>[[terraform plan]]</code>)
6e Execute changes to infrastructure with Terraform (terraform apply)
+
* Execute changes to infrastructure with Terraform (<code>[[terraform apply]]</code>)
6f Destroy Terraform managed infrastructure (terraform destroy)
+
* Destroy Terraform managed infrastructure (<code>[[terraform destroy]]</code>)
7 Implement and maintain state
+
 
7a Describe default local backend
+
=== 7 Implement and maintain state ===
7b Outline state locking
+
* Describe default <code>[[local]]</code> [[backend]]
7c Handle backend authentication methods
+
* Outline [[state locking]]
7d Describe remote state storage mechanisms and supported standard backends
+
* Handle [[backend]] [[authentication methods]]
7e Describe effect of Terraform refresh on state
+
* Describe remote state storage mechanisms and supported standard backends
7f Describe backend block in configuration and best practices for partial configurations
+
* Describe effect of <code>[[terraform refresh]]</code> (deprecated) on [[state]] (<code>[[terraform apply -refresh-only]]</code>)
7g Understand secret management in state files
+
* Describe backend block in configuration and best practices for partial configurations
8 Read, generate, and modify configuration
+
* Understand [[secret management]] in [[state files]]
8a Demonstrate use of variables and outputs
+
 
8b Describe secure secret injection best practice
+
=== 8 Read, generate, and modify configuration ===
8c Understand the use of collection and structural types
+
* Demonstrate use of [[Terraform variables|variables]] and [[outputs]]
8d Create and differentiate resource and data configuration
+
* Describe secure [[secret injection]] best practice
8e Use resource addressing and resource parameters to connect resources together
+
* Understand the use of [[Terraform collection functions|collection]] and structural types
8f Use Terraform built-in functions to write configuration
+
* Create and differentiate resource and data configuration
8g Configure resource using a dynamic block
+
* Use resource addressing and resource parameters to connect resources together
8h Describe built-in dependency management (order of execution based)
+
* Use [[Terraform built-in functions]] to write configuration
9 Understand Terraform Cloud and Enterprise capabilities
+
* Configure resource using a [[dynamic block]]
9a Describe the benefits of Sentinel, registry, and workspaces
+
* Describe [[built-in]] dependency management (order of execution based)
9b Differentiate OSS and TFE workspaces
+
 
9c Summarize features of Terraform Cloud
+
=== 9 Understand [[Terraform Cloud]] and [[Terraform Enterprise|Enterprise]] capabilities ===
<pre>
+
* Describe the benefits of [[Sentinel]], [[registry]], and [[workspaces]]
 +
* Differentiate [[OSS]] and [[TFE]] workspaces
 +
* Summarize features of [[Terraform Cloud]]
 +
 
 +
== Questions examples ==
 +
* https://learn.hashicorp.com/tutorials/terraform/associate-questions?in=terraform/certification
 +
* https://www.whizlabs.com/blog/terraform-certification-exam-questions/
 +
* 250 questions and answers: https://medium.com/bb-tutorials-and-thoughts/250-practice-questions-for-terraform-associate-certification-7a3ccebe6a1a
 +
* [[Terraform example questions]]
 +
 
 +
== Related ==
 +
* [[Create Terraform Infrastructure with Docker]]
 +
* [[Terraform Associate cheatsheet]]
 +
* [[Retake]]
  
 
== See also ==
 
== See also ==
* {{Terraform}}
+
* {{tf quiz}}
 +
* {{Terraform Associate}}
 
* {{Certifications}}
 
* {{Certifications}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 16:59, 4 April 2023

Exam Details[edit]

https://www.hashicorp.com/certification/terraform-associate

  • Assessment Type: Multiple choice
  • Format: Online proctored
  • Duration: 1 hour
  • Questions: 57
  • Price: $70.50 USD plus locally applicable taxes and fees
  • Language: English
  • Expiration: 2 years
  • Pass Score: 700 (on a scale of 1-1000)

Objetives[edit]

1. Understand infrastructure as code (IaC) concepts[edit]

2. Understand Terraform's purpose (vs other IaC)[edit]

3. Understand Terraform basics[edit]

4. Use the Terraform CLI (outside of core workflow)[edit]

  • Given a scenario: choose when to use terraform fmt to format code
  • Given a scenario: choose when to use terraform taint to taint Terraform resources
  • Given a scenario: choose when to use terraform import to import existing infrastructure into your Terraform state
  • Given a scenario: choose when to use terraform workspace to create workspaces
  • Given a scenario: choose when to use terraform state to view Terraform state
  • Given a scenario: choose when to enable verbose logging and what the outcome/value is

5 Interact with Terraform modules[edit]

6 Navigate Terraform workflow[edit]

7 Implement and maintain state[edit]

8 Read, generate, and modify configuration[edit]

9 Understand Terraform Cloud and Enterprise capabilities[edit]

Questions examples[edit]

Related[edit]

See also[edit]

Advertising: