HashiCorp Certified Terraform Associate certification questions and exam summary helps you to get focused on the exam. This guide also helps you to be on Terraform Associate exam track to get certified with good score in the final exam.
HashiCorp (Terraform Associate) Certification Summary
● Exam Name: HashiCorp Certified Terraform Associate (Infrastructure Automation)
● Exam Code: Terraform Associate
● Exam Price: $70 USD
● Duration: 60 minutes
● Number of Questions: 57
● Passing Score: Pass / Fail (Approx 70%)
● Recommended Training / Books: Prepare for the exam
● Schedule Exam: Cloud Engineer Certification Exam Portal
● Sample Questions: HashiCorp Terraform Associate Sample Questions
● Recommended Practice: HashiCorp Certified - Terraform Associate Practice Test
HashiCorp (Terraform Associate) Infrastructure Automation Certification Exam Syllabus
01. Understand infrastructure as code (IaC) concepts
- Explain what IaC is
- Describe advantages of IaC patterns
02. Understand Terraform's purpose (vs other IaC)
- Explain multi-cloud and provider-agnostic benefits
- Explain the benefits of state
03. Understand Terraform basics
- Handle Terraform and provider installation and versioning
- Describe plugin based architecture
- Demonstrate using multiple 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
04. 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
05. Interact with Terraform modules
- Contrast module 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
06. Navigate Terraform workflow
- 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)
07. 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 on state
- Describe backend block in configuration and best practices for partial configurations
- Understand secret management in state files
08. 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)
09. Understand Terraform Cloud and Enterprise capabilities
- Describe the benefits of Sentinel, registry, and workspaces
- Differentiate OSS and TFE workspaces
- Summarize features of Terraform Cloud
HashiCorp Infrastructure Automation (Terraform Associate) Certification Questions
01. You have defined the values for your variables in the file terraform.tfvars, and saved it in the same directory as your Terraform configuration.
Which of the following commands will use those values when creating an execution plan?
a) terraform plan
b) terraform plan -var-file=terraform.tfvars
c) All of the above
d) None of the above
02. Published modules via the Terraform Registry provide which of the following benefits?
(select four)
a) support versioning
b) automatically generated documentation
c) allow browsing version histories
d) support from any code repo
e) show examples and READMEs
03. Which of the following represents a feature of Terraform Cloud that is NOT free to customers?
a) VCS integration
b) team management and governance
c) private module registry
d) workspace management
04. During a terraform apply, a resource is successfully created but eventually fails during provisioning. What happens to the resource?
a) Terraform attempts to provision the resource up to three times before exiting with an error
b) it is automatically deleted
c) the terraform plan is rolled back and all provisioned resources are removed
d) the resource is marked as tainted
05. Infrastructure as Code (Iac) provides many benefits to help organizations deploy application infrastructure much faster than clicking around in the console. What are additional benefits to IaC?
(select three)
a) allows infrastructure to be versioned
b) creates a blueprint of your data center
c) code can easily be shared and reused
d) can always be used to deploy the latest features and services
e) eliminates parallelism
06. When running a terraform plan, how can you save the plan so it can be applied at a later time?
a) you cannot save a plan
b) use the -file parameter
c) use the -save parameter
d) use the -out parameter
07. Consider the following Terraform 0.12 configuration snippet:
variable "vpc_cidrs" {
type = map
default = {
us-east-1 = "10.0.0.0/16"
us-east-2 = "10.1.0.0/16"
us-west-1 = "10.2.0.0/16"
us-west-2 = "10.3.0.0/16"
}
}
resource "aws_vpc" "shared" {
cidr_block = _____________
}
How would you define the cidr_block for us-east-1 in the aws_vpc resource using a variable?
a) var.vpc_cidrs["us-east-1"]
b) var.vpc_cidrs.0
c) vpc_cidrs["us-east-1"]
d) var.vpc_cidrs[0]
08. Which of the following Terraform commands will automatically refresh the state unless supplied with additional flags or arguments?
Choose TWO correct answers.
a) terraform plan
b) terraform state
c) terraform apply
d) terraform validate
e) terraform output
09. A provider alias is used for what purpose in a Terraform configuration file?
a) alias isn't used with providers, they are used with provisioners
b) to signify what cloud-based region to deploy resources
c) to use as shorthand for resources to be deployed with the referenced provider
d) using the same provider with different configurations for different resources
10. What happens when you apply Terraform configuration?
Choose TWO correct answers.
a) Terraform makes any infrastructure changes defined in your configuration.
b) Terraform gets the plugins that the configuration requires.
c) Terraform updates the state file with any configuration changes it made.
d) Terraform corrects formatting errors in your configuration.
e) Terraform destroys and recreates all your infrastructure from scratch.
Answers:
Question: 01: Answer: c
Question: 02: Answer: a, b, c, e
Question: 03: Answer: b
Question: 04: Answer: d
Question: 05: Answer: a, b, c
Question: 06: Answer: d
Question: 07: Answer: a
Question: 08: Answer: a, c
Question: 09: Answer: d
Question: 10: Answer: a, c
How to Register for Infrastructure Automation Certification Exam?
● Visit site for Register Infrastructure Automation Certification Exam.
Comments