
HashiCorp Certified:Terraform Authoring and Operations Professional
Domain 2Objective 3
2c TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL Practice Questions (Page 1)
Part of the Develop and troubleshoot dynamic configuration domain, which makes up ~20% of our current practice bank. HashiCorp does not publish an official question count, but from its 240-minute exam (~95–160 total, ~19–32 in this domain), expect 3–5 from this objective — we provide 27 practice questions to prepare you well beyond it. (estimate)
27questions here
6free pages
9concepts
Questions 1–5
- 1
A developer is writing a Terraform configuration and needs to combine two lists of strings into a single list. They have `var.list1 = ["a", "b"]` and `var.list2 = ["c", "d"]`. Which function call correctly merges them?
Select an answer first - 2
Which function returns the current timestamp in UTC?
Select an answer first - 3
A Terraform configuration needs to read a JSON file containing configuration data. The file path is provided by a variable that may include a directory and filename, e.g., "/etc/app/config.json". The team wants to extract just the filename without the directory to use as a tag. Which function should they use?
Select an answer first - 4
Which function call converts the string `"hello world"` to `"HELLO WORLD"`?
Select an answer first - 5
A Terraform configuration receives a list of strings from a variable, but the downstream resource expects a list of numbers. The engineer needs to convert each element to a number. Which expression correctly performs this conversion?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by HashiCorp. “TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL” is a trademark of its owner, used for identification only.