- A
A UUID string such as '123e4567-e89b-12d3-a456-426614174000'
Correct. The API returns a UUID for each site, and the script prints it.
- B
The script will print 'Building-A'
Why wrong: The script prints site['id'], not site['name'].
- C
The script will print the entire site dictionary
Why wrong: It only prints the id field.
- D
The script will raise an error because the API returns paginated results
Why wrong: The script assumes all sites are returned in one response, which may be true for small hierarchies, but the output would still be the ID if found.
Quick Answer
The answer is a UUID string such as '123e4567-e89b-12d3-a456-426614174000'. This output occurs because the Python script queries the DNA Center API endpoint for all sites, then iterates through the response to find the building named 'Building-A' and prints its unique site ID. The Cisco DNA Center API assigns a globally unique identifier (UUID) to every site object—whether area, building, or floor—so a successful creation returns this string rather than a simple integer or a success message. On the ENCOR 350-401 exam, this tests your understanding of REST API responses and how the DNA Center models site hierarchy; a common trap is expecting a boolean or status code instead of the actual UUID. Remember that in DNA Center, every site is a resource with a UUID, so when verifying via API, you are looking for that specific identifier, not a confirmation flag. A helpful memory tip: "UUID for unique ID" ties the concept of site verification to the universally unique identifier output.
350-401 Cisco DNA Center Practice Question
This 350-401 practice question tests your understanding of cisco dna center. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
An engineer is using the Cisco DNA Center GUI to create a new site hierarchy. They add a building under an existing area. After saving, they run a Python script to verify the site via API:
import requests
url = "https://dna-center.local/dna/intent/api/v1/site" headers = {"X-Auth-Token": "token"} response = requests.get(url, headers=headers, verify=False) sites = response.json()['response']
for site in sites:
if site['name'] == 'Building-A':
print(site['id'])What is the output if the building was created successfully?
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
A UUID string such as '123e4567-e89b-12d3-a456-426614174000'
The script prints the site ID of the building if it exists. The output will be a string representing the UUID of the building.
Key principle: OSPF neighbour adjacency depends on matching area, hello/dead timers, network type, and authentication — IP reachability alone is not enough.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
A UUID string such as '123e4567-e89b-12d3-a456-426614174000'
Why this is correct
Correct. The API returns a UUID for each site, and the script prints it.
Related concept
OSPF neighbours must agree on key parameters.
- ✗
The script will print 'Building-A'
Why it's wrong here
The script prints site['id'], not site['name'].
- ✗
The script will print the entire site dictionary
Why it's wrong here
It only prints the id field.
- ✗
The script will raise an error because the API returns paginated results
Why it's wrong here
The script assumes all sites are returned in one response, which may be true for small hierarchies, but the output would still be the ID if found.
Common exam traps
Common exam trap: OSPF can fail even when IP connectivity looks correct
OSPF neighbour formation depends on matching areas, timers, network type, authentication and passive-interface behaviour. Do not choose an answer only because the devices can ping.
Trap categories for this question
Command / output trap
The script assumes all sites are returned in one response, which may be true for small hierarchies, but the output would still be the ID if found.
Detailed technical explanation
How to think about this question
OSPF questions usually test the details that control adjacency and route selection. Read the neighbour state, area, router ID and interface configuration before deciding what is wrong.
KKey Concepts to Remember
- OSPF neighbours must agree on key parameters.
- Router ID selection can affect neighbour relationships and LSDB output.
- OSPF cost influences the preferred path.
- A route can appear in OSPF information but not become the installed route.
TExam Day Tips
- Check area mismatch first when OSPF adjacency fails.
- Review passive interfaces when a network is advertised but no neighbour forms.
- Use show ip ospf neighbor and show ip route clues carefully.
Key takeaway
OSPF neighbour adjacency depends on matching area, hello/dead timers, network type, and authentication — IP reachability alone is not enough.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Review OSPF neighbour requirements — matching area type, hello and dead timers, network type, stub flags, and authentication. Study show ip ospf neighbor states (INIT, 2-WAY, FULL). Then practise related 350-401 OSPF questions on adjacency and route selection.
- →
Cisco DNA Center — study guide chapter
Learn the concepts, then practise the questions
- →
Cisco DNA Center practice questions
Targeted practice on this topic area only
- →
All 350-401 questions
2,015 questions across all exam domains
- →
ENCOR 350-401 study guide
Full concept coverage aligned to exam objectives
- →
350-401 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related 350-401 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Architecture practice questions
Practise 350-401 questions linked to Architecture.
Enterprise Network Design practice questions
Practise 350-401 questions linked to Enterprise Network Design.
SD-Access Architecture practice questions
Practise 350-401 questions linked to SD-Access Architecture.
SD-WAN Architecture practice questions
Practise 350-401 questions linked to SD-WAN Architecture.
QoS Architecture practice questions
Practise 350-401 questions linked to QoS Architecture.
Virtualization practice questions
Practise 350-401 questions linked to Virtualization.
Network Function Virtualization practice questions
Practise 350-401 questions linked to Network Function Virtualization.
Virtual Machines and Hypervisors practice questions
Practise 350-401 questions linked to Virtual Machines and Hypervisors.
VRF and Path Isolation practice questions
Practise 350-401 questions linked to VRF and Path Isolation.
Infrastructure practice questions
Practise 350-401 questions linked to Infrastructure.
OSPF practice questions
Practise 350-401 questions linked to OSPF.
BGP practice questions
Practise 350-401 questions linked to BGP.
Practice this exam
Start a free 350-401 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this 350-401 question test?
Cisco DNA Center — This question tests Cisco DNA Center — OSPF neighbours must agree on key parameters..
What is the correct answer to this question?
The correct answer is: A UUID string such as '123e4567-e89b-12d3-a456-426614174000' — The script prints the site ID of the building if it exists. The output will be a string representing the UUID of the building.
What should I do if I get this 350-401 question wrong?
Review OSPF neighbour requirements — matching area type, hello and dead timers, network type, stub flags, and authentication. Study show ip ospf neighbor states (INIT, 2-WAY, FULL). Then practise related 350-401 OSPF questions on adjacency and route selection.
What is the key concept behind this question?
OSPF neighbours must agree on key parameters.
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 →
Last reviewed: Jun 18, 2026
This 350-401 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 350-401 exam.
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.
Sign in to join the discussion.