200-901 Sample Questions & Answers
Building and consuming REST APIs plus model-driven automation are weighted heaviest, alongside data formats, test-driven development practices, Cisco-platform SDKs written in Python, cloud-based deployment models, and core concepts like MAC and IP addressing.
Launch the full 200-901 simulator →Free 200-901 Sample Questions with Answers
Real questions from the CCNA Automation (DevNet Associate) practice test — answers and explanations included. Showing 8 of 17 free samples.
- Question 1Select 2
Which of the following Cisco UCS elements can be XML or JSON-encoded and require an API key pair for HTTP header and a cookie for authentication? (Choose two).
Show answer & explanation
Correct answers: A, C
UCS Manager and UCS Director both support XML or JSON-encoded API requests and require API key pairs in HTTP headers plus cookie-based authentication for secure API access. These Cisco UCS management platforms provide RESTful APIs that can handle both XML and JSON data formats for programmatic configuration and monitoring. The other options are incorrect because Cisco Intersight uses different authentication methods, Insight Director is not a UCS component, and Cisco Manager APIs is not a specific UCS element. Reference: https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-director/rest-api-getting-started-guide/6-5/cisco-ucs-director-REST-API-getting-started-65.html
UCS Manager and UCS Director both support XML or JSON-encoded API requests and require API key pairs in HTTP headers plus cookie-based authentication for secure API access. These Cisco UCS management platforms provide RESTful APIs that can handle both XML and JSON data formats for programmatic configuration and monitoring. The other options are incorrect because Cisco Intersight uses different authentication methods, Insight Director is not a UCS component, and Cisco Manager APIs is not a specific UCS element. Reference: https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-director/rest-api-getting-started-guide/6-5/cisco-ucs-director-REST-API-getting-started-65.html
- Question 2
During the session conflict of the global lock, which NETCONF command can clear non- responsive sessions?
Show answer & explanation
Correct answer: C
The "clear NETCONF-yang session" command can clear non-responsive NETCONF sessions during global lock conflicts. This command terminates stale NETCONF sessions that may be holding locks and preventing other sessions from accessing the configuration datastore. The other options are incorrect because "show NETCONF-yang clear" is not a valid command syntax, and "clear NETCONF-session" is not the correct command format for clearing YANG-specific sessions. Reference: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/168/b_168_programmability_cg/NETCONG_YANG.html
- Question 3
Which of the following statement is true about Cisco Firewall?
Show answer & explanation
Correct answer: A
A Cisco Firewall is a system that controls and monitors incoming and outgoing network traffic based on configured security rules and policies. It acts as a barrier between trusted internal networks and untrusted external networks, filtering traffic based on predetermined security rules, port numbers, protocols, and IP addresses. Other firewall descriptions would be incorrect if they did not emphasize the traffic control and monitoring aspects based on security configurations.
- Question 4
See below:
import json
with open("json_ios_xe_interfaces.json", "r") as json_file:
json_file_content = json_file.read()
decoded_json = json.loads(json_file_content)
print(decoded_json)
print()
print(type(decoded_json))
Which line of code opens file for read-only access?
Show answer & explanation
Correct answer: C
Line #3 contains the error in the JSON parsing code. The issue is with the file opening syntax - the code should use "json_ios_xe_interfaces.json" as a string filename, but there may be a syntax error in how the file is being opened or the filename is specified. When parsing JSON data in Python, proper file handling and valid JSON structure are critical for successful decoding. The other lines show standard JSON loading operations that appear syntactically correct. Reference: https://fastreroute.com/interpret-json-encoded-data/
- Question 5Select 2
In Cisco, which of the following media types are supported by +restconf API resource? (Choose two).
Show answer & explanation
Correct answers: A, F
RESTCONF API resources support Application/YANG-Data+JSON and RESTCONF root media types for data exchange. Application/YANG-Data+JSON is the standard media type for JSON-encoded YANG data model content, while RESTCONF root provides the discovery mechanism for available resources. The other options are incorrect because Application/YANG-Data without the +JSON suffix is incomplete, GET/HEAD method refers to HTTP methods not media types, RESCONF datastore is not a media type, and RESTCONF Operation refers to operational procedures rather than supported media types. Reference: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg/restconf_prog_int.pdf
RESTCONF API resources support Application/YANG-Data+JSON and RESTCONF root media types for data exchange. Application/YANG-Data+JSON is the standard media type for JSON-encoded YANG data model content, while RESTCONF root provides the discovery mechanism for available resources. The other options are incorrect because Application/YANG-Data without the +JSON suffix is incomplete, GET/HEAD method refers to HTTP methods not media types, RESCONF datastore is not a media type, and RESTCONF Operation refers to operational procedures rather than supported media types. Reference: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg/restconf_prog_int.pdf
- Question 6
Which of the following principle is used when organizing cross-functional teams and automating the infrastructure rather than documenting it?
Show answer & explanation
Correct answer: B
The foundational principles of DevOps emphasize organizing cross-functional teams and automating infrastructure rather than relying on extensive documentation. DevOps principles focus on collaboration between development and operations teams, infrastructure as code, continuous integration/continuous deployment, and automation to reduce manual processes and human error. This approach prioritizes working software and automated systems over comprehensive documentation, aligning with agile methodologies and modern software development practices.
- Question 7
Which DNS record indicates that a DNS zone is assigned to a specific authoritative name server along with the address of the name server.ord?
Show answer & explanation
Correct answer: D
An NS (Name Server) record indicates that a DNS zone is assigned to a specific authoritative name server and contains the address of that name server. NS records specify which DNS servers are authoritative for a particular domain or subdomain, enabling proper DNS delegation and resolution. The other DNS record types serve different purposes: A records map hostnames to IP addresses, CNAME records create aliases, MX records specify mail servers, and PTR records provide reverse DNS lookups. Reference: https://ns1.com/resources/dns-types-records-servers-and-queries
- Question 8Intermediate
Software Development and Design · Identify the advantages of common design patterns (MVC and Observer)
A senior developer is refactoring a monolithic application into microservices. During the process, they decide to implement the Observer design pattern to handle state changes across the new modules. Which scenario best illustrates the practical application of this pattern in a Python-based automation script?
classDiagram class Subject { +attach(observer) +detach(observer) +notify() } class Observer { +update() } Subject --> Observer : notifiesShow answer & explanation
Correct answer: B
The Observer pattern defines a one-to-many dependency between objects so that when one object changes state (the subject, e.g., NetworkDevice), all its dependents (observers, e.g., Logger, EmailAlerter) are notified and updated automatically. This decouples the core logic from the event handling logic.
Ready for the real thing?
The full 200-901 simulator has every exam-style question, timed mode, and instant scoring.