Courseiva

CCNA AI and Network Operations Questions

75 of 154 questions · Page 1/3 · AI and Network Operations · Answers revealed

1
Multi-Selecteasy

A network engineer is reviewing REST API behavior. Which two statements are true?

Select 2 answers
A.GET is commonly used to retrieve information from an API
B.POST is commonly used to create a new resource
C.DELETE is used to encrypt a payload before transport
D.PUT always retrieves a list of resources
E.GET requires a token in every API design
AnswersA, B

GET is the standard read method in REST APIs, designed to retrieve a representation of a resource without modifying server state. Because it is safe and idempotent, repeated identical GET requests produce the same result, making it the natural choice for queries. A successful GET commonly returns a 200 OK response with the requested payload.

Why this answer

GET is used to retrieve data without changing server state, while POST commonly creates a new resource or submits data for processing. PUT is usually for full replacement, and DELETE removes a resource.

Exam trap

A common exam trap is misinterpreting the function of HTTP methods in REST APIs, such as believing DELETE encrypts data or PUT retrieves resource lists. DELETE actually removes resources, and PUT replaces or updates existing resources. Confusing POST and PUT is also frequent, where POST creates new resources while PUT replaces them.

These misunderstandings can lead to incorrect answers or automation scripts that cause unintended network changes. The exam expects precise knowledge of REST API method purposes, especially in Cisco automation contexts.

Why the other options are wrong

C

Incorrect because DELETE does not encrypt payloads; it removes resources from the server. Encryption is handled separately and not by HTTP methods themselves.

D

Incorrect because PUT does not retrieve lists of resources; it replaces or updates an existing resource. Retrieval is typically done by GET.

E

Incorrect because while many APIs require tokens for authentication, GET itself does not inherently require a token; authentication depends on API security design, not the HTTP method.

2
MCQmedium

An API client sends a valid GET request and receives an HTTP 200 response. What does that indicate?

A.The resource was deleted successfully
B.The request was successful
C.Authentication permanently failed
D.The server requires a reboot
AnswerB

HTTP 200 OK is the standard success status code for a GET request, confirming that the server found and returned the requested resource. For a valid GET, a 200 response includes the resource representation in the message body, satisfying the client's read operation. This is the definitive meaning of HTTP 200.

Why this answer

HTTP 200 indicates a successful request. For a GET operation, it generally means the server successfully returned the requested resource representation.

Exam trap

A frequent exam trap is mistaking the HTTP 200 status code for indicating actions other than a successful GET request, such as resource deletion or authentication failure. Candidates might incorrectly associate 200 with deletion success, which is more accurately represented by 204 No Content. Others may confuse 200 with authentication errors, which are actually indicated by 401 Unauthorized or 403 Forbidden codes.

This confusion arises because candidates sometimes focus on the number 200 as a generic success without linking it specifically to the GET method’s successful retrieval. Understanding the precise meaning of HTTP codes in the context of REST API methods is essential to avoid this trap.

Why the other options are wrong

A

Option A is incorrect because HTTP 200 does not indicate resource deletion. Deletion success is usually represented by 204 No Content or 202 Accepted, not 200.

C

Option C is incorrect since authentication failures return 401 Unauthorized or 403 Forbidden, not 200. A 200 response confirms successful authentication and request processing.

D

Option D is incorrect because HTTP 200 does not signal any server reboot requirement. Server maintenance or reboot notifications are not conveyed via standard HTTP success codes.

3
Matchingmedium

Match each API or programmability term to its most accurate meaning.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Centralized management or policy platform

Application-facing interface to the controller

Structured data format commonly used in API payloads

Credential-like value used to help control API access

Why these pairings

The 'Controller' is a centralized platform that manages network devices and enforces policies. The 'Northbound API' provides an interface for applications and users to interact with the controller. 'JSON' is a lightweight, structured data format commonly used to exchange data in API payloads. A 'Token' is a credential-like value used to authenticate and authorize API requests, ensuring secure access to the controller.

Exam trap

Learners often confuse 'Northbound API' with 'Southbound API' (controller-to-device interface). Focus on direction: Northbound faces applications, Southbound faces network devices.

4
Matchingmedium

Drag and drop the AI/ML concepts on the left to the correct descriptions on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Identifies deviations from normal network behavior, such as unusual traffic spikes or security threats.

Uses historical data and ML models to forecast future network events, like congestion or device failures.

Translates business intents into network policies and continuously verifies that the network meets those intents.

Trains a model using labeled data to classify or predict outcomes, such as identifying specific types of traffic.

Discovers hidden patterns or clusters in unlabeled data, often used for anomaly detection or traffic profiling.

Optimizes network decisions through trial and error, using rewards to learn optimal actions over time.

Why these pairings

Supervised learning uses labeled data, unsupervised finds hidden patterns, reinforcement learning uses rewards, neural networks mimic brain structure, training data is for learning, and inference is applying the model to new data.

Exam trap

The trap is that candidates may confuse the definitions of supervised learning, unsupervised learning, reinforcement learning, and neural networks. Remember: supervised = labeled data, unsupervised = unlabeled patterns, reinforcement = rewards, neural networks = brain-inspired architecture. Focus on the key differentiator: the presence or absence of labels.

5
Matchingeasy

Match each common API or data term to its most accurate meaning.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Defined software interface used for communication

Structured data format

Secure transport for the communication

Credential-like value used to help control access

Why these pairings

API (Application Programming Interface) is a defined set of rules that allows software components to communicate, matching 'Defined software interface used for communication.' JSON (JavaScript Object Notation) is a lightweight data-interchange format with key-value pairs, matching 'Structured data format.' HTTPS (Hypertext Transfer Protocol Secure) encrypts HTTP traffic using TLS/SSL, providing secure transport, matching 'Secure transport for the communication.' Token is a unique string used for authentication and authorization, matching 'Credential-like value used to help control access.'

Exam trap

The trap is that candidates often confuse specific API styles (REST, SOAP) or data formats (XML, YAML) with the general concept of an API. Remember that an API is the overarching interface; REST, SOAP, gRPC are specific types, and XML/YAML are data representation formats.

6
Matchingmedium

Match each data-structure term to its most accurate meaning.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Field name

Content associated with a field

Group of key-value pairs

Ordered list of items

Why these pairings

These pairs correctly match data-structure terms to their definitions. Array uses indices, hash table uses key-value mapping, stack is LIFO, queue is FIFO, linked list uses nodes with references, and tree is hierarchical.

Exam trap

Do not confuse the properties of different data structures. Arrays are defined by indexed access, not by access patterns like LIFO or FIFO, which belong to stacks and queues respectively.

7
MCQmedium

Why is version control valuable for network automation files?

A.It increases interface bandwidth
B.It tracks changes and allows rollback to earlier versions
C.It replaces the need for device backups
D.It guarantees that configuration changes are error free
AnswerB

Version control records every change to configuration files, allowing engineers to diff versions, identify who made specific modifications, and revert to a known-good state. This change tracking and rollback capability is foundational for network automation, supporting compliance audits and rapid incident recovery when a change causes issues.

Why this answer

Version control systems help teams track who changed what, compare revisions, and restore earlier states when needed. That improves operational discipline but does not guarantee correctness by itself.

Exam trap

A common exam trap is selecting the option that version control replaces device backups or guarantees error-free configurations. While version control tracks changes and allows rollback, it does not protect against hardware failures or accidental deletions like backups do. Additionally, version control cannot automatically detect or prevent configuration errors; it only records changes.

Candidates may confuse version control’s change tracking benefits with complete operational safety, but understanding that backups and validation processes remain essential is critical to avoid this mistake.

Why the other options are wrong

A

This option incorrectly claims version control increases interface bandwidth, which is unrelated to version control functionality. Bandwidth is a physical and configuration attribute unaffected by file management systems.

C

This option is incorrect because version control does not replace device backups. Backups protect device states and data beyond just file changes, which version control alone cannot ensure.

D

This option falsely asserts that version control guarantees error-free configuration changes. While it improves process discipline, it cannot prevent human errors or validate correctness automatically.

8
Multi-Selectmedium

Which two statements accurately describe JSON in network automation contexts?

Select 2 answers
A.It is a structured data format that software can parse reliably.
B.It is commonly used in API payloads exchanged by automation tools and controllers.
C.It is the encryption protocol that protects the API session.
D.It replaces the need for authentication.
E.It is the same thing as a southbound API.
AnswersA, B

This is correct because structured machine readability is one of JSON's main strengths.

Why this answer

JSON is widely used in network automation because it provides structured, machine-readable data. In practical terms, software can reliably identify keys, values, objects, and arrays without having to guess meaning from free-form text. That makes it a common format in modern APIs.

The important point is that JSON is a data format. It is not the API itself and it is not the secure transport that carries the data.

Exam trap

A frequent exam trap is mistaking JSON for a security or API protocol. Some candidates incorrectly believe JSON encrypts API sessions or replaces authentication, which is false. JSON is purely a data format used to structure information exchanged between automation tools and devices.

Confusing JSON with encryption protocols like TLS or authentication mechanisms can lead to selecting incorrect answers. Another trap is equating JSON with the API itself or the concept of a southbound API, which refers to the direction of communication, not the data format. Understanding JSON’s role as a structured data format prevents these mistakes.

Why the other options are wrong

C

Option C is incorrect because JSON is not an encryption protocol; it does not provide any security or protection for API sessions, which are handled by other protocols like TLS.

D

Option D is incorrect because JSON does not replace authentication; authentication is a separate process that controls access to APIs and network devices.

E

Option E is incorrect because JSON is a data format, not an API or directional interface like a southbound API, which refers to communication from controllers to devices.

9
MCQmedium

A network engineer sends an HTTP GET request to a controller API and receives status code 401. What does that response indicate?

A.The API endpoint does not exist
B.The request was successful but returned an empty body
C.Authentication is required or the token is invalid
D.The server is overloaded and cannot process the request
AnswerC

This is exactly the meaning of HTTP 401 Unauthorized. When the API controller requires authentication and the request lacks valid credentials or a valid token, it returns 401 with a WWW-Authenticate header prompting the client to provide credentials. The engineer's request failed because the client did not prove identity.

Why this answer

HTTP 401 means the request is not authorized because valid authentication credentials were not supplied or were rejected. In practice, this usually means the token is missing, expired, malformed, or otherwise invalid.

Exam trap

Be careful not to confuse HTTP 401 with other common status codes like 200, 404, or 500. Each code has a specific meaning and context.

Why the other options are wrong

A

A 401 status code specifically indicates authentication failure, not a missing endpoint. A non-existent endpoint would return a 404 Not Found status code, which is a different HTTP error.

B

A successful request with an empty body would return a 204 No Content status code, not 401. The 401 code explicitly means the request was not processed due to missing or invalid authentication.

D

A server overload is indicated by a 503 Service Unavailable status code, not 401. The 401 code is solely related to authentication issues, not server capacity.

10
Multi-Selectmedium

Which two statements accurately describe API authentication tokens? (Choose two.)

Select 2 answers
A.Tokens are often sent in an HTTP header such as Authorization
B.Tokens are always permanent and never expire
C.Tokens can be used instead of resending credentials on every request
D.Tokens require Telnet to be enabled on the device
E.A token changes JSON into XML automatically
AnswersA, C

REST APIs commonly transmit tokens in an Authorization header following the Bearer scheme, such as Authorization: Bearer <token>. This keeps the credential out of the URL, query string, and request body, where it might be logged by proxies or web servers, and aligns with HTTP's standard challenge-response authentication framework.

Why this answer

APIs often use tokens so clients can authenticate without sending usernames and passwords in every call. Tokens are commonly time-limited and are usually placed where the API expects them, such as an HTTP header.

Exam trap

A frequent exam trap is selecting that tokens are permanent or require Telnet to function. Many candidates mistakenly believe tokens never expire, but in reality, tokens are often time-limited to improve security. Another trap is associating tokens with Telnet, which is unrelated to API authentication.

Additionally, some may incorrectly think tokens convert data formats like JSON to XML, which is false since tokens only handle authentication. Misunderstanding these points can lead to choosing incorrect options that seem plausible but do not align with Cisco’s API security practices.

Why the other options are wrong

B

Incorrect because tokens are usually time-limited and expire after a set period to enhance security, so they are not permanent credentials.

D

Incorrect because Telnet is unrelated to API token authentication; tokens do not depend on Telnet or any specific legacy protocol.

E

Incorrect because authentication tokens do not convert data formats; their sole purpose is to authenticate clients, not to transform JSON into XML or any other format.

11
MCQeasy

Which data format uses key-value pairs and is commonly returned by REST APIs?

A.YANG
B.JSON
C.Syslog
D.CDP
AnswerB

JSON commonly represents API payloads.

Why this answer

JSON is a lightweight, human-readable data format that uses key-value pairs and is the most common format returned by REST APIs. YANG is a data modeling language used for configuration and state data, not a data format. Syslog is a logging protocol used for system messages.

CDP (Cisco Discovery Protocol) is a Layer 2 discovery protocol for Cisco devices. None of these are key-value pair data formats typically returned by REST APIs.

Exam trap

Be careful not to confuse JSON with XML or YAML, which have different structures and use cases.

Why the other options are wrong

A

YANG is a data modeling language, not a data format; it describes the structure of data but does not use key-value pairs for API responses.

C

Syslog is a protocol for logging system events, not a data format for REST API responses.

D

CDP is a Cisco proprietary discovery protocol for neighbor devices, irrelevant to data formats in REST APIs.

12
PBQhard

You are connected to R1, a branch router that must synchronize time with the NTP server at 198.51.100.1 (reachable via G0/0) and send critical syslog messages (severity 0-4) to the logging server at 203.0.113.10. The current configuration has NTP pointing to a wrong server and syslog set to debug level, flooding the server. Correct the NTP server, set the NTP source interface to Loopback0 (10.10.10.1/32), and adjust the syslog trap level so that only emergencies through warnings are logged.

