Courseiva
AI and Network OperationsmediumMatchingObjective-mapped

CCNA REST Practice Question

Match each API workflow concept to the description that best fits it.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Target resource path

Requested action such as retrieve or delete

Access-related value carried by the client

Structured payload format

⚠ Common exam trap

Candidates often confuse the characteristics of REST and SOAP, mistakenly thinking SOAP is lightweight or uses JSON, or that GraphQL requires XML schemas. Webhooks are frequently misinterpreted as polling mechanisms instead of event-driven callbacks.

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

REST is a stateless architectural style that uses standard HTTP methods and typically exchanges data in JSON or XML format.

Ly defines REST as a stateless architectural style using standard HTTP methods (GET, POST, PUT, DELETE) and typically exchanging data in JSON or XML. Option B is incorrect because SOAP uses XML, not JSON, and is not lightweight; it is a protocol with strict standards. Option C is incorrect because GraphQL is a query language, not a protocol requiring XML schemas; it allows clients to request specific data, often using JSON. Option D is incorrect because webhooks are callback-based push notifications triggered by events, not periodic polling.

Answer analysis

Option-by-option breakdown

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

  • REST is a stateless architectural style that uses standard HTTP methods and typically exchanges data in JSON or XML format.

    Why this is correct

    REST (Representational State Transfer) is an architectural style, not a protocol, that relies on stateless client-server communication. Each HTTP request contains all necessary information, and standard methods like GET, POST, PUT, DELETE are used to manipulate resources. Data is typically exchanged in JSON or XML, making it lightweight and widely used in web services.

  • SOAP is a lightweight protocol that uses JSON for data exchange and is commonly used in RESTful services.

    Why it's wrong here

    SOAP (Simple Object Access Protocol) is a protocol for exchanging structured information, but it exclusively uses XML for message formatting, not JSON. It is considered heavyweight due to its verbose XML envelope, strict standards, and built-in error handling, and it is not used in RESTful services, which follow a different architectural pattern. This description confuses SOAP with REST, which uses JSON and HTTP methods.

    When this WOULD be correct

    If the question asked: 'Which protocol uses XML-based messaging, supports ACID transactions, and is often used in enterprise environments?' then SOAP would be correct.

  • GraphQL is a protocol that requires strict XML schemas and is used for real-time event notifications.

    Why it's wrong here

    GraphQL is a query language that allows clients to request specific data fields in a single request, using a schema defined with types and fields, not XML schemas. It is not a protocol, and while it supports subscriptions for real-time notifications, that is an optional feature rather than its primary function. Therefore, the description incorrectly characterizes GraphQL's architecture and capabilities.

    When this WOULD be correct

    If the question asked: 'Which API technology uses a type system to define queries and mutations, allowing clients to request exactly the data they need?' then GraphQL would be the correct answer.

  • Webhooks are a method for polling servers at regular intervals to check for updates.

    Why it's wrong here

    Webhooks are user-defined HTTP callbacks that are triggered by specific events, automatically sending data to a URL in real time. They are push-based, unlike polling, where a client repeatedly requests data at fixed intervals. Therefore, describing webhooks as a polling mechanism is incorrect because they eliminate the need for periodic checks.

    When this WOULD be correct

    In a question asking to match 'a method for polling servers at regular intervals to check for updates' to the correct concept, the answer would be 'polling' or 'long polling', not webhooks.

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.

REST is a stateless architectural style that uses standard HTTP methods and typically exchanges data in JSON or XML format.Correct answer

Why this is correct

REST (Representational State Transfer) is an architectural style, not a protocol, that relies on stateless client-server communication. Each HTTP request contains all necessary information, and standard methods like GET, POST, PUT, DELETE are used to manipulate resources. Data is typically exchanged in JSON or XML, making it lightweight and widely used in web services.

SOAP is a lightweight protocol that uses JSON for data exchange and is commonly used in RESTful services.Wrong answer — click to see why

Why this is wrong here

SOAP is not lightweight, uses XML (not JSON) for data exchange, and is not used in RESTful services; it is a separate protocol with strict standards.

★ When this WOULD be the correct answer

If the question asked: 'Which protocol uses XML-based messaging, supports ACID transactions, and is often used in enterprise environments?' then SOAP would be correct.

Why candidates choose this

Candidates may confuse SOAP with REST due to both being web service protocols, or mistakenly think JSON is used in SOAP because JSON is common in modern APIs.

GraphQL is a protocol that requires strict XML schemas and is used for real-time event notifications.Wrong answer — click to see why

Why this is wrong here

GraphQL is not a protocol; it is a query language for APIs. It does not require strict XML schemas (it uses its own type system) and is not specifically designed for real-time event notifications (though subscriptions can provide real-time updates).

★ When this WOULD be the correct answer

If the question asked: 'Which API technology uses a type system to define queries and mutations, allowing clients to request exactly the data they need?' then GraphQL would be the correct answer.

Why candidates choose this

Candidates may confuse GraphQL's subscription feature for real-time notifications and mistakenly think it requires XML schemas due to familiarity with SOAP's strict XML requirements.

Webhooks are a method for polling servers at regular intervals to check for updates.Wrong answer — click to see why

Why this is wrong here

Webhooks are not a polling mechanism; they push data to a subscriber when an event occurs, whereas polling involves repeatedly checking for updates at intervals.

★ When this WOULD be the correct answer

In a question asking to match 'a method for polling servers at regular intervals to check for updates' to the correct concept, the answer would be 'polling' or 'long polling', not webhooks.

Why candidates choose this

Candidates may confuse webhooks with polling because both are used to get updates, but they forget that webhooks are event-driven push notifications, not scheduled pull requests.

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?”

About these practice questions

Courseiva writes every 200-301 question from scratch — 1,389 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.