Recall & Review
beginner
What does declarative IaC mean?
Declarative IaC means you describe the desired final state of your infrastructure, and the tool figures out how to get there.
Click to reveal answer
beginner
What is imperative IaC?
Imperative IaC means you write step-by-step instructions telling the system exactly how to create or change resources.
Click to reveal answer
beginner
Give an example of a declarative IaC tool.
Terraform is an example of a declarative IaC tool. You write what you want, not how to do it.
Click to reveal answer
beginner
Why is declarative IaC often easier for beginners?
Because you only focus on the end result, not the detailed steps. The tool handles the complexity.
Click to reveal answer
intermediate
What is a key challenge of imperative IaC?
You must manage the exact order of steps, which can be complex and error-prone.
Click to reveal answer
Which IaC style focuses on describing the desired end state?
✗ Incorrect
Declarative IaC describes the final state you want, letting the tool handle the steps.
Terraform is an example of which IaC style?
✗ Incorrect
Terraform uses declarative syntax to define infrastructure.
Which IaC style requires you to write step-by-step instructions?
✗ Incorrect
Imperative IaC means you specify the exact steps to create or change resources.
What is a benefit of declarative IaC?
✗ Incorrect
Declarative IaC reduces complexity by letting the tool manage the steps.
Which IaC style can be more error-prone due to step ordering?
✗ Incorrect
Imperative IaC requires careful step ordering, which can cause errors.
Explain the difference between declarative and imperative IaC in simple terms.
Think about telling a friend what you want versus telling them exactly how to do it.
You got /4 concepts.
Why might someone choose declarative IaC like Terraform over imperative IaC?
Consider the benefits of focusing on the goal instead of the process.
You got /4 concepts.