nerdexam
Cisco

350-401 · Question #1225

Refer to the exhibit. An administrator must enable RESTCONF access to a router. Which two commands or command sets must be added to the existing configuration? (Choose two.)

The correct answer is A. aaa authentication login default local B. restconf. To enable RESTCONF access on a Cisco router, it is essential to activate the RESTCONF service and configure AAA for user authentication.

Submitted by ravi_2018· Mar 6, 2026Automation

Question

Refer to the exhibit. An administrator must enable RESTCONF access to a router. Which two commands or command sets must be added to the existing configuration? (Choose two.)

Exhibits

350-401 question #1225 exhibit 1
350-401 question #1225 exhibit 2

Options

  • Aaaa authentication login default local
  • Brestconf
  • Cline vty 0 15
  • Dnetconf-yang
  • Eusername restconf privilege 0

How the community answered

(26 responses)
  • A
    81% (21)
  • C
    12% (3)
  • D
    4% (1)
  • E
    4% (1)

Why each option

To enable RESTCONF access on a Cisco router, it is essential to activate the RESTCONF service and configure AAA for user authentication.

Aaaa authentication login default localCorrect

The `aaa authentication login default local` command configures the device to authenticate users against its local database for login attempts, which is crucial for securing RESTCONF access.

BrestconfCorrect

The `restconf` command directly enables the RESTCONF feature, allowing programmatic access to the device's configuration and operational data via RESTCONF API.

Cline vty 0 15

The `line vty 0 15` command configures virtual terminal lines, primarily for SSH or Telnet access, not for directly enabling the RESTCONF service.

Dnetconf-yang

The `netconf-yang` command enables NETCONF, which is a different network management protocol, distinct from RESTCONF.

Eusername restconf privilege 0

The `username restconf privilege 0` command creates a local user account but does not enable the RESTCONF service or configure AAA authentication for it.

Concept tested: Cisco IOS XE RESTCONF enablement and AAA authentication

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/xe-16/b_16_programmability_xe_enable_restconf_chapter.html

Topics

#RESTCONF#AAA authentication#network programmability#API access

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice