exam questions

Exam 200-301 All Questions

View all questions & answers for the 200-301 exam

Exam 200-301 topic 1 question 720 discussion

Actual exam question from Cisco's 200-301
Question #: 720
Topic #: 1
[All 200-301 Questions]

Which two encoding methods are supported by REST APIs? (Choose two.)

  • A. SGML
  • B. YAML
  • C. XML
  • D. JSON
  • E. EBCDIC
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️
The Application Policy Infrastructure Controller (APIC) REST API is a programmatic interface that uses REST architecture. The API accepts and returns HTTP
(not enabled by default) or HTTPS messages that contain JavaScript Object Notation (JSON) or Extensible Markup Language (XML) documents.
Reference:
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/2-x/rest_cfg/2_1_x/b_Cisco_APIC_REST_API_Configuration_Guide/ b_Cisco_APIC_REST_API_Configuration_Guide_chapter_01.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ataraxium
Highly Voted 4 years, 3 months ago
JSON, XML = REST API YAML = Ansible
upvoted 25 times
lordnano
3 years, 8 months ago
YAML is used in Ansible but you wouldn't say "= Ansible". Actually the whole question is strange as also boghota shoed. It underlines a bit Ciscos conservative network background.
upvoted 1 times
...
...
boghota
Highly Voted 4 years ago
"Unlike SOAP-based web services, there is no "official" standard for RESTful web APIs. This is because REST is an architectural style, while SOAP is a protocol. REST is not a standard in itself, but RESTful implementations make use of standards, such as HTTP, URI, JSON, and XML." - Wikipedia REST = REpresentational State Transfer (it can use XML, JSON and some other but JSON is the most popular choice) SOAP = Simple Object Access Protocol (uses XML for all messages) API = Application Programming Interface https://www.soapui.org/learn/api/soap-vs-rest-api/ https://en.wikipedia.org/wiki/Representational_state_transfer
upvoted 6 times
...
[Removed]
Most Recent 7 months, 4 weeks ago
Selected Answer: CD
C & D are correct
upvoted 1 times
...
Ciscoman021
1 year, 8 months ago
Selected Answer: CD
The two encoding methods that are supported by REST APIs are: C. XML D. JSON
upvoted 1 times
...
ZayaB
3 years, 9 months ago
Here is the broken link: https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/2-x/rest_cfg/2_1_x/b_Cisco_APIC_REST_API_Configuration_Guide/b_Cisco_APIC_REST_API_Configuration_Guide_chapter_01.html
upvoted 3 times
...
mikexb
4 years, 5 months ago
Reference link is broken...
upvoted 1 times
ponder
4 years, 5 months ago
https://community.cisco.com/t5/nso-developer-hub-documents/rest-api-basics/ta-p/3635342
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...