DevOps

Ansible & Configuration Management

Playbooks, inventory, modules, roles, handlers, idempotence, provisioning vs configuration, immutable infrastructure

20 питань зі співбесід·
Mid-Level
1

What is an Ansible playbook?

Відповідь

A playbook is a YAML file that defines a series of tasks to execute on target hosts. It constitutes the basic unit for orchestrating configurations in Ansible. Playbooks allow describing the desired state of systems declaratively, facilitating repeatable automation and large-scale configuration management.

2

What is the role of an inventory file in Ansible?

Відповідь

The inventory file lists all hosts on which Ansible can execute tasks. It can be in INI or YAML format and allows grouping hosts by logical categories. The inventory can also define host-specific or group-specific variables, facilitating differentiated configuration management based on environments or server roles.

3

What does a module represent in Ansible?

Відповідь

A module is a reusable code unit that performs a specific action on a target system. Ansible provides hundreds of built-in modules for managing packages, files, services, users, and much more. Modules are idempotent by design, meaning they can be executed multiple times without changing the final result if the desired state is already achieved.

4

How does Ansible connect to target hosts by default?

5

What does the principle of idempotence mean in Ansible?

+17 питань зі співбесід

Інші теми співбесід DevOps

Version Control & Git

Junior
20 запитань

Linux Fundamentals

Junior
22 запитань

Shell Scripting & Bash

Mid-Level
20 запитань

Networking Basics

Junior
22 запитань

Docker Fundamentals

Junior
24 запитань

CI/CD Fundamentals

Junior
18 запитань

GitHub Actions

Mid-Level
22 запитань

GitLab CI/CD

Mid-Level
22 запитань

Jenkins

Mid-Level
22 запитань

Kubernetes Basics

Mid-Level
26 запитань

Kubernetes Networking

Mid-Level
24 запитань

Kubernetes Advanced

Mid-Level
24 запитань

Ingress & API Gateway

Mid-Level
20 запитань

Terraform Basics

Mid-Level
22 запитань

Terraform Advanced

Mid-Level
22 запитань

AWS Essentials

Mid-Level
26 запитань

Azure Fundamentals

Mid-Level
22 запитань

GCP Fundamentals

Mid-Level
22 запитань

Monitoring & Prometheus

Mid-Level
22 запитань

Logging & ELK Stack

Mid-Level
20 запитань

Alerting & Incident Response

Mid-Level
20 запитань

Cloud Identity & Secrets

Mid-Level
22 запитань

CI/CD Pipeline Security

Mid-Level
20 запитань

Helm & Kubernetes

Mid-Level
20 запитань

Runtime & Cluster Security

Senior
24 запитань

Container Supply Chain Security

Senior
22 запитань

Service Mesh & Istio

Senior
24 запитань

GitOps & ArgoCD

Senior
22 запитань

Progressive Delivery

Senior
20 запитань

Distributed Observability

Senior
22 запитань

Disaster Recovery & Backup

Senior
20 запитань

Performance Optimization

Senior
22 запитань

Cloud Cost Optimization

Senior
20 запитань

SRE Principles

Senior
24 запитань

Chaos Engineering

Senior
20 запитань

Platform Engineering

Senior
22 запитань

Опануй DevOps для наступної співбесіди

Отримай доступ до всіх питань, flashcards, технічних тестів, вправ code review та симуляторів співбесід.

Почни безкоштовно