Configuration Management: practice questions

Configuration management with Ansible, intended versus actual state, and idempotent changes.

CCNA 200-301 v2.0, exam topic 5.5 · part of 5. AI, and Network Operations and Management, 10% of the exam

The same material in the CCNA 200-301 v1.1 exam: Configuration Management

What this topic covers

Ansible
Agentless: it connects over SSH and runs playbooks of tasks from an inventory of devices.
Intended versus actual
Configuration is intent; state is what is happening.
Idempotent operations
Applying the same change twice yields the same result.

Sample question

Try it, then open the answer. Our questions are written by AI and checked independently before they are published.

Medium Single choice

Refer to the exhibit. An administrator reviews router R1 to verify configuration compliance. Which condition represents the configuration drift observed on the device?

Intended Configuration
access-list 100 deny ip 192.168.10.0 0.0.0.255 any
access-list 100 permit ip any any
Operational State
Extended IP access list 100
    10 permit ip any any
  1. A. Access list 100 permits any source IP address instead of denying unauthorized subnets
  2. B. Access list 100 is missing completely from the active running configuration
  3. C. Access list 100 denies all traffic due to an implicit deny any statement
  4. D. Access list 100 applies to the wrong physical interface direction
Show the answer

Answer: A. Access list 100 permits any source IP address instead of denying unauthorized subnets

Comparing the intended configuration with the operational state reveals that access list 100 on the router only contains the active permit statement while missing the specific deny rule, demonstrating configuration drift where the active state deviates from the stated intent.

Further reading