Cisco
300-535 · Question #63
300-535 Question #63: Real Exam Question with Answer & Explanation
Sign in or unlock 300-535 to reveal the answer and full explanation for question #63. The question stem and answer options stay visible for context.
Question
Refer to the exhibit. A Python script is created to add a new device on Cisco NSO using RESTCONF API. The device is added successfully, but a 405 Method Not Allowed RESTCONF error code has received as the line to fetch SSH keys runs. Which code is missing to complete the script?
Exhibit
Options
- Aresponse = requests.put(baseUriOperation + "/devices/device=ios-device/ssh/fetch-host-keys",
- Bresponse = requests.post(baseUriOperation + "/devices/device=ios-device/ssh/fetch-host-keys",
- Cresponse = requests.post(baseUriOperation + "/devices/device=ios-device/ssh/request-host-
- Dresponse = requests.put(baseUriOperation + "/devices/device=ios-device/ssh/request-host-keys",
Unlock 300-535 to see the answer
You've previewed enough free 300-535 questions. Unlock 300-535 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