Hints

  • Remove the incorrect NTP server before adding the correct one.
  • Use the 'ntp source' command to specify the Loopback interface.
  • The logging trap level 'warnings' corresponds to severity 4.
A.ntp server 198.51.100.1 source Loopback0; logging trap warnings
B.ntp server 198.51.100.1 source G0/0; logging trap errors
C.ntp server 192.0.2.1 source Loopback0; logging trap warnings
D.ntp server 198.51.100.1 source Loopback0; logging trap debugging
AnswerA
solution
! R1
no ntp server 192.0.2.1
ntp server 198.51.100.1
ntp source Loopback0
no logging trap debugging
logging trap warnings

Why this answer

The NTP server was misconfigured to 192.0.2.1, which is unreachable, leaving the router at stratum 16. The correct NTP server is 198.51.100.1, so the ntp server command must be updated. The source interface should be Loopback0 for reachability consistency.

The syslog trap level was set to debugging (level 7), which sends all messages; it should be changed to warnings (level 4) to filter only severity 0-4. Verification includes checking NTP synchronization and syslog configuration.

Exam trap

Watch out for two separate configuration items: NTP and syslog. Ensure you update both the NTP server IP and source interface, and set the correct syslog trap level. Common traps include forgetting to change the NTP server IP, using the wrong source interface, or setting the wrong syslog severity level.

Why the other options are wrong

B

The source interface must be Loopback0 for consistency, and the trap level should be warnings (4) to include warnings.

C

The NTP server address must be updated to 198.51.100.1; 192.0.2.1 is the misconfigured server.

D

The trap level should be warnings (4), not debugging (7). Debugging sends all messages, flooding the server.

13
Matchingmedium

Drag and drop the protocol/model on the left to the correct description on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Data modeling language used to define configuration and state data structures

Protocol using XML over SSH for configuration management and transactional operations

RESTful API using HTTP methods (GET, PUT, POST, DELETE) over HTTPS

Operation to modify configuration with options like merge, replace, create, delete

HTTP method used for partial updates to a resource

Why these pairings

YANG is a data modeling language used to define configuration and state data. NETCONF is an XML-based protocol over SSH that supports transactional configuration management. RESTCONF is a RESTful API over HTTPS that uses standard HTTP methods like GET, PUT, POST, DELETE.

NETCONF <edit-config> is an operation that modifies configuration with options like merge, replace, create, delete. RESTCONF PATCH is an HTTP method used for partial updates to a resource.

Exam trap

Do not confuse NETCONF and RESTCONF: NETCONF uses XML over SSH with a locked configuration datastore and replace operations, while RESTCONF uses HTTPS and standard HTTP methods, often with JSON encoding. Also remember that YANG is a modeling language, not a protocol.

14
MCQmedium

Why is version control useful for network automation scripts?

A.It automatically fixes coding mistakes
B.It tracks changes and supports rollback and review
C.It removes the need for API authentication
D.It replaces the device operating system
AnswerB

Version control records every commit as a snapshot, enabling network engineers to compare revisions, identify who changed what and why, and revert to a known-good previous state if a change causes outages or misconfigurations. It also facilitates peer review through merge or pull requests, which catches issues before deployment. These capabilities directly support operational reliability and audit compliance, making version control a foundational practice for automation.

Why this answer

Version control provides change history, collaboration, and rollback options for scripts and infrastructure-as-code files.

Exam trap

A frequent exam trap is selecting options that imply version control automatically corrects coding mistakes or replaces device functions. Candidates might incorrectly believe version control fixes errors or removes the need for API authentication, but it only tracks changes and supports collaboration. Misunderstanding this leads to choosing options like 'It automatically fixes coding mistakes' or 'It removes the need for API authentication,' which are false.

Another trap is confusing version control with device software management, mistakenly thinking it replaces the device operating system. Recognizing that version control solely manages script versions and history prevents these errors.

Why the other options are wrong

A

Option A incorrectly claims version control automatically fixes coding mistakes. While version control tracks changes, it does not validate or correct errors in scripts, so this option is false.

C

Option C falsely suggests version control removes the need for API authentication. Authentication is a separate security process and is not affected by version control.

D

Option D incorrectly claims version control replaces the device operating system. Version control manages script versions only and does not interact with device OS software.

15
MCQmedium

A network operations team is implementing an AI-driven automation system that uses an agentic AI agent to handle routine network issues. The agent is configured to detect high CPU utilization on a core router, then automatically execute a series of diagnostic commands and, if a specific pattern is found, trigger a configuration change to reduce load. After the change, the agent re-checks CPU utilization and, if still high, escalates the issue to a human engineer. Which of the following best describes the workflow being used?

A.A static automation script that runs on a schedule without feedback
B.A closed-loop remediation workflow
C.A tool-calling mechanism for executing network commands
D.An AI agent that uses reinforcement learning to optimize network performance
AnswerB

A closed-loop remediation workflow continuously monitors network telemetry, detects a deviation from policy, triggers the appropriate corrective action, verifies that the action restored the desired state, and escalates if it did not—all in one automated chain. This matches exactly the scenario: the agent's detect-act-verify-escalate pattern is the defining characteristic of a closed loop, differentiating it from passive alerting or blind scripting.

Why this answer

The scenario describes a closed-loop remediation workflow, where the AI agent detects an issue, takes action, verifies the result, and escalates if the problem persists. Tool-calling refers to the agent's ability to invoke specific functions (e.g., diagnostic commands, configuration changes), but the overall process is a closed loop. AI agents are the autonomous entities, but the workflow is the key concept.

Why the other options are wrong

A

This describes a static automation script that runs on a schedule without feedback, but the scenario involves an agent that detects an issue, takes action, re-checks, and escalates if needed, which is adaptive and not static.

C

Tool-calling is a component of the workflow (executing diagnostic commands and configuration changes), but the overall process includes detection, action, verification, and escalation, which is more than just calling tools.

D

Reinforcement learning involves continuous trial-and-error learning from rewards, but the scenario uses predefined diagnostics and actions, not learning from past outcomes to improve future decisions.

16
MCQmedium

Which tool type is most appropriate for turning a variable set of interface values into a reusable configuration template?

A.A packet sniffer
B.A templating engine
C.A DNS recursive resolver
D.An STP root bridge
AnswerB

A templating engine is the appropriate tool for turning a variable set into a reusable configuration because it combines a template file containing static structure and placeholders with a set of key-value variables to generate a fully rendered output. Engines like Jinja2 (used in Ansible) or Apache Velocity allow network engineers to define a single template and dynamically populate it with different variable sets, enabling consistent, parameterized configuration generation across many devices without hand-editing each file.

Why this answer

A templating engine allows you to create a reusable configuration pattern and populate it with variable values, making it ideal for turning variable interface values into templates. A packet sniffer captures network traffic and analyzes packets but does not generate configuration templates. A DNS recursive resolver translates domain names to IP addresses, which is unrelated to configuration templating.

An STP root bridge manages loop-free topology in a switched network, not template creation.

Exam trap

Avoid confusing tools that manage or analyze configurations with those that generate them. Focus on the primary function of each tool.

Why the other options are wrong

A

A packet sniffer captures and analyzes network traffic, but it cannot generate or manipulate configuration templates. It is a monitoring tool, not a configuration automation tool.

C

A DNS recursive resolver translates domain names to IP addresses and has no capability to generate or manage configuration templates. It is a name resolution service, not a configuration tool.

D

An STP root bridge is a switch role in Spanning Tree Protocol that prevents loops in a network. It is a functional role, not a tool for creating reusable configuration templates.

17
Multi-Selectmedium

Which three of the following are typical use cases for automation in network security operations? (Choose three.)

Select 3 answers
.Automated identification and blocking of previously unseen malware variants using behavioral analysis
.Correlating authentication logs with network flows to detect lateral movement by an attacker
.Dynamic micro-segmentation policy adjustment based on real-time risk scoring of endpoints
.Replacing all firewall rules with a single AI-generated rule that covers all traffic
.Guaranteeing zero false positives in intrusion detection by using deep learning
.Automatically disabling all network ports when any anomaly is detected

Why this answer

The three correct options represent realistic automation use cases in network security operations. Automated identification and blocking of malware variants using behavioral analysis leverages machine learning to detect zero-day threats without relying on signatures. Correlating authentication logs with network flows allows security teams to identify lateral movement by spotting anomalous access patterns, which is a key technique in threat hunting.

Dynamic micro-segmentation adjusts policies in real-time based on endpoint risk scores, enabling instant isolation of compromised devices. The incorrect options are unrealistic: a single AI-generated rule cannot cover all traffic, AI cannot guarantee zero false positives, and disabling all ports on any anomaly would cause denial of service.

Exam trap

Candidates may confuse plausible automation with overhyped AI claims. The trap is that while AI/ML can enhance security, options like 'guaranteeing zero false positives' or 'replacing all rules with one AI rule' are unrealistic. The correct answers focus on practical, risk-aware automation that complements existing security controls.

Why the other options are wrong

D

Logs must be retained for security investigations; automatic deletion undermines forensics.

E

Network devices have diverse roles; a uniform configuration cannot address specific security needs.

F

Indiscriminately opening ports during peak hours exposes the network to unnecessary risk.

18
Drag & Dropmedium

Drag and drop the following steps into the correct order to send a RESTCONF GET request to retrieve interface configuration from a Cisco IOS-XE device and apply a configuration change based on the response.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

The correct order for a RESTCONF GET request workflow is: first, send a GET request to retrieve the current interface configuration. Second, analyze the JSON/XML response to identify required changes. Third, create the updated configuration payload in JSON or XML format.

Finally, apply the configuration change using a PUT or PATCH request. This sequence ensures you read the existing state before modifying it.

Exam trap

The most common mistake is to create the payload before analyzing the current configuration. Always retrieve the current state first to know exactly what to change.

19
MCQeasy

In a REST-style API, which method is most commonly associated with retrieving information?

A.GET
B.DELETE
C.POST
D.PUT
AnswerA

GET is the standard HTTP method for retrieving representations of a resource without altering server state, making it the correct choice for read operations in RESTful APIs. It is both safe and idempotent, meaning multiple identical GET requests produce the same result with no side effects. Consequently, GET is the canonical method used to fetch information from an API endpoint.

Why this answer

GET is the method most commonly associated with retrieving information. In practical terms, when a client wants to read state, inventory, or configuration details from an API endpoint without modifying the resource, GET is the expected choice.

This is a core automation vocabulary question and works well as an easier confidence-building item.

Exam trap

Avoid confusing GET with other HTTP methods like POST, PUT, or DELETE, which are used for modifying resources.

Why the other options are wrong

B

The DELETE method is used to remove a resource from the server, not to retrieve information. Using DELETE for retrieval would violate REST principles and could lead to unintended data loss.

C

POST is used to create a new resource or submit data to be processed, not to retrieve information. It is not idempotent and often changes server state, making it unsuitable for simple retrieval.

D

PUT is used to update or replace an existing resource, or create one at a specific URI. It is idempotent but modifies server state, so it is not appropriate for retrieving information.

20
MCQmedium

What is a main operational benefit of a controller-based networking architecture?

A.It removes the need for IP addressing
B.It centralizes policy and can simplify network-wide changes
C.It eliminates the data plane on switches
D.It forces all routes to become static
AnswerB

A controller provides a single point of management where network administrators can define security, QoS, and segmentation policies that are then pushed consistently across all devices. When a change is needed—such as updating an ACL or VLAN configuration—the controller propagates it automatically, eliminating the need for device-by-device CLI access. This centralized policy engine reduces human error, ensures consistency, and dramatically simplifies large-scale network operations.

Why this answer

Controller-based architectures centralize the control plane, enabling network-wide policy management and simplifying changes. This is the correct answer because it accurately describes the primary operational benefit. Option A is wrong because controller-based architectures still require IP addressing for management and communication.

Option C is wrong because the data plane on switches remains operational for local forwarding; only the control plane may be centralized. Option D is wrong because dynamic routing protocols can still be used, and routes are not forced to be static.

Exam trap

A common exam trap is selecting answers that incorrectly claim controller-based architectures remove the need for IP addressing or eliminate the data plane on switches. While controllers centralize control functions, switches still perform local forwarding (data plane) and require IP addresses for management and routing. Another trap is believing that all routes become static under controller control; dynamic routing protocols continue to operate normally.

Misunderstanding these distinctions can lead to choosing incorrect options that overstate the controller's role, so focus on the controller’s role in centralizing policy rather than replacing fundamental network functions.

Why the other options are wrong

A

Option A is incorrect because controller-based architectures do not remove the need for IP addressing. IP addresses remain essential for device identification, management, and routing functions within the network.

C

Option C is incorrect since the data plane on switches is not eliminated. Switches continue to forward traffic locally based on instructions from the controller, maintaining essential forwarding functions.

D

Option D is incorrect because controller-based networks do not force all routes to become static. Dynamic routing protocols such as OSPF and EIGRP still operate under centralized policy control.

21
Multi-Selecthard

Which two statements accurately describe REST-based APIs in a network automation context?

Select 2 answers
A.They commonly use HTTP methods such as GET, POST, PUT, and DELETE.
B.They require Telnet to exchange structured data.
C.They often exchange structured data in formats such as JSON.
D.They can be used only on physical routers and never on controllers.
E.They eliminate the need for authentication or authorization.
AnswersA, C

A core REST constraint is a uniform interface, which is practically implemented by mapping CRUD operations onto standard HTTP verbs: GET for retrieval, POST for creation, PUT for full updates, and DELETE for removal. These methods are stateless and self-descriptive, meaning each request contains enough information for the server to process it. Using these familiar verbs enables clients to interact with network devices in a predictable, standards-based way.

Why this answer

REST APIs are a modern way for software tools to interact with networking systems. In plain language, they let one application ask another application for information or tell it to make a change using standard web-style requests. That is why methods such as GET, POST, PUT, and DELETE show up so often in automation examples. REST APIs also commonly exchange structured data, and JSON is one of the most common formats because it is compact and easy to process programmatically.

