logo
HashiCorp助理级🔄 DevOps

HashiCorp Certified: Terraform Associate

HashiCorp Terraform Associate (003) 模拟考试,覆盖 IaC 概念、Terraform 工作流、状态管理、模块、HCL 配置等九大考试域,含360+练习题。

$0
Exam Fee
65
Questions
90m
Exam Duration
70/100
Passing Score
Bottom line · Worth it

Terraform Associate (003) 是 IaC 领域最有价值的入门认证 — Terraform 在多云/混合云基础设施管理中的市场份额超过 70%(HCL 语法已成为行业事实标准)。

MEMBERSHIP

JR Academy Membership

Unlock all certifications, courses & tools at a fraction of the cost

  • All certification exam prep included
  • Course discounts up to 50%
  • AI tools & Chrome extensions
  • Priority 1-on-1 coaching
View Membership Plans

What this certification covers

This page is structured for quick scanning first: exam format, fit, prep time, and the actual study scope.

HashiCorp Certified: Terraform Associate (003) 验证使用 Terraform 进行基础设施即代码(IaC)管理的核心能力。57 题 / 60 分钟,费用 $70.50 USD(Terraform 认证相比 AWS/Azure 便宜很多),有效期 2 年。

注:此 slug(terraform-associate)是同一认证的另一个数据条目,和 hashicorp-terraform-associate 指向相同的考试。考试覆盖九大领域:IaC 概念、Terraform vs 其他 IaC 工具(CloudFormation/ARM/Pulumi)、Terraform 基础(Providers/Resources/Data Sources)、核心工作流(init/plan/apply/destroy)、模块(Module Registry/Git/本地模块)、状态管理(Remote Backend/State Locking/Sensitive Data)、HCL 配置(变量/输出/条件/函数)、HCP Terraform(原 Terraform Cloud)的 Workspace/VCS 集成/Sentinel 策略。

Terraform 在 IaC 工具中的市场份额约 70%+(HashiCorp 2024 State of Cloud Strategy 报告)。AWS CloudFormation 只能管 AWS 资源,Azure ARM/Bicep 只能管 Azure 资源,Terraform 的杀手锏是一套 HCL 代码管多个云(AWS + Azure + GCP + on-prem)。

You will work with

Infrastructure as Code (IaC) 概念与实践HCL 语法与 Terraform 配置编写Terraform 核心工作流(init/plan/apply/destroy)Provider 配置与资源管理Terraform 状态管理与远程后端模块设计、发布与版本管理变量、输出值与表达式HCP Terraform (Terraform Cloud) 基础Sentinel 策略即代码概念

After preparation

  • Pass the Terraform Associate certification exam with confidence
  • Master key concepts across all exam domains
  • Identify and strengthen weak areas before the exam

Exam details

Exam Code
Terraform-Assoc
Provider
HashiCorp
Duration
90 minutes
Question Count
65 questions
Passing Score
70/100
Validity
3 years
Exam Fee
$0 USD
Question Types
single-choice, multiple-choice
Languages
English
Official Page

Who should take it

Good fit

  • DevOps 工程师和 SRE 需要验证 Terraform 自动化技能
  • 云架构师使用 Terraform 管理 AWS/Azure/GCP 多云基础设施
  • 系统管理员希望从手动运维转向 IaC 自动化
  • 后端开发者希望掌握基础设施即代码(IaC)能力

Before you start

  • 了解云计算基础概念(虚拟机、网络、存储)
  • 熟悉至少一个云平台(AWS、Azure 或 GCP)的基本操作
  • 具备命令行(CLI)操作经验
  • 建议有 3-6 个月使用 Terraform 的实践经验

Is it worth it? Career value

Salary ranges, target job titles, and the real career impact of holding Terraform Associate.

澳洲
$120K-170KAUD
美国
$115K-165KUSD
中国
¥300K-500KCNY
DevOps EngineerCloud EngineerInfrastructure EngineerPlatform EngineerSRE云工程师

Terraform 技能在 DevOps/Cloud 岗位中已经从"加分项"变成"必备项"。LinkedIn 上搜 "DevOps Engineer" 的澳洲岗位,超过 60% 的 JD 提到 Terraform。Seek 上 DevOps/Cloud Engineer 年薪中位数约 $140K AUD,持有 Terraform Associate + AWS/Azure 认证的候选人通常在 $150-170K 区间。

Terraform Associate 的独特优势是性价比极高 — $70.50 考试费、57 题 60 分钟、通过率相对较高(社区报告约 60-65%)。作为简历上的第一张 IaC 认证,投入产出比远超大部分云认证。

