
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
- 6
If a resource in the root module references an output from a child module, what does Terraform do?
Select an answer first - 7
How does Terraform determine the order in which resources are created or destroyed?
Select an answer first - 8
How do you reference an output named `vpc_id` from a module block named `network`?
Select an answer first - 9
In a Terraform configuration, which argument inside a module block specifies where Terraform should download the module code from?
Select an answer first - 10
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.