300-435 · Question #81
300-435 Question #81: Real Exam Question with Answer & Explanation
This question tests knowledge of Cisco DNA Center (DNAC) REST API URL subpath structure and how specific endpoint paths map to distinct operational objectives such as retrieving device lists, counts, interface data, or filtering by IP/serial number.
Question
Drag and Drop Question. Refer to the exhibit. A GET request is issued to the Cisco DNA Center REST API. Drag and drop the GET request URL subpaths from the left onto the objectives on the right. Not all options are used. ```json GET: https://dnacsrv/api/v1/network-device { "response": [ { "type": "Cisco Catalyst 9300 switch", "apMode": null, "family": "Switches and Hubs", "location": "DC1", "role": "ACCESS", "macAddress": "2a:2b:30:40:41:50", "hostname": "cat_9k_1", "serialNumber": "FCW2136L0AK", "softwareVersion": "16.6.1", "collectionStatus": "Managed", "managementIpAddress": "10.10.22.66", "platformId": "C9300-24UX", "reachabilityStatus": "Reachable", "series": "Cisco Catalyst 9300 Series Switches", "snmpContact": "", "snmpLocation": "" } ] } ```
Explanation
This question tests knowledge of Cisco DNA Center (DNAC) REST API URL subpath structure and how specific endpoint paths map to distinct operational objectives such as retrieving device lists, counts, interface data, or filtering by IP/serial number.
Approach. The base URL 'https://dnacsrv/api/v1/network-device' retrieves the full list of managed network devices, as shown in the exhibit response. To target specific objectives, subpaths are appended: '/count' returns only the total number of devices, '/{id}/interface' retrieves interface details for a specific device, '/ip-address/{ipAddress}' filters by management IP, and '/serial-number/{serialNumber}' fetches a device by its serial number. Each subpath follows RESTful conventions where the path itself describes the resource scope - you match the subpath to the objective by understanding what data the path narrows or extends the base resource to.
Concept tested. Cisco DNA Center REST API endpoint URL structure - specifically how appending subpaths to the '/api/v1/network-device' base path changes the scope and type of data returned (all devices, device count, interfaces, lookup by IP, lookup by serial number).
Reference. Cisco DNA Center Platform API documentation - 'Know Your Network' / Device Management API section; also covered in Cisco ENCOR (350-401) exam blueprint under 'Cisco DNA Center APIs'.
Topics
Community Discussion
No community discussion yet for this question.