They do not depend on Telnet, and they absolutely do not remove the need for security controls. In real deployments, authentication and authorization are often critical. REST APIs are also not limited to one device category. They can exist on routers, switches, wireless controllers, cloud platforms, and many other systems.

Exam trap

A common exam trap is assuming that REST-based APIs require Telnet or similar legacy protocols for communication. This misconception arises because Telnet was historically used for device management, but REST APIs exclusively use HTTP or HTTPS. Another trap is believing REST APIs remove the need for authentication or authorization; in fact, security controls are mandatory to protect network devices from unauthorized access.

Misunderstanding the device scope is also frequent, as some think REST APIs only apply to physical routers, ignoring their availability on controllers and other network elements. Recognizing these pitfalls is essential to avoid incorrect answers.

Why the other options are wrong

B

Option B is incorrect because REST APIs do not use Telnet; they rely on HTTP or HTTPS protocols for communication, making Telnet irrelevant in this context.

D

Option D is incorrect since REST APIs are not limited to physical routers; they are also implemented on controllers, switches, and other network devices, enabling broad automation capabilities.

E

Option E is incorrect because REST APIs require authentication and authorization to secure access, so they do not eliminate the need for security controls in network automation.

22
Matchingmedium

Match each automation-related term to the description that best fits it.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Structured data format

Data-modeling language

Access-related value used by a client

Secure transport for API communication

Why these pairings

The question requires matching automation-related terms to their correct descriptions. Idempotent means that an operation can be applied multiple times without changing the result after the first application. Declarative is a style where the user defines the desired state and the system determines the steps to achieve it.

Imperative is a style where explicit step-by-step instructions are given. Orchestration refers to the automated coordination of multiple systems or services to complete a workflow. Each description aligns precisely with these concepts.

Exam trap

A common mistake is confusing declarative with imperative. Declarative focuses on 'what' (desired state), while imperative focuses on 'how' (step-by-step). Also, idempotency is often conflated with idempotent operations in HTTP methods, but here it refers to automation tasks.

23
Matchingmedium

Match each REST or API concept to its most accurate description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

HTTP method commonly used to retrieve data

HTTP method commonly used to submit or create data

Credential-like value used to help control API access

Structured data format often used in API payloads

Why these pairings

The correct matches are: REST (Architectural style using stateless operations and standard HTTP methods), API endpoint (Specific URL where an API can be accessed), HTTP method (GET, POST, PUT, DELETE to perform CRUD operations), and JSON (Lightweight data format commonly used in API requests and responses). Each description uniquely identifies the corresponding concept. REST is not a protocol or data format; it is an architectural style.

An API endpoint is the URL path. HTTP methods are the verbs. JSON is the data interchange format.

These are fundamental concepts in RESTful APIs.

Exam trap

The exam may test your understanding of REST as an architectural style, not as a protocol or data format. Be careful not to confuse REST with its common implementations like HTTPS or JSON.

24
Matchingeasy

Match each common automation term to its most accurate meaning.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Centralized management or policy platform

Defined software interface for communication

Lightweight structured data format

Secure transport commonly used for API access

Why these pairings

Infrastructure as Code (IaC) refers to managing and provisioning infrastructure through machine-readable definition files, enabling automation and version control. Idempotence means that performing the same operation multiple times results in the same state, ensuring consistency. The declarative model allows the user to define the desired end state, and the system automatically determines how to achieve it.

In contrast, the imperative model requires the user to specify step-by-step instructions to reach the desired state. These four terms are fundamental to understanding network automation approaches.

Exam trap

Candidates often confuse the languages and architectures of automation tools. Remember: Ansible = YAML + agentless; Chef = Ruby DSL; Puppet = declarative manifests (custom DSL); SaltStack = master-minion with agents.

25
MCQhard

A JSON response from a controller contains a list of interfaces, each with its own name and status fields. Which JSON structure is most likely used to represent that list?

A.An array of objects
B.A single scalar string only
C.A wildcard mask
D.A route metric table
AnswerA

An array of objects is the correct JSON structure for a list of interfaces. In JSON, an array (delimited by square brackets) holds an ordered collection of values, and each interface is best modeled as an object with key-value pairs for attributes like name, IP, and status. This allows the controller to return multiple interfaces in a single response, where each object is independently parseable and extensible.

Why this answer

The most likely structure is an array containing objects. In practical terms, an array is the natural way to represent a list of similar items, and each item can then be an object with named fields such as name and status. This is a very common pattern in API payloads.

The question is testing structure recognition, not programming syntax mastery.

Exam trap

A frequent exam trap is mistaking the JSON structure for unrelated networking concepts such as wildcard masks or route metric tables. Candidates might incorrectly select these options because they recognize the terms from routing or ACL topics, but these are not JSON data structures. Another trap is assuming a single scalar string can represent multiple interfaces, which ignores the need for multiple fields per interface.

Recognizing that an array of objects is the natural and standard way to represent a list of interfaces with multiple attributes helps avoid these pitfalls.

Why the other options are wrong

B

Incorrect because a single scalar string cannot represent multiple interfaces with distinct attributes, making it unsuitable for detailed interface lists.

C

Incorrect because wildcard masks are related to ACL configurations and do not represent JSON data structures for interface lists.

D

Incorrect because a route metric table is a routing concept and not a JSON data structure used to represent interface information.

26
Drag & Dropmedium

Drag and drop the following steps into the correct order to select and implement a network automation solution using the appropriate tool based on the use cases and differences between Puppet, Chef, Ansible, and Python.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
6Step 6

Why this order

The correct order follows a systematic approach: First, define the specific network automation goal to understand the scope and constraints. Next, evaluate whether a persistent, agent-based configuration enforcement approach (Puppet/Chef) or an agentless, orchestration-driven approach (Ansible) is required. Then consider the flexibility of a scripting language like Python for custom or one-off tasks.

After selecting the tool, write the automation logic (playbook, manifest, or script). Test it in a controlled environment to avoid production issues, and finally deploy and verify the automation to ensure it meets the intended outcome.

27
Multi-Selectmedium

Which two statements accurately describe why structured telemetry and APIs improve operational tooling?

Select 2 answers
A.They make it easier for software to process known fields consistently.
B.They support scalable automation, dashboards, and assurance workflows.
C.They eliminate the need for secure transport or access control.
D.They force all devices to stop supporting CLI access.
E.They are used only on wireless LAN controllers.
AnswersA, B

Structured telemetry adheres to predefined data models, such as YANG, which specify the exact type, range, and semantic meaning of every field. Software can therefore parse the payload using standard libraries, validate it against the schema, and reliably access specific metrics without guessing or using brittle text parsing. This consistency allows programs to treat network state data as a known contract, dramatically reducing integration bugs and enabling deterministic automation logic.

Why this answer

Structured telemetry and APIs improve tooling because they reduce ambiguity and make automation more reliable. In practical terms, software can collect and compare known fields, counters, and states without brittle text parsing. That supports dashboards, reporting, and automated checks much better than relying only on human-oriented command output.

This is a broad operations-and-automation value question rather than a protocol memorization item.

Exam trap

A frequent exam trap is believing that structured telemetry and APIs remove the need for secure transport or access control. Candidates might think that because data is structured and machine-readable, security is inherently handled, which is incorrect. Another trap is assuming that these technologies force the removal of CLI access, but Cisco devices maintain CLI alongside APIs to support diverse operational needs.

Misunderstanding these points can lead to incorrect answers about the scope and impact of automation technologies in Cisco environments.

Why the other options are wrong

C

This option is incorrect because structured telemetry and APIs do not eliminate the need for secure transport or access control; security remains a fundamental requirement in network operations.

D

This option is incorrect since structured telemetry and APIs do not force devices to stop supporting CLI access; Cisco devices commonly support both CLI and programmable interfaces simultaneously.

E

This option is incorrect because structured telemetry and APIs are broadly applicable across many Cisco network devices and are not limited to wireless LAN controllers.

28
MCQhard

A network engineer notices that the system clock on a Cisco IOS-XE router is incorrect, causing syslog timestamps to be unreliable. The router is configured as an NTP client to synchronize with a remote NTP server at 192.168.1.10. However, the show ntp status command indicates the clock is unsynchronized. What is the most likely cause of this issue?

A.The NTP server is using TCP instead of UDP for NTP communication.
B.The router cannot reach the NTP server due to a missing route or firewall blocking UDP port 123.
C.The NTP server has a higher stratum level than the router's local clock, so the router ignores it.
D.NTP authentication is misconfigured on the router.
AnswerB

The reach value of 0 in the 'show ntp status' output indicates that the router has not received any successful NTP responses from the configured server across the last eight polling attempts. This is typically caused by a Layer 3 routing problem preventing the router from sending packets to the server's IP address, or by a firewall/ACL dropping either the outbound request or the inbound reply because NTP uses UDP port 123. Without reachability, the router can never achieve synchronization, even if the server is running correctly and all other NTP settings match.

Why this answer

NTP operates over UDP port 123. If the router cannot reach the NTP server at 192.168.1.10 due to a missing route or a firewall blocking UDP 123, the NTP client will remain unsynchronized, as indicated by the 'show ntp status' command showing the clock as unsynchronized. This is the most common cause of NTP synchronization failure in a network.

Exam trap

Cisco often tests the misconception that NTP uses TCP or that authentication is the primary cause of synchronization failure, when in fact the most common issue is simple network reachability or firewall blocking of UDP port 123.

Why the other options are wrong

C

The NTP server having a higher stratum level than the local clock does not prevent synchronization outright; the router will still attempt to sync if the server is reachable and authenticates, so this is not the most likely cause.

29
MCQhard

A network administrator notices that the NTP server on Router R1 is not synchronizing with the upstream NTP server at 192.0.2.1. The router is configured as an NTP client, but show ntp status indicates the clock is unsynchronized and the stratum is 16. There is no firewall between R1 and 192.0.2.1. What is the most likely cause of this issue?

A.The NTP server at 192.0.2.1 is not configured as a peer on R1.
B.Router R1 does not have a route to reach 192.0.2.1.
C.The NTP server at 192.0.2.1 is not using NTP version 4.
D.The NTP server at 192.0.2.1 has a firewall blocking NTP traffic.
AnswerB

For NTP to function, R1 must have a valid IP route to 192.0.2.1 in its routing table. Without that route, outgoing NTP packets are discarded with a 'no route to host' condition, and no replies ever arrive, leaving the server at stratum 16 with a reachability of 0. The `show ntp status` command would report the clock unsynchronized, and `show ntp associations` would show the peer as configured but unreachable.

Why this answer

The most likely cause is that Router R1 lacks a route to the upstream NTP server at 192.0.2.1. Without a valid IP route, NTP packets cannot reach the server, so the client remains unsynchronized with stratum 16. The other options are incorrect: A is not required for client operation, C is irrelevant because NTP version negotiation works across versions, and D is ruled out by the absence of a firewall.

Exam trap

Cisco often tests the misconception that NTP configuration alone ensures synchronization, but the trap here is that candidates overlook the prerequisite of IP reachability, assuming the ntp server command handles routing automatically.

Why the other options are wrong

A

Configuring the server as a peer is unnecessary for an NTP client; the client uses the ntp server command.

C

NTP version incompatibility does not prevent synchronization because devices negotiate versions automatically.

D

The problem states there is no firewall, so this cannot be the cause.

30
MCQhard

A REST API call uses the GET method against a device inventory endpoint. What is the most likely intent of the call?

A.To retrieve information from the endpoint.
B.To delete the endpoint from the controller.
C.To replace the endpoint with a new resource.
D.To force the device into PPP mode.
AnswerA

The HTTP GET method is used to retrieve a representation of a resource from the server without causing side effects. In RESTful APIs, GET is a safe and idempotent operation, meaning it only reads data and does not modify the server state. Therefore, calling GET against a device inventory returns the current inventory information.

Why this answer

The most likely intent is to retrieve information, not to create or delete it. In practical terms, GET is commonly used when a client wants to read state or inventory data from an API endpoint. This is one of the most basic REST-style concepts in network automation.

The key is to associate method semantics with likely operational intent.

Exam trap

A common exam trap is confusing the GET method with other HTTP methods like DELETE or PUT. Candidates might incorrectly assume GET can modify or delete resources because they associate API calls with configuration changes. However, GET is strictly for retrieving information and does not alter device state.

Misreading this can lead to selecting options that imply deletion or replacement, which are handled by DELETE and PUT respectively. Recognizing the safe, read-only nature of GET prevents this mistake and aligns with REST API best practices in Cisco automation.

Why the other options are wrong

B

Incorrect because DELETE is the HTTP method used to remove resources. GET does not delete or alter the endpoint or its data, so this option misrepresents REST API semantics.

C

Incorrect because replacing or updating a resource is typically done with the PUT method. GET does not modify or replace resources, so this option confuses method purposes.

D

Incorrect because forcing a device into PPP mode is a configuration action unrelated to REST API method semantics. GET calls do not trigger operational mode changes.

31
MCQmedium

What is version control primarily used for in network automation workflows?

A.To replace authentication for API clients
B.To track changes and maintain history for code and templates
C.To automatically assign switchport VLANs in real time
D.To discover neighboring devices at Layer 2
AnswerB

The core purpose of version control is to record every change made to code, scripts, and configuration templates, creating a full audit trail. In network automation, tools like Git enable engineers to roll back to previous states, compare revisions, and collaborate through branching and merging. This history ensures changes to network infrastructure are reproducible, testable, and compliant with change-management processes.

Why this answer

Version control tracks changes to code and configuration artifacts, enabling rollback, collaboration, and auditability.

Exam trap

A common exam trap is mistaking version control for a live network function like VLAN assignment or device discovery. Some candidates incorrectly believe version control directly manages network devices in real time, such as automatically assigning VLANs or discovering neighbors. However, version control only manages the files that define these actions, not the actions themselves.

Confusing these roles leads to selecting incorrect options that describe operational network tasks rather than the management and tracking of automation code and templates.

Why the other options are wrong

A

Option A is incorrect because version control systems do not replace authentication for API clients. Authentication is handled by security protocols and credentials, not by version control.

