Task 8.2: Describe HCP Terraform collaboration and governance features
Teams and permissions, the private registry, Sentinel and OPA policies, dynamic provider credentials, health assessments with drift detection, explorer, and change requests.
Study it
Governance: teams, policy as code, private registry, health assessments
Try each one before opening the answer. Every option is explained, with the HashiCorp documentation page that proves it.
Question 1 · choose 1
A compliance team wants every run in a set of workspaces to be checked against rules such as allowed regions and required tags, after the plan and before anything is applied. Which HCP Terraform feature provides this?
AVariable sets that hold the allowed regions and tags for those workspaces
BAgent pools that run the checks inside the compliance team's network
CPolicy sets with Sentinel or OPA policies applied to those workspaces
DNotification settings that email the compliance team about every plan
Show the answer and why
AVariable sets that hold the allowed regions and tags for those workspaces
Incorrect
Stored values alone cannot evaluate a plan against rules.
BAgent pools that run the checks inside the compliance team's network
Incorrect
Agents execute Terraform runs in private networks; they do not define rules.
CPolicy sets with Sentinel or OPA policies applied to those workspaces
Correct
HCP Terraform checks the plan against the policy sets applied to a workspace during each run; policies are written in Sentinel or OPA.
DNotification settings that email the compliance team about every plan
Incorrect
Notifications report events; a person would still have to check each plan.
Policy as code in HCP Terraform runs between plan and apply, on every run.
A platform team builds approved networking modules and wants every team in its HCP Terraform organization, and only that organization, to find and version them in one place. Which two statements are correct? (Choose TWO.)
AModules published to the organization's private registry are available only to its members
BModules published to the public Terraform Registry can be limited to the company's namespace
CA variable set can hold the module source code and share it with every workspace
DModules in the private registry support versions, as modules in the public registry do
EOther workspaces can load the modules from the state of one shared workspace
Show the answer and why
AModules published to the organization's private registry are available only to its members
Correct
The private registry shares modules and providers across one organization, with a searchable list; private modules are available only to members of that organization.
BModules published to the public Terraform Registry can be limited to the company's namespace
Incorrect
The public registry is open to everyone; a namespace names the publisher and does not restrict who can use the module.
CA variable set can hold the module source code and share it with every workspace
Incorrect
Variable sets share variable values with workspaces; module code is not a variable value.
DModules in the private registry support versions, as modules in the public registry do
Correct
The private registry works like the public Terraform Registry, including support for module versions.
EOther workspaces can load the modules from the state of one shared workspace
Incorrect
State records infrastructure and output values, not reusable module code.
The private registry is the organization's own catalog of modules and providers, with versions like the public registry but visible only inside the organization.
A platform lead wants to find every workspace in the organization that uses an outdated module version or Terraform version. Which feature is built for this?
ACost estimation enabled for every workspace
BThe explorer for workspace visibility
CA global variable set
DThe private registry's module page
Show the answer and why
ACost estimation enabled for every workspace
Incorrect
Cost estimates price planned resources; they do not search the estate.
BThe explorer for workspace visibility
Correct
The explorer surfaces information across the organization and offers queries and filters over workspaces, modules and more.
CA global variable set
Incorrect
That holds values; it does not search across workspaces.
DThe private registry's module page
Incorrect
The registry lists modules, not where each version is used.
Explorer answers estate-wide questions about workspaces.
After finding outdated workspaces in explorer, an administrator wants to leave each owning team a tracked to-do inside its workspace. Which feature does this?
ASpeculative plans posted to each workspace
BSentinel advisory policies
CChange requests created from the explorer
DWorkspace descriptions edited by the administrator
Show the answer and why
ASpeculative plans posted to each workspace
Incorrect
Speculative plans show changes; they are not tasks for teams.
BSentinel advisory policies
Incorrect
Policies evaluate runs; they do not create tasks.
CChange requests created from the explorer
Correct
Administrators can create change requests from explorer queries; workspaces track them until team members archive them.
DWorkspace descriptions edited by the administrator
Incorrect
Descriptions are not tracked requests.
Explorer finds the problems; change requests hand them to the owners.
The engineer who created an HCP Terraform organization is moving to another role and wants to hand over control of it. Which statement about the organization's owners team is accurate?
AIt can be deleted once another team has been given organization-level permissions
BMembers can be added and removed, but the team cannot be deleted or left empty
CIt holds at most five members in every edition, so a new owner needs a free seat
DThe organization's creator stays a member permanently and cannot be removed
Show the answer and why
AIt can be deleted once another team has been given organization-level permissions
Incorrect
Every organization keeps its owners team; it cannot be deleted.
BMembers can be added and removed, but the team cannot be deleted or left empty
Correct
Owners are managed like any other team's members, but HCP Terraform does not let anyone delete the owners team or leave it without members.
CIt holds at most five members in every edition, so a new owner needs a free seat
Incorrect
The five-member limit applies to free organizations only; in paid organizations the owners team has no size limit.
DThe organization's creator stays a member permanently and cannot be removed
Incorrect
The creator is simply the first member; owners can be removed like other members, as long as the team keeps at least one.
To hand over an organization, add the new owner to the owners team first, then remove yourself.