Courseiva

200-901 Understanding and Using APIs Practice Question

A developer needs to retrieve a list of network devices from Cisco DNA Center with pagination. Which TWO URL components are typically used for offset/limit pagination?

⚠ Common exam trap

Cisco often tests the distinction between offset/limit pagination (using 'offset' and 'limit' query parameters) and page-based pagination (using 'page' and 'size' or 'per_page' parameters), leading candidates to mistakenly select 'page' as a correct option.

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

✓

Query parameter 'limit'

Options C and D are correct because Cisco DNA Center's REST APIs implement offset/limit pagination through the query parameters 'limit' (the maximum number of records to return per page) and 'offset' (the number of records to skip before starting to return results), so a request such as GET /dna/intent/api/v1/network-device?offset=1&limit=10 retrieves the second page of ten devices. Option A is incorrect because the Link header is a response header used by some APIs (e.g., GitHub) to convey pagination URLs, not a URL component the developer supplies in the request. Option B is incorrect because Cisco DNA Center does not use a 'page' query parameter for offset/limit pagination. Option E is incorrect because 'page' is not a path parameter in these API endpoints; path parameters identify specific resources, not pagination windows.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Link header

    Why it's wrong here

    A Link header is a response header carrying URLs for the next, previous, first or last page; it is not a URL component the developer supplies in the request. It suits hypermedia APIs that advertise pagination links, not DNA Center's offset/limit query parameters.

  • ✗

    Query parameter 'page'

    Why it's wrong here

    Cisco DNA Center expects 'offset' and 'limit' as the query parameter names; 'page' is not one of them, so the request returns the default first page regardless of its value. A 'page' query parameter belongs to page-number pagination APIs, which is a different scheme from offset/limit.

  • ✓

    Query parameter 'limit'

    Why this is correct

    Query parameter 'limit' controls how many device records Cisco DNA Center returns per page, satisfying the pagination constraint in the stem. Paired with an offset parameter, it bounds each response, preventing oversized payloads when retrieving the device list. The API reads it from the URL query string, so no request body or custom header is needed.

  • ✓

    Query parameter 'offset'

    Why this is correct

    Offset is a query parameter appended to the request URL, e.g. ?offset=20&limit=10, telling Cisco DNA Center which record to start from. Combined with limit, it satisfies the stem's offset/limit pagination requirement by skipping already-retrieved devices.

  • ✗

    Path parameter 'page'

    Why it's wrong here

    Cisco DNA Center's offset/limit pagination passes 'offset' and 'limit' as query parameters; a path parameter such as 'page' would have to be declared in the API's URL template and cannot carry the offset value. Path parameters identify a specific resource, so they suit endpoints addressing one device by ID.

About these practice questions

One of 975 original 200-901 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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-901 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-901 exam.