Cisco 400-151: CCIE Data Center Written Exam | REST API Method for Creating Managed Objects

Create Managed Objects with REST API | Cisco 400-151 Exam Question

Question

Which standard REST API method allows you to create a managed object?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

The correct answer is A. POST.

Representational State Transfer (REST) is a software architectural style that provides a standardized way of interacting with web resources using HTTP requests. In REST, a managed object is a resource that is exposed through a URL, and its state can be modified using HTTP methods.

The HTTP methods commonly used in REST APIs are GET, POST, PUT, PATCH, and DELETE. Among these, the POST method is typically used to create a new resource, including a managed object.

When a client sends a POST request to a REST API endpoint that supports managed object creation, the API server will typically generate a new resource identifier, associate it with the new managed object, and return the identifier to the client. The client can then use the identifier to retrieve, update, or delete the managed object using the other HTTP methods.

In summary, the correct answer is A. POST, which is the standard REST API method for creating a new managed object or resource.