300-435 exam dumps

300-435 practice question 64 of 322

Automating Cisco Enterprise Solutions. Professional level, Cisco. Free question with the correct answer and a full explanation.

300-435 Question 64

Select 3

You are automating the configuration of multiple Cisco network devices in your enterprise network. To ensure consistency and scalability, you decide to use a Python script to push configurations via RESTCONF. Which of the following steps are required to successfully establish a RESTCONF connection and push configurations to the devices?

  1. A

    Enable the RESTCONF feature on the Cisco devices.

  2. B

    Generate a JSON Web Token (JWT) for authentication.

  3. C

    Ensure the devices support RESTCONF and have the appropriate YANG models installed.

  4. D

    Use the POST method to retrieve the current configuration from the devices.

  5. E

    Configure an HTTP/HTTPS server on the devices for RESTCONF communication.

Show answer and explanation

Correct answers: A, C, E

Explanation

To use RESTCONF for network device programmability, the RESTCONF feature must be enabled, the devices must support RESTCONF with the appropriate YANG models installed, and an HTTP/HTTPS server must be configured on the devices. These steps ensure that the devices are prepared to accept RESTCONF requests from your automation scripts.

  • A. Correct.

    RESTCONF must be enabled on the Cisco devices to use it for programmability. Without enabling this feature, the device will not respond to RESTCONF requests.

  • B. Incorrect.

    RESTCONF does not natively require the use of JWT for authentication. Typically, RESTCONF uses basic authentication or certificates for secure communication.

  • C. Correct.

    The devices must support RESTCONF and have the necessary YANG models installed. YANG models define the data structure and operations available for RESTCONF.

  • D. Incorrect.

    The POST method is used to create or update configurations, not to retrieve them. To retrieve the current configuration, the GET method should be used instead.

  • E. Correct.

    An HTTP/HTTPS server must be configured on the devices to facilitate RESTCONF communication. RESTCONF relies on HTTP/HTTPS as the transport protocol.

Timed practice exam

Take a 300-435 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