DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Success Secrets: CCNA 200-901 Exam Questions & Mock Tests, Cisco Certified DevNet Associate | SPOTO

Unlock the secrets to success in the CCNA CCNA 200-901 DEVASC exam with our comprehensive collection of exam questions and mock tests. Our curated resources cover all essential topics, including Software Development and Design, Understanding and Using APIs, and Cisco Platforms and Development. Access our exam materials, including sample questions and exam dumps, to reinforce your understanding and prepare effectively. Practice with our mock exams and exam simulator to simulate real exam conditions and enhance your exam practice. Whether you need exam answers or online exam questions, SPOTO provides tailored resources to support your exam preparation journey. With our high-quality practice tests and study materials, you'll be well-equipped to ace your exam and earn your coveted DevNet Associate certification.

Take other online exams

Question #1
What is the Git command to delete a local branch named “experiment” without a warning?
A. git branch –rm experiment
B. git branch –n experiment
C. git branch –f experiment
D. git branch –D experiment
View answer
Correct Answer: DE
Question #2
A company has written a script that creates a log bundle from the Cisco DNA Center every day. The script runs without error and the log bundles are produced. However, when the script is run during business hours, people report poor voice quality of phone calls. What explains this behavior?
A. The script is written in a low-level programming language where there is no memory safety
B. The speed and duplex settings in Cisco DNA Center are set incorrectly, which causes the transfer to be too slow
C. The application is running in the Voice VLAN and causes delays and jitter in the subnet
D. Generating the logs causes the CPU on the network controller to spike, which causes delays in forwarding the voice IP packets
View answer
Correct Answer: S
Question #3
A REST API returns this JSON output for a GET HTTP request, which has been assigned to a variable called “vegetables”. Using Python, which output is the result of this command? print(filter(lambda 1: 1[ ‘type’ ] == ‘fruit’, vegetables) [0][‘items’][0][‘items’][0])
A. {‘color’: ‘green’, ‘items’: [‘kiwi’, ‘grape’]}
B. [‘kiwi’, ‘grape’]
C. lettuce
D. kiwi
View answer
Correct Answer: AB
Question #4
Which two statements about JSON and XML are true? (Choose two.)
A. The syntax of JSON contains tags, elements, and attributes
B. XML objects are collections of key-value pairs
C. JSON objects are collections of key-value pairs
D. JSON arrays are an unordered set of key-value pairs
E. The syntax of XML contains tags, elements, and attributes
View answer
Correct Answer: A
Question #5
Which two statements describe the advantages of using a version control system? (Choose two.)
A. It allows for branching and merging so that different tasks are worked on in isolation before they are merged into a feature or master branch
B. It provides tooling to automate application builds and infrastructure provisioning
C. It allows multiple engineers to work against the same code and configuration files and mange differences and conflicts
D. It provides a system to track User Stories and allocate to backlogs
E. It allows developers to write effective unit tests
View answer
Correct Answer: AD
Question #6
Which Python data structure does my_json contain?
A. map
B. list
C. json
D. dict
View answer
Correct Answer: C
Question #7
Which two NETCONF operations cover the RESTCONF GET operation? (Choose two.)
A.
B.
C.
D.
E.
View answer
Correct Answer: S
Question #8
Which function does a router provide to a network?
A. roadcast domain segmentation
B. nique host on a Layer 3 network
C. nique hardware address for every node on a LAN
D. roadcast domain extension
View answer
Correct Answer: B
Question #9
What are two characteristics of Bare Metal environments that are related to application deployment? (Choose two.)
A. specifically designed for container-based workloads
B. suitable for legacy applications that do not support virtualization
C. provides workloads with access to hardware features
D. not compatible with other cloud services such as PaaS or SaaS offerings
E. provides the hypervisor to host virtual servers
View answer
Correct Answer: AC
Question #10
What is the effect of this Ansible playbook on an IOS router?
A. A new running configuration is pushed to the IOS router
B. The start-up configuration of the IOS router is copied to a local folder
C. The current running configuration of the IOS router is backed up
D. A new start-up configuration is copied to the IOS router
View answer
Correct Answer: S
Question #11
Refer to the exhibit.The JSON data in the exhibit has been parsed and stored into a variable data. What returns the value 172.16.0.11?
A. data[‘items’][‘host’][‘value’]
B. data[‘items’][1][‘host’][‘value’]
C. data[‘items’][0][‘host’][‘value’]
D. data[‘items’][‘host’][1]
View answer
Correct Answer: C
Question #12
A developer is troubleshooting an API with the given API documentation and cURL command. What is the cause of this problem?
A. The authorization header is missing or incomplete
B. The request body is missing or incomplete
C. The API token specified is expired
D. The user is not allowed to post messages from their account
View answer
Correct Answer: AB
Question #13
A developer must test the performance and reliability of an application. After functional and load tests are run, the application crashes due to traffic spikes from users. Which type of API constraint must be implemented to maintain reliability?
A. ate limiting
B. agination
C. ayload limits
D. iltering
View answer
Correct Answer: A
Question #14
What is the action of the Bash script that is shown?
A. For all directories in the current folder, the script goes into the directory and makes a new directory
B. The script waits until input is entered
C. The script waits until input is entered, then it goes into the directory entered and creates a new directory with the same name
D. The script goes into the directory called “$ndir” and makes a new directory called “$ndir”
View answer
Correct Answer: D
Question #15
When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?
A. YANG
B. YAML
C. XML
D. x-form-encoding
View answer
Correct Answer: B
Question #16
The definition of the YANG module and a RESTCONF query sent to a Cisco IOS XE device is shown. Which statement is correct if the RESTCONF interface responds with a 204 status code?
A. The query retrieved the logging severity level
B. The query updated the logging severity level or created it if not present on the device
C. The query failed at retrieving the logging severity level
D. The query failed to set the logging severity level due to an invalid path
View answer
Correct Answer: A
Question #17
A process on the host wants to access the service running inside this Docker container. Which port is used to make a connection?
A. only outbound connections between 3000 and 5000 are possible
B. port 3000
C. any port between 3000 and 5000
D. port 5000
View answer
Correct Answer: B
Question #18
An administrator attempts to perform a GET using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram illustrates the HTTP messages observed. Which change to the API request resolves the issue?
A. Remove the –H ‘Accept: application/yang-data+json’ HTTP header because it is not required
B. Use –u cisco:cisco instead of –u ‘cisco:cisco’
C. Change the request method from –X “GET” to –X “POST”
D. Add Content-Type HTTP header with ‘application/yang-data+json’ using –H ‘Content-Type: application/yang-data+json’
View answer
Correct Answer: S
Question #19
Which mechanism is used to consume a RESTful API design when large amounts of data are returned?
A. data sets
B. scrolling
C. pagination
D. blobs
View answer
Correct Answer: S
Question #20
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?
A. Refactor the code by removing any unnecessary tests
B. Reverse engineer and rewrite the code logic
C. Using functions, rewrite any pieces of code that are repeated
D. Modify the code to use loops
View answer
Correct Answer: C
Question #21
Which two encoding formats do YANG interfaces support? (Choose two.)
A. XML
B. JSON
C. XHTML
D. BER
E. plain text
View answer
Correct Answer: S
Question #22
Which two statements about the network diagram are true? (Choose two.)
A. The subnet address of PC-B has 18 bits dedicated to the network portion
B. One of the routers has two connected serial interfaces
C. R1 and R3 are in the same subnet
D. PC-A and PC-B are in the same subnet
E. The subnet of PC-C can contain 256 hosts
View answer
Correct Answer: AC
Question #23
Which tool provides a testing environment to run tests on network devices and perform network automation scenarios?
A. isual Studio Code
B. isco VIRL
C. yATS
D. isco Packet Tracer
View answer
Correct Answer: B
Question #24
What is represented in this YANG module?
A. interface
B. BGP
C. OpenFlow
D. topology
View answer
Correct Answer: S
Question #25
What is the function of the Python script?
A. Loop through the returned of network devices and, for each device, print the device name and management IP address
B. Count and print the total number of available devices
C. For each device that is returned, display the device type and associated management IP address
D. Iterate over a list of network devices and write all device names and management IP addresses to an output file
View answer
Correct Answer: A
Question #26
What does the Python function do?
A. It returns HTTP Basic Authentication
B. It returns DNAC user and password
C. It reads a token from a local JSON file and posts the token to the DNAC URL
D. It returns an authorization token
View answer
Correct Answer: D
Question #27
A developer has experienced security issues with a previously developed application. The API offered by that application is open and without any constraints. During a recent attack, the application was overloaded with API requests. To address this issue, an API constraint is implemented to protect the application from future attacks or any sudden throttling. Which API constraint must the application developer implement in this situation?
A. agination
B. ate limiting
C. iltering
D. ayload limiting
View answer
Correct Answer: B
Question #28
The Python interpreter and the Cisco Python SDK are available by default in the Cisco NX-OS Software. The SDK documentation shows how the clid() API can be used when working with JSON and XML. What are two effects of running the script? (Choose two.)
A. configure interface loopback 5
B. show details for the TABLE interface
C. issue shutdown on interface loopback 5
D. show only the interfaces in the up status
E. show only the interfaces in admin shut status
View answer
Correct Answer: B
Question #29
Package updates from a local server fail to download. However, the same updates work when a much slower external repository is used. Why are local updates failing?
A. The server is running out of disk space
B. The internet connection is too slow
C. The Internet is down at the moment, which causes the local server to not be able to respond
D. The update utility is trying to use a proxy to access the internal resource
View answer
Correct Answer: AB
Question #30
Which two statements describe the configuration of the switch after the Ansible script is run? (Choose two.)
A. Traffic from ports 0/2 to 0/5 can flow on port 0/1 due to the trunk
B. GigabitEthernet0/1 is left unconfigured
C. GigabitEthernet0/2 and GigabitEthernet0/3 are access ports for VLAN 6
D. Traffic can flow between ports 0/2 to 0/5 due to the trunk on port 0/1
E. Traffic on ports 0/2 and 0/3 is connected to port 0/6
View answer
Correct Answer: A
Question #31
What caused the error in this API request?
A. The API resource does not support the POST operation
B. The submitted JSON payload has a formatting issue
C. The API resource does not support JSON format payloads
D. The submitted JSON payload includes a field that is not supported by the API resource
View answer
Correct Answer: S
Question #32
Which statement about authenticating a RESTCONF API session with a router that runs Cisco IOS XE Software is true?
A. No authentication is required
B. OAuth must be used
C. A token must be retrieved and the associated string must be embedded in the X-Auth- Token header
D. Basic authentication must be used
View answer
Correct Answer: A
Question #33
Refer to the exhibit. An administrator attempts to perform a GET operation by using the Cisco IOS XE RESTCONF API to return the hostname of a device. The sequence diagram in the exhibit illustrates the HTTP messages observed. Which change to the API request resolves the issue?
A. emove the -H 'Accept: application/yang-data+json' header
B. eplace -u cisco:cisco parameter with -u 'cisco:cisco'
C. hange the request method from -X 'GET' to -X 'POST'
D. dd the -H 'Content-Type: application/yang-data+json' header
View answer
Correct Answer: B

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number: