Infrastructure as Code Flashcards

1
Q

Explain the concept of Infrastructure as Code (IaC)

A

the practice of managing and provisioning infrastructure resources using code and automation rather than manually

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe the key differences between declarative and imperative approaches in Infrastructure as Code

A

Declarative IaC involves specifying the desired end state of the infrastructure without detailing every step to achieve it (the “what”).

Imperative IaC focuses on specifying the specific steps or commands required to achieve the desired state (the “how”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Terraform’s primary use cases, core features, and the resources it’s best suited to manage?

A
  • cloud and data centre provisioning
  • state management
  • for infrastructure orchestration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Puppet’s primary use cases, core features, and the resources it’s best suited to manage?

A
  • configuration management and automation
  • managing system configurations
  • for application deployment, configuration, and orchestration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the benefits of infrastructure as code?

A
  1. Consistency
  2. Version Control
  3. Scalability
  4. Automation
  5. Documentation
  6. Auditing and Compliance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly