Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
HashiCorp logo

HashiCorp Certified:Terraform Authoring and Operations Professional

Domain 2Objective 3

2c TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL Practice Questions (Page 5)

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 21–25

  1. 21application · medium

    A team needs to generate an AWS S3 bucket name that includes a timestamp in UTC format 'YYYYMMDDHHmmss' to ensure uniqueness. They want to use the current time. Which expression produces a string like 'bucket-20250314123045'?

    Select an answer first
  2. 22foundation · easy

    Given `var.tags = { env = "prod", team = "platform" }`, which expression returns the value `"prod"`?

    Select an answer first
  3. 23foundation · easy

    Which function returns the number of elements in a list or map?

    Select an answer first
  4. 24expert · medium

    A Terraform configuration needs to read a file and extract the first line. The file path is `var.file_path`. Which expression correctly reads the file and returns the first line?

    Select an answer first
  5. 25application · easy

    A security team needs to pass a user-provided password to an Azure VM as a base64-encoded string. The password is stored in a variable `var.admin_password`. Which expression correctly encodes the password?

    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.