Infrastructure as Code Flashcards
Explain the concept of Infrastructure as Code (IaC)
the practice of managing and provisioning infrastructure resources using code and automation rather than manually
Describe the key differences between declarative and imperative approaches in Infrastructure as Code
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”)
What is Terraform’s primary use cases, core features, and the resources it’s best suited to manage?
- cloud and data centre provisioning
- state management
- for infrastructure orchestration
What is Puppet’s primary use cases, core features, and the resources it’s best suited to manage?
- configuration management and automation
- managing system configurations
- for application deployment, configuration, and orchestration
What are the benefits of infrastructure as code?
- Consistency
- Version Control
- Scalability
- Automation
- Documentation
- Auditing and Compliance