nerdexam
Cisco

200-901 · Question #395

Refer to the exhibit. An engineer prepares a script to automate workflow by using Cisco DNA Center APIs to display: - total count of devices - list of the network devices - information of one device…

The correct answer is A. information about a device of type C9500-40x. The script's final step applies a hostname filter when querying the Cisco DNA Center device API. This filter narrows results to a single specific device matching that hostname. Since the hostname corresponds to a Cisco Catalyst C9500-40X switch, the output displays the detailed…

Understanding and Using APIs

Question

Refer to the exhibit. An engineer prepares a script to automate workflow by using Cisco DNA Center APIs to display:

  • total count of devices
  • list of the network devices
  • information of one device with a hostname filter

What is displayed in the final step after the Python script is executed?

Exhibit

200-901 question #395 exhibit

Options

  • Ainformation about a device of type C9500-40x.
  • Bfiltered results by the hostname and the platformld C9500-40X
  • Cinformation about the test devices
  • Dlist of devices with platformId C9500-40x

How the community answered

(48 responses)
  • A
    77% (37)
  • B
    13% (6)
  • C
    4% (2)
  • D
    6% (3)

Explanation

The script's final step applies a hostname filter when querying the Cisco DNA Center device API. This filter narrows results to a single specific device matching that hostname. Since the hostname corresponds to a Cisco Catalyst C9500-40X switch, the output displays the detailed device information for that specific device - not a list, not all test devices, and not a platform-wide search result. The filter returns one device's full record.

Topics

#Cisco DNA Center APIs#API Scripting#API Filtering#Network Device Information Retrieval

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice