
HashiCorp Certified:Terraform Authoring and Operations Professional
Domain 5Objective 2
5b TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL Practice Questions (Page 3)
Part of the Configure and use Terraform providers domain, which makes up ~16% of our current practice bank. HashiCorp does not publish an official question count, but from its 240-minute exam (~95–160 total, ~15–26 in this domain), expect 4–7 from this objective — we provide 17 practice questions to prepare you well beyond it. (estimate)
17questions here
4free pages
5concepts
Questions 11–15
- 11
Which argument is commonly required inside a provider block to specify the geographic location for cloud resources?
Select an answer first - 12
A team is setting up a new Terraform project. They want to use a provider from a private registry. They have the following configuration in `main.tf`: ```hcl terraform { required_providers { myprovider = { source = "registry.example.com/acme/myprovider" version = "~> 1.0" } } } provider "myprovider" { endpoint = "https://api.example.com" } ``` When they run `terraform init`, it fails with an error. What is the most likely cause?
Select an answer first - 13
In a Terraform configuration, which block is used to define the configuration options for a specific provider, such as setting the region for the AWS provider?
Select an answer first - 14
A company uses Terraform to manage resources in multiple AWS regions. They have a default provider for us-east-1 and an aliased provider for eu-west-1. They are now adding a new resource that must be created in ap-southeast-1. They want to avoid duplicating the provider configuration. What should they do?
Select an answer first - 15
An organization has published a custom provider to a private registry at `registry.internal.example`. The provider is named `infra` and is in the namespace `platform`. They want to use it in their Terraform configuration. What is the correct `source` value in the `required_providers` block?
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.