350-401 · Question #1005
Refer to the exhibit. An engineer tries to log in to router R1. Which configuration enables a successful login?
The correct answer is C. R1#netconf-yang. Assuming the login attempt refers to programmatic access via NETCONF/YANG, the netconf-yang command enables the necessary protocols for this type of session.
Question
Refer to the exhibit. An engineer tries to log in to router R1. Which configuration enables a successful login?
Exhibits
Options
- AR1#username admin privilege 15
- BR1#username admin privilege 15
- CR1#netconf-yang
- DR1#aaa new-model
How the community answered
(55 responses)- A4% (2)
- B2% (1)
- C93% (51)
- D2% (1)
Why each option
Assuming the login attempt refers to programmatic access via NETCONF/YANG, the `netconf-yang` command enables the necessary protocols for this type of session.
This command is incomplete as it lacks a password or secret for the username, preventing successful local user authentication for CLI login.
This command is incomplete as it lacks a password or secret for the username, preventing successful local user authentication for CLI login.
The `netconf-yang` command enables NETCONF and YANG on the router, which are protocols used for programmatic access and configuration management. If the 'login' refers to a client attempting to establish a NETCONF session, this command is essential to enable the service.
While `aaa new-model` enables AAA services, it doesn't, by itself, enable a successful login without further configuration of authentication methods (e.g., local database or TACACS+/RADIUS).
Concept tested: Enabling NETCONF/YANG for programmatic access
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/xe-16/b_16_netconf_yang_config_guide/b_16_netconf_yang_config_guide_chapter_010.html
Topics
Community Discussion
No community discussion yet for this question.