C

Option C is incorrect because version control does not assign VLANs or perform any real-time network configuration tasks; it only manages the files that define such configurations.

D

Option D is incorrect because discovering neighboring devices at Layer 2 is a network function performed by protocols like CDP or LLDP, not by version control systems.

32
PBQhard

You are connected to R1 via the console. The network operations center (NOC) has asked you to configure R1 as an NTP client of the NTP server at 192.0.2.10 (reachable via VLAN 100, SVI 192.168.1.1/24). They also need all system messages of level 'debug' (level 7) and higher forwarded to the syslog server at 203.0.113.50. The current configuration shows that NTP is not working (stratum 16) and syslog is only sending critical and higher messages. Fix both issues.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30linkR2R1switchNTP serverSyslog server

Hints

  • Check the source IP of NTP packets; the server may require a specific source address.
  • NTP synchronization fails if the router does not have a route to the NTP server; verify connectivity.
  • The logging trap level controls which severity messages are sent; 'critical' only sends levels 0-2.
A.Configure 'ntp source Vlan100' and 'logging trap debugging'.
B.Configure 'ntp server 192.0.2.10' and 'logging trap 7'.
C.Configure 'ntp source Vlan100' and 'logging trap warnings'.
D.Configure 'ntp update-calendar' and 'logging trap informational'.
AnswerA
solution
! R1
ntp source Vlan100
logging trap debugging

Why this answer

The NTP client is not synchronizing because there is no source interface specified; the NTP packets may be sourced from an unexpected interface and the server may ignore them. The solution is to configure 'ntp source Vlan100' to ensure NTP packets use the correct source IP. Additionally, the syslog trap level is set to 'critical', which filters out messages with severity lower than critical (like warnings, errors, etc.).

The NOC requires all messages up to debug level; therefore, change the logging trap level to 'debugging' with 'logging trap debugging'.

Exam trap

Do not confuse the NTP server command with the source interface command. The server command specifies the server, but the source interface ensures the correct source IP. For syslog, remember that 'debugging' is the keyword for the lowest severity level; using 'warnings' or 'informational' will exclude debug messages.

Why the other options are wrong

B

The specific factual error: 'logging trap 7' is not a valid Cisco IOS command; the correct command uses the keyword 'debugging'. Also, the NTP server command alone does not fix the source interface issue.

C

The specific factual error: 'logging trap warnings' only sends messages with severity 0-4, missing severity 5-7 (notifications, informational, debug).

D

The specific factual error: 'ntp update-calendar' is not needed for NTP synchronization; the source interface is the key missing piece. 'logging trap informational' does not include debug messages.

33
MCQmedium

What is a northbound API in a controller-based network architecture?

A.An interface used by the controller to program forwarding tables on switches
B.An interface used by applications to communicate with the controller
C.A dedicated out-of-band management port on the controller
D.A wireless uplink between access points and the controller
AnswerB

Correct. A northbound API is the programmatic interface that applications use to communicate with the controller, allowing them to request network policies, retrieve telemetry, or adjust network behavior without dealing with underlying device specifics. This abstraction is what makes controller-based architectures agile for software-defined networking.

Why this answer

Northbound APIs allow external applications, dashboards, and automation tools to interact with the controller. Southbound APIs are used by the controller to communicate with the network devices it manages.

Exam trap

Confusing northbound and southbound APIs is a common pitfall. Northbound APIs enable applications to communicate with the controller, while southbound APIs allow the controller to program network devices like switches and routers. Selecting an option that describes device programming or physical ports misses the architectural directionality of these APIs.

Why the other options are wrong

A

Incorrect because programming forwarding tables on switches is a southbound API function, not northbound.

C

Incorrect because a physical management port does not define API direction and is unrelated to northbound or southbound APIs.

D

Incorrect because wireless uplinks are physical connections and do not represent API communication directions.

34
Multi-Selectmedium

Which three of the following are key benefits of integrating AI into network operations? (Choose three.)

Select 3 answers
.Automated detection and correlation of anomalies across the network
.Real-time traffic classification and policy enforcement using machine learning models
.Predictive maintenance by analyzing historical performance data to forecast failures
.Complete elimination of the need for human network administrators
.Guaranteed 100% network uptime through self-healing algorithms
.Automatic reconfiguration of physical cabling without manual intervention

Why this answer

The three correct answers highlight practical AI benefits: anomaly detection correlates diverse telemetry (NetFlow, SNMP) to identify issues faster; real-time traffic classification uses ML models for dynamic policy enforcement without manual rule updates; predictive maintenance analyzes historical data to forecast failures, enabling proactive intervention. The wrong options are unrealistic: AI cannot eliminate all human administrators (complex troubleshooting still needs humans), cannot guarantee 100% uptime (failures still occur), and cannot automatically reconfigure physical cabling (that requires physical access).

Exam trap

Cisco often tests the distinction between AI as an augmentation tool versus a replacement for human administrators, and the trap here is assuming AI can guarantee 100% uptime or eliminate all manual tasks, which contradicts real-world network reliability principles.

35
MCQmedium

Exhibit: A controller returns an authentication token after a successful API login. Why does the client include that token in later requests?

A.To replace the need for an IP address on the client
B.To prove identity and authorization on later API calls
C.To encrypt every packet at Layer 1
D.To change HTTP from a stateless protocol to a routing protocol
AnswerB

A bearer or session token is issued after an initial authentication exchange, such as an OAuth2 access token or a login-created session ID. On subsequent API requests, the client presents that token in the Authorization header, allowing the server to validate that the principal has already been authenticated and is authorized for the requested scope. This avoids re-sending usernames and passwords on every call, as the token itself is a proof of identity and granted permissions.

Why this answer

The token proves the client already authenticated and is authorized to use the API. It saves the client from resending credentials on every request and lets the server validate session or access scope.

Exam trap

A frequent exam trap is assuming that the authentication token replaces the client’s IP address or provides encryption at the physical layer. Some candidates mistakenly believe tokens function like network identifiers or encryption keys, but tokens solely serve as proof of identity and authorization within API sessions. This confusion can lead to selecting incorrect answers that describe unrelated network functions such as IP addressing or Layer 1 encryption.

Understanding that tokens are application-layer credentials, not network-layer or physical-layer features, is critical to avoid this trap.

Why the other options are wrong

A

Option A incorrectly suggests that tokens replace the need for an IP address on the client. IP addresses are fundamental for network communication and routing, and tokens do not substitute for them. This misunderstanding confuses network-layer addressing with application-layer authentication.

C

Option C incorrectly claims that tokens encrypt every packet at Layer 1. Tokens are not encryption mechanisms and do not operate at the physical layer. Encryption is handled by separate protocols such as TLS or IPsec.

D

Option D falsely asserts that tokens change HTTP from a stateless protocol to a routing protocol. HTTP remains stateless, and tokens enable session continuity without altering the protocol’s fundamental nature. Routing protocols are unrelated to token use.

36
Matchingmedium

Match each REST-style method to the action it most commonly represents.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Retrieve information

Submit or create data

Update or replace a resource

Remove a resource

Why these pairings

REST methods are standardized: GET retrieves, POST creates, PUT replaces, PATCH partially modifies, DELETE removes, and HEAD retrieves only headers.

Exam trap

The exam often tests the distinction between PUT (full replacement) and PATCH (partial modification). Many candidates incorrectly assign PUT to 'update' and PATCH to 'replace'.

37
Matchingmedium

Match each programmability term to its most accurate description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Structured representation of configuration or state

Common machine-readable data format

Specific API target or path

Credential-like access value

Why these pairings

Each term is correctly matched with its standard definition in software development and API contexts.

Exam trap

Candidates often confuse APIs with programming languages or protocols. Remember that an API is an interface, not a language or a protocol itself. It enables communication between different software systems.

38
Multi-Selectmedium

Which TWO statements accurately describe how AI and ML concepts are applied to network operations?

Select 2 answers
A.Intent-based networking translates business intent into network policies and continuously validates that the network meets those intentions.
B.Anomaly detection uses ML models to identify deviations from normal traffic baselines, which can indicate security threats or performance issues.
C.Predictive analytics uses historical data to forecast future network conditions and automatically reconfigures network devices to prevent issues.
D.ML models in network operations are trained exclusively on labeled datasets to detect known attack signatures.
E.Rule-based systems are preferred over ML for anomaly detection because they can adapt to new, unknown patterns without manual updates.
AnswersA, B

Intent-based networking (IBN) is a policy-driven framework that captures business intent in natural language or declarative models and translates it into device-level configurations. It continuously validates the actual network state against the intended state using telemetry, model-driven assurance, and closed-loop feedback, taking corrective action when a divergence is detected. This continuous validation differentiates IBN from traditional automation, which merely pushes scripts without ongoing policy verification.

Why this answer

Intent-based networking (IBN) captures business intent in a declarative model, translates it into network policies (e.g., via Cisco DNA Center), and continuously validates that the network state matches the intended outcome using assurance and closed-loop analytics. Option B is correct because anomaly detection leverages ML models to establish a baseline of normal traffic and then flags deviations, which can indicate security threats or performance issues. Option C is incorrect because predictive analytics forecasts future network conditions but does not automatically reconfigure devices; that requires closed-loop automation.

Option D is false because ML models in network operations are not trained exclusively on labeled data; unsupervised learning can detect unknown patterns without labeled datasets. Option E is false because rule-based systems cannot adapt to new, unknown patterns without manual updates, whereas ML models are better suited for anomaly detection due to their ability to learn and generalize from data.

Exam trap

Cisco often tests the distinction between 'predictive analytics' (which forecasts but does not automatically reconfigure) and 'closed-loop automation' (which does), leading candidates to overstate the capabilities of predictive analytics in option C.

Why the other options are wrong

C

Predictive analytics forecasts future network conditions (e.g., link utilization trends) but does not automatically reconfigure devices; automation requires separate closed-loop systems like Cisco DNA Assurance with RMA (reactive, proactive, predictive) workflows. The statement incorrectly combines prediction with automatic reconfiguration.

D

ML models in network operations can be trained using both supervised learning (labeled data for known attacks) and unsupervised learning (unlabeled data to discover unknown patterns). The statement incorrectly claims exclusive use of labeled datasets, ignoring unsupervised anomaly detection which is critical for identifying novel threats.

E

Rule-based systems are static and cannot adapt to new, unknown patterns without manual rule updates. ML models, especially unsupervised learning, excel at detecting anomalies without predefined rules. The statement reverses the strengths of rule-based and ML approaches.

39
Matchingmedium

Match each HTTP method to the action it most commonly performs in a REST API.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Retrieve a resource

Create a new resource

Update or replace a resource

Remove a resource

Why these pairings

All listed mappings are correct according to RESTful API conventions. GET retrieves a resource, POST creates a new resource, PUT replaces an existing resource, and PATCH applies a partial update.

Exam trap

In this question, focus on the four methods given: GET, POST, PUT, PATCH. The most common pitfall is confusing PUT (full replacement) with PATCH (partial update). Also, remember that POST is for creating resources, not for updating or reading.

Do not apply the DELETE concept here.

40
MCQhard

Why is a northbound API valuable to orchestration systems in a controller-based architecture?

A.It provides a defined software interface through which orchestration tools can interact with the controller.
B.It allows network devices to communicate directly with each other without the controller.
C.It is a physical interface used to connect the controller to the orchestration system.
D.It is a physical cable standard for controller uplinks.
AnswerA

A northbound API exposes network services through a clearly defined, machine-readable interface, commonly REST/JSON or NETCONF, allowing orchestration tools to programmatically query state and push configuration. This abstraction layer hides the underlying device specifics so that the orchestrator can manage the controller as a single logical entity. It is precisely this software contract that makes automated, policy-driven network orchestration possible.

Why this answer

A northbound API is valuable because it provides a defined software interface for orchestration systems to interact with the controller programmatically. Option B is incorrect because northbound APIs do not enable direct device-to-device communication; that is a function of the data plane. Option C is incorrect because northbound APIs are logical software interfaces, not physical cables or ports.

Option D is also incorrect as it mischaracterizes the API as a hardware standard.

Exam trap

A common exam trap is mistaking the northbound API for a physical connection or confusing it with southbound APIs that communicate with network devices.

Why the other options are wrong

B

This describes direct device communication or southbound APIs, not the northbound API used by orchestration.

C

Northbound APIs are logical software interfaces, not physical cable standards or hardware.

41
Matchingmedium

Drag and drop the syslog severity levels on the left to their corresponding names and meanings on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Emergency – system is unusable

Alert – immediate action needed

Critical – critical condition

Error – error condition

Warning – warning condition

Why these pairings

All four options correctly match syslog severity levels 0-3 with their descriptions. Levels 0 (Emergency), 1 (Alert), 2 (Critical), and 3 (Error) are the highest severity levels.

Exam trap

Remember that lower severity numbers indicate higher urgency. The exam expects you to know the order and descriptions of levels 0-3 precisely.

42
Drag & Dropmedium

Drag and drop the following steps into the correct order to describe the general workflow for AI-assisted network configuration automation: receive intent, decompose into sub-tasks, call tools, validate output, and apply closed-loop remediation.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

The correct sequence for AI-assisted network configuration automation is: receive intent, decompose into sub-tasks, call tools, validate output, and apply closed-loop remediation. Only Option A follows this exact order. Options B, C, and D deviate from the standard workflow and are therefore incorrect.

Exam trap

The sequence must follow the logical progression: start by receiving the intent, then break it into actionable steps, execute those steps, check the results, and finally correct any issues. Only Option A matches this order.

43
MCQmedium

A network administrator at a large enterprise notices that the network monitoring system frequently generates false positive alerts for unusual traffic patterns during normal business hours. The administrator wants to reduce these false positives while still detecting genuine security threats. Which AI/ML concept would best address this requirement?

A.Deploy a predictive analytics model to forecast future traffic volumes and adjust thresholds accordingly.
B.Implement an anomaly detection system that uses machine learning to establish baseline behavior and flag deviations.
C.Apply intent-based networking to automatically enforce security policies based on high-level business intent.
D.Use deep packet inspection to examine all traffic and create static rules for known threats.
AnswerB

