300-435 exam dumps

300-435 practice question 80 of 322

Automating Cisco Enterprise Solutions. Professional level, Cisco. Free question with the correct answer and a full explanation.

300-435 Question 80

Single answer

You are tasked with automating the management of an IOS XE device in your network. You need to retrieve operational data such as interface statistics using a structured data model. Which method would you use to achieve this?

  1. A

    Use the NETCONF protocol with YANG data models

  2. B

    Log in to the device via SSH and execute CLI commands

  3. C

    Use SNMP to poll the device for interface statistics

  4. D

    Access the device's HTTP server and parse the web interface

Show answer and explanation

Correct answer: A

Explanation

NETCONF combined with YANG data models enables modern, structured automation of IOS XE devices. It allows you to programmatically retrieve operational data, such as interface statistics, in a standardized way that is ideal for automation use cases. Other methods, while possible, are less efficient, less structured, or unreliable.

  • A. Correct.

    NETCONF with YANG data models is the recommended approach for structured, programmable interaction with IOS XE devices. It supports retrieving operational data in a standardized format.

  • B. Incorrect.

    Using SSH and CLI commands can retrieve data, but the output is unstructured and not ideal for automation. Parsing CLI output is error-prone and less efficient.

  • C. Incorrect.

    SNMP can retrieve interface statistics but is not as robust or structured as NETCONF with YANG models. It also lacks the flexibility of modern automation frameworks.

  • D. Incorrect.

    Parsing the web interface of a device is not a standard or recommended approach for automating IOS XE devices. It is unreliable and prone to breaking.

Timed practice exam

Take a 300-435 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam