nerdexam
Cisco

200-901 · Question #251

Refer to the exhibit. A network engineer must collect information from the network using Cisco DNA Center APIs. The script must query for the devices with 'platformId' 'C9540-x' and then send…

The correct answer is B. output of show ip int brief command on devices of type C9500-40X. The Python script queries Cisco DNA Center for devices whose platformId matches 'C9500-40X' (note: the question body mentions 'C9540-x' but the answer choices reference 'C9500-40X', which is the standard Cisco Catalyst 9500 model identifier). Once the matching devices are…

Understanding and Using APIs

Question

Refer to the exhibit. A network engineer must collect information from the network using Cisco DNA Center APIs. The script must query for the devices with 'platformId' 'C9540-x' and then send commands to be executed. Which process is automated by the Python script?

Exhibit

200-901 question #251 exhibit

Options

  • Aresults gathering of the show version and show ip int brief commands
  • Boutput of show ip int brief command on devices of type C9500-40X
  • Cexecution information of the show version and show ip int brief commands
  • Dlist of executed commands on C9500-40X and the information of show ip int brief command

How the community answered

(43 responses)
  • A
    7% (3)
  • B
    88% (38)
  • C
    2% (1)
  • D
    2% (1)

Explanation

The Python script queries Cisco DNA Center for devices whose platformId matches 'C9500-40X' (note: the question body mentions 'C9540-x' but the answer choices reference 'C9500-40X', which is the standard Cisco Catalyst 9500 model identifier). Once the matching devices are identified, the script sends a command execution request and retrieves the output of the 'show ip int brief' command on those devices. Option A is incorrect because it claims both 'show version' and 'show ip int brief' are gathered. Option C describes execution metadata rather than output. Option D incorrectly combines a device list with only one command's output.

Topics

#Cisco DNA Center API#Network Automation#Python Scripting#Device Management

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice