Hi all,
I passed the Terraform Associate (004) exam yesterday and wanted to share my experience, since this sub helped me a lot while studying.
Background: developer, with RHCSA/RHCE (Ansible) and AWS SAA/DVA behind me. I had a couple of free days and a birthday voucher, so the whole thing cost me very little. Personally I found the exam fairly easy, but I already had hands-on Linux/AWS/Ansible experience, so your mileage may vary.
How I prepared:
- Video course with slides (Bryan Krausen's course), plus the official HashiCorp docs
- Practice tests on Udemy to find weak spots, then going back to the docs for every mistake
- Writing small configs myself instead of only reading: modules, variables vs locals, remote backend, import, lifecycle rules
- I decided to book the exam after the practice tests started going well
Topics that took me the most time to really understand:
- Module variable scope: child modules inherit nothing, everything is passed explicitly
- State, locking and backends, and what actually gets written to state (secrets in plain text)
- Ephemeral values vs sensitive vs write-only arguments
- plan -refresh-only vs the old terraform refresh, drift and the import workflow
- Variable precedence and version constraints (~>)
Tips:
- If English is not your first language, you can request +30 extra minutes on top of the standard 60 when you register for the exam
- Read each question carefully, many differ by one word (NOT, FALSE, "select two")
- Know the CLI commands and what files they create, not only the HCL syntax
- Do the pre-flight check for the online proctoring well in advance