Bitzu

N10-009 ยท Modern network architectures

Infrastructure as code for networks

Automation (playbooks, templates, drift/compliance, upgrades, dynamic inventories) and source control (versioning, repository, conflicts, branching).

Key points

  • IaC: network configuration in text files (playbooks, templates) that tools apply the same way every time, replacing hand-typed changes.
  • Dynamic inventory: device list built from a live source.
  • Configuration drift: a device differs from its intended state; automation detects it, checks compliance, pushes upgrades.
  • Source control (versioning, branches, merge conflict resolution): history, review, rollback.

Source: https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html

Practice questions

Single choice

What is configuration drift?

  1. A device's actual configuration diverging from its intended state
  2. A cable slowly degrading over time
  3. Packets circling endlessly in a routing loop
  4. A clock gradually losing synchronization
Show answer

Answer: A. A device's actual configuration diverging from its intended state

Drift is when a device's running configuration no longer matches its intended, documented state, often from manual changes. It is not a hardware failure or a routing loop.

Select all that apply

Which are benefits of keeping network configs in a source control repository?

  1. A history of who changed what and when
  2. Simple rollback to a known-good version
  3. Peer review of changes before they are applied
  4. Higher forwarding speed on the devices
  5. No need to test changes before deployment
Show answer

Answer: A. A history of who changed what and when, B. Simple rollback to a known-good version, C. Peer review of changes before they are applied

Version control gives change history, easy rollback and peer review through branches and pull requests. It does not make devices faster or remove the need for testing.

True or false

True or false: Running a playbook in check mode applies the changes to devices and then reverts them.

Show answer

Answer: False

False. Check mode makes no changes; it only predicts what would change.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More N10-009 topics in this module