Hashicorp Certified Terraform Associate 003 · Free Practice Question Easy

Question 12

True or False? min, max, format, join, trim, and length are examples of different expressions in Terraform.

  • A

    False

  • B

    True

Reveal correct answer

Correct answer: A

Explanation

These are actually examples of Terraform functions, not expressions. Expressions would be something more in the line of string, number, bool, null, etc.

For the exam, you should go through these and understand what they do at a high level as you could get questions on using a few of them. Check out the built-in functions for Terraform here - https://developer.hashicorp.com/terraform/language/functions

A.

False. While min, max, format, join, trim, and length are valid functions in Terraform, they are not examples of different expressions. They are specific functions used for various purposes such as string manipulation, formatting, and working with collections, but they do not represent different types of expressions in Terraform.

B.

These are actually examples of Terraform functions, not expressions. Expressions would be something more in the line of string, number, bool, null, etc.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need