Study guide · Domain 5.0
AI, and Network Operations and Management
10% of the exam · 6 exam topics
Domain 5 is how networks are run day to day: what agentic AI does in operations and how to judge its output against device evidence, how to write a safe and useful prompt, the management approaches from per-device CLI to infrastructure as code, and the three workhorse tools of operations: SNMP for monitoring, Ansible for configuration and syslog for events.
A study feature written by ExamDragon, not part of the real exam. Each heading is one of this domain's 6 exam topics, as Cisco states it in the 200-301 CCNA v2.0 exam topics.
At a glance
Domain 5.0of the exam, as Cisco weights it for 200-301 v2.0
- Weight
- 10%
- Objectives
- 6
- Key terms
- 10
What this guide covers, topic by topic
- 5.1Describe the role of agentic AI in network operations
- 5.2Select a prompt to send to a generative AI system to support network operations considering prompt components such as data classification, output format, persona, and instructions
- 5.3Describe network management approaches (device-based, cloud-based, controller-based, automation-based, and infrastructure as code)
- 5.4Describe the function of SNMP in network operations
- 5.5Use configuration management mechanisms such as Ansible to execute commands
- 5.6Interpret syslog message content, severity levels, and facilities
5.1Describe the role of agentic AI in network operations
- Agentic AI pursues a goal in a loop: it plans steps, calls tools (show commands, device or controller APIs, ticket systems), observes the results and decides the next action. A plain generative AI chat only answers the prompt it is given.
- In network operations an agent can gather evidence, correlate logs and alarms, suggest the likely cause, draft a fix and open or update a ticket, which saves time on routine troubleshooting.
- Its output is a recommendation, not a fact: generative models can state a wrong conclusion confidently. Check every claim against the device output it says it is based on before acting.
- Changes need a human in the loop: the agent proposes, a person approves, especially on production devices.
- Guardrails limit what the agent may do: least privilege accounts, read-only access where possible, allowed command lists, and limits the agent cannot switch off itself.
- Every tool call, its input, its result and the agent's reasoning are logged, so actions can be reviewed, traced and undone.
- The situationAn assistant says an interface is down because of a duplex mismatch and recommends `duplex full`.
- Step 1Run the command the claim depends on: show interfaces for that interface.
- Step 2Read the first line: "administratively down, line protocol is down" means the interface is shut down in the configuration.
- Step 3Notice the output already shows full duplex, so the recommendation does not match the evidence.
- Step 4Reject the recommendation, find out why the interface was shut down, and only then consider no shutdown through the normal change process.
- Where questions turnAccepting an assistant's summary because it sounds confident or has access to the devices. If the summary says FULL but show ip ospf neighbor says INIT, the output wins.
- The takeawayTreat an AI recommendation as a hypothesis: the device output decides.
5.2Select a prompt to send to a generative AI system to support network operations considering prompt components such as data classification, output format, persona, and instructions
- Persona (role): who the model should act as, for example "You are a network operations engineer". It shapes focus, depth and tone.
- Instructions: the task stated clearly and specifically, with any constraints, such as "list only interfaces with CRC errors" or "do not suggest configuration changes".
- Context: the data and background the model needs, such as redacted show output, the platform (IOS XE) and the goal.
- Output format: how the answer must look, for example a table with named columns, JSON with given keys, or only configuration commands in one code block.
- Data classification: decide what may be sent before writing the prompt. Passwords, enable secrets, SNMP community strings, keys, customer data and internal addresses that policy treats as confidential never go to an unapproved public tool; redact them with placeholders and use the tool the organisation approves.
- A prompt does not secure data or guarantee accuracy: "forget this password" protects nothing, Base64 is not encryption, and generated commands are still checked before use.
- The situationYou want help finding interfaces with errors in output from three routers that also contains SNMP communities.
- Step 1Classify the data: community strings and other secrets are confidential, so replace them with placeholders.
- Step 2Set a persona: "You are a network operations engineer."
- Step 3Give the instruction and the redacted output as context: find every interface with CRC or input errors.
- Step 4Fix the format: "Return a table with the columns Interface, Errors and Likely cause."
- Where questions turnChoosing the prompt with the most detail even though it includes the full running configuration with passwords. Detail never outweighs data classification.
- The takeawayThe best prompt has a persona, a clear instruction, the context needed and a defined output format, and contains nothing policy forbids sending.
5.3Describe network management approaches (device-based, cloud-based, controller-based, automation-based, and infrastructure as code)
- Device-based: each device is configured on its own at its CLI (console, SSH) or GUI. Simple for a few devices, but slow at scale and prone to drift and typing errors.
- Cloud-based: the management platform is hosted by a vendor on the internet; devices connect out to it and are managed from one dashboard.
- Controller-based: a controller the organisation runs holds the policy and programs the devices. Applications use its northbound APIs (usually REST); it uses southbound protocols such as NETCONF, RESTCONF or OpenFlow to reach the devices.
- Automation-based: scripts or tools such as Ansible repeat the same task across many devices, faster and more consistently than by hand.
- Infrastructure as code: the desired state is declared in files (often YAML), kept in version control such as Git, reviewed as merge requests and applied by a pipeline. Runs are idempotent: a second run with nothing to change changes nothing, and history shows who changed what and when.
- The situationConfigurations for 120 routers live as YAML in Git; a pipeline tests and applies each approved merge request.
- Step 1Ask where the configuration is defined: in files, as desired state, not typed at each CLI.
- Step 2Ask how changes happen: by a reviewed merge request and a pipeline.
- Step 3Ask what a second run does: nothing, because the devices already match.
- Step 4Name it infrastructure as code. A one-off script that just sends commands would be automation-based.
- Where questions turnSwapping northbound and southbound. Northbound faces the applications above the controller (REST); southbound faces the devices below it (NETCONF, OpenFlow).
- The takeawayThe deciding questions are where the configuration is defined, where it is managed from and whether a declared desired state is kept under version control.
5.4Describe the function of SNMP in network operations
- SNMP has a manager (the network management station) and agents on devices. Each agent exposes a MIB, a structured set of objects, each named by an OID such as 1.3.6.1.2.1.1.5.0 (sysName).
- The manager reads with Get (one object), GetNext (the next object, used to walk a MIB) and GetBulk (a block of objects in one request, added in SNMPv2), and writes with Set.
- Agents send notifications without being asked: a trap is not acknowledged; an inform is acknowledged by the manager and resent if no acknowledgement arrives.
- Requests go to the agent on UDP 161; traps and informs go to the manager on UDP 162.
- SNMPv1 and SNMPv2c use community strings (read-only or read-write) sent in clear text.
- SNMPv3 adds users and security levels: noAuthNoPriv (username only), authNoPriv (authentication, for example SHA) and authPriv (authentication and encryption, for example AES).
- The situationA router has `snmp-server group NMS-GRP v3 priv` and a user in that group with auth sha and priv aes 128 keys.
- Step 1See the version: v3, so users and groups, not community strings.
- Step 2Read the group keyword: priv sets the level to authPriv.
- Step 3Check the user: it has both an authentication and a privacy key, as authPriv needs.
- Step 4Conclude: messages are authenticated with SHA and encrypted with AES.
- Where questions turnMixing up the ports or the direction: queries go to the agent on 161, notifications go to the manager on 162, and it is the inform, not the trap, that is acknowledged.
- The takeawayThe group keyword (noauth, auth, priv) sets the SNMPv3 security level; only authPriv encrypts.
5.5Use configuration management mechanisms such as Ansible to execute commands
- Ansible is agentless and push-based: a control node connects out to each device, for Cisco IOS usually over SSH with the network_cli connection, so nothing is installed on the devices.
- The inventory lists the managed hosts, their groups (such as [branch_routers]) and variables such as ansible_connection and ansible_network_os.
- A playbook is written in YAML: one or more plays, each with hosts and an ordered list of tasks; each task calls one module with its arguments.
- cisco.ios.ios_command runs exec commands such as show and returns the output (register saves it in a variable); cisco.ios.ios_config changes configuration lines.
- Modules such as ios_config are idempotent: they change only what differs, report changed when they did something and ok when nothing was needed.
- An ad hoc command runs one module once without a playbook: `ansible <group> -m <module> -a "<arguments>"`; a playbook is run with `ansible-playbook <file>`.
- The situationYou need `show ntp associations` from every branch router now, and a repeatable way to add an NTP server.
- Step 1For the one-off check, use an ad hoc command: ansible branch_routers -m cisco.ios.ios_command -a "commands='show ntp associations'".
- Step 2For the change, write a playbook task with cisco.ios.ios_config and lines: ntp server 192.0.2.10.
- Step 3Run it with ansible-playbook; the first run reports changed on each router.
- Step 4Run it again: every router reports ok, because the line is already there.
- Where questions turnPicking ios_command to change configuration, or thinking Ansible needs an agent or Python on the switch. It runs from the control node over SSH.
- The takeawayios_command reads, ios_config changes, and idempotence makes a repeated run safe.
5.6Interpret syslog message content, severity levels, and facilities
- Severity levels, most to least severe: 0 Emergency, 1 Alert, 2 Critical, 3 Error, 4 Warning, 5 Notification, 6 Informational, 7 Debugging. A mnemonic: "Every Awesome Cisco Engineer Will Need Ice cream Daily".
- A Cisco message reads `seq: timestamp: %FACILITY-SEVERITY-MNEMONIC: description`, for example `%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/1, changed state to down` (facility LINEPROTO, severity 5) or `%LINK-3-UPDOWN` (severity 3, Error).
- A logging level is a threshold: `logging trap warnings` (or 4) sends 4 and every lower number, 0 to 4. The same rule applies to logging console, logging monitor and logging buffered.
- Messages go to a syslog server with `logging host <address>`, over UDP 514 by default.
- The syslog facility sorts messages on the server: network devices use local0 to local7, and IOS sends local7 unless `logging facility` changes it. This server-side facility is different from the facility code (LINK, LINEPROTO) inside the message text.
- Timestamps make logs useful: `service timestamps log datetime msec` stamps the date and time instead of uptime, and NTP keeps every device's clock the same so events can be correlated.
- The situationA syslog server shows `*Nov 23 10:15:00.902: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/2, changed state to down` and the router has `logging trap notifications`.
- Step 1Split the code: facility LINK, severity 3, mnemonic UPDOWN.
- Step 2Name the severity: 3 is Error.
- Step 3Compare with the threshold: notifications is 5, and 3 is lower, so the message is sent.
- Step 4Note the leading asterisk: on IOS it marks a clock that is not synchronised, so configure NTP before trusting the time.
- Where questions turnThinking `logging trap 4` sends only Warnings, or that it sends 4 to 7. It sends 0 to 4.
- The takeawayRead the number in the middle for severity, and remember that lower numbers are more severe and are always included by a threshold.
Key terms
- AI
- Artificial intelligence
- API
- Application programming interface
- REST
- Representational state transfer
- NETCONF
- Network Configuration Protocol
- IaC
- Infrastructure as code
- SNMP
- Simple Network Management Protocol
- MIB
- Management information base
- OID
- Object identifier
- NMS
- Network management station
- YAML
- YAML Ain't Markup Language, the format of Ansible playbooks
Show the answer
No. Severity 5 (Notification) is less severe than the threshold of 4 (Warning), so only 0 to 4 are sent. SNMPv3 at the authPriv level authenticates and encrypts messages, including notifications.
Built to Cisco's 200-301 CCNA v2.0 exam topics. The explanations, worked examples and traps are ExamDragon's own. Every source this path is built on.
