Courseiva
Question 620 of 1,389
AI and Network OperationseasyMultiple ChoiceObjective-mapped

CCNA AI and Network Operations Practice Question

What data format is commonly used in REST API responses because it is lightweight and easy for applications to parse?

⚠ Common exam trap

Avoid assuming older or more traditional formats like XML or CSV are used in modern REST APIs; JSON is the standard.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

JSON

JSON is widely used in REST APIs for structured data exchange.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • BGP

    Why it's wrong here

    Border Gateway Protocol (BGP) is a path-vector routing protocol designed for exchanging reachability and routing policy information between autonomous systems on the internet. It maintains routing tables by propagating NLRI (Network Layer Reachability Information) over TCP port 179, but it transmits binary/TLV-based messages, not a human-readable data-interchange format. Because REST APIs require self-describing, language-agnostic textual representations like JSON or YAML, BGP is completely irrelevant to response payload formatting.

    When this WOULD be correct

    If the question were to ask about networking protocols used for routing data between networks, BGP would be the correct answer. For example, a question might state, 'Which protocol is essential for inter-domain routing on the internet?'

  • JSON

    Why this is correct

    JSON (JavaScript Object Notation) is the standard data format for REST API responses because it is lightweight, human-readable, and language-independent. Its key-value structure maps directly to objects in most programming languages, making it trivial to parse and generate. Unlike XML, JSON has a compact syntax with minimal overhead, which reduces bandwidth and latency in HTTP transactions. This practical interoperability is why RESTful APIs overwhelmingly default to JSON for serializing payloads.

  • STP

    Why it's wrong here

    Spanning Tree Protocol (STP) is a network protocol that operates at Layer 2 to prevent broadcast loops in switched Ethernet networks by logically blocking redundant paths. It is fundamentally a bridge/routing mechanism that elects a root bridge and calculates loop-free topologies via BPDU messages. STP has no role in data representation or serialization, and it is never used as a payload format in REST API responses, which require structured text like JSON or XML.

    When this WOULD be correct

    If the exam question asked about protocols used in network communications that ensure loop-free topologies in switched networks, then STP would be the correct answer. For example, a question might ask which protocol is crucial for maintaining network stability in a Layer 2 Ethernet environment.

  • ARP

    Why it's wrong here

    Address Resolution Protocol (ARP) resolves a known IPv4 address to a physical MAC address on a local area network, typically within a broadcast domain. It operates at the interface between Layer 2 and Layer 3 and relies on broadcast frames and ARP cache tables, not on serializing application data. ARP is a control protocol for network discovery and cannot represent structured API data, so it is entirely unsuitable as a format for RESTful response bodies.

    When this WOULD be correct

    If the exam question asked about protocols used for network communication and their roles in data transmission, ARP could be the correct answer when discussing how devices resolve IP addresses to MAC addresses on a local network.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The 200-301 exam frequently reuses these exact scenarios with slightly different constraints.

JSONCorrect answer

Why this is correct

JSON (JavaScript Object Notation) is the standard data format for REST API responses because it is lightweight, human-readable, and language-independent. Its key-value structure maps directly to objects in most programming languages, making it trivial to parse and generate. Unlike XML, JSON has a compact syntax with minimal overhead, which reduces bandwidth and latency in HTTP transactions. This practical interoperability is why RESTful APIs overwhelmingly default to JSON for serializing payloads.

BGPWrong answer — click to see why

Why this is wrong here

BGP (Border Gateway Protocol) is a path-vector routing protocol used to exchange routing information between autonomous systems, not a data serialization format. It is unrelated to REST API data formatting.

★ When this WOULD be the correct answer

If the question were to ask about networking protocols used for routing data between networks, BGP would be the correct answer. For example, a question might state, 'Which protocol is essential for inter-domain routing on the internet?'

Why candidates choose this

Students might confuse the acronym BGP with JSON due to both being associated with networking, but BGP is a protocol, not a data format.

STPWrong answer — click to see why

Why this is wrong here

STP (Spanning Tree Protocol) is a Layer 2 protocol that prevents loops in Ethernet networks, not a data format for APIs. It operates at the data link layer and has no role in REST API responses.

★ When this WOULD be the correct answer

If the exam question asked about protocols used in network communications that ensure loop-free topologies in switched networks, then STP would be the correct answer. For example, a question might ask which protocol is crucial for maintaining network stability in a Layer 2 Ethernet environment.

Why candidates choose this

The acronym STP might be mistaken for a data format because it is a common networking term, but it is unrelated to API data representation.

ARPWrong answer — click to see why

Why this is wrong here

ARP (Address Resolution Protocol) is used to map IP addresses to MAC addresses in local networks, not a data serialization format. It is a network layer protocol, not an API data format.

★ When this WOULD be the correct answer

If the exam question asked about protocols used for network communication and their roles in data transmission, ARP could be the correct answer when discussing how devices resolve IP addresses to MAC addresses on a local network.

Why candidates choose this

ARP is a well-known networking protocol, and students might incorrectly think it could be used for data exchange in APIs due to its role in network communication.

Analysis generated from the official 200-301blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

Quick reference

Routing Protocol Comparison

ProtocolMetricMax HopsAlgorithmType
RIP v2Hop count15Bellman-FordDistance vector
OSPFCost (bandwidth)UnlimitedDijkstra (SPF)Link state
EIGRPComposite metricUnlimitedDUALHybrid
IS-ISCostUnlimitedDijkstraLink state
BGPPolicy / attributesUnlimitedPath vectorPath vector

RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: May 17, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This 200-301 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-301 exam.