An ML-based anomaly detection system builds a statistical baseline of normal network behavior by learning from historical telemetry—metrics such as traffic volume, packet rates, port usage, or flow duration—and then flags significant deviations from that learned profile. Unlike static thresholds, the model adapts to seasonal patterns and gradual shifts in user behavior, so routine variations are absorbed into the baseline and only genuine outliers trigger alerts. This combination of continuous learning and multi-dimensional feature analysis directly addresses the root cause of false positives, which is the inability of fixed rules to distinguish 'unusual but normal' from 'suspicious' traffic.

Why this answer

Anomaly detection using machine learning establishes a dynamic baseline of normal network behavior, allowing the system to flag only significant deviations. This reduces false positives during normal business hours while still detecting genuine threats that deviate from the learned baseline, unlike static thresholds that trigger alerts on routine traffic variations.

Exam trap

Cisco often tests the distinction between predictive analytics (forecasting volume) and anomaly detection (learning behavior), trapping candidates who confuse adjusting thresholds with establishing a behavioral baseline.

Why the other options are wrong

A

Predictive analytics forecasts future traffic volumes but does not establish a dynamic baseline for normal behavior; thus, it cannot adapt to daily variations and would not reduce false positives from current traffic patterns.

C

Intent-based networking automates policy deployment and verification based on business intent, but it does not analyze traffic patterns or adapt alert thresholds; therefore, it does not directly reduce false positive alerts from monitoring systems.

D

Deep packet inspection with static rules can detect known threats but cannot adapt to new or evolving traffic patterns; thus, it would not reduce false positives from normal traffic variations and may even increase them due to rigid rules.

44
Multi-Selectmedium

Which TWO statements correctly describe characteristics of SNMPv2c and SNMPv3 for network monitoring?

Select 2 answers
A.SNMPv3 supports authentication and encryption for secure network monitoring.
B.SNMPv2c uses community strings sent in clear text to authenticate requests.
C.SNMPv3 provides the same security level as SNMPv2c but with additional trap support.
D.SNMPv2c supports only GET and SET operations, but not traps.
E.SNMPv3 uses community strings to authenticate agents and managers.
AnswersA, B

SNMPv3 is correct because it introduces a User-based Security Model (USM) offering three security levels: noAuthNoPriv (no authentication or encryption, but still uses usernames), authNoPriv (HMAC-MD5 or HMAC-SHA authentication, no encryption), and authPriv (authentication plus DES or AES encryption). This allows network monitoring to operate with data integrity, source authentication, and confidentiality, protecting against sniffing and unauthorized modifications. No other version provides these combined security features, making it suitable for production and large-scale networks.

Why this answer

SNMPv3 is correct because it introduces authentication (MD5/SHA) and encryption (DES/AES) for secure monitoring. SNMPv2c is correct because it uses community strings transmitted in cleartext, lacking security. Option C is wrong: SNMPv3 is more secure than v2c, not the same.

Option D is wrong: SNMPv2c supports traps in addition to GET and SET. Option E is wrong: SNMPv3 uses usernames and security models, not community strings.

Exam trap

Cisco often tests the misconception that SNMPv3 is merely an extension of SNMPv2c with added trap support, when in fact the key differentiator is the security model (authentication and encryption), and both versions support traps.

Why the other options are wrong

C

SNMPv3 provides significantly higher security than SNMPv2c by adding authentication and encryption, whereas SNMPv2c uses only community strings in clear text. Both versions support traps, so the statement incorrectly claims SNMPv3 has additional trap support, which is not a distinguishing feature.

D

SNMPv2c supports GET, SET, and trap operations, just like SNMPv1 and SNMPv3. The statement is incorrect because it claims SNMPv2c does not support traps, which is false; traps are a key feature for asynchronous notifications in network monitoring.

E

SNMPv3 uses the User-based Security Model (USM) with usernames and authentication keys, not community strings. Community strings are a feature of SNMPv1 and SNMPv2c, which are transmitted in clear text and provide weak security.

45
Drag & Dropmedium

Drag and drop the following steps into the correct order to configure gRPC streaming telemetry subscription on a Cisco IOS-XE device, from initial setup to data collection.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

The correct order starts with entering global config, then enabling telemetry, defining subscription details (encoding and filter), specifying the receiver, and finally verifying data collection.

Exam trap

The trap is that candidates may confuse the order of enabling telemetry and defining the subscription, or think that global config is not needed first. Remember that all telemetry commands are configured in global config mode, and the subscription must be defined before the receiver can be added.

46
Multi-Selectmedium

Which THREE statements accurately describe the role of AI agents in closed-loop remediation workflows for network automation?

Select 3 answers
A.AI agents require manual approval before executing any remediation action in a closed-loop workflow.
B.AI agents can autonomously analyze network telemetry and decide on remediation actions.
C.AI agents rely solely on static baseline configurations to detect anomalies.
D.Tool-calling allows AI agents to invoke external automation tools (e.g., Ansible, Python scripts) to execute remediation steps.
E.In a closed-loop remediation workflow, the AI agent monitors the network after action to confirm the issue is resolved and adjusts if needed.
F.AI agents eliminate the need for human oversight in network operations.
AnswersB, D, E

Autonomous analysis is enabled by the AI agent's ability to consume and correlate diverse telemetry sources — interface counters, CPU/memory utilization, routing tables, and flow records — in real time. Using machine learning models or rule-based logic, the agent identifies anomalies (e.g., high error rate, BGP session flapping) and determines the appropriate remediation step, such as adjusting OSPF cost, resetting a neighbor, or applying a temporary policy. This decision-making capability runs continuously and automatically, which is central to closed-loop automation and differentiates it from simple scripted monitoring that reacts to fixed thresholds.

Why this answer

B is correct because AI agents in closed-loop remediation workflows autonomously analyze network telemetry (e.g., gRPC, NETCONF) and decide on remediation actions without manual intervention, enabling rapid response. D is correct because tool-calling allows the AI agent to invoke external automation tools like Ansible or Python scripts to execute the chosen remediation steps. E is correct because a key part of the closed-loop is that the AI agent monitors the network after action to confirm the issue is resolved and adjusts if needed, ensuring the loop is closed.

A is wrong because closed-loop automation implies autonomous execution based on predefined policies, not requiring manual approval for every action. C is wrong because AI agents use dynamic telemetry and learned patterns, not just static baseline configurations, to detect anomalies. F is wrong because AI agents augment, not eliminate, human oversight; human intervention remains for policy exceptions and oversight.

Exam trap

Cisco often tests the misconception that AI agents require manual approval for every action in closed-loop workflows, when in fact the 'closed-loop' concept implies autonomous execution based on predefined policies.

Why the other options are wrong

A

Closed-loop remediation is defined by autonomous execution without manual approval for standard actions.

C

AI agents rely on continuous telemetry and machine learning, not solely static baseline configurations, to detect anomalies.

F

AI agents reduce but do not eliminate the need for human oversight, especially for policy exceptions and strategic decisions.

47
Multi-Selectmedium

Which two statements about RESTful APIs are correct? (Choose two.)

Select 2 answers
A.They commonly use HTTP methods such as GET and POST.
B.They require Layer 2 adjacency between client and server.
C.They often exchange structured data such as JSON.
D.They replace the need for routing protocols on the network.
AnswersA, C

RESTful APIs are built around standard HTTP verbs, with GET and POST being the most fundamental. GET performs safe, idempotent resource retrieval, while POST submits data to create or process a resource, aligning with the request/response model of the web. These methods provide a uniform interface for clients to interact with server resources, independent of the underlying implementation. This design is why such APIs are called representational state transfer (REST).

Why this answer

REST commonly uses HTTP verbs and typically exchanges structured data such as JSON.

Exam trap

A frequent exam trap is the misconception that RESTful APIs require Layer 2 adjacency between client and server devices. Some candidates mistakenly believe that because RESTful APIs use HTTP, they must operate only within the same broadcast domain or VLAN. However, RESTful APIs function over routed IP networks just like any other web traffic, so Layer 2 adjacency is not necessary.

Another trap is thinking that RESTful APIs replace routing protocols, which is incorrect since APIs only provide programmable access to device functions and do not handle routing or forwarding.

Why the other options are wrong

B

Option B is incorrect because RESTful APIs do not require Layer 2 adjacency; they operate over routed IP networks, allowing clients and servers to communicate across different subnets.

D

Option D is incorrect because RESTful APIs do not replace routing protocols; they provide programmable access to device functions but do not handle routing or forwarding decisions.

48
MCQmedium

A network engineer is tasked with monitoring a large enterprise network that requires high-frequency, real-time data collection from thousands of routers and switches. The engineer needs a solution that minimizes CPU overhead on the network devices and supports push-based data delivery. Which technology should the engineer choose for this requirement?

A.SNMPv2c with frequent polling intervals
B.Streaming telemetry
C.NetFlow
D.IPFIX
AnswerB

Streaming telemetry uses a push-based model in which devices continuously stream operational data (e.g., CPU, memory, interface counters) to collectors via protocols like gRPC with GPB or JSON encoded data over a long-lived session. This dramatically reduces overhead on the device because the collector subscribes to specific data paths and the device sends updates at configured cadence or on event-driven triggers, eliminating the need for repeated request-response polling. This approach scales to thousands of devices and provides near-real-time visibility, making it the optimal choice for large-scale network monitoring.

Why this answer

Streaming telemetry uses a push model (e.g., gRPC or UDP-based dial-out) to continuously send structured data (YANG-modeled, often encoded in GPB or JSON) from network devices to a collector, which eliminates the need for periodic polling. This minimizes CPU overhead because the device only encodes and transmits data when a subscription triggers an update, rather than processing repeated SNMP GET requests. It is designed for high-frequency, real-time data collection at scale, making it ideal for monitoring thousands of routers and switches with minimal performance impact.

Exam trap

Cisco often tests the distinction between pull-based (SNMP) and push-based (telemetry) models, and the trap here is that candidates may confuse NetFlow or IPFIX as 'push-based' monitoring tools for device health metrics, when they are actually designed for traffic flow analysis and lack the structured, high-frequency, model-driven data collection that streaming telemetry provides.

Why the other options are wrong

A

SNMPv2c uses a pull model where the manager polls devices for data. Frequent polling intervals increase CPU usage on network devices and can cause scalability issues with thousands of devices, making it unsuitable for high-frequency, real-time data collection with minimal overhead.

C

NetFlow is designed for traffic flow analysis, capturing details like source/destination IPs and ports, not for collecting device health metrics such as CPU or memory. Its export mechanism can be CPU-intensive and does not provide the push-based efficiency needed for real-time monitoring of device status.

D

IPFIX is an extension of NetFlow for flexible flow export and shares the same focus on traffic flows, not device health metrics. Like NetFlow, it does not offer the push-based, low-overhead data delivery required for real-time monitoring of thousands of devices.

49
MCQhard

Why is a northbound API generally more useful to orchestration software than a human-readable CLI screen?

A.Because the API provides a structured interface intended for software interaction.
B.Because CLI output cannot be read by humans.
C.Because APIs remove the need for authentication.
D.Because orchestration software cannot use HTTPS.
AnswerA

This is correct because a northbound API exposes network functions through a structured, software-friendly interface, typically using JSON or XML models. This enables orchestration tools to programmatically query state, push configuration changes, and validate results in a predictable, machine-readable format. Such structured interaction is far more efficient and reliable for automation than screen-scraping or manual commands.

Why this answer

A northbound API is more useful because it is designed for structured software interaction. In practical terms, orchestration systems need predictable data and predictable request methods. Human-readable CLI output is optimized for people, not for stable machine parsing. APIs provide the cleaner contract between the controller and the automation platform.

This is a core programmability idea. Human-readable output is useful for operators, but structured APIs are better for software systems.

Exam trap

A common exam trap is to confuse the usability of CLI output with its suitability for automation. While CLI screens are indeed human-readable and essential for manual network management, they are not designed for software consumption due to inconsistent formatting and lack of structured data. Another trap is to mistakenly believe that APIs remove security requirements like authentication; in fact, APIs enforce strict authentication and authorization to protect network resources.

Misunderstanding these points can lead to incorrect answers that underestimate the importance of structured, secure interfaces in network automation.

Why the other options are wrong

B

This option is incorrect because CLI output is specifically designed to be human-readable; the problem is not readability but the lack of structured data suitable for software parsing.

C

This option is incorrect because APIs still require authentication and authorization to secure network access; they do not remove the need for security controls.

D

This option is incorrect because orchestration software commonly uses HTTPS-based APIs for secure communication; the inability to use HTTPS is not a valid reason for preferring APIs over CLI.

50
Matchingmedium

Match each HTTP method to the most accurate action it commonly represents in REST-style APIs.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Retrieve existing information

Submit or create data

Update or replace an existing resource

Remove a resource

Why these pairings

HTTP methods correspond to CRUD operations in REST: GET for read, POST for create, PUT for full update, PATCH for partial update, DELETE for delete, and HEAD for headers only.

Exam trap

The trap is assuming GET can perform any operation beyond retrieval. Remember that GET must be safe and idempotent; it should never modify or delete resources. Always associate GET with read-only operations.

51
PBQhard

You are connected to the console of R1, a Cisco router that is part of a larger network. The network operations team uses Ansible to manage configurations. You need to write an Ansible playbook that configures an interface description on R1. The playbook should use the ios_config module.

Hints

  • The ios_config module uses 'parents' to specify the configuration context.
  • The playbook should target the correct host group.
  • Remember to include the YAML front matter.
