Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
HashiCorp logo

HashiCorp Certified:Terraform Authoring and Operations Professional

Domain 4Objective 2

4b TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL Practice Questions (Page 2)

Part of the Create, maintain, and use Terraform modules domain, which makes up ~13% of our current practice bank. HashiCorp does not publish an official question count, but from its 240-minute exam (~95–160 total, ~12–21 in this domain), expect 3–5 from this objective — we provide 16 practice questions to prepare you well beyond it. (estimate)

16questions here
4free pages
5concepts

Questions 6–10

  1. 6foundation · easy

    If a resource in the root module references an output from a child module, what does Terraform do?

    Select an answer first
  2. 7foundation · easy

    How does Terraform determine the order in which resources are created or destroyed?

    Select an answer first
  3. 8foundation · easy

    How do you reference an output named `vpc_id` from a module block named `network`?

    Select an answer first
  4. 9foundation · easy

    In a Terraform configuration, which argument inside a module block specifies where Terraform should download the module code from?

    Select an answer first
  5. 10application · medium

    A module creates an AWS security group and outputs its ID. A separate resource in the root configuration creates an EC2 instance that uses this security group ID. The developer writes the following code: resource "aws_instance" "web" { ami = "ami-123456" instance_type = "t2.micro" vpc_security_group_ids = [module.sg.security_group_id] } What will happen when Terraform applies this configuration?

    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.