350-901 · Question #75
350-901 Question #75: Real Exam Question with Answer & Explanation
Sign in or unlock 350-901 to reveal the answer and full explanation for question #75. The question stem and answer options stay visible for context.
Question
Refer to the exhibit. Which RESTCONF verb changes the GigabitEthernet2 interface from 192.168.100.1/24 to 10.10.10.1/24? import json, requests USER = 'admin' PASS = 'cisco' url = "https://ios-xe-mgmt.cisco.com:9443/restconf/data/Cisco-IOS-XE-native:native" \ "/interface/GigabitEthernet=2/ip/address/primary" payload = {"primary": {"address": "10.10.10.1", "mask": "255.255.255.0"}} data = json.dumps(payload) headers = { 'Accept': "application/yang-data+json", 'Content-Type': "application/yang-data+json", } response = requests.request(" ", url, auth=(USER, PASS), data=data, headers=headers, verify=False) print(response.text)
Options
- APOST
- BPATCH
- CGET
- DHEAD
Unlock 350-901 to see the answer
You've previewed enough free 350-901 questions. Unlock 350-901 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.