nerdexam
Cisco

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.

Submitted by diego_uy· Mar 6, 2026

Question

Refer to the exhibit. An engineer tries to log in to router R1. Which configuration enables a successful login?

Exhibits

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

Options

  • AR1#username admin privilege 15
  • BR1#username admin privilege 15
  • CR1#netconf-yang
  • DR1#aaa new-model

How the community answered

(55 responses)
  • A
    4% (2)
  • B
    2% (1)
  • C
    93% (51)
  • D
    2% (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.

AR1#username admin privilege 15

This command is incomplete as it lacks a password or secret for the username, preventing successful local user authentication for CLI login.

BR1#username admin privilege 15

This command is incomplete as it lacks a password or secret for the username, preventing successful local user authentication for CLI login.

CR1#netconf-yangCorrect

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.

DR1#aaa new-model

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

#NETCONF#YANG#Network Programmability

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice