"CCIE Data Center Written Exam - Question '400-151': Supported Encapsulations"

"Encapsulations Supported for 'GET/api/v1/Processes'"

Question

"GET/api/v1/Processes" is a valid CPO REST call to retrieve all processes.

Which two encapsulations are supported? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

AB.

The REST API call "GET /api/v1/Processes" is used to retrieve all processes from the target system. The response to this REST API call can be returned in multiple formats or encapsulations, including XML, JSON, YAML, HTML, and cURL. The two supported encapsulations are:

A. XML: XML stands for eXtensible Markup Language, and it is a commonly used data format for REST API responses. XML is human-readable, supports nested structures, and can be easily parsed by machines. XML is often used in enterprise systems and applications.

B. JSON: JSON stands for JavaScript Object Notation, and it is another commonly used data format for REST API responses. JSON is a lightweight, text-based, and language-independent format that supports nested structures. JSON is often used in web applications and mobile devices.

C. YAML: YAML stands for "YAML Ain't Markup Language." It is a human-readable data serialization format that is often used in configuration files and data exchange between different systems.

D. HTML: HTML stands for Hypertext Markup Language. It is a markup language used to create web pages and other information that can be displayed in a web browser.

E. cURL: cURL is a command-line tool used to transfer data from or to a server, using various protocols. It can be used to test REST APIs by sending HTTP requests and receiving responses.

Based on the above, options A and B are the correct answers as they are the two commonly used data formats for REST API responses. Options C, D, and E are not valid encapsulations for REST API responses.