nerdexam
CiscoCisco

350-401 · Question #1205

350-401 Question #1205: Real Exam Question with Answer & Explanation

Sign in or unlock 350-401 to reveal the answer and full explanation for question #1205. The question stem and answer options stay visible for context.

Submitted by olafpl· Mar 6, 2026Network Automation and Programmability – Using RESTCONF to configure network devices via Python scripting with correct HTTP methods and data structures

Question

Refer to the exhibit. An engineer attempts to use RESTCONF to configure GigabitEthernet2 on a remote router with IP address 192.168.159.10, but the configuration fails. Which configuration is required to complete the action? A. B. C. D.

Options

  • Adata = json.dumps({ 'Cisco-IOS-XE-native:GigabitEthernet': { 'ip': { 'address': { 'interface': {
  • Bresponse = requests.patch(
  • Curl = 'https://192.168.159.10/restconf/data/Cisco-IOS-XE-native:native/interface/GigabitEthernet2',
  • Ddata = json.dumps({ 'Cisco-IOS-XE-native:GigabitEthernet2': {

Unlock 350-401 to see the answer

You've previewed enough free 350-401 questions. Unlock 350-401 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.

Topics

#RESTCONF#Python API#Network Programmability#Cisco IOS-XE YANG
Full 350-401 PracticeBrowse All 350-401 Questions