
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
- 21
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 - 22
Given `var.tags = { env = "prod", team = "platform" }`, which expression returns the value `"prod"`?
Select an answer first - 23
Which function returns the number of elements in a list or map?
Select an answer first - 24
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 - 25
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.