JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
# 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
Yes
No
Clear selection
Which statements about "workspaces" are true (select 3)
1 point
Workspaces in Terraform Cloud can help you control access permissions
You should try to have only one workspace per application
Workspaces in Terraform CLI and Terraform Cloud are the same thing
Workspaces in Terraform Cloud retain old state files after applying changes
Workspaces can limit blast radius in case of mistakes in infrastructure changes
Is it possible to bypass failing Sentinel policy in Terraform apply execution?
1 point
Yes
No
Yes, but user needs proper permissions
Yes, but depends on enforcement level
Yes, but depends on enforcement level and user permissions
Clear selection
Is it possible to store Terraform state in a relational database?
1 point
Yes
No
Clear selection
What flag would you use in `terraform apply` command to get the same result as in `terraform refresh`
1 point
Your answer
Which one of the following statements about "Terraform runs" IS NOT true
1 point
When using UI/VCS-driven workflow, you can apply a plan on a non-default branch
You can manually start runs in the UI
Users can leave comments on plan & apply runs in Terraform Cloud UI
You can not auto-apply configuration on run triggered by different Workspace
Clear selection
Do you need to specify "cloud { ... }" block in order to use UI/VCS-driven workflow on Terraform Cloud?
1 point
Yes
No
Clear selection
Is it possible to test Sentinel policies on mock data during their development?
1 point
Yes
No
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
2
3
4
5
Clear selection
What is the name of the Security as Code tool for Terraform Enterprise
1 point
Your answer
What is the name of the default backend used by Terraform
1 point
Your answer
What is the maximum number of users on a Free plan in Terraform Cloud?
1 point
3
5
7
10
20
Clear selection
What is the name of the main Sentinel configuration file?
1 point
Your answer
What are the features not available in Free plan for Terraform Cloud (select 2)
1 point
Policy enforcement
Private module registry
User management
Team management
What would be the preferred extension for the file containing consul backend configuration: "config.consul.***"
1 point
Your answer
Submit
Page 1 of 1
Clear form
Never submit passwords through Google Forms.
This form was created inside of Exlabs Software Limited.
Report Abuse
Forms