A.--- - name: Configure interface description hosts: R1 gather_facts: no tasks: - name: Add description to Gi0/0 ios_config: lines: - description Link to Core parents: interface GigabitEthernet0/0
B.--- - name: Configure interface description hosts: R1 gather_facts: no tasks: - name: Add description to Gi0/0 ios_config: lines: - interface GigabitEthernet0/0 - description Link to Core
C.--- - name: Configure interface description hosts: R1 gather_facts: no tasks: - name: Add description to Gi0/0 ios_command: commands: - configure terminal - interface GigabitEthernet0/0 - description Link to Core
D.--- - name: Configure interface description hosts: R1 gather_facts: no tasks: - name: Add description to Gi0/0 ios_config: lines: - description Link to Core parents: GigabitEthernet0/0
AnswerA
solution
! R1
---
- hosts: routers
  gather_facts: no
  tasks:
    - name: Configure interface description
      ios_config:
        lines:
          - description WAN Link
        parents: interface GigabitEthernet0/0

Why this answer

The playbook uses the ios_config module to add the description line under the interface configuration. The 'parents' parameter sets the context to 'interface GigabitEthernet0/0'. The playbook must be saved as a .yml file and run with ansible-playbook.

Exam trap

A common trap is confusing ios_config with ios_command, or incorrectly formatting the 'parents' parameter. Remember that ios_config is for configuration changes and requires the 'parents' parameter to specify the exact command that enters the configuration context, such as 'interface GigabitEthernet0/0'.

Why the other options are wrong

B

The specific factual error: The 'lines' parameter should only contain the configuration commands to be applied under the parent context, not the parent command itself.

C

The specific factual error: The ios_command module does not handle configuration mode properly and is not intended for configuration tasks; it sends commands and returns output without state management.

D

The specific factual error: The 'parents' parameter expects the exact command that enters the configuration context, such as 'interface GigabitEthernet0/0', not just the interface name.

52
Matchingmedium

Drag each automation or API concept from the left to its corresponding description on the right. Not all descriptions are used. Concepts: - Northbound API - Southbound API - JSON - HTTPS

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Application-facing interface to the controller

Controller-facing interface toward managed infrastructure

Structured data format

Secure transport for API communication

Why these pairings

Northbound API: the application-facing interface of an SDN controller, allowing apps to request services. Southbound API: the interface that enables the controller to configure managed devices, such as OpenFlow. JSON: a structured data format using key/value pairs and arrays, lightweight and machine‑friendly.

HTTPS: secure, encrypted transport for API communications, protecting data in transit. Distractors: 'Human-readable serialization format' describes YAML, not JSON or APIs. 'Protocol for network device configuration' might refer to NETCONF or CLI, not HTTPS or the APIs listed.

Exam trap

Be careful not to confuse JSON and YAML: JSON uses brackets and is machine-friendly, while YAML uses indentation and is human-friendly. Also, remember that Ansible uses YAML, not XML.

53
PBQhard

You are connected to R1, a Cisco ISR 4331 router running IOS-XE. Your task is to enable SNMP v2c with community string 'public' (read-only) and 'private' (read-write), and configure SNMP v3 with a user 'admin' using SHA authentication (password 'Cisco123') and AES 128 encryption (password 'Cisco456'). Additionally, configure SNMP traps to be sent to a management server at 203.0.113.10 for both v2c and v3. Finally, enable NetFlow export to a collector at 203.0.113.20, using version 9. Verify your configuration using 'show snmp' and 'show ip cache flow'.

Hints

  • Remember to apply NetFlow on an interface for traffic capture.
  • SNMPv3 user requires both auth and priv passwords.
  • Use 'snmp-server enable traps' before configuring trap hosts.
A.snmp-server community public RO snmp-server community private RW snmp-server user admin v3group v3 auth sha Cisco123 priv aes 128 Cisco456 snmp-server enable traps snmp-server host 203.0.113.10 version 2c public snmp-server host 203.0.113.10 version 3 auth admin ip flow-export destination 203.0.113.20 2055 ip flow-export version 9
B.snmp-server community public snmp-server community private snmp-server user admin v3 auth md5 Cisco123 priv des56 Cisco456 snmp-server enable traps snmp-server host 203.0.113.10 version 2c public snmp-server host 203.0.113.10 version 3 auth admin ip flow-export destination 203.0.113.20 2055 ip flow-export version 9
C.snmp-server community public RO snmp-server community private RW snmp-server user admin v3 auth sha Cisco123 priv aes 128 Cisco456 snmp-server enable traps snmp-server host 203.0.113.10 version 2c private snmp-server host 203.0.113.10 version 3 auth admin ip flow-export destination 203.0.113.20 2055 ip flow-export version 9
D.snmp-server community public RO snmp-server community private RW snmp-server user admin v3 auth sha Cisco123 priv aes 128 Cisco456 snmp-server enable traps snmp-server host 203.0.113.10 version 2c public snmp-server host 203.0.113.10 version 3 auth admin ip flow-export destination 203.0.113.20 2055 ip flow-export version 5
AnswerA
solution
! R1
snmp-server community public RO
snmp-server community private RW
snmp-server user admin v3 auth sha Cisco123 priv aes 128 Cisco456
snmp-server enable traps
snmp-server host 203.0.113.10 version 2c public
snmp-server host 203.0.113.10 version 3 auth admin
ip flow-export destination 203.0.113.20 2055
ip flow-export version 9
interface GigabitEthernet0/1
ip flow ingress
exit

Why this answer

The router lacks SNMP and NetFlow configuration. For SNMP v2c, you must define community strings with 'snmp-server community public RO' and 'snmp-server community private RW'. For SNMP v3, you create a user within a group; the command requires a group name, e.g., 'snmp-server user admin v3group v3 auth sha Cisco123 priv aes 128 Cisco456'.

Traps are enabled and sent to 203.0.113.10 via v2c with the public community and v3 with the admin user. NetFlow export uses version 9 to collector 203.0.113.20. Verification commands show SNMP details and flow cache export settings.

Exam trap

Watch out for common mistakes: using MD5/DES instead of SHA/AES for SNMPv3, forgetting RO/RW keywords on community strings, using the wrong community string for traps, and selecting the wrong NetFlow version. Always verify the exact requirements in the question.

Why the other options are wrong

B

The specific factual error: SNMPv3 user is configured with MD5 and DES instead of SHA and AES 128; community strings are missing RO/RW keywords.

C

The specific factual error: The v2c trap host uses 'private' instead of 'public' community string.

D

The specific factual error: NetFlow export version is set to 5 instead of 9.

54
PBQhard

You are connected to R1. Configure SNMPv3 with authentication (SHA) and encryption (AES-128) for user 'monitor' in group 'AdminGroup', and also configure SNMPv2c read-only community string 'cisco123' to send traps to the management server at 192.0.2.100. Additionally, configure NetFlow on interface GigabitEthernet0/0 to export flow data to 198.51.100.50 using version 9. Verify your configuration using the appropriate show commands.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30linkG0/1203.0.113.1/30G0/1203.0.113.2/30linkR1R2R3

Hints

  • SNMPv3 requires a view before creating the group.
  • Remember to enable NetFlow on the interface in both ingress and egress directions.
  • The SNMPv2c community string must be configured before the trap host can reference it.
A.snmp-server group AdminGroup v3 priv read AdminView; snmp-server user monitor AdminGroup v3 auth sha cisco123 priv aes 128 cisco123; snmp-server community cisco123 ro; snmp-server host 192.0.2.100 traps version 2c cisco123; interface GigabitEthernet0/0; ip flow-export destination 198.51.100.50 9996; ip flow-export version 9; ip flow ingress
B.snmp-server group AdminGroup v3 auth read AdminView; snmp-server user monitor AdminGroup v3 auth sha cisco123 priv aes 128 cisco123; snmp-server community cisco123 ro; snmp-server host 192.0.2.100 traps version 2c cisco123; interface GigabitEthernet0/0; ip flow-export destination 198.51.100.50 9996; ip flow-export version 9; ip flow ingress
C.snmp-server group AdminGroup v3 priv read AdminView; snmp-server user monitor AdminGroup v3 auth sha cisco123 priv des 56 cisco123; snmp-server community cisco123 ro; snmp-server host 192.0.2.100 traps version 2c cisco123; interface GigabitEthernet0/0; ip flow-export destination 198.51.100.50 9996; ip flow-export version 9; ip flow ingress
D.snmp-server group AdminGroup v3 priv read AdminView; snmp-server user monitor AdminGroup v3 auth sha cisco123 priv aes 128 cisco123; snmp-server community cisco123 ro; snmp-server host 192.0.2.100 traps version 2c cisco123; interface GigabitEthernet0/0; ip flow-export destination 198.51.100.50 9996; ip flow-export version 5; ip flow ingress
AnswerA
solution
! R1
snmp-server group AdminGroup v3 priv read AdminView
snmp-server view AdminView iso included
snmp-server user monitor AdminGroup v3 auth sha cisco123 priv aes 128 cisco123
snmp-server community cisco123 RO
snmp-server host 192.0.2.100 version 2c cisco123
snmp-server enable traps
interface GigabitEthernet0/0
ip flow ingress
ip flow egress
exit
ip flow-export destination 198.51.100.50 2055
ip flow-export version 9

Why this answer

The configuration was missing SNMPv3 user, group, and trap settings. We added the SNMPv3 user 'monitor' with SHA authentication and AES-128 encryption, created a view and group 'AdminGroup' with read access, and configured the SNMPv2c community string 'cisco123' for read-only access. We also enabled SNMP traps to the manager at 192.0.2.100 and configured NetFlow on GigabitEthernet0/0 to export to 198.51.100.50 using version 9.

Verification commands show the SNMP configuration and NetFlow flow cache.

Exam trap

Pay close attention to the exact security requirements: 'priv' for encryption, AES-128 specifically, and NetFlow version 9. The exam often tests subtle differences between 'auth' and 'priv' levels, encryption algorithms, and NetFlow versions.

Why the other options are wrong

B

The group level 'auth' does not permit encryption; 'priv' is required for AES-128 encryption.

C

The encryption algorithm specified is DES (56-bit) instead of AES-128.

D

NetFlow export version is 5, not 9 as required.

55
Multi-Selectmedium

Which two statements accurately describe why APIs and human-oriented CLIs are both still useful in network operations?

Select 2 answers
A.APIs are useful for structured, repeatable software-driven interaction.
B.CLIs are still useful for direct human troubleshooting and inspection.
C.APIs make all CLIs obsolete in every situation.
D.CLIs are only useful for configuring initial device settings and cannot be used for monitoring.
E.Neither interface should ever return structured data.
AnswersA, B

APIs (e.g., RESTCONF, NETCONF, or vendor REST APIs) provide machine-readable structured data (JSON/XML) and standardized operations that enable deterministic, repeatable automation. Unlike human-typed CLI commands, API calls can be idempotent, scripted, and integrated with CI/CD pipelines, making them ideal for configuration management, telemetry collection, and orchestration at scale. This is why they are foundational to software-defined networking and DevOps practices.

Why this answer

APIs and CLIs are both useful because they serve different operational strengths. In practical terms, APIs are better for repeatable software interaction and structured automation, while CLIs remain valuable for direct human troubleshooting and ad hoc inspection. Mature environments often use both depending on the task.

This is not an either-or question. It is about fit for purpose.

Exam trap

Don't assume one technology is replacing the other; understand their complementary roles.

Why the other options are wrong

C

This statement is incorrect because CLIs remain essential for tasks that require human judgment, such as debugging complex issues, interactive configuration, and learning device behavior. APIs complement but do not replace CLIs, as many operational scenarios benefit from direct human interaction.

D

This is incorrect because CLIs are widely used for monitoring, troubleshooting, and ad-hoc inspection beyond initial configuration.

E

This statement is incorrect because structured data (e.g., JSON, XML) is commonly returned by both APIs and modern CLIs (e.g., via 'show' commands with formatting options) to facilitate machine parsing and automation. Returning structured data is a best practice for integrating network devices with management systems.

56
Multi-Selectmedium

Which TWO statements about network automation tools are true?

Select 2 answers
A.Ansible uses an agentless architecture and communicates with network devices over SSH by default.
B.Python is a general-purpose programming language often used with libraries like Netmiko and NAPALM to automate network tasks.
C.Puppet and Chef both use a push-based model where the master server initiates configuration changes on managed nodes.
D.Chef playbooks are written in YAML, while Ansible uses a Ruby-based DSL for defining desired state.
E.Ansible requires an agent to be installed on managed network devices, while Puppet does not.
AnswersA, B

Ansible operates without any persistent agent installed on the target device. Instead, the Ansible controller connects over SSH (or other supported connection methods like NETCONF for network devices) and executes a transient module that performs the required task, then cleans up after itself. This agentless design simplifies initial setup and avoids compatibility issues with device firmware.

Why this answer

Ansible is agentless, meaning it does not require any software installed on managed network devices. It connects to devices over SSH by default (or API for some platforms) and pushes configuration modules directly, making it lightweight and easy to deploy in network environments.

Exam trap

Cisco often tests the confusion between push-based and pull-based models, as well as which tools use agents versus agentless architectures, to catch candidates who memorize buzzwords without understanding the underlying communication patterns.

Why the other options are wrong

C

Ansible is the tool known for push-based orchestration; Puppet and Chef rely on agent-initiated pull cycles.

D

Mixing up the DSL/language associations: Ansible = YAML, Chef = Ruby, Puppet = Puppet DSL (declarative).

E

This error stems from confusing the agentless nature of Ansible with the agent-based architecture of Puppet/Chef.

57
PBQhard

You are connected to R1 via the console. R1 is a Cisco ISR 4321 router running IOS-XE. The network team has recently changed the routing protocol from EIGRP to OSPF, but some routes are missing from the routing table. You need to analyze the OSPF neighbor states and LSDB to identify the issue.

Network Topology
G0/010.0.1.1/30G0/010.0.1.2/30linkG0/1192.168.1.1/24linkR1R2SW1

Hints

  • Check if OSPF neighbors are in FULL state.
  • Look for mismatched OSPF network types or hello intervals.
  • Verify that both routers are in area 0.
