▶ MCQ Portal
Home
Medical
Neet-Ug
4
Ssc-Cgl
General_Awareness
5
Devops
Ansible
10
Aws
5
Azure
10
Docker
5
Jenkins
5
Kubernetes
5
Terraform
10
⚑ Feedback
Home
terraform
Exam3
Exam3
devops / terraform
• 5 questions
Question 1 of 5
What is the purpose of the `terraform.tfstate` file?
A.
Store encrypted secrets
B.
Track the real-world state of managed infrastructure
C.
Define provider credentials
D.
Cache provider plugins
Question 2 of 5
Which command is used to move a resource to a different state address?
A.
terraform migrate
B.
terraform state mv
C.
terraform move
D.
terraform refactor
Question 3 of 5
How do you remove a resource from state without destroying it?
A.
terraform destroy -target
B.
terraform state remove
C.
terraform state rm
D.
terraform detach
Question 4 of 5
Which backend stores Terraform state in AWS?
A.
s3
B.
aws
C.
dynamo
D.
remote
Question 5 of 5
What is state locking in Terraform used for?
A.
Encrypting the state file
B.
Preventing concurrent state modifications
C.
Versioning infrastructure changes
D.
Compressing large state files
← Back
Submit Answers ✓