Courseiva

200-901 Cisco Platforms and Development Practice Question

A network automation engineer needs to retrieve the Layer 2 topology for a specific VLAN from Cisco DNA Center. Which API endpoint should be used?

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

✓

GET /dna/intent/api/v1/topology/l2/{vlanID}

The endpoint GET /dna/intent/api/v1/topology/l2/{vlanID} is used to retrieve Layer 2 topology for a VLAN.

Answer analysis

Option-by-option breakdown

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

  • ✗

    GET /dna/intent/api/v1/issues

    Why it's wrong here

    The issues endpoint returns assurance problems and their details, not topology links, so no VLAN adjacency can be derived. It is tempting because issues reference affected devices and VLANs, making it the right call when you want to list open faults, their severity, or the categories of network health problems.

  • ✗

    GET /dna/intent/api/v1/site

    Why it's wrong here

    The site endpoint returns site hierarchy and building/floor metadata, not Layer 2 links, so it cannot map VLAN adjacencies. It is tempting because sites group devices geographically and are the correct choice when you need to enumerate locations, assign devices to a site, or query site health rather than topology.

  • ✗

    GET /dna/intent/api/v1/network-device

    Why it's wrong here

    The network-device endpoint returns device inventory records, not topology links, so it cannot supply per-VLAN Layer 2 adjacency. It is tempting because it lists every managed device and their interfaces, which is the right call when you need hostnames, management IPs, software versions or reachability status rather than connection data.

  • ✓

    GET /dna/intent/api/v1/topology/l2/{vlanID}

    Why this is correct

    The DNA Center topology API exposes layer 2 topology per VLAN through the intent path with the vlanID path parameter, returning nodes and links for that broadcast domain. This satisfies the stem's requirement to retrieve Layer 2 topology scoped to a specific VLAN.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

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.