Courseiva

AWS provider · topic practice

Collaborative Workflows practice questions

This domain covers running Terraform as a team rather than solo: remote state, HCP Terraform workspaces, VCS-driven runs, and pull request validation. Questions are scenario-based, asking you to pick the right command, workspace model, or workflow feature for shared AWS infrastructure across multiple engineers and environments.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Collaborative Workflows

What the exam tests

What to know about Collaborative Workflows

Be able to configure remote state and HCP Terraform, run terraform init to migrate state, and map one configuration to multiple workspaces for environment isolation. The key is knowing that VCS-driven pull requests produce speculative plans for validation, not automatic applies.

Migrating local state to HCP Terraform using terraform init with a cloud block or backend configuration

Using HCP Terraform workspaces to isolate dev, staging, and production with identical configuration files

VCS-driven runs that trigger speculative plans on pull requests for validation before apply

Advantages of remote state and HCP Terraform over local state, including locking and shared access

Watch out for

Common Collaborative Workflows exam traps

  • ▸Assuming terraform init alone migrates state; the cloud block or backend must be configured first, and state migration is prompted during init
  • ▸Confusing CLI-driven workspaces with separate directories or branches; one configuration can back multiple HCP Terraform workspaces
  • ▸Expecting a pull request to apply changes automatically; VCS-driven runs produce speculative plans that require approval before apply

Practice set

Collaborative Workflows questions

20 questions · select your answer, then reveal the explanation

You have a team-based collaboration project. Where should you store sensitive credentials like AWS secret keys so they are not hardcoded in your Terraform files?

Which organization-level setting in HCP Terraform governs who can create new workspaces?

You need to enforce that only specific VM sizes are used in your infrastructure. Which Sentinel feature provides this capability?

When implementing OPA policies, what is the 'soft-mandatory' enforcement level?

Which protocol does HCP Terraform use to communicate with Terraform CLI?

Which HCP Terraform feature allows you to manage infrastructure across multiple cloud accounts using a single organization?

You have accidentally committed a secret to your VCS repository. After rotating the secret, what is the best practice to ensure it is not used in your workspace?

Which THREE actions occur when you execute a Terraform run in HCP Terraform?

You have a workspace configured for 'CLI-driven' workflow. What does this mean for how you apply changes?

Which TWO ways can you connect a workspace to your version control provider?

Which TWO features help maintain consistency across multiple workspaces?

You are configuring a policy set in HCP Terraform using Sentinel. You want to enforce that all AWS EC2 instances have a specific tag, but you also want to allow an override for emergency changes with a documented approval. Which TWO Sentinel features should you use to achieve this? (Choose two.)

Your team uses HCP Terraform with remote state and run triggers. A run in workspace 'networking' completes successfully and triggers a run in 'application'. The application run plans and applies correctly, but the networking team later discovers that the application run used an outdated state of networking outputs because the run trigger fired before the state was fully persisted. What is the most likely cause?

You are setting up a collaborative workflow in HCP Terraform where multiple teams will manage infrastructure across several AWS accounts. You need to ensure that team members can run plans but cannot apply changes without approval. Which TWO configurations should you implement? (Choose two.)

You are using HCP Terraform with a VCS-driven workflow. A developer pushes a commit to the main branch, triggering a run. The run's plan succeeds, but the apply fails due to a transient AWS API error. What should you do to retry the apply without re-running the plan?

You are setting up a new HCP Terraform workspace that will be used by a team of developers. You want to ensure that only members of the 'developers' team can queue plans, but anyone in the organization can view the workspace and its runs. Which workspace permissions configuration should you use?

You are setting up a collaborative workflow in HCP Terraform for a team that manages AWS infrastructure. The team wants to ensure that (1) only designated reviewers can approve production applies, and (2) all changes are automatically planned when code is merged to the main branch. Which TWO configurations should you implement? (Choose two.)

In HCP Terraform, a platform team wants every workspace in a project to consume a centrally managed set of AWS provider credentials, but individual workspace owners must not be able to read or override those credentials. Which configuration satisfies this requirement?

You are using HCP Terraform's private module registry to share modules across your organization. You want to ensure that consumers of a module can easily discover its requirements and usage. Which TWO of the following should you include in the module's README.md to meet this goal? (Choose two.)

Your organization runs HCP Terraform agents in a private network to reach an internal vSphere environment and on-premises databases. A new workspace needs to use a specific agent pool, but the runs currently fail with an error that no agent is available. What should you verify first to resolve this for the workspace?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Collaborative Workflows sessions

Start a Collaborative Workflows only practice session

Every question in these sessions is drawn from the Collaborative Workflows domain — nothing else.

Related practice questions

Related AWS provider topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the AWS provider exam test about Collaborative Workflows?
Be able to configure remote state and HCP Terraform, run terraform init to migrate state, and map one configuration to multiple workspaces for environment isolation. The key is knowing that VCS-driven pull requests produce speculative plans for validation, not automatic applies.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Collaborative Workflows questions in a focused session?
Yes — the session launcher on this page draws every question from the Collaborative Workflows domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other AWS provider topics?
Use the topic links above to move to related areas, or go back to the AWS provider question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the AWS provider exam covers. They are not copied from any real exam or dump site.