Skip to content

HashiCorp Certified Terraform Associate – Learning & Exam Tips

Avatar photo

https://www.linkedin.com/in/gineesh/ https://twitter.com/GiniGangadharan

Introduction

I started using Terraform somewhere in 2018, but very limited usage as I thought it is just another tool for provisioning infrastructure and other services โ€“ or a variant of Vagrant; and I never expected that Terraform will grow in such way that, most of the organizations prefer to use it, especially when they have multi-cloud architecture.

So, I have decided to explore more by converting our Ansible and Vagrant based projects to Terraform configurations; yes still using Ansible inside as provisioner. And later I decided to sit for HashiCorp Certified Terraform Associate exam, which is the official Certification program conducting by HashiCorp. So, this is another review or preparation kind of stuff for Terraform Certification Exam as I received few queries on the same and thought to add a note here.

Also Read : Certified Kubernetes Administrator (CKA) & Certified Kubernetes Application Developer (CKAD) โ€“ Learning Path and Certification

Where to Start ?

Good questionโ€ฆ if you are very new to Terraform, it is highly recommend to go through the Get Started documents and Introduction to Infrastructure as Code with Terraform. This will give you the basic idea about Terraform and the use cases. Terraform associate exam is a foundation level certification and it will evaluates your knowledge in core concepts in Terraform OSS as well as Terraform Cloud/Enterprise.

I am not promising, but I will try my best to publish a video on this later. You may consider subscribing to this YouTube channel.

Details of Exam

ItemDescription
MethodMultiple Choice Questions
Multiple Answer Questions
True or false, etc
FormatOnline Proctored
Duration60 minutes
Cost$70.50 USD (plus locally applicable taxes and fees)
LanguageEnglish
Expiration2 Years

Preparing for Exam

Okay, since you are here to see what is the best course to attend before attending HashiCorp Certified Terraform Associate exam, I will say you must have a look at Exam Review by HashiCorp. They have clearly mentioned the topics to cover and the reference documentation & guide to follow. Below are the main topics; make sure you cover all items under the topics.

  1. Understand Infrastructure as Code (IaC) concepts
  2. Understand Terraformโ€™s purpose (vs other IaC)
  3. Understand Terraform basics
  4. Use the Terraform CLI (outside of core workflow)
  5. Interact with Terraform modules
  6. Navigate Terraform workflow
  7. Implement and maintain state
  8. Read, generate, and modify configuration
  9. Understand Terraform Cloud and Enterprise capabilities

Once you finished, its highly recommended to go through the Study Guide for Terraform Associate Certification, by which you will start from easy lessons to difficult one.

Recommended Courses

I realized that, referring official documentation is enough to prepare for Terraform Associate Certification exam, if you have the knowledge and basic hands-on. But if you are really struggling to understand the concepts, then I suggest to follow any courses in online platforms Like Udemy. From my experience, I would recommend the following courses.

Looking for Exam Question Samples ?

You have official reference to understand the types of questions coming for Associte Exam; refer Sample Questions โ€“ Terraform Associate Certification. Yes, if you search online, you will get a lot of sample questions and links; you may give a try on those to get more comfort and understanding of exam pattern. I do not have any such links to recommend right now.

Registering for Terraform Associate Certification Exam

You can register exam from HashiCorp website and it will redirect to the to questionmark.com, where you login with your GitHub auth and purchase exam.

Once you purchased exam, you can schedule it for anytime as you need; depends on available slots. Letโ€™s say you scheduled an exam but you are not confident to attend or need more time to prepare; no worries, you can cancel the exam and reschedule it anytime from the portal.

Note: Make sure you update your profile properly with your timezone and book exam slot accordingly.

IMPORTANT NOTICE : HashiCorp is moving to a new exam platform partner in October 2020. Exams purchased today must be scheduled and taken by September 30th, 2020. If you cannot take the exam by September 30th, please do not purchase an exam or redeem a voucher. Instead, go to hashicorp.com/certification and sign up to be notified when and how you can access the new system. If you have already purchased your exam, please see this FAQ for how this change will impact you.

(Source : HashiCorp)

Exam retake policy

HashiCorp is not offering FREE Retake for exam but you can buy and attend the exam again; but recommended that you wait at least 2 weeks before retaking.

Rules to follow during Exam

If you have attended any online/remote exams earlier, rules are almost same.

  • Make sure you are alone in the room while attending the exam
  • Follow clean desk policy and remove any unwanted items
  • Make sure you connected your laptop/desktop to power. (No tablets are allowed as per my understanding)
  • Keep you mobile phones away (and make them silent)
  • No external monitors allowed (Not needed anyway)
  • Webcam, speakers, and microphone must remain on throughout the test.

What should I prepare for the exam day ?

  • Download and Install latest Zoom client
  • A web browser (any compatible; refer your exam email if any clarification needed)
  • A government issued photo ID such as driverโ€™s license or Passport.

Terraform Associate Certification Exam Tips

Yeeeeeay, at last you reached a position where you will read this article very carefully. To be honest, tips are just tips and still its your responsibility to prepare well as per the guidelines. As wise men says, No short cut to victory.

#1. Do hands on as much as possible

Hey waitโ€ฆ I heard it is a multi-choice/answer type exam and no hands-on involved ? Yes, no hands-on or performance measurement involved in the exam. But, some of the questions are really tricky and you will understand the difference of syntax and options only when you do hands-on; at least once. There might be answers very similar in look but with small changes; beware of them.

