
CiscoCertified Network Professional Service Provider
Domain 5Objective 2
5.2 Interpret an External Script to Configure a Cisco Device Using a REST API 350-501 Practice Questions (Page 4)
Part of the Automation and Assurance domain, which accounts for 15% of the 350-501 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~8–12 in this domain), expect 1–1 from this objective — we provide 19 practice questions to prepare you well beyond it. (estimate)
19questions here
4free pages
7concepts
15%of the exam
Questions 16–19
- 16
When troubleshooting a REST API call that returns a 400 Bad Request, what should you examine first?
Select an answer first - 17
A network automation engineer is reviewing a Python script that uses RESTCONF to configure a Cisco IOS XE device. The script includes the following code: response = requests.put('https://192.168.1.1/restconf/data/Cisco-IOS-XE-native:native/interface/GigabitEthernet/1', auth=('admin', 'secret'), json={...}, headers={'Content-Type': 'application/yang-data+json'}). The script receives a 204 No Content response. What does this indicate?
Select an answer first - 18
A network engineer is using a Python script to configure a Cisco IOS XE device via RESTCONF. The script sends a POST request to create a new interface. The response is 500 Internal Server Error. The response body contains an error message: 'Internal error'. What is the most likely cause?
Select an answer first - 19
In a REST API URL for a Cisco device, what does the portion after the base URL and before any query parameters typically represent?
Select an answer first
Finished these 4 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to 350-501
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Cisco. “350-501” is a trademark of its owner, used for identification only.