mediumMultiple Choice
350-401 Practice Question: An Ansible playbook uses the cisco.dnac.site…
An Ansible playbook uses the cisco.dnac.site module to create a new building site. The playbook is:
- name: Create building site cisco.dnac.site: host: "{{ dnac_host }}"
username: "{{ dnac_username }}"password: "{{ dnac_password }}" validate_certs: no state: present site: name: Building-B type: building parentName: Area-1 address: "123 Main St" latitude: 37.7749 longitude: -122.4194 register: result
What is the purpose of the 'parentName' parameter?
⚠ Common exam trap
350-401 often tests whether candidates understand the DNA Center site hierarchy and the role of 'parentName' in establishing parent-child relationships; the trap is confusing it with DNS or network profile parameters.
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
✓
It specifies the name of the building's parent in the hierarchy, such as an area or global site.
The 'parentName' parameter specifies the name of the building's parent in the Cisco DNA Center site hierarchy, such as an area or the global site. In the cisco.dnac.site module, this parameter establishes the hierarchical relationship, ensuring the new building is created under the correct parent site (e.g., Area-1) rather than at the root level.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
It specifies the name of the building's parent in the hierarchy, such as an area or global site.
Why this is correct
The parentName parameter places the new building within the existing site hierarchy by naming its immediate parent, here Area-1. Cisco DNA Center requires this to attach Building-B beneath the correct area rather than at the global root.
- ✗
It defines the DNS domain name for the building.
Why it's wrong here
parentName identifies the parent area in the DNAC site hierarchy so the building is created beneath Area-1. DNS domain names are configured through DNS/DHCP settings or network profiles, not site parentage; defining a domain would be the answer if the task concerned name resolution for clients.
- ✗
It sets the name of the network profile associated with the building.
Why it's wrong here
parentName establishes the site's position in the DNAC site hierarchy, naming the parent area that contains the new building. A network profile is a separate object assigned to sites for device onboarding, so this parameter never references one; profile association would be the answer if the stem asked how devices inherit settings.
- ✗
It is used to specify the building's primary IP address.
Why it's wrong here
parentName places the building within the site hierarchy by naming its parent area, not an IP address. The module's address field carries the street address, and management IPs belong to devices or interfaces; specifying a primary IP would be relevant when defining a device or interface, not a site.
Go deeper
Related to this question
Learn chapter
SDN Controllers and Cisco ACI
Key term
Ansible for Network Automation
Ansible for Network Automation is an open-source tool that allows network engineers to automate the configuration, management, and deployment of network devices like routers and switches using simple text files instead of manual commands.
Key term
Cisco DNA Center
A centralized network management and automation platform from Cisco that provides intent-based networking for easier configuration, monitoring, and troubleshooting of Cisco devices.
About these practice questions
One of 1,923 original 350-401 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 →
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 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.