So install Terraform and start practicing Terraform CLI from your machine.

#2. Understand the syntax difference in Terraform versions

There are some difference in syntax from version 0.11 to 0.12+; so read Terraform v0.12 upgrade documents for details.

For Examle,

# Example for older versions of Terraform; not valid for v0.12
  example = ["${var.any_list}"]
# The upgrade tool is able to recognize most simple usage of this pattern and rewrite automatically to just refer to the list directly:
  example = var.any_list

#3. Understand Terraform OSS vs Terraform Cloud vs Terraform Enterprise

Read and understand all features and differences between different variants of Terraform offerings. If you ask me, it is not a good idea to memorize it, instead try to understand and apply some logic, as we all know what are the requirements in enterprise versions of a software etc. Read more at Compare Offerings.

#4. Read and Understood Provisioners and Types

There are multiple types of provisioners โ€“ local provisioner and remote provisioners. Also understand Creation-Time Provisioners and Destroy-Time Provisioners.

#5. Understand Input Variables and Precedence

As you know, you can pass variable and values to Terraform config in multiple ways, remember the Variable Definition Precedence and options. Terraform loads variables in the following order, with later sources taking precedence over earlier ones:

  • Environment variables
  • The terraform.tfvars file, if present.
  • The terraform.tfvars.json file, if present.
  • Any *.auto.tfvars or *.auto.tfvars.json files, processed in lexical order of their filenames.
  • Any -var and -var-file options on the command line, in the order they are provided. (This includes variables set by a Terraform Cloud workspace.)

#6. Understand Reserved Variable Names

There are some situations you will find errors with variable names, because Terraform reserved few names and you cannot use that for variables. You may have a look at Reserved Variable Names.

#7. Read and Understand The Core Terraform Workflow

You should understand the core workflow in Terraform โ€“ Write, Plan and Apply. And also the difference when you are working as Individual as well as Team.

#8. Plan your time during exam

Donโ€™t get panic during exam, 60 minutes and 57 questions is not a bad combination. There will be simple questions which you can answer withing seconds and use the buffer time for answering complicated or confusing questions. DO NOT stuck on a question; you can mark it for review and proceed with next question. You will get chance to review all questions one by one before ending exam โ€“ in 60 minutes.

#9. Understand Immutable Infrastructure Concept

Read and understand about immutable infrastructure and how Terraform is contributing to this topic. Good reads,

References

Disclaimer:

The views expressed and the content shared in all published articles on this website are solely those of the respective authors, and they do not necessarily reflect the views of the author’s employer or the techbeatly platform. We strive to ensure the accuracy and validity of the content published on our website. However, we cannot guarantee the absolute correctness or completeness of the information provided. It is the responsibility of the readers and users of this website to verify the accuracy and appropriateness of any information or opinions expressed within the articles. If you come across any content that you believe to be incorrect or invalid, please contact us immediately so that we can address the issue promptly.

Avatar photo


https://www.linkedin.com/in/gineesh/ https://twitter.com/GiniGangadharan
Gineesh Madapparambath is the founder of techbeatly and he is the author of the book - ๐—”๐—ป๐˜€๐—ถ๐—ฏ๐—น๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—ฅ๐—ฒ๐—ฎ๐—น-๐—Ÿ๐—ถ๐—ณ๐—ฒ ๐—”๐˜‚๐˜๐—ผ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป. He has worked as a Systems Engineer, Automation Specialist, and content author. His primary focus is on Ansible Automation, Containerisation (OpenShift & Kubernetes), and Infrastructure as Code (Terraform). (aka Gini Gangadharan - iamgini.com)

Comments

10 Responses

  1. Aniruddha Pathak says:

    Did you take any practice test on Udemy?

    • Yes, I have tested few and those were good. (but couldn’t find anything great to share here in article).

      So, I spend more time on course, then some group discussion and documentations.

      Thanks

  2. […] HashiCorp Certified Terraform Associate – Learning & Exam Tips – September 18, 2020 […]

  3. […] cluster in a pre-provisioned infrastructure. You can automate infrastructure automation using Terraform or even using Ansible but we are not covering that in this […]

  4. […] Infrastructure as Code aka IaC using Terraform and get […]

  5. Andrew says:

    Hi,

    good information. Are you allowed to check documentation during the exam? I’ve heard conflicting answers on this.

  6. […] Terraform Associate Exam Guide […]

  7. Neeraj Vasudeva says:

    Good information !

    Small correction to the information mentioned on usage of external monitor where it is mentioned that it is not allowed. This is not true, I personally gave the exam using the external 34 inch external monitor and it was allowed. The restriction is on usage of more one monitor or using laptop screen along with monitor.

    Best usage could be when you have a mac mini which doesn’t come with a screen so you have to reply on external monitor as well as situation where your laptop screen is too small for you so it’s do it on etxernal monitor. Hope it helps for future aspirants.

    • HI Neeraj, thanks for sharing this.
      yes, we are aware of this. Unfortunately the article was written ~3 years ago and several things are changed now. (It was possible to use external monitor at that time and the exam method also was different).
      Since I didnt attend any Hashicorp exams recently I am not sure what is the current setup exactly.

      As I have contributed based on my experience, I am waiting for the community members like you to feedback and contribute content on latest updates!

      Thank you again.
      #sharingiscaring

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.