Cisco ENAUTO 300-435 (Automating Cisco Enterprise Solutions) Exam-style mock test
Cisco ENAUTO 300-435 (Enterprise Automation) Practice Exams|Practice test
Full explanations
Exam format
Pass line 65%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Network Programmability Fundamentals
A B2B SaaS platform team is replacing manual CLI changes with an automation workflow. Instead of scripting each configuration step, engineers submit the intended end-state (VLANs, routing, interface roles) and let the system reconcile the devices to match. Which network programmability model does this approach represent?
・An imperative model, where each ordered command is sent to drive the device toward the result
Incorrect. The imperative model requires the operator to specify each ordered step, which is exactly what this team is moving away from in favor of end-state intent.
✓A declarative model, where the intended end-state is specified and the system reconciles it
Correct. A declarative model lets operators express the desired end-state and delegates the step-by-step reconciliation to the automation system.
・A procedural model, in which the exact sequence of operations is coded by the operator
Incorrect. A procedural (imperative-style) approach codes the explicit sequence of operations, contradicting the end-state-only submission described here.
・An event-driven model, in which configuration is triggered only by syslog state changes
Incorrect. An event-driven model reacts to triggers like syslog events rather than reconciling a submitted desired end-state.
Explanation
Declarative automation focuses on the desired end-state and lets the platform figure out how to achieve it, whereas imperative/procedural approaches require explicit ordered steps.
Example2 · Python & Automation Scripting
An engineer at a B2B SaaS company parses a JSON payload from a Catalyst switch and stores each interface as a dictionary inside a Python list named interfaces. To print only the names of interfaces whose admin_status equals "up", which snippet produces the correct result?
・for item in interfaces: print(item[name]) when item[admin_status] == up to filter the collection by value
Incorrect. The dictionary keys name, admin_status, and the value up are bare identifiers rather than quoted strings, so Python raises a NameError before any filtering occurs.
✓print([i["name"] for i in interfaces if i["admin_status"] == "up"]) using a list comprehension with a condition
Correct. A list comprehension iterates the list, indexes each dictionary with the quoted keys, and applies the == "up" condition, returning the matching interface names.
・print(interfaces.name) because the list exposes each contained dictionary key as a direct attribute reference
Incorrect. A Python list has no attribute named name, and dictionary values are reached with bracketed string keys rather than dotted attribute access.
・for i in interfaces: if i.admin_status is "up": print(i.name) accessing dictionary keys through dotted attributes
Incorrect. Dictionary values are not reachable through dotted attributes, and using is to compare strings tests identity rather than equality, which is unreliable here.
Explanation
JSON objects deserialize into Python dictionaries that are indexed with quoted string keys, and a list comprehension with an if clause is the idiomatic way to filter them.
Example3 · APIs: REST, NETCONF & RESTCONF
A developer at a B2B SaaS firm is integrating a dashboard with the REST API on a Catalyst switch and wants to understand the architectural model. Which statement best describes a defining characteristic of a REST API?
✓Each client request to the server must contain all information needed to process it, because the server keeps no client session state between requests.
Correct. REST is stateless, so each request must be self-contained and the server does not store client session state between calls.
・A persistent TCP tunnel is negotiated at login and reused so the server can track the client context across all subsequent calls.
Incorrect. REST does not maintain a persistent per-client tunnel or server-side session context; each HTTP request is independent.
・Requests are queued server-side and processed sequentially, with the server retaining the last known client state.
Incorrect. REST does not retain the last known client state server-side; statelessness is a core constraint of the model.
・The protocol encodes operations as remote procedure calls bound to a single fixed service endpoint URI.
Incorrect. Binding operations to a single fixed RPC endpoint describes an RPC style, not resource-oriented stateless REST.
Explanation
A core REST constraint is statelessness: every request carries all the context the server needs, with no stored session state.
Example4 · Cisco DNA Center & SD-WAN Automation
An automation engineer at a regional healthcare services firm must pull the full list of managed switches from Cisco DNA Center into a nightly compliance script. Which Intent API endpoint should the script call to retrieve the device inventory?
✓A GET request to /dna/intent/api/v1/network-device to obtain the managed device list
Correct. The GET /dna/intent/api/v1/network-device endpoint returns the inventory of all devices Cisco DNA Center currently manages, which is exactly what the compliance script needs.
・A POST request to /dna/intent/api/v1/network-device/sync to force an inventory refresh
Incorrect. The sync endpoint triggers a resync of device data rather than returning the inventory list, so it does not deliver the device records the script must read.
・A GET request to /dna/intent/api/v1/topology/physical to read all physical links
Incorrect. The physical topology endpoint returns nodes and links for topology visualization, not the structured per-device inventory the compliance task requires.
・A GET request to /dna/system/api/v1/auth/token to begin the authenticated session
Incorrect. The auth token endpoint only issues the X-Auth-Token used on later calls; it is a prerequisite step and returns no inventory data.
Explanation
Device inventory in Cisco DNA Center is exposed through the Intent API network-device resource using an HTTP GET, after authenticating to obtain a token.
Example5 · Model-Driven Telemetry & Tools (Ansible)
A network engineer at a healthcare services firm configures model-driven telemetry on an IOS XE router so it initiates a connection to the monitoring collector and streams interface counters. Which statement correctly describes this dial-out subscription model?
・The collector periodically polls the router using SNMP get-bulk requests on a timed interval
Incorrect. SNMP get-bulk polling is a legacy pull mechanism and is not how model-driven telemetry dial-out subscriptions deliver streamed data.
✓The router establishes the session to the collector and pushes data based on the subscription
Correct. In a dial-out (configured) subscription, the router (publisher) initiates the transport session to the collector and pushes telemetry data according to the subscription parameters.
・The router opens a session to the collector and waits for the collector to request each metric individually before sending
Incorrect. Dial-out telemetry pushes data per the subscription cadence; the collector does not request each metric individually after the session opens.
・The collector initiates the session to the router and then the router replies with the subscribed data
Incorrect. In dial-out the router, not the collector, initiates the transport session to the receiver.
Explanation
Model-driven telemetry dial-out subscriptions are configured on the device, which then initiates the transport to the collector and streams the subscribed data, replacing SNMP pull-based polling.
Example6 · Network Programmability Fundamentals
A healthcare services firm wants its automation team to describe the desired final state of each clinic switch configuration and let the tooling figure out the required steps, rather than scripting each command in sequence. Which programmability model matches this requirement?
・An imperative model, where the engineer scripts the exact ordered sequence of CLI commands that the device must execute to reach the result
Incorrect. Scripting the exact ordered sequence of commands is the imperative model, which focuses on how rather than the desired end state requested here.
✓A declarative model, where the engineer specifies the intended end state and the system determines how to achieve it
Correct. The declarative model lets the engineer define the intended end state while the tooling computes and applies the steps needed to reach it.
・A procedural model, where each clinic device is polled and then manually reconfigured by on-site technicians after review
Incorrect. A procedural manual polling and reconfiguration approach is not a programmability model and still requires technicians to perform the steps by hand.
・A reactive model, where configuration is only pushed in response to syslog alarms generated by the clinic switches
Incorrect. Pushing configuration only in response to syslog alarms describes an event-driven reaction, not a model for declaring the desired end state.
Explanation
Declarative automation describes the desired end state and delegates the implementation steps to the system, matching the firm's requirement.
Example7 · Network Programmability Fundamentals
The automation team at UrbanThread, a clothing retailer, wants each branch switch brought to a fully described end state without their tooling spelling out every individual CLI step to reach it. Which configuration model best fits this requirement?
・An imperative model, where the tooling issues an ordered sequence of commands that the device executes exactly as written
Incorrect. Issuing an ordered sequence of explicit commands is the imperative approach, which is exactly what the team wants to avoid.
✓A declarative model, where the tooling submits the intended end state and the system computes the steps
Correct. A declarative model expresses the desired end state and lets the platform determine how to achieve it, matching the requirement.
・A procedural model, where each change must be scripted as discrete low-level device operations in order
Incorrect. A procedural approach still requires scripting each low-level operation step by step, so it is not declarative.
・A stateful model, where the device records prior commands and replays them during the next reconciliation
Incorrect. There is no standard 'stateful replay' configuration model defined this way; it does not describe intent-based end-state configuration.
Explanation
Declarative models describe the desired end state and delegate the sequencing of changes to the system, while imperative and procedural models require explicit step-by-step instructions.
Example8 · Network Programmability Fundamentals
A UrbanThread engineer sends a POST to a controller REST API to create a new site object and receives HTTP status code 201 with a Location header. How should the engineer interpret this response?
・The request failed because the resource already exists and must be updated with PUT instead
Incorrect. A conflict with an existing resource would return 409, not 201.
✓The resource was created successfully and the new resource is referenced by the Location header
Correct. HTTP 201 Created indicates the resource was successfully created, and the Location header points to the new resource.
・The request was accepted for asynchronous processing but creation has not yet completed on the controller
Incorrect. Acceptance for later asynchronous processing is signaled by 202 Accepted, not 201.
・The server understood the request but is refusing it because the client lacks the required permissions
Incorrect. A permissions refusal is indicated by 403 Forbidden, not by a 201 success code.
Explanation
HTTP 201 is a success code meaning a new resource was created; the Location header carries the URI of that resource. Codes 202, 403, and 409 convey different meanings.
Example9 · Network Programmability Fundamentals
UrbanThread stores device inventory variables in human-edited files and wants a serialization format that relies on indentation, supports comments, and is easy for staff to edit by hand in their Ansible workflow. Which format should they choose?
・JSON, because it is compact, widely supported, and strictly enforces a bracketed structure across tools
Incorrect. JSON is machine-friendly but does not support comments and uses brackets rather than indentation, making hand-editing less convenient.
✓YAML, because it uses indentation, supports comments, and is convenient for humans to edit
Correct. YAML relies on indentation, allows inline comments, and is designed to be readable and editable by humans, which fits Ansible variable files.
・XML, because it uses explicit opening and closing tags that clearly delimit every nested element
Incorrect. XML uses verbose paired tags and does not match the lightweight, indentation-based editing the team wants.
・Protocol Buffers, because it provides a compact binary encoding with a strongly typed schema definition
Incorrect. Protocol Buffers is a compact binary format requiring a compiled schema, which is not human-editable text.
Explanation
YAML is the serialization format optimized for human readability with indentation and comments, which is why Ansible uses it for variables and playbooks.
Example10 · Network Programmability Fundamentals
An automation engineer at Meridian Capital is parsing a JSON payload returned by a Catalyst switch API to extract the list of configured VLANs. The payload contains an element "vlans" that holds several VLAN entries, each with an "id" and a "name". How should the engineer interpret the "vlans" element to retrieve every VLAN ID?
✓As a JSON array of objects, iterating each element and reading the object's "id" key
Correct. Multiple VLAN entries each containing "id" and "name" pairs represent a JSON array of objects, so the engineer iterates the array and reads the "id" key of each object.
・As a JSON string value that must be split on commas before any key lookup
Incorrect. A string value cannot hold structured "id" and "name" pairs, and comma-splitting discards the key/value structure that JSON provides.
・As a single JSON object whose keys are the VLAN IDs and whose values are names
Incorrect. The entries are distinct objects collected in a list, not a single object whose keys are the VLAN IDs themselves.
・As a JSON number collection that is accessed by using the VLAN name as the index
Incorrect. JSON has no number collection indexed by a text name; the structure described is an ordered array of objects.
Explanation
Repeated structured records in JSON are modeled as an array of objects; the correct retrieval pattern is to iterate the array and read a known key from each object.
Example11 · Network Programmability Fundamentals
A developer at Meridian Capital receives an XML response from a NETCONF-enabled router and needs to describe how the data is structured so a teammate can parse it. Which statement best characterizes how XML represents the configuration data in that response?
✓As a hierarchy of named elements where nesting and optional namespaces convey structure and context
Correct. XML encodes data as nested, named elements, and namespaces qualify element names so parsers resolve them unambiguously within the hierarchy.
・As indentation-based blocks where whitespace alone determines the parent-child relationships of nodes
Incorrect. Indentation-driven structure describes YAML, not XML, which relies on explicit opening and closing tags rather than whitespace.
・As comma-separated records with a header row defining each field in the configuration document
Incorrect. Comma-separated records with a header describe CSV, a flat format that cannot express the nested hierarchy of NETCONF data.
・As binary type-length-value frames that require a compiled schema to decode each field value
Incorrect. Binary type-length-value frames describe formats such as GPB, whereas XML is a text-based, tag-delimited encoding.
Explanation
XML is a text format built from nested named elements, optionally qualified by namespaces, which distinguishes it from indentation-based, flat, or binary encodings.
Example12 · Network Programmability Fundamentals
An automation engineer at a manufacturing distributor is scripting calls to a Cisco DNA Center REST API to pull device inventory for the warehouse switches. She needs the server to return the data in a structured format her Python script can parse with json.loads(). Which part of the HTTP request should she set to request a JSON response body?
・The Content-Type header, which tells the client how the returned payload is encoded
Incorrect. Content-Type describes the format of the body the client is SENDING, not the format it wants to receive in the response.
・The Authorization header, which carries the bearer token used to call the endpoint
Incorrect. The Authorization header supplies credentials such as a bearer token and has no bearing on the response media type.
✓The Accept header, which specifies the media type the client wants in the response
Correct. The Accept header tells the server the media type the client prefers, so setting Accept: application/json requests a JSON response body.
・The query string parameter format=json appended to the request URL path
Incorrect. A format query parameter is not the standardized content-negotiation mechanism in HTTP; content negotiation uses the Accept header.
Explanation
HTTP content negotiation is driven by the Accept request header, which signals the desired response media type; Content-Type describes the outgoing body instead.
Example13 · Network Programmability Fundamentals
A developer at a manufacturing distributor submits a software image upgrade task to Cisco DNA Center. The API immediately returns HTTP 202 with a taskId instead of the final result, and the script must poll a status endpoint until the upgrade finishes. Which characteristic of the API does this behavior demonstrate?
・It is a synchronous API that blocks the client until the upgrade completes
Incorrect. A synchronous API would hold the connection open and return the completed result directly, not a task reference to poll.
✓It is an asynchronous API that returns a task reference the client polls later
Correct. Returning 202 Accepted with a taskId that the client must poll is the defining behavior of an asynchronous API.
・It is a webhook that pushes an event to the client once the upgrade is finished
Incorrect. A webhook would require the client to expose an endpoint for the server to call back, not poll a status resource.
・It is a streaming telemetry API that continuously sends upgrade progress data
Incorrect. Streaming telemetry pushes continuous data over a subscription and is unrelated to a one-time task completion pattern.
Explanation
Asynchronous APIs acknowledge the request immediately (often HTTP 202 with a task identifier) and require the client to poll for completion, decoupling the response from the work.
Example14 · Network Programmability Fundamentals
A telecom operator's NOC team is building an automation workflow that parses the running configuration returned by a northbound REST API on their core routers. The returned payload uses curly braces and key-value pairs with nested arrays, and it is widely supported by lightweight scripting libraries. Which data format is the NOC most likely consuming?
・YAML, a human-friendly serialization format that relies on indentation and whitespace to express the hierarchy of configuration blocks
Incorrect. YAML uses indentation and whitespace rather than curly braces, so it does not match the described brace-and-key-value payload.
✓JSON, a lightweight text format using braces and key-value pairs that is natively parsed by most scripting language libraries
Correct. JSON uses curly braces, key-value pairs, and nested arrays, and it is natively supported by most scripting libraries, matching the description exactly.
・XML, a markup format that wraps every data element in opening and closing tags and is common in NETCONF payloads
Incorrect. XML wraps elements in paired tags and is typical of NETCONF, not a brace-based key-value structure as described.
・CSV, a flat tabular format that separates fields with commas and is used mostly for spreadsheet-style exports
Incorrect. CSV is a flat comma-delimited tabular format without braces or nested arrays, so it cannot represent the hierarchy described.
Explanation
The curly braces, key-value pairs, nested arrays, and broad scripting-library support are the signature characteristics of JSON.
Example15 · Network Programmability Fundamentals
A telecom operator's automation engineer is reviewing a configuration file for an Ansible-based provisioning job. The file has no braces or angle brackets, uses two-space indentation to express nesting, and begins list items with a hyphen. What should the engineer conclude about the file's data format and why it was chosen?
・It is XML, selected because its strict tag-based structure is validated against a schema before the provisioning run
Incorrect. XML relies on angle-bracket tags, which the file explicitly lacks, so it cannot be XML.
・It is JSON, selected because scripting languages can deserialize its braces directly into native objects at runtime
Incorrect. JSON requires curly braces, which the described file does not use, ruling it out.
✓It is YAML, chosen because its indentation-based, human-readable syntax is convenient for editing automation inventory and playbooks
Correct. The absence of braces or tags, indentation-based nesting, and hyphenated list items are hallmarks of YAML, which is favored for readable Ansible inventories and playbooks.
・It is INI, chosen because its simple section headers in square brackets map cleanly to device groups
Incorrect. INI uses square-bracket section headers rather than indentation and hyphenated lists, so it does not fit the description.
Explanation
Indentation-based nesting and hyphen-prefixed list items with no braces or tags identify YAML, the format Ansible uses for its human-editable playbooks and inventories.
▶ Try 10 free questions (graded)