# State & Terraform Cloud

At the end of this section you should be able to cover the following subjects:



Implement and maintain state
-----------------------------------------------
- Describe default local backend
- Outline state locking
- Handle backend authentication methods
- Describe remote state storage mechanisms and supported standard backends
- Describe effect of Terraform refresh on state
- Describe backend block in configuration and best practices for partial configurations
- Understand secret management in state files

Understand Terraform Cloud and Enterprise capabilities
---------------------------------------------------------------------------------------
- Describe the benefits of Sentinel, registry, and workspaces
- Differentiate OSS and TFE workspaces
- Summarize features of Terraform Cloud
Sign in to Google to save your progress. Learn more
Learning materials
Before diving into the questions we strongly recommend getting familiar with following materials:

State management:
- State locking - https://www.terraform.io/docs/language/state/locking.html
- Sensitive data in state - https://www.terraform.io/docs/language/state/sensitive-data.html
- Reconcile state and real resources with refresh - https://www.terraform.io/docs/cli/commands/refresh.html
- Manage Resource Drift - https://learn.hashicorp.com/tutorials/terraform/resource-drift

Backend management:
- Login to Terraform Cloud from the CLI - https://learn.hashicorp.com/tutorials/terraform/cloud-login
- Backends overview - https://www.terraform.io/docs/language/settings/backends/index.html
- Local backend - https://www.terraform.io/docs/language/settings/backends/local.html
- Backend types - https://www.terraform.io/docs/language/settings/backends/index.html
- How to configure a backend - https://www.terraform.io/docs/language/settings/backends/configuration.html
- Migrate State to Terraform Cloud - https://learn.hashicorp.com/tutorials/terraform/cloud-migrate#set-up-the-remote-backend

Terraform Cloud & Enterprise:
- Terraform Cloud overview - https://www.terraform.io/docs/cloud/index.html
- Understanding Workspaces and Modules - https://www.hashicorp.com/resources/terraform-enterprise-understanding-workspaces-and-modules
- CLI workspaces - https://www.terraform.io/docs/language/state/workspaces.html
- The UI- and VCS-driven Run Workflow - https://www.terraform.io/docs/cloud/run/ui.html
- Terraform Cloud workspaces documentation - https://www.terraform.io/docs/cloud/workspaces/index.html
- Use Modules from the Registry - https://learn.hashicorp.com/tutorials/terraform/module-use
- Module registry - https://www.terraform.io/docs/cloud/registry/index.html
- Install the Sentinel CLI - https://learn.hashicorp.com/tutorials/terraform/sentinel-install
- Sentinel Policy as Code - https://www.terraform.io/docs/cloud/sentinel/index.html
- Feature comparison pricing page - https://www.hashicorp.com/products/terraform/pricing/
Can you accidentally unlock a state locked by a different Terraform user?
1 point
Clear selection
Which statements about "workspaces" are true (select 3)
1 point
Is it possible to bypass failing Sentinel policy in Terraform apply execution?
1 point
Clear selection
Is it possible to store Terraform state in a relational database?
1 point
Clear selection
What flag would you use in `terraform apply` command to get the same result as in `terraform refresh`
1 point
Which one of the following statements about "Terraform runs" IS NOT true
1 point
Clear selection
Do you need to specify "cloud { ... }" block in order to use UI/VCS-driven workflow on Terraform Cloud?
1 point
Clear selection
Is it possible to test Sentinel policies on mock data during their development?
1 point
Clear selection
How many pre-built permissions tiers are available to select when managing Team access to Workspace? (hint: the first one is "Read")
1 point
Clear selection
What is the name of the Security as Code tool for Terraform Enterprise
1 point
What is the name of the default backend used by Terraform
1 point
What is the maximum number of users on a Free plan in Terraform Cloud?
1 point
Clear selection
What is the name of the main Sentinel configuration file?
1 point
What are the features not available in Free plan for Terraform Cloud (select 2)
1 point
What would be the preferred extension for the file containing consul backend configuration: "config.consul.***"
1 point
Submit
Clear form
Never submit passwords through Google Forms.
This form was created inside of Exlabs Software Limited. Report Abuse