A.Use 'show ip ospf neighbor' to check neighbor state; if not FULL, examine 'show ip ospf interface' for mismatched hello/dead intervals or network type.
B.Use 'show ip route ospf' to verify OSPF routes; if missing, re-enter the OSPF process and redistribute connected routes.
C.Use 'debug ip ospf events' to monitor OSPF packets; if no packets are seen, reconfigure OSPF router ID and clear the OSPF process.
D.Use 'show ip protocols' to verify OSPF process configuration; if incorrect, delete and recreate the OSPF process with the correct network statements.
AnswerA
solution
! R1
show ip ospf neighbor
show ip ospf interface gigabitethernet0/0
show ip route ospf

! R2
show ip ospf neighbor
show ip ospf interface

Why this answer

OSPF requires consistent hello/dead intervals and network types to form adjacency. If the neighbor is not in FULL state, routes will not be exchanged. Checking 'show ip ospf neighbor' reveals the state; mismatched parameters can be corrected by adjusting interface configuration.

Exam trap

The exam trap is that candidates may jump to reconfiguring the OSPF process or redistribution when routes are missing, but the root cause is often a simple mismatch in OSPF interface parameters. Always check neighbor states first.

Why the other options are wrong

B

The specific factual error is that 'show ip route ospf' shows only existing OSPF routes, not neighbor states. Redistribution is not needed for directly connected interfaces in the same OSPF area.

C

The specific factual error is that debugging is not the initial diagnostic step; it should be used after verifying neighbor states and interface parameters. Changing the router ID is unnecessary unless there is a duplicate router ID issue.

D

The specific factual error is that 'show ip protocols' does not display per-interface OSPF parameters. The problem is likely at the interface level, not the process level.

58
MCQmedium

A REST API query returns this JSON snippet: { "interface": { "name": "GigabitEthernet1", "admin-status": "up", "oper-status": "down" } } What does this indicate?

A.The interface is shut down by configuration.
B.The interface is enabled but the link is not operational.
C.The interface is operating normally.
D.The interface is a loopback.
AnswerB

With the JSON output showing an administrative status of 'up' and an operational status of 'down', the interface is administratively enabled (not manually disabled) but has no working link. This typically means there is no cable connected, the remote peer is down, or the physical/media layer is faulty, so the link cannot carry traffic.

Why this answer

The interface is administratively enabled, but it is not operationally passing traffic or achieving link.

Exam trap

Be careful not to confuse 'admin-status' with 'oper-status'. They represent different states of the interface.

Why the other options are wrong

A

The admin-status is 'up', which means the interface is not administratively shut down. A shut down interface would show admin-status as 'down'.

C

An interface operating normally would have oper-status 'up'. The oper-status 'down' indicates the interface is not passing traffic, so it is not functioning normally.

D

A loopback interface is a virtual interface that is always up/up (admin up, oper up) unless administratively shut down. The JSON shows oper-status 'down', which is not typical for a loopback.

59
Multi-Selectmedium

Which THREE statements accurately describe the characteristics of NETCONF and RESTCONF for programmatic network configuration?

Select 3 answers
A.NETCONF uses HTTP methods such as GET, POST, PUT, and DELETE to manipulate configuration data.
B.NETCONF uses XML-encoded RPCs over a secure transport such as SSH or TLS.
C.RESTCONF supports both XML and JSON encoding and uses HTTP methods.
D.Both NETCONF and RESTCONF rely on YANG data models to define the structure of configuration and operational data.
E.NETCONF uses a separate commit operation to apply changes, while RESTCONF uses a similar commit mechanism.
AnswersB, C, D

NETCONF is a network management protocol that encodes all operations, such as <get>, <get-config>, and <edit-config>, as XML Remote Procedure Calls (RPCs). These RPCs are transmitted over a secure, connection-oriented transport: SSH is mandatory for NETCONF (RFC 6242), and TLS is supported as an alternative transport. This XML/RPC architecture differs fundamentally from RESTCONF's HTTP-based REST semantics.

Why this answer

NETCONF uses XML-encoded Remote Procedure Calls (RPCs) over a secure transport such as SSH or TLS, making option B correct. RESTCONF supports both XML and JSON encoding and uses standard HTTP methods (GET, POST, PUT, PATCH, DELETE), so option C is correct. Both NETCONF and RESTCONF rely on YANG data models to define the structure of configuration and operational data, confirming option D.

Option A is incorrect because NETCONF does not use HTTP methods; that is a characteristic of RESTCONF. Option E is wrong because RESTCONF does not use a separate commit operation; changes are applied immediately with each HTTP request, unlike NETCONF's candidate config and commit model.

Exam trap

Cisco often tests the misconception that NETCONF uses HTTP methods like RESTCONF, leading candidates to incorrectly select option A as a correct statement about NETCONF.

Why the other options are wrong

A

NETCONF uses XML‑encoded RPCs over SSH or TLS, not HTTP methods; HTTP methods are used by RESTCONF.

E

RESTCONF does not have a separate commit operation; changes are applied immediately with each HTTP request, unlike NETCONF's explicit commit step.

60
MCQeasy

What data format is commonly used in REST API responses because it is lightweight and easy for applications to parse?

A.BGP
B.JSON
C.STP
D.ARP
AnswerB

JSON (JavaScript Object Notation) is the standard data format for REST API responses because it is lightweight, human-readable, and language-independent. Its key-value structure maps directly to objects in most programming languages, making it trivial to parse and generate. Unlike XML, JSON has a compact syntax with minimal overhead, which reduces bandwidth and latency in HTTP transactions. This practical interoperability is why RESTful APIs overwhelmingly default to JSON for serializing payloads.

Why this answer

JSON is widely used in REST APIs for structured data exchange.

Exam trap

Avoid assuming older or more traditional formats like XML or CSV are used in modern REST APIs; JSON is the standard.

Why the other options are wrong

A

BGP (Border Gateway Protocol) is a path-vector routing protocol used to exchange routing information between autonomous systems, not a data serialization format. It is unrelated to REST API data formatting.

C

STP (Spanning Tree Protocol) is a Layer 2 protocol that prevents loops in Ethernet networks, not a data format for APIs. It operates at the data link layer and has no role in REST API responses.

D

ARP (Address Resolution Protocol) is used to map IP addresses to MAC addresses in local networks, not a data serialization format. It is a network layer protocol, not an API data format.

61
MCQeasy

Which HTTP method is commonly used to retrieve information from a REST API without modifying the resource?

A.POST
B.GET
C.PUT
D.DELETE
AnswerB

The GET method is designed to retrieve a representation of a specified resource — it is safe, meaning it never changes server state, and idempotent, so multiple identical requests produce the same result. In RESTful APIs, GET is the standard operation for querying or fetching information, and it typically carries no request body, with all parameters in the URL query string.

Why this answer

GET is the standard HTTP method for retrieving a resource representation without changing the resource.

Exam trap

Do not confuse retrieval with modification. GET retrieves data without altering the resource, unlike POST, PUT, or DELETE.

Why the other options are wrong

A

POST is used to create a new resource or submit data to be processed, which often results in a change in server state. It is not idempotent and is not designed for retrieval without modification.

C

PUT is used to update or replace an existing resource, which modifies the resource. It is not a safe or idempotent method for retrieval without side effects.

D

DELETE is used to remove a resource, not retrieve it. Using DELETE would modify the resource by deleting it, which contradicts the requirement of not modifying the resource.

62
Multi-Selectmedium

Which three options best describe how machine learning models are trained for network anomaly detection? (Choose three.)

Select 3 answers
.Using historical baseline traffic data to learn normal behavior patterns
.Labeling datasets with known attack signatures for supervised learning
.Applying unsupervised clustering to identify deviations without predefined labels
.Requiring manual threshold configuration for every monitored metric
.Training exclusively on synthetic data generated by simulation tools
.Relying solely on SNMP polling intervals to detect anomalies

Why this answer

Machine learning models for network anomaly detection are effectively trained using historical baseline traffic data to learn normal behavior patterns, which allows the model to identify deviations that may indicate anomalies. Labeled datasets with known attack signatures enable supervised learning, where the model learns to classify traffic as normal or malicious based on examples. Unsupervised clustering techniques, such as k-means or DBSCAN, can identify deviations without predefined labels by grouping similar data points and flagging outliers as potential anomalies.

The three incorrect options—manual threshold configuration, training exclusively on synthetic data, and reliance on SNMP polling—are not characteristic of ML training methods. Manual threshold configuration is a rule‑based approach that does not involve learning from data. Training exclusively on synthetic data is not representative of real‑world traffic patterns and would not generalize well.

Relying solely on SNMP polling intervals is a traditional monitoring method, not a machine learning technique.

Exam trap

Cisco often tests the distinction between traditional rule-based monitoring (e.g., SNMP thresholds) and machine learning approaches, expecting candidates to recognize that ML models learn patterns automatically rather than relying on static thresholds or synthetic-only data.

63
Drag & Dropmedium

Drag and drop the following phases into the correct order to configure gRPC streaming telemetry subscription setup and then the NetFlow data path sequence.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

First configure telemetry, then set up NetFlow export, define the flow monitor, and finally apply it to an interface.

Exam trap

Be careful not to apply a flow monitor to an interface before it is defined, and remember that telemetry configuration must precede NetFlow export setup.

64
Multi-Selectmedium

Which two statements about YANG are correct?

Select 2 answers
A.It defines structured models for configuration and state data
B.It is commonly associated with NETCONF and RESTCONF
C.It is a replacement for OSPF adjacency formation
D.It is the same thing as JSON syntax
E.It automatically discovers neighbors on a LAN
AnswersA, B

YANG is a data modeling language used to define the hierarchical structure of configuration and operational state data on network devices. It specifies which data is available, its constraints, and how it is organized, independent of any particular protocol. The models written in YANG serve as the authoritative schema for management systems and devices.

Why this answer

YANG is a data modeling language used to describe configuration and operational state. It is commonly used with NETCONF and RESTCONF, but it is not itself the transport protocol.

Exam trap

A common exam trap is mistaking YANG for a routing protocol or a data format. Some candidates incorrectly believe YANG replaces protocols like OSPF for adjacency formation or that it is the same as JSON syntax. This confusion arises because YANG models can be encoded in JSON or XML, but YANG itself is a modeling language, not a transport or routing protocol.

Misunderstanding this can lead to selecting incorrect answers that describe YANG as performing routing or neighbor discovery functions, which it does not. Recognizing YANG’s role as a data modeling language avoids this pitfall.

Why the other options are wrong

C

Option C is incorrect because YANG is not a routing protocol and does not handle OSPF adjacency formation or any routing functions.

D

Option D is incorrect as YANG is a modeling language, not a data format like JSON. Although YANG models can be encoded in JSON, they are not the same thing.

E

Option E is incorrect because YANG does not perform network discovery functions such as automatically discovering neighbors on a LAN; that is outside its scope.

65
PBQhard

You are connected to R1, a Cisco router running IOS-XE. Configure SNMP v2c with a read-only community string 'publicRW' (note: the string is intentionally misnamed for the task), and SNMP v3 with user 'admin' using MD5 authentication (password 'cisco123') and DES encryption (password 'cisco456'). Ensure SNMP traps for linkUp/linkDown are sent to the management server at 192.0.2.100. Additionally, configure NetFlow export to send version 9 flow records to 192.0.2.200 on UDP port 2055, and ensure that only inbound traffic on GigabitEthernet0/0 is monitored. Finally, verify your configuration using 'show snmp' and 'show ip cache flow'.

Network Topology
G0/010.0.0.1/30G0/010.0.0.2/30linkR1R2

Hints

  • Remember to create the SNMP v3 user with both auth and priv parameters.
  • NetFlow requires both a destination and version; also apply flow monitoring on an interface.
  • Use 'snmp-server enable traps' to activate trap generation before specifying the host.
A.snmp-server community publicRW ro snmp-server user admin admin v3 auth md5 cisco123 priv des cisco456 snmp-server enable traps snmp linkdown linkup snmp-server host 192.0.2.100 traps version 2c publicRW ip flow-export destination 192.0.2.200 2055 ip flow-export version 9 interface GigabitEthernet0/0 ip flow ingress
B.snmp-server community publicRW ro snmp-server user admin admin v3 auth md5 cisco123 priv des cisco456 snmp-server enable traps snmp linkdown linkup snmp-server host 192.0.2.100 traps version 2c publicRW ip flow-export destination 192.0.2.200 2055 ip flow-export version 9
C.snmp-server community publicRW ro snmp-server user admin admin v3 auth md5 cisco123 priv des cisco456 snmp-server enable traps snmp linkdown linkup snmp-server host 192.0.2.100 traps version 2c publicRW ip flow-export destination 192.0.2.200 2055 ip flow-export version 9 interface GigabitEthernet0/0 ip flow egress
D.snmp-server community publicRW ro snmp-server user admin admin v3 auth md5 cisco123 priv des cisco456 snmp-server enable traps snmp linkdown linkup snmp-server host 192.0.2.100 traps version 2c publicRW ip flow-export destination 192.0.2.200 2055 ip flow-export version 9 interface GigabitEthernet0/0 ip flow monitor FLOW-MONITOR input
AnswerA
solution
! R1
snmp-server user admin admin v3 auth md5 cisco123 priv des cisco456
snmp-server enable traps snmp linkdown linkup
snmp-server host 192.0.2.100 traps version 2c publicRW
ip flow-export destination 192.0.2.200 2055
ip flow-export version 9
interface GigabitEthernet0/0
ip flow ingress
end

Why this answer

The initial configuration has an SNMP v2c community string 'publicRW' set as RO, but the task requires it to be the read-only string. The SNMP v3 user 'admin' with MD5/DES is missing entirely, as are trap destinations and NetFlow export. To fix, first add the SNMP v3 user with 'snmp-server user admin admin v3 auth md5 cisco123 priv des cisco456', then enable traps with 'snmp-server enable traps snmp linkdown linkup' and 'snmp-server host 192.0.2.100 traps version 2c publicRW'.

For NetFlow, configure 'ip flow-export destination 192.0.2.200 2055', 'ip flow-export version 9', and apply flow monitoring on an interface (e.g., 'interface GigabitEthernet0/0' with 'ip flow ingress'). The 'show snmp' command will display the community strings and trap receivers, while 'show ip cache flow' will show flow records.

