nerdexam
Cisco

300-910 · Question #76

What is included in ansible playbook instructions?

The correct answer is B. end state of component. Ansible playbooks describe the desired end state of managed systems, allowing them to idempotently apply configurations to reach that state.

Infrastructure as Code

Question

What is included in ansible playbook instructions?

Options

  • Acomponent dependencies
  • Bend state of component
  • Cmachine dependencies
  • Dbeginning state of component

How the community answered

(26 responses)
  • B
    88% (23)
  • C
    8% (2)
  • D
    4% (1)

Why each option

Ansible playbooks describe the desired end state of managed systems, allowing them to idempotently apply configurations to reach that state.

Acomponent dependencies

While playbooks might implicitly manage dependencies by ordering tasks, 'component dependencies' is not the primary focus or direct description of what the instructions include in terms of declarative state.

Bend state of componentCorrect

Ansible is a configuration management tool that focuses on declarative configuration, meaning its playbooks describe the desired 'end state' of a system or component. When a playbook runs, Ansible ensures that the system reaches this specified state, without needing to know or manage the initial 'beginning state'.

Cmachine dependencies

'Machine dependencies' are not explicitly defined as instructions within a playbook; playbooks describe the configuration on machines, not the dependencies between machines themselves.

Dbeginning state of component

Ansible playbooks do not typically describe the 'beginning state' of a component; instead, they define what the state should be after execution, regardless of the starting point (idempotence).

Concept tested: Ansible playbook declarative nature

Source: https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html

Topics

#Ansible Playbooks#Desired State#Idempotence#Infrastructure as Code

Community Discussion

No community discussion yet for this question.

Full 300-910 Practice