0
0
Terraformcloud~20 mins

Terraform Cloud/Enterprise features - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Terraform Cloud/Enterprise Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Terraform Cloud Workspaces Behavior

Which statement best describes how Terraform Cloud workspaces manage state files?

AWorkspaces do not use state files; they rely on external databases for state management.
BEach workspace has its own isolated state file stored securely in Terraform Cloud.
CState files are stored locally on the user's machine and uploaded only during runs.
DAll workspaces share a single global state file to simplify management.
Attempts:
2 left
💡 Hint

Think about how Terraform Cloud isolates environments and manages infrastructure state.

Architecture
intermediate
2:00remaining
Terraform Enterprise Private Network Connectivity

In Terraform Enterprise, which method is recommended to securely connect the Terraform Enterprise instance to private cloud resources without exposing them publicly?

ARun Terraform Enterprise on a public cloud instance and access private resources via SSH tunneling.
BExpose the private resources with public IPs and restrict access with firewall rules.
CUse a VPN or Direct Connect to establish a private network link between Terraform Enterprise and the cloud environment.
DUse Terraform Cloud's public API endpoints to manage private resources remotely.
Attempts:
2 left
💡 Hint

Consider secure, private network connections that avoid public exposure.

security
advanced
2:00remaining
Terraform Cloud Sentinel Policy Enforcement

What is the primary purpose of Sentinel policies in Terraform Cloud?

ATo enforce rules and guardrails on Terraform runs by evaluating policy as code before applying changes.
BTo automatically fix syntax errors in Terraform configuration files during runs.
CTo provide a user interface for managing Terraform state files manually.
DTo schedule Terraform runs at specific times without manual intervention.
Attempts:
2 left
💡 Hint

Think about how organizations enforce compliance and standards automatically.

service_behavior
advanced
2:00remaining
Terraform Cloud Run Triggers Behavior

Which of the following best describes how run triggers work in Terraform Cloud?

ARun triggers require manual approval before starting any Terraform run in dependent workspaces.
BRun triggers disable automatic state locking during concurrent runs.
CRun triggers schedule Terraform runs at fixed time intervals regardless of other workspace states.
DRun triggers automatically start a Terraform run in one workspace when another workspace completes a run successfully.
Attempts:
2 left
💡 Hint

Consider how Terraform Cloud coordinates runs across related workspaces.

Best Practice
expert
2:00remaining
Managing Sensitive Variables in Terraform Cloud

Which approach is the most secure and recommended way to manage sensitive variables in Terraform Cloud?

AMark variables as sensitive in Terraform Cloud and avoid printing them in logs or outputs.
BStore sensitive variables in plain text in Terraform configuration files checked into version control.
CUse environment variables on local machines and never store them in Terraform Cloud.
DEncrypt sensitive variables manually and store encrypted blobs as regular variables.
Attempts:
2 left
💡 Hint

Think about built-in features Terraform Cloud offers for secrets management.