Exam trap

Students often forget to apply NetFlow on an interface with 'ip flow ingress' or confuse it with Flexible NetFlow commands. Also, they may omit the trap enable command or use the wrong SNMP version for trap delivery. Always ensure that NetFlow collection is enabled on an interface and that SNMP traps are both enabled globally and sent to the correct host.

Why the other options are wrong

B

The configuration omits the 'ip flow ingress' (or any) interface command, so NetFlow will not collect any traffic.

C

The 'ip flow egress' command monitors outbound traffic, not the specified inbound traffic on GigabitEthernet0/0.

D

The 'ip flow monitor FLOW-MONITOR input' command references a flexible NetFlow monitor that does not exist; traditional 'ip flow ingress' is required.

66
Drag & Dropmedium

Drag and drop the following steps into the correct order to retrieve the operational status of interface GigabitEthernet0/0 using NETCONF and the ietf-interfaces YANG model.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
6Step 6

Why this order

First, establish an SSH connection to the device's NETCONF subsystem (TCP port 830). The NETCONF protocol then performs a capability exchange via <hello> messages to ensure both sides support the required YANG models. Next, a <get> RPC with an XPath filter is sent to request the specific interface status.

The server replies with <rpc-reply> containing the XML data. The client parses the XML to extract the desired value. Finally, the NETCONF session is closed by a <close-session> RPC, and the SSH connection is terminated.

This order ensures a proper NETCONF transaction lifecycle.

67
MCQeasy

Which HTTP method is normally used by a REST API client to retrieve data from a resource without changing it?

A.POST
B.PUT
C.GET
D.DELETE
AnswerC

The GET method is the correct choice because it is specifically defined for retrieving the current representation of a resource identified by a URI. It is a safe and idempotent method, meaning it causes no side effects on the server and multiple identical requests return the same result. A RESTful API client uses GET to read resource state, such as fetching a JSON document.

Why this answer

GET requests read a resource. They are used to retrieve state or information without modifying the target object.

Exam trap

Confusing HTTP methods can lead to selecting POST or PUT when the question specifically asks for retrieving data without modification. POST is often associated with creating resources, and PUT with updating them. Selecting DELETE is clearly incorrect as it removes resources.

The trap is to overlook that GET is the only method designed to safely retrieve data without side effects, which is critical in REST API operations relevant to network programmability.

Why the other options are wrong

A

POST is incorrect because it is used to create or submit data, not to retrieve data without changes.

B

PUT is incorrect as it replaces or updates a resource, which modifies the data rather than just retrieving it.

D

DELETE is incorrect since it removes a resource, not retrieves data.

68
Matchingmedium

Match each API workflow concept to the description that best fits it.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Target resource path

Requested action such as retrieve or delete

Access-related value carried by the client

Structured payload format

Why these pairings

Ly defines REST as a stateless architectural style using standard HTTP methods (GET, POST, PUT, DELETE) and typically exchanging data in JSON or XML. Option B is incorrect because SOAP uses XML, not JSON, and is not lightweight; it is a protocol with strict standards. Option C is incorrect because GraphQL is a query language, not a protocol requiring XML schemas; it allows clients to request specific data, often using JSON.

Option D is incorrect because webhooks are callback-based push notifications triggered by events, not periodic polling.

Exam trap

Candidates often confuse the characteristics of REST and SOAP, mistakenly thinking SOAP is lightweight or uses JSON, or that GraphQL requires XML schemas. Webhooks are frequently misinterpreted as polling mechanisms instead of event-driven callbacks.

69
MCQmedium

In a controller-based network architecture, what is a southbound API typically used for?

A.To communicate from the controller to network devices
B.To provide dashboards to end users in a browser
C.To translate DNS names into IP addresses
D.To synchronize switch clocks with NTP
AnswerA

Southbound APIs such as NETCONF, RESTCONF, and OpenFlow provide the control channel from the SDN controller down to routers and switches. They enable the controller to program forwarding tables, apply QoS policies, and gather operational telemetry from the infrastructure layer. This directionality is the defining characteristic of a southbound interface.

Why this answer

Southbound APIs are used by the controller to communicate with and program network devices or the infrastructure below it.

Exam trap

A frequent exam trap is mistaking southbound APIs for functions unrelated to device management, such as providing user dashboards (option B), translating DNS names (option C), or synchronizing clocks with NTP (option D). These options describe roles outside the scope of southbound APIs. Southbound APIs specifically enable the controller to communicate with and program network devices, not to serve end-user interfaces or perform network services like DNS or time synchronization.

Confusing these roles can lead to selecting incorrect answers, as the exam expects precise understanding of the controller’s interaction layers.

Why the other options are wrong

B

Incorrect. Providing dashboards to end users is a function related to northbound APIs or management applications, not southbound APIs that interface with network devices.

C

Incorrect. DNS name resolution is unrelated to southbound APIs, which focus on device communication and management rather than network services like DNS.

D

Incorrect. Synchronizing switch clocks with NTP is a network service function independent of southbound APIs, which do not handle time synchronization tasks.

70
PBQhard

You are connected to R1, a branch router connected to a central NTP server at 203.0.113.10 and a syslog server at 198.51.100.20. Configure R1 as an NTP client using its Loopback0 interface (192.168.1.1/32) as the source, and ensure syslog messages of severity 'informational' and above are sent to the syslog server. Currently, R1 shows 'Clock is unsynchronized, stratum 16'. Identify and fix the NTP issue, then apply the syslog configuration.

Network Topology
G0/010.0.0.2/30linkR1R2

Hints

  • NTP shows stratum 16 and uses a local pseudo-clock — the server is configured but not used.
  • Check if the NTP source interface is set to a reachable IP.
  • Syslog is only sending warnings and above — change the trap level to allow informational.
A.Configure 'ntp source Loopback0' and 'logging trap informational'.
B.Configure 'ntp server 203.0.113.10 source Loopback0' and 'logging trap warnings'.
C.Configure 'ntp source Loopback0' and 'logging trap debugging'.
D.Configure 'ntp source Loopback0' and 'logging host 198.51.100.20' without changing the trap level.
AnswerA
solution
! R1
configure terminal
ntp source Loopback0
logging trap informational
end
write memory

Why this answer

The NTP client was configured but the source interface was not specified, causing the router to use a default source that may not be reachable. Additionally, the syslog trap level was set to 'warnings' (severity 4), which filters out informational (severity 6) messages. To fix: configure 'ntp source Loopback0' to use a consistent source IP, and change 'logging trap informational' to allow all messages severity 6 and above.

Exam trap

Trap: Candidates may confuse the 'ntp server' command syntax with the global 'ntp source' command, or assume the default syslog trap level already includes informational messages. Remember: NTP source is set globally, and syslog trap levels must be explicitly configured to match the required severity.

Why the other options are wrong

B

The specific factual error: The 'ntp server' command does not have a 'source' parameter; source is set globally. Also, 'logging trap warnings' does not meet the requirement to send informational messages.

C

The specific factual error: 'logging trap debugging' sends all messages, including debugging (severity 7), which is unnecessary and can cause excessive log traffic. The requirement is for informational and above, which is severity 6, not 7.

D

The specific factual error: The default trap level may not be 'informational'; it is often 'warnings' or 'debugging' depending on the IOS version. The requirement to send informational messages necessitates explicit configuration of 'logging trap informational'.

71
Drag & Drophard

Drag and drop the following steps into the correct order for an agentic AI system to remediate a network performance issue using Cisco IOS-XE CLI commands.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

The agent first enters configuration mode, then diagnoses the interface, applies QoS, enables monitoring, and finally verifies the changes.

Exam trap

The trap is that candidates may confuse the order of diagnosis and action, or think monitoring should be enabled first. Remember: diagnose first, then act, then monitor, then verify.

72
Matchingmedium

Match each automation term to the best description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Data modeling language for structured network data

Lightweight text format for structured data exchange

Programmatic interface exposed by a system

Credential presented to authenticate or authorize a request

Why these pairings

In Ansible, a Playbook is a YAML file that defines automation tasks, making option A correct. A Module is a reusable unit of code that performs a specific task, such as managing files or installing software, matching option B. An Inventory is a list of managed nodes (hosts) that Ansible targets, aligning with option C.

A Role is a structured way to group tasks, variables, and files for reuse, which corresponds to option D. These terms are central to Ansible automation and should not be confused with data modeling languages or APIs.

Exam trap

A common mistake is confusing a Playbook with a Role: a Playbook is a top-level workflow that may use multiple Roles, while a Role is a modular collection of related configuration items.

73
Multi-Selectmedium

Which THREE of the following best describe how agentic AI is used in network automation, specifically regarding AI agents, tool-calling, and closed-loop remediation workflows?

Select 3 answers
A.AI agents can autonomously decide which network troubleshooting steps to perform and invoke appropriate tools via APIs.
B.AI agents only monitor network traffic and alert humans for any remediation actions.
C.Tool-calling in agentic AI allows the agent to execute network commands or scripts to collect data and implement changes.
D.A closed-loop remediation workflow continuously monitors network state, detects anomalies, triggers an AI agent to diagnose, and applies corrective actions automatically.
E.Closed-loop remediation always requires a human to approve each corrective action before it is executed.
AnswersA, C, D

AI agents can autonomously decide which network troubleshooting steps to perform by reasoning over available telemetry, hypotheses, and tool outputs. For example, an agent might determine that a recurring BGP flap warrants inspecting neighbor states via `show bgp summary`, then use RESTCONF to modify the `hold-time` timer and re-verify adjacency. This iterative decision-making loop—choose a diagnostic, execute via API, interpret results, and adapt—enables goal-driven troubleshooting without human prescripting of every step.

Why this answer

Options A, C, and D are correct because agentic AI in network automation involves autonomous decision-making (A), tool-calling to execute network commands or gather data (C), and closed-loop remediation that continuously monitors, diagnoses, and applies fixes automatically (D). Options B and E are incorrect because they contradict the autonomous nature of agentic AI: B describes a passive monitoring system with human-only remediation, and E states that closed-loop remediation always requires human approval, which is not true for full closed-loop automation.

Exam trap

Cisco often tests the distinction between passive monitoring and active autonomous remediation; the trap here is that candidates may confuse agentic AI with simple alerting systems, forgetting that agentic AI must include decision-making and tool execution, not just notification.

Why the other options are wrong

B

This option describes traditional monitoring systems that only alert humans, not agentic AI which takes autonomous actions. Agentic AI agents do not just alert; they actively diagnose and remediate issues.

E

Closed-loop remediation implies full automation without manual approval; requiring human approval breaks the loop and defeats the purpose of autonomous remediation. The workflow is designed to act automatically.

74
Multi-Selectmedium

Which two statements accurately describe JSON arrays?

Select 2 answers
A.A JSON array is an ordered list of items.
B.A JSON array is typically enclosed in square brackets.
C.A JSON array is the same thing as an OSPF area.
D.A JSON array must always contain exactly one item.
E.A JSON array replaces the need for all keys in structured data.
AnswersA, B

A JSON array is an ordered list of items because the sequence of elements is preserved and can be accessed by a zero-based index. This ordering is fundamental to how arrays represent collections, allowing operations such as iteration, sorting, and indexing in the exact sequence they were defined.

Why this answer

JSON arrays are ordered lists enclosed in square brackets. In plain language, they are commonly used when an API needs to return multiple similar items such as interfaces, VLANs, or routes. Each element in the array might be a simple value or a more complex object. Arrays are therefore a normal structure for lists in automation and API payloads.

The wrong answers usually confuse arrays with objects or claim properties they do not have. The two correct answers are the ones that preserve the ideas of list structure and square-bracket notation.

Exam trap

A frequent exam trap is mistaking JSON arrays for networking concepts like OSPF areas or assuming they must contain exactly one item. Candidates might confuse arrays with objects or routing constructs, leading to incorrect answers. Another pitfall is thinking arrays replace keys in structured data, which is false because arrays and keys serve different purposes.

This confusion arises from mixing data structure syntax with network protocol terminology. Understanding that JSON arrays are simply ordered lists enclosed in square brackets helps avoid these traps and ensures clarity when working with automation payloads in Cisco environments.

Why the other options are wrong

C

Option C is incorrect because JSON arrays are data structures for organizing information, whereas OSPF areas are routing domains; they are unrelated concepts in networking and automation.

D

Option D is incorrect because JSON arrays can contain any number of items, including zero or many, not just exactly one item; this flexibility is important in API responses and configurations.

E

Option E is incorrect because arrays do not replace keys; keys are used in JSON objects to define named values, while arrays represent ordered collections without keys.

75
Multi-Selecthard

Which two practices most improve safety when automating network changes? (Choose two.)

Select 2 answers
A.Testing changes in a lab or staging environment first
B.Running scripts directly in production without validation
C.Using version control and peer review for automation code
D.Disabling backups so changes apply faster
AnswersA, C

Testing changes in a lab or staging environment first isolates automation from production traffic, allowing you to validate syntax, reachability, and expected behavior before they impact live services. This reduces the blast radius of a faulty script by catching errors in a controlled environment where failures are reversible. Staging also lets you verify rollback procedures and confirm that the change aligns with the intended network policy without risking production availability.

Why this answer

Testing and validation reduce risk before wide deployment, and version control with review/rollback supports controlled operations.

Exam trap

Avoid assuming that immediate deployment without testing is safe. Always prioritize testing and controlled deployments.

Why the other options are wrong

B

Running scripts directly in production without validation bypasses all safety checks, increasing the likelihood of misconfigurations that can cause outages or security breaches. This practice directly contradicts the principle of minimizing risk during network changes.

D

Disabling backups removes the ability to restore the network to a known good state after a failed change, significantly increasing risk. Backups are a fundamental safety net, and disabling them for speed is never justified.

Page 1 of 3 · 154 questions totalNext →

Ready to test yourself?

Try a timed practice session using only AI and Network Operations questions.