Terraform Associate
- https://www.hashicorp.com/certification/terraform-associate
- Exam review: https://learn.hashicorp.com/tutorials/terraform/associate-review
- Terraform 0.14 (March 2021)
Contents
- 1 Exam Details
- 2 Objetives
- 2.1 1. Understand infrastructure as code (IaC) concepts
- 2.2 2. Understand Terraform's purpose (vs other IaC)
- 2.3 3. Understand Terraform basics
- 2.4 4. Use the Terraform CLI (outside of core workflow)
- 2.5 5 Interact with Terraform modules
- 2.6 6 Navigate Terraform workflow
- 2.7 7 Implement and maintain state
- 2.8 8 Read, generate, and modify configuration
- 2.9 9 Understand Terraform Cloud and Enterprise capabilities
- 3 Questions examples
- 4 Related
- 5 See also
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
1. Understand infrastructure as code (IaC) concepts
- Explain what IaC is
- Describe advantages of IaC patterns
2. Understand Terraform's purpose (vs other IaC)
3. Understand Terraform basics
- Handle Terraform and provider installation and versioning
- Describe plugin based architecture
- Demonstrate using multiple providers (
alias
) - Describe how Terraform finds and fetches providers
- Explain when to use and not use provisioners and when to use
local-exec
orremote-exec
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
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
- Contrast modules source options
- Interact with module inputs and outputs
- Describe variable scope within modules/child modules
- Discover modules from the public Terraform Module Registry
- Defining module version
- Describe Terraform workflow ( Write -> Plan -> Create )
- Initialize a Terraform working directory (
terraform init
) - Validate a Terraform configuration (
terraform validate
) - Generate and review an execution plan for Terraform (
terraform plan
) - Execute changes to infrastructure with Terraform (
terraform apply
) - Destroy Terraform managed infrastructure (
terraform destroy
)
7 Implement and maintain state
- Describe default
local
backend - Outline state locking
- Handle backend authentication methods
- Describe remote state storage mechanisms and supported standard backends
- Describe effect of
terraform refresh
(deprecated) on state (terraform apply -refresh-only
) - Describe backend block in configuration and best practices for partial configurations
- Understand secret management in state files
8 Read, generate, and modify configuration
- Demonstrate use of variables and outputs
- Describe secure secret injection best practice
- Understand the use of collection and structural types
- Create and differentiate resource and data configuration
- Use resource addressing and resource parameters to connect resources together
- Use Terraform built-in functions to write configuration
- Configure resource using a dynamic block
- Describe built-in dependency management (order of execution based)
9 Understand Terraform Cloud and Enterprise capabilities
- 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
See also
Advertising: