JNCIA-DevOps: Juniper Networks Certified Associate – Automation and DevOps — Question 23
The REST API retrieves data from a connected device in which two formats? (Choose two.)
Answer options
- A. XML
- B. YAML
- C. binary
- D. JSON
Correct answer: A, D
Explanation
The correct answers are A (XML) and D (JSON) because these are both widely used data formats for communication in REST APIs. Option B (YAML) is less common for APIs, and option C (binary) is not typically used for data retrieval in RESTful services.