300-435 exam dumps

300-435 practice question 249 of 322

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

300-435 Question 249

Select 3

You are tasked with automating the retrieval and display of device inventory data from a Cisco DNA Center using its APIs. Which steps must you include in your Python script to achieve this functionality?

  1. A

    Authenticate with Cisco DNA Center API to obtain an access token.

  2. B

    Send a GET request to the '/dna/intent/api/v1/network-device' endpoint using the access token.

  3. C

    Use SNMP queries to retrieve device inventory data from Cisco DNA Center.

  4. D

    Parse the JSON response from the API to extract relevant inventory details.

  5. E

    Configure the network devices to send inventory data to Cisco DNA Center.

Show answer and explanation

Correct answers: A, B, D

Explanation

To retrieve and display device inventory data from Cisco DNA Center via its APIs, you need to authenticate with the API to obtain an access token, send a GET request to the appropriate endpoint, and parse the JSON response to extract the relevant information. SNMP and device configurations are unrelated to this process, as the APIs provide direct access to the inventory data managed by Cisco DNA Center.

  • A. Correct.

    Correct. Authenticating with Cisco DNA Center API is a necessary first step to obtain an access token, which is required to interact with the API.

  • B. Correct.

    Correct. The '/dna/intent/api/v1/network-device' endpoint is used to retrieve device inventory data, and a GET request must be sent using the access token.

  • C. Incorrect.

    Incorrect. SNMP is not used to retrieve device inventory data from Cisco DNA Center; the APIs provided by Cisco DNA Center should be used instead.

  • D. Correct.

    Correct. Parsing the JSON response is essential to extract and format the inventory details retrieved from the API.

  • E. Incorrect.

    Incorrect. Configuring network devices to send inventory data is unrelated to retrieving inventory data via Cisco DNA Center APIs. Cisco DNA Center fetches this data directly from devices as part of its management capabilities.

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