View Full Cisco CCNP 300-435 Exam Dumps and Practice Test Dumps
Question 281.
Which Cisco automation tool provides device state snapshots?
- pyATS
- Postman
- Git
- Docker
Correct Answer: 1
Explanation:
Cisco pyATS supports automated testing and structured network state analysis. Its ecosystem can collect information from network devices and use that information during validation workflows. State snapshots are useful when automation needs to establish a baseline and compare it with a later device condition. Postman is primarily used for API testing, Git manages source code, and Docker provides containerization. In network automation, state-based testing helps verify whether configuration changes produced the expected operational behavior without depending entirely on manual inspection.
Question 282.
Which REST constraint emphasizes stateless client requests?
- Layered system
- Statelessness
- Cacheable responses
- Uniform interface
Correct Answer: 2
Explanation:
REST statelessness means each client request contains the information necessary for the server to process it without relying on stored client-session context from previous requests. This design can simplify scaling because requests can generally be handled independently by available server resources. Other REST constraints include a uniform interface, cacheability, layered systems, and optional code-on-demand. For network automation, stateless API interactions can make workflows easier to distribute and retry when each request carries the required authentication and resource information.
Question 283.
Which YANG node holds a single scalar value?
- container
- list
- leaf
- choice
Correct Answer: 3
Explanation:
A YANG leaf represents a single scalar data value. Examples can include an interface description, administrative state, hostname, or numerical configuration parameter. The leaf’s type defines what kind of value it can contain, while additional YANG statements can establish constraints or defaults. A container groups related nodes, a list represents repeated structured entries, and a choice defines alternatives. Understanding the distinction between these node types helps automation developers construct accurate paths and payloads when interacting with model-driven network interfaces.
Question 284.
Which Ansible keyword limits execution based on a condition?
- block
- when
- loop
- vars
Correct Answer: 2
Explanation:
The Ansible when keyword applies conditional execution to tasks, blocks, or other supported constructs. Automation can use conditions to determine whether a configuration operation should run based on variables, gathered facts, device characteristics, or previous task results. This is particularly useful in heterogeneous environments where different platforms require different actions. block groups tasks, loop repeats operations, and vars defines variables. Conditional execution helps prevent inappropriate commands or configurations from being applied to devices that do not meet the required criteria.
Question 285.
Which API testing tool can send requests without custom coding?
- Postman
- Terraform
- pyATS
- Netmiko
Correct Answer: 1
Explanation:
Postman provides a graphical environment for constructing and sending HTTP API requests without requiring a complete custom application. It can be used to specify URLs, methods, headers, authentication, parameters, and request bodies while examining responses. This makes it useful for exploring an API before integrating it into Python or other automation code. Terraform focuses on infrastructure provisioning, pyATS supports automated network testing, and Netmiko provides programmatic device CLI connectivity. API testing tools can accelerate troubleshooting and endpoint validation during development.
Question 286.
Which gNMI RPC changes device configuration data?
- Get
- Set
- Subscribe
- Capabilities
Correct Answer: 2
Explanation:
The gNMI Set RPC is used to modify supported configuration or state data on a target. A Set request can contain operations such as update or replace, depending on the implementation and data model. Get retrieves information, Subscribe establishes telemetry subscriptions, and Capabilities reports supported models and protocol capabilities. Automation applications should construct gNMI paths and values according to the target’s supported schema. Correct use of Set allows configuration workflows to move beyond CLI-driven changes toward structured model-based operations.
Question 287.
Which Python object stores key-value mappings?
- Dictionary
- Tuple
- Range
- Bytes
Correct Answer: 1
Explanation:
A Python dictionary stores data as key-value pairs. This makes dictionaries particularly useful in network automation for representing device attributes, API responses, configuration parameters, and structured operational information. A key provides access to its associated value, allowing scripts to retrieve information efficiently. Tuples store ordered immutable sequences, range objects represent arithmetic progressions, and bytes objects contain binary data. Dictionaries are especially important when processing JSON because JSON objects are naturally represented as Python dictionaries after decoding.
Question 288.
Which Git practice isolates work for a feature?
- Merge
- Branching
- Tagging
- Cloning
Correct Answer: 2
Explanation:
Git branching creates an independent line of development where a feature or change can be developed without directly modifying the main development branch. In network automation projects, branches can contain new scripts, templates, tests, or API integrations while existing automation remains stable. Merge operations integrate completed changes, tags identify particular repository states, and cloning creates a local repository copy. Branch-based workflows support code review and testing before automation changes are integrated into a shared release branch.
Question 289.
Which HTTP method is generally used to remove a resource?
- PUT
- GET
- DELETE
- CONNECT
Correct Answer: 3
Explanation:
The HTTP DELETE method is generally used to request removal of a specified resource. In network automation, an API might use DELETE to remove a managed object such as a policy, configuration entity, or inventory record. The actual behavior depends on the API’s documented semantics and authorization requirements. GET retrieves resources, PUT commonly replaces a resource representation, and CONNECT establishes a tunnel in HTTP contexts. Automation scripts should verify the returned status and handle failures rather than assuming that every DELETE request succeeds.
Question 290.
Which Python library enables SSH-based network CLI automation?
- Netmiko
- NumPy
- Pandas
- BeautifulSoup
Correct Answer: 1
Explanation:
Netmiko is a Python library designed to simplify SSH-based interaction with network devices. It supports connections to many network-device platforms and provides methods for sending commands and retrieving output. This makes it useful when structured APIs or model-driven protocols are unavailable or when a workflow specifically requires CLI interaction. NumPy focuses on numerical computing, Pandas provides data-analysis structures, and BeautifulSoup parses HTML or XML documents. Netmiko-based automation should still incorporate appropriate authentication, timeout, error-handling, and credential-protection practices.
Question 291.
Which NETCONF operation releases a datastore lock?
- unlock
- close-session
- kill-session
- commit
Correct Answer: 1
Explanation:
The NETCONF unlock operation releases a lock previously acquired on a supported datastore. Locking helps prevent conflicting configuration changes when multiple clients could otherwise modify the same datastore simultaneously. Automation workflows should release locks appropriately after completing their protected operations, including suitable handling for failure scenarios. close-session terminates the current NETCONF session, kill-session terminates another session under applicable permissions, and commit applies staged changes. Proper lock management helps prevent unnecessary configuration contention between automation processes.
Question 292.
Which Ansible feature encrypts sensitive variables?
- Vault
- Facts
- Roles
- Callbacks
Correct Answer: 1
Explanation:
Ansible Vault provides encryption for sensitive data such as passwords, tokens, and other protected variables stored with automation content. This allows sensitive information to remain encrypted rather than being kept as ordinary readable text in source-control repositories. Facts provide information gathered from managed systems, roles organize reusable automation components, and callbacks affect output or execution reporting. Vault should be combined with secure access controls and appropriate key-management practices. Encrypting secrets reduces the risk of accidental exposure through project files or version-control systems.
Question 293.
Which Cisco API resource represents managed network devices?
- Device inventory
- Template catalog
- Task history
- Event stream
Correct Answer: 1
Explanation:
Device inventory represents managed network devices within controller-based management platforms such as Cisco DNA Center. Automation can query inventory information to discover devices, identifiers, software details, reachability, and other supported attributes. This information can then be used to select targets for provisioning, configuration, or validation workflows. Template catalogs contain reusable configuration templates, task history records automation activities, and event streams deliver notifications. Inventory data therefore provides an important foundation for identifying and organizing automation targets.
Question 294.
Which HTTP status indicates an asynchronous request was accepted?
- 200
- 201
- 202
- 206
Correct Answer: 3
Explanation:
HTTP status 202 Accepted indicates that a request has been accepted for processing but the processing may not have completed yet. Controller APIs may return this status when an operation is handled asynchronously as a background task. An automation application should not automatically interpret 202 as proof that the requested operation has finished successfully. It may need to monitor a task resource or use another documented mechanism to determine completion. Status 200 represents successful processing, 201 indicates creation, and 206 represents partial content.
Question 295.
Which Ansible construct repeats a task over multiple values?
- become
- loop
- notify
- gather_facts
Correct Answer: 2
Explanation:
The Ansible loop construct allows a task to execute repeatedly for multiple values. This is useful when automation needs to apply the same operation to several interfaces, VLANs, users, routes, or other items. The task can reference the current loop value during each iteration. become controls privilege escalation, notify triggers handlers, and gather_facts controls fact collection behavior. Loops reduce repetitive task definitions and make playbooks easier to maintain when the same operation must be applied to a variable-sized collection.
Question 296.
Which telemetry approach sends data when values change?
- On-change telemetry
- Periodic polling
- Manual collection
- Batch export
Correct Answer: 1
Explanation:
On-change telemetry sends updates when the monitored value changes rather than transmitting the same value at every fixed interval. This can reduce unnecessary data transmission for metrics that remain stable for long periods. It can be useful for monitoring configuration or operational attributes where changes are more significant than repeated identical readings. Periodic polling retrieves values according to a schedule, manual collection depends on an operator or separate process, and batch export generally delivers accumulated information. The appropriate telemetry mode depends on the monitoring requirement and platform support.
Question 297.
Which HTTP mechanism enables conditional updates using resource versions?
- ETag
- Cookie
- Accept
- Host
Correct Answer: 1
Explanation:
An HTTP ETag identifies a particular representation of a resource. Clients can use it with conditional request headers such as If-Match to help ensure that an update is applied only when the resource has not changed since the client last retrieved it. This supports optimistic concurrency and can prevent stale automation data from overwriting newer changes. Cookies maintain state-related information in web interactions, Accept describes preferred response media types, and Host identifies the requested server authority. ETags can therefore improve safe API update workflows.
Question 298.
Which Cisco automation capability provisions configuration during onboarding?
- Plug and Play
- Software Image Management
- Assurance
- Application Hosting
Correct Answer: 1
Explanation:
Cisco Plug and Play supports automated device onboarding and provisioning. During deployment, supported devices can obtain the information required to contact a provisioning service and receive appropriate configuration with limited manual intervention. This can simplify large-scale rollout of switches, routers, and other supported infrastructure. Software Image Management focuses on software versions, Assurance provides operational visibility, and Application Hosting concerns running applications on supported infrastructure. PnP is therefore directly associated with reducing manual effort during the initial device deployment lifecycle.
Question 299.
Which Python method converts JSON text into native objects?
- json.loads()
- json.dumps()
- json.dump()
- json.load()
Correct Answer: 1
Explanation:
Python’s json.loads() function parses a JSON-formatted string and converts it into corresponding Python objects such as dictionaries, lists, strings, numbers, and Boolean values. This is commonly required when an automation application receives JSON data as text and needs to process its contents. json.dumps() converts Python objects into a JSON string, while json.load() and json.dump() work with file-like objects. Correct JSON serialization and deserialization are fundamental when integrating Python automation with REST APIs.
Question 300.
Which deployment strategy first tests changes in a limited environment?
- Canary deployment
- Full rollout
- Emergency deployment
- Direct replacement
Correct Answer: 1
Explanation:
A canary deployment introduces a change to a limited subset of the environment before broader deployment. In network automation, this approach can reduce risk by allowing teams to validate configuration, software, or automation behavior on selected devices first. Observed results can then inform whether the rollout should continue. A full rollout applies changes broadly, while direct replacement and emergency deployment describe different deployment approaches rather than specifically emphasizing limited initial exposure. Canary strategies are particularly useful when changes could affect many production devices.