DevNet Associate (DEVASC) v1.0 practice questions

200 free questions with answers and explanations.

Practice test
  1. 1.A developer is designing an API for a network monitoring application. The API needs to allow clients to retrieve a list of all active network devices. For each device, the API should return its unique identifier, hostname, and status. Which HTTP method and URL path structure are most appropriate for this endpoint, following RESTful principles?Software Development and Design
  2. 2.A network operations team needs to automate the deployment of application-centric policies and network services within their data center infrastructure. They require a solution that abstracts the underlying network hardware and allows defining application connectivity and security requirements at a high level. Which Cisco technology is designed for this application-centric approach in the data center?Cisco Platforms and Development
  3. 3.A network administrator needs to programmatically retrieve operational data from a Cisco IOS XE device. The administrator prefers a standard, structured data model and a protocol that uses SSH for secure transport. Which combination of data modeling language and protocol should be used?Cisco Platforms and Development
  4. 4.A network technician is configuring port security on a Cisco Catalyst switch. The technician wants to ensure that if an unauthorized MAC address attempts to access a port, the port immediately shuts down and sends an SNMP trap. Which port security violation mode should be configured?Network Fundamentals
  5. 5.A developer is integrating a custom application with Cisco Meraki to monitor network device status and configuration changes. Which type of API is primarily used by the Meraki Dashboard to allow external applications to interact with its cloud platform?Cisco Platforms and Development
  6. 6.A network engineer is automating device configurations using Python. They need to store a collection of unique IP addresses without any specific order and quickly check for the presence of a particular IP. Which Python data structure is best suited for this task?Software Development and Design
  7. 7.A network administrator is configuring a new router and needs to implement a routing protocol that scales well for very large networks, automatically discovers neighbors, and converges quickly after topology changes. Which of the following routing protocols best fits these requirements?Network Fundamentals
  8. 8.A developer is creating an application that needs to receive real-time updates about network events and device status changes from Cisco DNA Center. Which API type is specifically designed for asynchronous, event-driven communication?Cisco Platforms and Development
  9. 9.A network engineer is configuring a Cisco Nexus switch using Ansible. To manage the switch's configuration, the engineer needs to interact with the device's API. Which operating system family on Cisco Nexus switches natively supports modular, API-driven configuration management?Cisco Platforms and Development
  10. 10.A global organization is deploying Cisco SD-WAN across its branches and needs to ensure consistent security policies are applied everywhere. The security team wants to define these policies centrally and programmatically push them to all vEdge routers. Which type of policy in Cisco SD-WAN vManage is used to implement security rules for traffic traversing the overlay network, including firewall, IPS, and URL filtering?Cisco Platforms and Development
  11. 11.A network device is configured with the IP address 192.168.1.10 and a subnet mask of 255.255.255.240. Which of the following IP addresses would be considered part of the same network segment as this device?Network Fundamentals
  12. 12.A Python script needs to parse a JSON response from a REST API. The response contains a list of network devices, and each device object has keys like 'hostname', 'ip_address', and 'status'. The script needs to extract the 'ip_address' of all devices where the 'status' is 'active'. Which Python code snippet correctly accomplishes this task assuming the JSON response is already loaded into a variable named `data`?Software Development and Design
  13. 13.A software team is adopting an agile methodology for developing a new network automation tool. They prioritize frequent delivery of working software, close collaboration with stakeholders, and adaptability to changing requirements over strict adherence to a plan. Which agile methodology framework best fits this description?Software Development and Design
  14. 14.A network engineer is automating the deployment of a new branch office network using Cisco SD-WAN vManage. The automation script needs to programmatically upload device templates, attach them to specific device groups, and then push the configuration to the edge devices. Which vManage API category is primarily used for these configuration management tasks?Cisco Platforms and Development
  15. 15.A network developer is implementing a secure API for a network device. The API needs to ensure that only authorized users can access specific functions, and that the data exchanged with the device cannot be tampered with during transit. Which two security principles are primarily addressed by these requirements?Network Fundamentals
  16. 16.A software developer is creating a custom chatbot for a Webex Teams space. The chatbot needs to receive messages from users in real-time, process their requests, and send back appropriate responses. Which Webex Teams API mechanism is specifically designed for the chatbot to receive incoming messages from the space?Cisco Platforms and Development
  17. 17.A network technician is troubleshooting connectivity issues for a new workstation. The workstation can ping other devices on its local subnet but cannot reach any resources outside of it. Which of the following IP configuration parameters is most likely misconfigured?Network Fundamentals
  18. 18.A network developer is building an application that needs to retrieve detailed information about network devices from a Cisco DNA Center API. The API requires authentication using a token obtained from a prior login request. The application design uses an object-oriented approach where a `DNACClient` class handles all API interactions. Which design principle is being primarily applied when the `DNACClient` class encapsulates the token management (obtaining, storing, refreshing) internally, exposing only high-level methods like `get_device_info(device_id)`?Software Development and Design
  19. 19.A developer is creating a script to retrieve device information from a Cisco router using SNMP. The script needs to send requests to the router and receive responses. Which default UDP port is typically used by an SNMP agent on a network device to receive requests?Network Fundamentals
  20. 20.A network architect is designing an automation solution for a large-scale data center. The solution requires a centralized policy engine that can enforce application-centric policies across both physical and virtual network infrastructure. Which Cisco platform is specifically designed to provide this level of abstraction and policy enforcement in a data center environment?Cisco Platforms and Development
  21. 21.A network architect is designing a wireless network for a large office building. The design includes multiple access points (APs) and aims to provide seamless roaming between different parts of the building. Which of the following wireless concepts is crucial for achieving this seamless roaming capability?Network Fundamentals
  22. 22.A network engineer needs to test a new automation script that uses the Cisco DNA Center API to provision VLANs and assign them to switch ports. The engineer wants a safe, isolated environment that mirrors a real-world DNA Center deployment without impacting production infrastructure. Which Cisco DevNet Sandbox environment is best suited for this testing scenario?Cisco Platforms and Development
  23. 23.A security operations team wants to integrate Cisco FSO (Full-Stack Observability) with their custom security orchestration platform. They need to retrieve detailed application performance metrics, security events, and infrastructure health data programmatically. Which type of API would they primarily use for this data extraction from Cisco FSO?Cisco Platforms and Development
  24. 24.A developer is writing a Python script to manage network device configurations. The script needs to handle potential errors gracefully, such as a device being unreachable or an API returning an invalid response. Which Python construct is specifically designed to catch and handle these types of runtime errors?Software Development and Design
  25. 25.A network architect is designing a solution to programmatically define network policies across a multi-domain infrastructure, including data center and campus networks. The goal is to apply consistent security and segmentation policies based on application requirements, irrespective of the underlying network hardware. Which Cisco platform is best suited for this intent-based policy enforcement across diverse network environments?Cisco Platforms and Development
  26. 26.A network engineer is configuring a Layer 3 switch to route traffic between multiple VLANs. The engineer enables IP routing on the switch and configures IP addresses on VLAN interfaces. Which of the following routing concepts is being implemented in this scenario?Network Fundamentals
  27. 27.A developer is building a custom application that needs to receive real-time notifications about security events detected by Cisco FSO (Full-Stack Observability). Which API feature of Cisco FSO should the developer use to integrate these real-time alerts into their application?Cisco Platforms and Development
  28. 28.A network administrator needs to programmatically retrieve network topology, device inventory, and interface status from Cisco Meraki devices across multiple sites. Which API should they use to interact with the Meraki cloud platform?Cisco Platforms and Development
  29. 29.A developer is designing a new microservice that needs to notify other services in real-time about critical events, such as a new order being placed. Which mechanism is most appropriate for this scenario to ensure timely and efficient communication?Software Development and Design
  30. 30.A security analyst needs to develop an automation script that interacts with Cisco FSO (Full-Stack Observability) to retrieve security events and trigger automated responses. Which API standard is commonly used by modern observability platforms like Cisco FSO for programmatic access?Cisco Platforms and Development
  31. 31.A network architect is designing a new campus network. The design requires a Layer 3 protocol that can efficiently handle traffic for multiple VLANs, provide redundancy, and support the rapid forwarding of frames without re-encapsulation between subnets on the same device. Which technology meets these requirements?Network Fundamentals
  32. 32.A large enterprise is migrating its data center to a Cisco ACI fabric. The network operations team needs to automate the deployment of new application profiles, including EPGs, bridge domains, and contracts, for various business applications. They require a programmatic interface that can directly interact with the APIC to orchestrate these configurations. Which API is the primary interface for automating Cisco ACI configurations?Cisco Platforms and Development
  33. 33.A developer is designing a new IoT device that needs to send small, infrequent bursts of sensor data to a cloud application. The application prioritizes speed and minimal overhead over guaranteed delivery of every single data point, as lost data can be re-sent later if needed. Which Transport Layer protocol would be most appropriate for this scenario?Network Fundamentals
  34. 34.A network administrator needs to programmatically retrieve the current running configuration of a Cisco IOS XE router in a structured, machine-readable format. The router is managed by Cisco DNA Center, but the administrator prefers a direct device-level interaction for this specific task without relying on DNA Center's abstraction layers. Which direct device programmability interface on IOS XE would be best suited for this, providing structured data?Cisco Platforms and Development
  35. 35.A developer is collaborating on a Python project using Git. They need to create a separate line of development to work on a new feature without affecting the main codebase. Once the feature is complete and tested, it will be merged back. Which Git command is used to create this separate line of development?Software Development and Design
  36. 36.A developer is integrating an internal inventory management system with Cisco DNA Center to automatically update device records whenever new network devices are discovered or existing ones are reconfigured. The inventory system needs to retrieve detailed device information, including serial numbers, software versions, and interface details. Which Cisco DNA Center API category should the developer primarily use for this purpose?Cisco Platforms and Development
  37. 37.A network engineer wants to automate the provisioning of new network devices and ensure consistent policy application across a large enterprise network. Which Cisco platform is purpose-built to centralize the management, automation, and assurance of the entire network lifecycle, including design, provision, and policy enforcement?Cisco Platforms and Development
  38. 38.A security engineer is analyzing a network capture and observes a significant amount of traffic on UDP port 53. The traffic consists of numerous small queries and responses. Based on this observation, which network service is most likely generating this traffic?Network Fundamentals
  39. 39.A network engineer needs to integrate a custom inventory tracking system with Cisco DNA Center to automatically update device information, such as serial numbers and software versions, whenever a new device is discovered or updated in the network. Which Cisco DNA Center API category should the engineer focus on for this integration?Cisco Platforms and Development
  40. 40.A network engineer wants to automate the process of adding and deleting users from a specific security group on their Cisco Identity Services Engine (ISE) deployment. They need to interact with ISE using a RESTful API. Which API family within Cisco ISE would be used for managing user identities and groups?Cisco Platforms and Development
  41. 41.A network administrator is troubleshooting an issue where a newly deployed application on a server is unable to communicate with clients on a different subnet. The administrator suspects a firewall might be blocking the traffic. Which of the following TCP/IP layers is primarily responsible for filtering traffic based on port numbers?Network Fundamentals
  42. 42.A network engineer is using Ansible to automate configuration changes on a Cisco NX-OS switch. The Ansible playbook needs to push a new VLAN configuration to the switch. To achieve this, the engineer should utilize an Ansible module that interacts directly with the NX-OS device's native API for structured data exchange. Which Ansible module category is designed for this purpose on NX-OS?Cisco Platforms and Development
  43. 43.A network automation engineer is building a custom dashboard to visualize real-time network performance metrics (e.g., interface utilization, CPU load) from Cisco IOS XE routers. The dashboard requires a continuous stream of data rather than periodic polling to ensure the highest fidelity. Which mechanism on IOS XE provides a subscription-based, push model for streaming telemetry data?Cisco Platforms and Development
  44. 44.A development team wants to use a Cisco DevNet Sandbox to test automation scripts for Cisco SD-WAN. Which characteristic best describes the primary benefit of using a DevNet Sandbox for this purpose?Cisco Platforms and Development
  45. 45.A network engineer wants to programmatically configure VLANs, interfaces, and routing protocols on a Cisco Nexus 9000 series switch. Which native programmability interface on NX-OS devices allows for configuration using structured data formats like XML or JSON?Cisco Platforms and Development
  46. 46.A global enterprise is deploying a new SD-WAN solution across hundreds of branch offices. The network team needs to ensure consistent security policies, optimize application performance, and provide centralized visibility and control over the entire WAN infrastructure. Which component of Cisco SD-WAN is responsible for centrally orchestrating policies and providing a single pane of glass for management?Cisco Platforms and Development
  47. 47.A developer is building a custom integration with Cisco Webex Teams to send automated notifications and create spaces based on events from an external monitoring system. Which type of Webex Teams integration object allows the external system to send messages to a specific Webex Teams space without requiring an interactive bot?Cisco Platforms and Development
  48. 48.A development team is using Git for version control. A developer has made several local commits on a feature branch and now needs to integrate these changes into the main branch, ensuring a clean, linear history without creating a merge commit. Which Git command sequence achieves this goal?Software Development and Design
  49. 49.A network engineer is configuring a new subnet for a department that requires 50 usable host IP addresses. The engineer needs to choose an appropriate subnet mask that minimizes wasted IP addresses while accommodating future growth. Which subnet mask should be used?Network Fundamentals
  50. 50.A development team is building a new application that needs to integrate with Cisco Meraki to monitor network health and client connectivity in real-time. The application requires push notifications whenever a critical event (e.g., an access point goes offline, a new client connects) occurs. Which Meraki API feature should the team leverage to receive these event-driven updates?Cisco Platforms and Development