300-435 exam dumps

300-435 practice question 214 of 322

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

300-435 Question 214

Select 4

You are tasked with automating the deployment of a network configuration across multiple Cisco devices in your enterprise network. To achieve this, you decide to use Cisco's RESTCONF API. Which of the following steps are required to successfully push a configuration using the RESTCONF API?

  1. A

    Ensure the Cisco device is running a RESTCONF-enabled software version and RESTCONF is enabled on the device.

  2. B

    Use a POST request to the appropriate RESTCONF URL to retrieve the current device configuration.

  3. C

    Authenticate to the device using basic authentication or OAuth2 tokens.

  4. D

    Format the configuration payload in either JSON or XML, as supported by RESTCONF.

  5. E

    Use a PUT or PATCH request to the appropriate RESTCONF URL to apply the configuration changes.

Show answer and explanation

Correct answers: A, C, D, E

Explanation

When automating network configurations using Cisco's RESTCONF API, it is essential to ensure that the device supports RESTCONF and is properly configured. Authentication is necessary to access the device, and the configuration payload must be formatted in an acceptable format (JSON or XML). Configuration changes are applied using PUT or PATCH requests. Understanding these steps ensures successful automation using RESTCONF.

  • A. Correct.

    Correct: RESTCONF must be enabled on the Cisco device, and the device must be running a RESTCONF-compatible software version for API-based automation.

  • B. Incorrect.

    Incorrect: A POST request is not used to retrieve the current device configuration. Instead, a GET request is used for this purpose.

  • C. Correct.

    Correct: Authentication is a necessary step when interacting with RESTCONF APIs, and basic authentication or OAuth2 tokens are commonly used methods.

  • D. Correct.

    Correct: RESTCONF supports configuration payloads in JSON or XML formats, so the configuration must be formatted accordingly before sending.

  • E. Correct.

    Correct: A PUT or PATCH request is used to apply configuration changes via RESTCONF APIs. PUT is typically used to replace configurations, while PATCH is for partial updates.

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