Config · Ansible interview questions

57 real Config · Ansible questions from the DevOps & SRE bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Playbook?

Junior
  1. A.a list of managed hosts, optionally grouped, that Ansible targets
  2. B.a YAML file describing an ordered set of plays and tasks to run against hosts
  3. C.auto-discovered system information about a host gathered before tasks run
  4. D.Ansible's approach of managing hosts over SSH without installing a persistent agent
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Playbook — a task triggered by notify that runs once at the end if it was notified
  2. B.Playbook — host data generated at runtime from a cloud or external source rather than a static file
  3. C.Playbook — a YAML file describing an ordered set of plays and tasks to run against hosts
  4. D.Playbook — Ansible's approach of managing hosts over SSH without installing a persistent agent
Reveal the answer + AI explanation — free account

4. What is Inventory?

Junior
  1. A.a single action in a play that invokes a module with arguments
  2. B.a list of managed hosts, optionally grouped, that Ansible targets
  3. C.a YAML file describing an ordered set of plays and tasks to run against hosts
  4. D.a feature that encrypts sensitive variables and files at rest
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.Inventory — host data generated at runtime from a cloud or external source rather than a static file
  2. B.Inventory — auto-discovered system information about a host gathered before tasks run
  3. C.Inventory — a list of managed hosts, optionally grouped, that Ansible targets
  4. D.Inventory — a single action in a play that invokes a module with arguments
Reveal the answer + AI explanation — free account

7. What is Module?

Junior
  1. A.a list of managed hosts, optionally grouped, that Ansible targets
  2. B.host data generated at runtime from a cloud or external source rather than a static file
  3. C.a reusable unit of work Ansible executes on a host, like copy or service
  4. D.a structured, reusable bundle of tasks, variables, templates, and handlers
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.Module — a YAML file describing an ordered set of plays and tasks to run against hosts
  2. B.Module — Ansible's approach of managing hosts over SSH without installing a persistent agent
  3. C.Module — the property that re-running a playbook produces no changes if the system is already in the desired state
  4. D.Module — a reusable unit of work Ansible executes on a host, like copy or service
Reveal the answer + AI explanation — free account

10. What is Task?

Junior
  1. A.a task triggered by notify that runs once at the end if it was notified
  2. B.the property that re-running a playbook produces no changes if the system is already in the desired state
  3. C.a feature that encrypts sensitive variables and files at rest
  4. D.a single action in a play that invokes a module with arguments
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Junior
  1. A.Task — a YAML file describing an ordered set of plays and tasks to run against hosts
  2. B.Task — a list of managed hosts, optionally grouped, that Ansible targets
  3. C.Task — a single action in a play that invokes a module with arguments
  4. D.Task — a task triggered by notify that runs once at the end if it was notified
Reveal the answer + AI explanation — free account

13. What is Role?

Junior
  1. A.the hub for sharing and installing reusable Ansible roles and collections
  2. B.a feature that encrypts sensitive variables and files at rest
  3. C.a single action in a play that invokes a module with arguments
  4. D.a structured, reusable bundle of tasks, variables, templates, and handlers
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Junior
  1. A.Role — Ansible's approach of managing hosts over SSH without installing a persistent agent
  2. B.Role — a structured, reusable bundle of tasks, variables, templates, and handlers
  3. C.Role — a task triggered by notify that runs once at the end if it was notified
  4. D.Role — a reusable unit of work Ansible executes on a host, like copy or service
Reveal the answer + AI explanation — free account

16. What is Handler?

Junior
  1. A.host data generated at runtime from a cloud or external source rather than a static file
  2. B.the property that re-running a playbook produces no changes if the system is already in the desired state
  3. C.a feature that encrypts sensitive variables and files at rest
  4. D.a task triggered by notify that runs once at the end if it was notified
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Junior
  1. A.Handler — a reusable unit of work Ansible executes on a host, like copy or service
  2. B.Handler — host data generated at runtime from a cloud or external source rather than a static file
  3. C.Handler — a list of managed hosts, optionally grouped, that Ansible targets
  4. D.Handler — a task triggered by notify that runs once at the end if it was notified
Reveal the answer + AI explanation — free account

19. What is Idempotency?

Mid
  1. A.a task triggered by notify that runs once at the end if it was notified
  2. B.a feature that encrypts sensitive variables and files at rest
  3. C.a single action in a play that invokes a module with arguments
  4. D.the property that re-running a playbook produces no changes if the system is already in the desired state
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Mid
  1. A.Idempotency — host data generated at runtime from a cloud or external source rather than a static file
  2. B.Idempotency — a single action in a play that invokes a module with arguments
  3. C.Idempotency — a YAML file describing an ordered set of plays and tasks to run against hosts
  4. D.Idempotency — the property that re-running a playbook produces no changes if the system is already in the desired state
Reveal the answer + AI explanation — free account

22. What is Fact?

Mid
  1. A.auto-discovered system information about a host gathered before tasks run
  2. B.a task triggered by notify that runs once at the end if it was notified
  3. C.Ansible's approach of managing hosts over SSH without installing a persistent agent
  4. D.the hub for sharing and installing reusable Ansible roles and collections
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Mid
  1. A.Fact — a reusable unit of work Ansible executes on a host, like copy or service
  2. B.Fact — a structured, reusable bundle of tasks, variables, templates, and handlers
  3. C.Fact — a list of managed hosts, optionally grouped, that Ansible targets
  4. D.Fact — auto-discovered system information about a host gathered before tasks run
Reveal the answer + AI explanation — free account

25. What is Ansible Vault?

Mid
  1. A.a single action in a play that invokes a module with arguments
  2. B.host data generated at runtime from a cloud or external source rather than a static file
  3. C.a feature that encrypts sensitive variables and files at rest
  4. D.the property that re-running a playbook produces no changes if the system is already in the desired state
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Mid
  1. A.Ansible Vault — a feature that encrypts sensitive variables and files at rest
  2. B.Ansible Vault — a list of managed hosts, optionally grouped, that Ansible targets
  3. C.Ansible Vault — auto-discovered system information about a host gathered before tasks run
  4. D.Ansible Vault — a YAML file describing an ordered set of plays and tasks to run against hosts
Reveal the answer + AI explanation — free account

28. What is Agentless model?

Mid
  1. A.a reusable unit of work Ansible executes on a host, like copy or service
  2. B.a single action in a play that invokes a module with arguments
  3. C.Ansible's approach of managing hosts over SSH without installing a persistent agent
  4. D.a list of managed hosts, optionally grouped, that Ansible targets
Reveal the answer + AI explanation — free account

30. Which statement is correct?

Mid
  1. A.Agentless model — a YAML file describing an ordered set of plays and tasks to run against hosts
  2. B.Agentless model — the hub for sharing and installing reusable Ansible roles and collections
  3. C.Agentless model — Ansible's approach of managing hosts over SSH without installing a persistent agent
  4. D.Agentless model — the property that re-running a playbook produces no changes if the system is already in the desired state
Reveal the answer + AI explanation — free account

Showing 30 of 57 Config · Ansible questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Config · Ansible free