不适合的人群:纯前端/移动端开发者 — Terraform 管理的是基础设施(服务器/网络/数据库),和应用层开发无关。已经有 3 年以上 Terraform 实战经验的 Senior — 考这张证对你的简历没有额外加分,不如贡献开源 module 或写技术博客。

Study preparation

With hands-on AWS

2-3 weeks

From scratch

4-6 weeks

Daily pace

1-2 hours/day

Learning path preview

11 chapters
1
Terraform Associate Exam Overview
40 min
2
Terraform
120 min
3
Terraform basics
30 min
4
Terraform CLI
30 min
5
State management
30 min
6
Terraform Cloud/Enterprise
30 min
+ 5 more chapters inside the full path

Step-by-step preparation

A concrete week-by-week plan from past test-takers — not generic advice.

1

第一阶段:Terraform 核心工作流(1-2 周)

安装 Terraform CLI,在 AWS Free Tier 或 Azure Free Account 上实操。走完 terraform init → terraform plan → terraform apply → terraform destroy 完整流程。创建一个简单的 VPC + EC2(或 VNet + VM),理解 Provider 配置、Resource 声明、terraform.tfstate 文件的作用。

2

第二阶段:模块 + 状态管理 + HCL 进阶(1-2 周)

创建一个本地 Module(variables.tf/main.tf/outputs.tf),在根模块中调用。配置 Remote Backend(S3 + DynamoDB 状态锁定 或 Azure Storage Account)。HCL 进阶:count vs for_each 的区别、dynamic block、conditional expression (condition ? true_val : false_val)、常用内置函数(lookup/merge/flatten/format)。

3

第三阶段:HCP Terraform + 模考(1-2 周)

注册 HCP Terraform 免费版(原 Terraform Cloud),创建 Workspace 并关联 VCS(GitHub)。理解 Remote Execution(plan/apply 在 HCP 而非本地运行)。Sentinel Policy as Code 的概念(不需要写 Sentinel,理解它的作用即可)。用 HashiCorp 官方 Practice Exam + Udemy Bryan Krausen 的模考做 2 次全真模拟。

Real test-taker experiences

What it actually took for real candidates to pass — prep time, scores, and lessons learned.

工作中天天写 Terraform 所以不难,但考试出了一些我没碰过的知识点 — HCP Terraform 的 Workspace 配置(我们公司用自建 Atlantis 不用 Terraform Cloud)、Sentinel 策略、terraform taint(已 deprecated 但还在考)。建议工作中用 Terraform 的人也至少花 1 周看考纲查漏补缺。

DevOps Engineer 2 年通过(不显示分数)
用 Terraform 管 AWS · 2 weeks prep

考试不像 AWS SAA 那样需要记住几百个服务,Terraform 就那几个核心概念。最难的是 State 管理 — Remote Backend 配置、State Locking 原理、terraform state mv/rm 命令。Bryan Krausen 的 Udemy 课程 + 模考覆盖了 90% 的考点。

云计算零基础通过
Bootcamp 学员转 DevOps · 5 weeks prep

Certification comparison

Terraform AssociateTerraform AssociateAWS SAA考证
ProviderHashiCorpHashiCorpAWS
Level助理级助理级助理级
Fee$0$70.5$150
Duration90 min60 min130 min
Question count655765
Validity3 yrs2 yrs3 yrs

Study tips and common mistakes

💡

57 题 60 分钟,约 1.05 分钟/题,时间非常紧。概念题快速作答,把时间留给 HCL 代码阅读题。

💡

terraform taint 命令虽然在 Terraform 1.0+ 中标记为 deprecated(用 terraform apply -replace 替代),但考试仍然考。

💡

$70.50 的考试费 + 在线考试(无需去考点)= 最低成本获取的有价值 IaC 认证。

⚠️

**count 和 for_each 的区别** — count 用数字索引(resource[0], resource[1]),删除中间的元素会导致后续索引全部重新创建。for_each 用 map 的 key 索引,删除一个元素不影响其他。考试至少 3 道。

⚠️

**terraform.tfstate 包含敏感数据** — State 文件以明文存储所有 Resource 的属性值,包括密码和密钥。必须用加密的 Remote Backend 存储,禁止提交到 Git。

⚠️

**Provider 版本锁定遗忘** — 不在 required_providers 中指定版本约束(~> 4.0),terraform init 会拉最新版本,可能引入破坏性变更。

FAQ

Frequently Asked Questions

If you plan to take Terraform Associate, start with real practice.

360+ questions, chapter-by-chapter learning, mock exams, wrong-question review, and AI tutor support live in the exam page.

Go to exam prep

From $29 · 2 free chapters

Related certifications