DevNet Associate (DEVASC)
Last Update May 23, 2025
Total Questions : 467
We are offering FREE 200-901 Cisco exam questions. All you do is to just go and sign up. Give your details, prepare 200-901 free exam questions and then go for complete pool of DevNet Associate (DEVASC) test questions that will help you more.
Which two situations align with infrastructure as code principles? (Choose two.)
An engineer must investigate the problems on a web application and address them to related teams. The engineer verifies the application reachability from the single public IP
dress with port and discovers that HTTPS access works to three servers of a network farm with IP 172.16.50.1 .2 and .4. but HTTPS access to the server with IP 172.16.50.3 does : work. Which problem type must be addressed as the cause for the case?
Refer to the exhibit. An engineer runs a network that consists of Cisco Nexus devices. The network is distributed between data centers in different locations. The switches are configured using standalone connections and a single point of failure. Which process is being automated by the Ansible playbook?
Refer to the exhibit.
A developer can access the TLS REST API on server A, but cannot access the API on server B. The developer can ping server B. When the developer performs a packet capture on the TLS REST API port on server B, the capture shows that the packet arrived and the server responded. What causes the issue?
Refer to the exhibit. An engineer is comparing two files by using the unified diff format. Which cade snippet belongs to the new.py file?
Refer to the exhibit. A network engineer makes a RESTCONF API call to Cisco IOS XE to retrieve information. Which HTTP method and URL does the engineer use to make the ..call?
A)
B)
C)
D)
Which IP service is responsible for automatically assigning an IP address to a device?
Refer to the exhibit. An engineer is managing the network of an enterprise. The network is using a distributed deployment model. The enterprise uses database to store logs. The current policy requires logs to be stored if changes are made to the infrastructure in any of the devices on the data centers. Which workflow is being automated by the Bash script?
Refer to the exhibit.
A collaboration engineer has developed a script to automate the gathering of information by providing the email address of the individual. When the engineer tests the script, a 401 error is received. Which command fixes the script?
Drag and drop the functions from the left onto the networking devices on the right.
Drag and drop the characteristics from the left onto the corresponding categories on the right to compare RESTful and RPC APIs.
Drag and drop the code snippets from the bottom onto the blanks in the code to complete the happy path scenario. Not all options are used.
Which HTTP method is used by webhooks and notifies a listener about an event change?
Which technology is responsible for matching a name to an IP address of an application running on a host?
Refer to the exhibit. A developer writes a script to create a new network by using the Cisco DNA Center API. After running the script for the first time, the developer observes that HTTP code 404 is printed to the console. Which action resolves the problem?
eating a Python script to programmatically save network device configurations. Which code snippet must be placed onto the blank in .. code?
Which Python function is used to parse a string that contains JSON data into a Python dictionary?
Drag and drop the code from the bottom onto the box where the code is missing to construct a Python script that calls a REST API request. Not all options are used.
A developer is developing a web application that uses username and password to authenticate to the next service. The user credentials must be available at any time in the application. The developer must choose and implement a secure method of storing the authentication credentials that are used in the automation code. Which password handling method must be used to minimize the security risk?
During which step of the CI/CD pipeline for infrastructure automation is code from multiple developers combined to compile and test different components?
What is a benefit of using model-driven programmability for infrastructure automation?
Developer is working on a new feature and made changes on a branch named ‘branch-413667549a-new’. When merging the branch to production, conflicts occurred. Which Git command must the developer use to recreate the pre-merge state?
Refer to the exhibit. The YAML shown contains an object "param0" that is equal to "Workflow1", a second object "param1" that contains an object called "list" which contains an array of two objects, "name" (equal to "VLAN_ID") and "value" (equal to a text value "198"), and finally a third object "param2" that is equal to "0". What is the equivalent message in JSON data format?
Drag and drop the code from the bottom onto the box where the code is missing to complete the error path scenario. Not all options are used.
What is a capability of model-driven programmability for infrastructure automation?
A developer plans to deploy a new application that will use an API to implement automated data collection from Webex with these requirements:
The application was created by using the request library.
Requires HTTP basic authentication.
Provides data in JSON or XML formats.
Which Cisco DevNet resource helps the developer with how to use the API?
Refer to the exhibit.
An engineer is comparing two tiles by using the unified cliff format What is determined by the content in the file2.py file?
An engineer needs to collect information about 20,000 Bluetooth clients using the Cisco Meraki API. The API returns only 1,000 results. One of the HTTP response headers has the data:
Link: https://api.meraki.com.info/api/v0/networks/ABC/bluetoothClients?perPage=1000 &startingAfter=1000>;rel=“next”
Which RFC is implemented by the API to apply the restriction?
What is a benefit of using a code review process in application development?
A company deploys an application via containers in its local data center. As soon as the application goes into production, it starts to crash at specific hours of the day. After investigation, it is concluded that the crashes are due to too many users accessing the application simultaneously. The spikes must be addressed and allow for future growth without discarding the investment already made. Which deployment model must be used?
Drag and drop the code from the bottom onto the box where the code is missing to enable ports on a switch by using RESTCONF. Not all options are used.
Which Cisco compute management platform controls server, network, storage, and virtual resources with policy-driven management for up to 10000 physical Cisco servers?
Which two commands download and execute an Apache web server container in Docker with a port binding 8080 in the container to 80 on the host? (Choose two.)
Which tool provides a testing environment to run tests on network devices and perform network automation scenarios?
Drag and drop the function on the left onto the type of plane that handles the function on the right.
When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?
What is the Git command to delete a local branch named “experiment” without a warning?
Which HTTP status Code means that the server cannot or will not process the request because of perceived client error?
Refer to the exhibit.
Drag and drop the descriptors from the left onto the correct parts of the API request and response on the right.
Drag and Drop the GIT commands from the left onto the right that add modified local files to a remote repository. Not all options are used
Refer to the exhibit.
OR
An administrator attempts to perform a GET using the Cisco IOS XE RESTOCNF API to return the hostname of a device. The sequence diagram illustrated the HTTP message observed. Which change to the API request resolves the issue?
Refer to the exhibit.
What is the effect of this Ansible playbook on an IOS router?
Refer to the exhibit.
Drag and drop the code from the left onto the item numbers on the right to complete to Meraki python script shown in the exhibit.
Drag and drop the network automation interfaces from the left onto the transport protocols that they support on the right. Not all options are used.
Which two statements describe the advantages of using a version control system? (Choose two.)
Fill in the blanks to complete the Python script to update the Webex Teams membership of a room using the Python requests library import requests
Refer to the exhibit.
Drag and drop the variables from the left onto the item numbers on the right that match the missing assignments in the exhibit.
Refer to the exhibit.
A developer is troubleshooting an API with the given API with the given API documentation and cURL command. What is the cause of this problem?
Refer to the exhibit.
Which two statements about the network diagram are true? (Choose two.)
A developer is reviewing a code that was written by a colleague. It runs fine, but there are many lines of code to do a seemingly simple task repeatedly. Which action organizes the code?
Which two statements are true about Cisco UCS manager, Cisco Intersight APIs? (Choose two.)
Fill in the blanks to complete the statement.
Cisco DNA provide the capability to send an HTTP _______________ request to the API endpoint https://DNA-c_API_ADDRESS/api/vi/network-device/ and receive the network __________ list in __________ format.
Drag and drop the Python code from the left onto the correct step on the right to call a REST API.
A developer is writing an application that a REST API and the application requires a valid from the API which element of the response is used in the conditional check?
A REST API service requires authentication based on the username and password. The user “john” has the password “384279060” and the Base64 encoding of those credentials is “am9objowMTIzNDU2Nzg=”. Which method completes an authentication request?
How does requesting a synchronous API operation differ from requesting an asynchronous API operation?
Which two descriptions can be given to an application that is interacting with a webhook? (Choose two.)
A 401 HTTP response code is returned when calling a REST API. What is the error state identified by this response code?
Refer to the exhibit.
What is the value of the node defined by this YANG structure?
Refer to the exhibit.
The definition of the YANG module and a RESTCONF query sent to a Cisco IOc XE device is shown. Which statement is correct if the RESTCONF interface responds with a 204 status code?
Drag and drop the Docker file instructions from the onto correct descriptions on the right. Not all options are used.
Which response status code is used by a RESTful interface to indicate successful execution of a request?
How is a branch called "my-bug-fix" started to develop a fix needed in a product?
Drag and drop the network automation interfaces from the left onto the transport protocols that they support on the right. (Not all Options are used)
Fill in the blanks to complete the Bash script in which each file in a directory is renamed to Its SHA256 hash?
Which REST architectural constraint indicates that no client context should be stored on the server between requests?
Refer to the exhibit.
Drag and drop the code from the left code from the left onto the item number on the right to complete the Meraki code to obtain a list of client which have used this network.
Which mechanism is used to consume a RESTful API design when large amounts of data are returned?
Fill in the blanks to complete the python script to retrieve a list of network devices using the Cisco DNA center API.
In DNS, which record specifies an alias that refers to another name that ultimately resolves to an IP address?
Refer to the exhibit.
The output of a unified diff when comparing two versions of a python script is shown. Which two “single_request _timeout ()”
The project is migrated to a new codebase, the “old_project” directory must be deleted. The directory has multiple read-only files, and it must be deleted recursively without prompting for confirmation. Which bash command must be used?
Drag and drop the Dockerfile instructions from the left onto the descriptions on the right. Not at options are used.
Refer to the exhibit.
The Cisco Meraki API manages two organizations. In each organization, two independent networks are defined. How many calls to the /organizations/(orgid)networks endpoint will be run parallel by the GetAllNetwork function of the API client?
What is a requirement when authenticating a RESTCONF API session with a router that runs Cisco IOS XE Software?
In test-driven development, what are two of the green bar patterns? (Choose two.)
Refer to the exhibit.
A Python code has been written to query a device. The executed code results in the error shown. Which action resolves the problem?
A company is adopting DevOps as part of an internal transformation, and is reviewing the success of the first deployments. Developers and engineers are working together to resolve any resulting issues. However, this new way of working has increased overhead, and the team is finding it difficult to complete releases in time.
Which area of the CALMS framework must the company target for improvement?
A new application is being developed with specific platform requirements. The platform and application deployment and the ongoing platform management must be fully automated. The application includes a large database component that has significant disk I/O requirements. Which application deployment type meets the requirements?
Refer to the exhibit.
An engineer must configure a load balancer server. The engineer prepares a script to automate workflow by using Bash. The script install the nginx package, moves to the /optAtginx directory, and reads the sites M We (or further processing Based on the script workflow, which process is being automated within the loop by using the information mi sites txt?
Which platform is used to programmatically create a space and invite users for collaboration?
Which HTTP response code should be returned when the request is completed, but there is no content to send for the request?
Refer to the exhibit.
What do all the calls shown in the sequence diagram have in common?
Refer to the exhibit.
Which function does the EXPOSE line perform when building an image from this Dockerfile?
Drag and drop the types of management from the left onto the levels at which they are performed on the right.
Which protocol must be allowed on the firewall so that NTP services work properly?
Refer to the exhibit.
An engineer must check the admin rights of users on a database regularly and prepares
the Python script to automate the process. The script connects to the database and runs a query. What is a security issue about the secrets in the code that relates to secret protection?
Refer to the exhibit.
A network engineer must manage the network devices. The engineer prepares a Python scripts to authenticate to the Cisco to DNA Center API and request a device list. The device request fails and returns errors code 401. Which action solves the problem?
Drag and drop the code snippets from the bottom to the blanks in the code to complete the HTTP response. Not all options are used.
Which Cisco platform provides organization-wide automation, security, policy enforcement, any agility across wired and wireless networks?
Refer to the exhibit.
Which command, including arguments, is executed when the container starts?
Several teams at a company are developing a new CRM solution to track customer interactions with a goal of improving customer satisfaction and driving higher revenue. The proposed solution contains these components:
• MySQL database that stores data about customers
• HTML5 and JavaScript UI that runs on Apache
• REST API written in Python
What are two advantages of applying the MVC design pattern to the development of the solution? (Choose two.)
Refer to the exhibit.
A network engineer uses model-driven programmability to monitor and perform changes on the network. The network engineer decides to use the NETCONF RPC message to complete one of their tasks. What is accomplished by sending the RPC message?
While developing a real-Time VoIP application on a Cisco Webex platform, users report that their voice gets chopped or parts of the conversation drop out. Which network constraint is impacting the application?
A file that already exists in a local repository is updated. Which command must be executed to ensure that the changes in the file are included in the next Git commit?
Refer to the exhibit.
Which command needs to be placed on the box where the code is missing to output the value of page_jd in the Python 3.7 script?
A)
B)
C)
D)
Drag and drop the code snippets from the bottom to the blanks in the code to test the API response through the Python unittest library. Not all options are used.
A company wants to accelerate the adoption of technologies that will simplify its operations. Staff have different skill levels and are looking for a single site to find easy-to-consume beginner, intermediate, and advanced multidomain use cases. Which site should be used?
Drag and drop the code snippets from the bottom into the Python script to write API output to a csv file. Not all options are used.
A developer has created a new image to use in a Docker build and has added a tag for the image by using the command:
$ docker tag 84fe411926287 local/app:0.4
Which command must be executed next to build the Docker image using the tag?
Refer to the exhibit.
A Python script must delete all Cisco Catayst 9300 Series switches that have an uptime that is greater than 90 days The script must also query for the status of all the other devices Drag and drop the code from the bottom onto the bottom box the code is missing to complete the script Not at options are used
What is a functionality of the Waterfall method as compared to the Agile method for software development?
An engineer must configure Cisco Nexus devices and wants to automate this workflow. The engineer enables the Cisco NX-OS REST API to configure the devices by using an Ansible playbook. Before running the code,
which resource must be used to verify that the code works correctly?
What is a benefit of a model-driven approach for infrastructure automation?
Refer to the exhibit. Drag and drop the code snippets from the bottom onto the blanks in the code to construct a request to find the Cisco DNA Center switch count. Not all options are used.