0
0
Terraformcloud~20 mins

Terraform Cloud overview - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Terraform Cloud Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Terraform Cloud workspace state management
Which statement best describes how Terraform Cloud manages state files in workspaces?
ATerraform Cloud stores state files remotely and locks them during runs to prevent conflicts.
BTerraform Cloud requires users to manually upload state files after each run.
CTerraform Cloud deletes state files after each successful apply to save space.
DTerraform Cloud stores state files locally on the user's machine by default.
Attempts:
2 left
💡 Hint
Think about how Terraform Cloud helps teams avoid state conflicts.
service_behavior
intermediate
2:00remaining
Terraform Cloud run triggers
What happens when a new VCS commit is pushed to a repository connected to a Terraform Cloud workspace?
ATerraform Cloud automatically queues a plan and applies it without manual approval.
BTerraform Cloud queues a plan and waits for manual approval before applying changes.
CTerraform Cloud ignores the commit unless manually triggered by the user.
DTerraform Cloud deletes the workspace and creates a new one.
Attempts:
2 left
💡 Hint
Consider the default safety mechanism for applying changes.
Architecture
advanced
2:30remaining
Terraform Cloud team and policy architecture
Which architecture best supports enforcing security policies across multiple teams using Terraform Cloud?
ACreate multiple organizations with separate policies for each team.
BManage policies locally on each user's machine to allow flexibility.
CUse a single organization with multiple teams and apply Sentinel policies at the organization level.
DDisable policies to speed up deployments across teams.
Attempts:
2 left
💡 Hint
Think about centralized policy enforcement for consistency.
security
advanced
2:00remaining
Terraform Cloud sensitive variable handling
How does Terraform Cloud protect sensitive variables in workspaces?
ASensitive variables must be stored in external files and cannot be set in Terraform Cloud.
BSensitive variables are stored in plain text but hidden in the UI.
CSensitive variables are shared openly with all workspace users for transparency.
DSensitive variables are encrypted and never displayed in logs or UI after entry.
Attempts:
2 left
💡 Hint
Consider how secrets should be handled securely.
Best Practice
expert
3:00remaining
Optimizing Terraform Cloud runs for large teams
Which practice best optimizes Terraform Cloud runs to reduce wait times and improve collaboration in large teams?
AUse multiple workspaces targeting smaller parts of infrastructure and enable run triggers between them.
BUse a single workspace for all infrastructure to simplify management.
CDisable state locking to allow parallel runs.
DManually merge all Terraform configurations into one file to reduce complexity.
Attempts:
2 left
💡 Hint
Think about breaking down infrastructure and coordinating runs.