300-435 exam dumps

300-435 practice question 243 of 322

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

300-435 Question 243

Select 3

You are tasked with creating a Python script to retrieve the list of devices managed by a Cisco SD-WAN vManage instance using its REST API. Which of the following steps must be included in the Python script to ensure successful communication with the vManage API?

  1. A

    Authenticate with vManage by sending a POST request to the /j_security_check endpoint with a valid username and password.

  2. B

    Include the session token or cookie obtained from authentication in the headers of subsequent API requests.

  3. C

    Use the GET /dataservice/device endpoint to retrieve the list of devices.

  4. D

    Pass the API key as a query parameter for all API requests to ensure access to the vManage API.

  5. E

    Encrypt the API request payload using AES before sending it to the vManage API.

Show answer and explanation

Correct answers: A, B, C

Explanation

To interact with Cisco SD-WAN vManage APIs, authentication is required via the /j_security_check endpoint to obtain a session token or cookie. This token or cookie must be included in subsequent API request headers for authorization. The GET /dataservice/device endpoint is used to retrieve the list of devices. API keys and AES encryption are not part of the standard vManage API workflow.

  • A. Correct.

    Correct: Cisco SD-WAN vManage requires authentication via the /j_security_check endpoint using valid credentials. This step is essential to obtain a session token or cookie for further requests.

  • B. Correct.

    Correct: After successful authentication, the session token or cookie must be included in the headers to authorize subsequent API requests.

  • C. Correct.

    Correct: The GET /dataservice/device endpoint is the proper API endpoint to retrieve the list of devices managed by vManage.

  • D. Incorrect.

    Incorrect: Cisco SD-WAN vManage does not use API keys as query parameters for authentication. It relies on session tokens or cookies obtained during authentication.

  • E. Incorrect.

    Incorrect: There is no requirement to encrypt the API request payload using AES. The requests are typically sent over HTTPS, which ensures encryption in transit.

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