Courseiva
AI and Network Operations →mediumMultiple Choice

CCNA AI and Network Operations Practice Question

An engineer uses the Cisco Catalyst Center (formerly DNA Center) Intent API to retrieve a list of network devices. The API response is paginated, returning only 50 devices by default even though the inventory holds several hundred. The engineer needs the complete inventory in a single automation run. Which action should the engineer take?

⚠ Common exam trap

The trap here is assuming that changing the HTTP method or requesting a different media type removes pagination, when only the limit and offset parameters control page size and position.

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

✓

Increase the value of the 'limit' query parameter and adjust the 'offset' parameter across successive requests until all devices are retrieved.

The Intent API limits how many records a single response carries, so a complete inventory requires paging. Raising the page size with the limit parameter and advancing through results with the offset parameter lets an automation script collect every device before processing. Authentication headers and media-type headers shape access and representation, not result volume.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Add the 'X-Auth-Token' header with a longer expiry so the controller stops truncating the response.

    Why it's wrong here

    The authentication token header proves the caller's identity and does not influence how many records are serialized into a response. A token with a longer lifetime simply allows more requests before re-authentication; it cannot expand a page beyond the controller's configured limit, so the inventory would remain incomplete.

  • ✓

    Increase the value of the 'limit' query parameter and adjust the 'offset' parameter across successive requests until all devices are retrieved.

    Why this is correct

    The Intent API paginates results using the 'limit' and 'offset' query parameters. Raising 'limit' increases the page size, and incrementing 'offset' walks through subsequent pages. Iterating until a page returns fewer records than the requested limit yields the full device inventory, which is exactly what this automation run requires.

  • ✗

    Change the HTTP method from GET to POST so the controller returns the entire collection in a single response body.

    Why it's wrong here

    Changing the verb does not disable pagination on this collection endpoint. POST is used for creating resources or for operations such as posting a search body, not for bypassing page limits. The controller still caps how many records a single response returns, so the engineer would receive the same truncated inventory.

  • ✗

    Set the 'Accept' header to 'application/yang-data+json' so the controller returns the full YANG-modeled dataset without pagination.

    Why it's wrong here

    The media type requested through 'Accept' controls the representation format of the payload, not the volume of records returned. Requesting YANG-modeled JSON does not remove the controller's page-size cap, so the engineer would still receive only the first page of devices and miss the remainder of the inventory.

Quick reference

Common DNS Record Types

RecordPurposeExample
AIPv4 address mappingexample.com → 93.184.216.34
AAAAIPv6 address mappingexample.com → 2606:2800::1
CNAMEAlias to another hostnamewww → example.com
MXMail server for domainexample.com → mail.example.com (priority 10)
TXTText data (SPF, DKIM, verification)v=spf1 include:_spf.example.com ~all
NSAuthoritative name serversexample.com NS ns1.example.com
PTRReverse DNS (IP → hostname)34.216.184.93.in-addr.arpa → example.com
SOAZone authority recordPrimary NS, admin email, serial, TTL defaults

About these practice questions

This 200-301 question is part of Courseiva's 1,450-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Cisco exam blueprint

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.