350-401 exam dumps

350-401 practice question 230 of 631

Implementing Cisco Enterprise Network Core Technologies. Professional level, Cisco. Free question with the correct answer and a full explanation.

350-401 Question 230

Single answer

A network engineer is tasked with configuring RESTCONF on a Cisco IOS XE device to enable programmatic access to network configurations. The engineer needs to ensure the RESTCONF service is enabled and accessible over HTTPS. Which command ensures RESTCONF is enabled on the device?

  1. A

    restconf enable

  2. B

    ip http secure-server

  3. C

    ip http authentication local

  4. D

    netconf-yang enable

Show answer and explanation

Correct answer: A

Explanation

To enable RESTCONF on a Cisco IOS XE device, the 'restconf enable' command must be configured. RESTCONF relies on HTTPS for secure communication, so enabling 'ip http secure-server' is also necessary, but it is not sufficient by itself to enable RESTCONF. Other commands like 'ip http authentication local' and 'netconf-yang enable' do not directly relate to enabling RESTCONF specifically.

  • A. Correct.

    This is the correct command to enable RESTCONF on a Cisco IOS XE device. It ensures the RESTCONF service is operational.

  • B. Incorrect.

    This command is used to enable HTTPS on the device, which is required for RESTCONF to function over a secure connection, but it does not directly enable RESTCONF itself.

  • C. Incorrect.

    This command configures local authentication for HTTP/HTTPS access but does not enable RESTCONF.

  • D. Incorrect.

    This command is used to enable NETCONF on the device, not RESTCONF.

Timed practice exam

Take a 350-401 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam