QuestionQ589

Understanding and Using APIs

Question Image

Refer to the exhibit. A support team deploys Cisco DNA Center to monitor and manage its complete network infrastructure. A network engineer on the support team writes a Python script to automate statistics generation and send the results to the team. Which workflow does the script automate?

  • A Count all the clients on the wireless and wired network and display their security score.
  • B Display all the clients that have a security score of Fair.
  • C Count all the clients on the wireless and wired network and display their health details.
  • D Count all the clients on the wired network.
Explanation

The /dna/intent/api/v1/client-health endpoint returns overall client-health information by client type, including wired and wireless clients. The script iterates through the returned health-score categories, prints each category with its clientCount, and adds those counts to a total; therefore, it reports client counts along with health-category details for both wired and wireless clients.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!