All tool topics
Ansible interview preparation
Prepare for Ansible questions about inventory, role inputs, repeatable tasks and safe host changes. Trace unexpected values and test what a dry run actually proves.
Start here
Read basic YAML and shell commands; understand files, processes and SSH access on Linux.
- Read the Ansible operating model.
- Try the foundation question before opening its answer.
- Build an acceptance matrix for an Ansible change: first run, unchanged rerun, rejected input and failed service verification. Open the course exercises.
Practise until you can
- Trace a task's effective inputs through inventory and variable precedence.
- Explain skipped tasks, changed status and handler timing.
- Choose evidence before rolling a configuration change across hosts.
Ansible concepts
Build the explanation, then test it against the questions below.
Foundational
Ansible ArchitectureConnect inventory, tasks, modules and handlers to repeatable change.Foundational
Ansible Roles & CollectionsPackage automation, define role inputs and avoid hidden overrides.Foundational
Ansible Variable PrecedenceTrace overrides and reject the wrong input before a task changes a host.Foundational
Ansible Check Mode & DiffExplain skipped commands, predicted changes and the limits of a dry run.Foundational
AAP Execution EnvironmentsTrace a job to its project revision, runtime image and effective inputs.Foundational
AAP Launch ContractsDecide which inputs an operator may change before delegating a job launch.Core
Ansible Rolling PatchesDrain and patch hosts in batches with explicit failure controls.Sign in
Ansible questions
Start with an open answer, or sign in to track your practice. Locked answers show the access needed.
10 questions · 3 unlocked for you
Course exercises using Ansible
These lessons belong to the broader DevOps courses. Each card shows its access level.