What the Ansible ios_logging module configures on IOS
Short answer
A The Ansible ios_logging module configures syslog logging on IOS devices.
Question
Key Takeaways
The Ansible ios_logging module manages syslog settings on Cisco IOS devices, including the syslog server destination and logging severity level. Option A is correct because that is precisely the module's scope, while routing, QoS and VLAN configuration belong to entirely different IOS resource modules. Ansible's declarative, idempotent resource modules diff the desired logging state against the running configuration and apply only the needed changes.
Expert Analysis
ios_logging configures syslog server and logging levels on IOS.
The ios_logging module is the Cisco IOS resource module that manages syslog settings, and its whole scope is what makes option A the only defensible choice. Option A names the exact function: configuring syslog logging on IOS devices — that means setting the logging server destination, the buffered log size, and the severity level at which messages are captured and forwarded. Option B (configures routing), option C (configures QoS) and option D (configures VLAN) each describe a different IOS resource module family — ios_ospf, ios_vlans, ios_l2_interfaces/ios_vlans — so none of them can be the definition of ios_logging. The module's own parameter set settles it: dest: host with name: for the syslog server address, level: for the severity, size: for the buffer, state: present/absent. No routing protocol, class-map, or switchport VLAN parameter exists in the module, so the three distractors fail on the module's own schema rather than on a matter of interpretation.
The underlying mechanism this question relies on but never states is that Ansible resource modules are declarative and idempotent: they read the device's current configuration through show running-config, diff it against the desired state in the playbook, and emit only the commands needed to converge — plus a changed status. Applied to ios_logging, if the playbook asks for dest: host, name: 192.0.2.10, level: informational and the device already has that server and level, the task returns changed: false and issues no commands; if a new logging host is added, Ansible generates the equivalent logging host 192.0.2.10 and logging trap informational lines. That diff-based behaviour is why the module is used for syslog hygiene at all: an operator can enforce a consistent logging configuration across a fleet instead of hand-typing logging host and logging buffered per device. The level: value is the syslog severity (emerg, alert, crit, err, warning, notice, informational, debug), and setting it controls both what is buffered locally and what is forwarded to the configured dest: host server.
For the 300-435 exam, this item sits in Device-Level Network Automation (objective 2.4, Ansible-based configuration management) and is really a vocabulary check on Ansible's per-platform resource module naming: the ios_ prefix plus the feature being managed. Recognising that pattern — ios_logging, ios_vlans, ios_l3_interfaces, ios_acls — lets a candidate eliminate routing and QoS options instantly, because those features would map to ios_ospf/ios_static_routes and ios_policy_maps/ios_interfaces respectively, not to a logging module. The correct answer is therefore A: the ios_logging module configures syslog logging on IOS devices.
Exam Strategy
On 300-435, treat every ios_* Ansible resource module name as the feature it manages: the prefix plus the noun tells you the module's entire scope. When an option asks what a module is, map each distractor to the module that would actually implement it (routing → ios_ospf, VLAN → ios_vlans, QoS → ios_policy_maps) and eliminate anything whose feature name does not appear in the module name itself. This naming-convention shortcut works across nearly all Cisco resource module questions.
Related Analysis
Practice All 300-435 Questions
Access 150 questions with complete answers and detailed explanations.
View Full 300-435 Practice Test →