300-435 exam dumps

300-435 practice question 255 of 322

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

300-435 Question 255

Select 3

You are tasked with automating the creation of a new user in Cisco SD-WAN vManage using its Administration API. Which of the following steps are required to construct a valid API request for this operation?

  1. A

    Authenticate to the vManage API to obtain a session token or cookie

  2. B

    Use the HTTP GET method to send the request for user creation

  3. C

    Include the user details in the JSON payload within the API request body

  4. D

    Set the Content-Type header to 'application/xml' for the request

  5. E

    Send the API request to the vManage endpoint for user creation

Show answer and explanation

Correct answers: A, C, E

Explanation

To construct a valid API request for creating a new user using Cisco SD-WAN vManage Administration APIs, you must first authenticate to obtain a session token or cookie. The API request must use the HTTP POST method with the user details specified in the JSON payload. Additionally, the Content-Type header should be set to 'application/json', and the request must target the correct vManage API endpoint for user creation.

  • A. Correct.

    Correct: Authentication to the vManage API is required to obtain a session token or cookie, which will be used in subsequent API requests.

  • B. Incorrect.

    Incorrect: The HTTP POST method, not GET, is typically used for creating resources such as a new user.

  • C. Correct.

    Correct: The user details, such as username and roles, must be specified in the JSON payload within the API request body.

  • D. Incorrect.

    Incorrect: The Content-Type header should be set to 'application/json', not 'application/xml', as the API expects JSON-formatted data.

  • E. Correct.

    Correct: The API request must be sent to the correct vManage endpoint for user creation, typically under the '/admin/user' path.

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