Automation Tools & Infrastructure as Code Flashcards
7 cards from real SRE practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Automation Tools & Infrastructure as Code flashcards as text
What is the primary advantage of using Terraform modules?
Answer: They enable reuse of infrastructure configuration across projects
Terraform modules package and reuse infrastructure configuration, allowing teams to standardize common patterns across multiple projects.
In Kubernetes, what does a Helm chart provide?
Answer: A package of pre-configured Kubernetes resources
A Helm chart is a collection of files that describe a related set of Kubernetes resources, functioning as a package manager for Kubernetes.
Which concept describes automatically fixing infrastructure that has drifted from its desired state?
Answer: Self-healing
Self-healing systems automatically detect and correct deviations from the desired state without manual intervention.
What is 'configuration drift' in an IaC context?
Answer: When actual infrastructure state diverges from the defined configuration
Configuration drift occurs when the actual state of infrastructure diverges from what is defined in the IaC configuration, often due to manual changes.
In Chef, what is a 'cookbook'?
Answer: A fundamental unit of configuration containing recipes and resources
A Chef cookbook is the fundamental unit of configuration and policy distribution, containing recipes, attributes, and other files needed to configure a system.
Which approach does Puppet use to define infrastructure configuration?
Answer: Declarative manifests describing desired state
Puppet uses declarative manifests written in Puppet DSL to describe the desired state of a system, letting Puppet determine how to achieve it.
What is the role of a CI/CD pipeline in an IaC workflow?
Answer: It automates testing and deployment of infrastructure changes
CI/CD pipelines automate the testing, validation, and deployment of infrastructure code changes, ensuring quality and consistency.