Which two options are the main data encoding formats that are commonly used in Application Programming Interfaces? (Choose two.)

IT Exam Items RepositoryCategory: CCNP ENCOR v9Which two options are the main data encoding formats that are commonly used in Application Programming Interfaces? (Choose two.)

Which two options are the main data encoding formats that are commonly used in Application Programming Interfaces? (Choose two.)

  • HTML
  • JSON
  • PDF
  • XML
  • DOCX

Explanation: The two main data encoding formats commonly used in modern APIs are XML and JSON. These formats are favored for data transmission because they are human-readable (self-describing), hierarchical (storing values within values), and easily parsable by many programming languages. While other formats like YAML exist, XML and JSON are the core encodings supported by next-generation programmatic interfaces such as NETCONF and RESTCONF to ensure machine-to-machine communication is both efficient and predictable.

Related exam: Modules 21 – 22: Checkpoint Exam: Programmability Answers (CCNP ENCOR v9)