200-301 exam dumps

200-301 practice question 489 of 506

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

200-301 Question 489

Select 2

A network administrator is designing an application that interacts with a REST-based API to retrieve and update data. Which HTTP verbs should the administrator use to implement the application's 'retrieve' and 'update' functionalities?

  1. A

    GET

  2. B

    POST

  3. C

    PUT

  4. D

    DELETE

Show answer and explanation

Correct answers: A, C

Explanation

In REST-based APIs, HTTP verbs are used to define the desired action on the resource. GET is used for retrieving data, while PUT is used for updating existing data. Understanding these verbs is essential for designing applications that interact effectively with REST APIs.

  • A. Correct.

    GET is the correct HTTP verb to retrieve data from a REST-based API without altering the resource.

  • B. Incorrect.

    POST is primarily used to create new data or resources on the server, not for retrieval or updating.

  • C. Correct.

    PUT is the correct HTTP verb to update an existing resource in a REST-based API.

  • D. Incorrect.

    DELETE is used to remove data or resources from the server, not for retrieval or updating.

Timed practice exam

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