🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Infrastructure as Code: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. What does terraform plan do?
  2. Q2. Why store Terraform state in a remote backend with locking?
  3. Q3. Someone changed a security group by hand in the console. What is this called?
  4. Q4. In a plan, which symbol warns that a resource will be destroyed and recreated?
  5. Q5. Which tool is mainly used to configure software on existing servers over SSH?
  6. Q6. What does a declarative IaC tool like Terraform let you describe?
  7. Q7. What does terraform init do?
  8. Q8. In the example, how does Terraform know to create the bucket before its versioning setting?
  9. Q9. Why should terraform.tfstate never be committed to Git?
  10. Q10. Staging and production networks are built from the same module with different inputs. What is the main benefit?