200-901 exam dumps

200-901 practice question 36 of 204

Cisco DevNet Associate. Associate level, Cisco. Free question with the correct answer and a full explanation.

200-901 Question 36

Single answer

A network automation engineer is tasked with retrieving the details of all devices managed by a network controller. The controller provides a REST API, and the engineer needs to ensure the correct HTTP method is used to fetch the required information without modifying any data. Which HTTP method should the engineer use?

  1. A

    GET

  2. B

    POST

  3. C

    PUT

  4. D

    DELETE

Show answer and explanation

Correct answer: A

Explanation

The GET method is specifically designed for retrieving information from a server without altering its state or data. Since the task is to fetch device details without making changes, GET is the correct choice.

  • A. Correct.

    GET is the correct HTTP method to retrieve data without making any changes to the underlying resources. It is used for read-only operations.

  • B. Incorrect.

    POST is used to create new resources or submit data to the server. It is not suitable for retrieving information without modification.

  • C. Incorrect.

    PUT is used to update or replace existing resources on the server. It is not appropriate for simply fetching information.

  • D. Incorrect.

    DELETE is used to remove resources from the server and is not suitable for retrieving data.

Timed practice exam

Take a 200-901 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