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.
Question
Exhibits
Options
- Aaaa authentication login default local
- Brestconf
- Cline vty 0 15
- Dnetconf-yang
- Eusername restconf privilege 0
How the community answered
(26 responses)- A81% (21)
- C12% (3)
- D4% (1)
- E4% (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.
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.
The `restconf` command directly enables the RESTCONF feature, allowing programmatic access to the device's configuration and operational data via RESTCONF API.
The `line vty 0 15` command configures virtual terminal lines, primarily for SSH or Telnet access, not for directly enabling the RESTCONF service.
The `netconf-yang` command enables NETCONF, which is a different network management protocol, distinct from RESTCONF.
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
Community Discussion
No community discussion yet for this question.

