View Full Cisco CCNP 300-435 Exam Dumps and Practice Test Dumps
Question 241.
Which Cisco platform uses intent-based APIs for network automation?
- Cisco DNA Center
- Cisco Secure Client
- Cisco AnyConnect
- Cisco Jabber
Correct Answer: 1
Explanation:
Cisco DNA Center provides APIs that allow automation applications to interact with network management and intent-based capabilities programmatically. Automation workflows can use these APIs for activities such as retrieving inventory, deploying templates, managing software images, and interacting with assurance information. This reduces dependence on manual controller operations and allows external systems to integrate with network-management workflows. The other listed Cisco products serve endpoint security, remote-access, or collaboration purposes rather than acting as centralized intent-based network automation platforms.
Question 242.
Which Cisco API commonly manages Meraki dashboard resources?
- NETCONF
- Meraki REST API
- SCP
- SNMP traps
Correct Answer: 2
Explanation:
The Meraki REST API provides programmatic access to resources managed through the Meraki Dashboard. Automation scripts can use API endpoints to retrieve organizations, networks, devices, configurations, and other supported objects. This enables repetitive management operations to be integrated into applications and workflows. NETCONF is a model-driven network configuration protocol, SCP transfers files securely, and SNMP traps provide event notifications rather than serving as the primary Meraki Dashboard management API. Understanding the platform-specific API is important when developing controller-based automation.
Question 243.
Which YANG construct represents mutually exclusive configuration choices?
- container
- leaf-list
- choice
- grouping
Correct Answer: 3
Explanation:
The YANG choice statement defines a set of alternative configuration structures where only one applicable case is selected. Each alternative is represented by a case. This model is useful when a device configuration offers mutually exclusive ways to express a particular feature. A container groups related nodes, a leaf-list represents multiple scalar values, and a grouping defines reusable schema structures. Understanding YANG constructs helps automation developers interpret models accurately and construct valid configuration payloads for model-driven network interfaces.
Question 244.
Which gNMI subscription mode continuously streams updates?
- ONCE
- STREAM
- POLL
- SNAPSHOT
Correct Answer: 2
Explanation:
The gNMI STREAM subscription mode allows a client to receive ongoing telemetry updates from a target. This is useful when an automation or monitoring application needs continuing visibility into changing operational values such as counters, interface states, or system metrics. ONCE obtains a snapshot and ends the subscription, while POLL allows the client to request additional updates explicitly. SNAPSHOT is not a standard gNMI subscription mode. Selecting the appropriate subscription mode depends on whether the application needs continuous or controlled data collection.
Question 245.
Which Cisco feature automates initial device provisioning?
- Cisco Plug and Play
- Cisco Discovery Protocol
- Cisco StackWise
- Cisco EtherChannel
Correct Answer: 1
Explanation:
Cisco Plug and Play, commonly called PnP, automates aspects of initial network-device provisioning. A device can obtain information needed to contact the provisioning infrastructure and receive configuration without requiring extensive manual setup at the device console. This makes PnP useful for zero-touch or low-touch deployment scenarios. Cisco Discovery Protocol provides device-discovery information, StackWise supports switch stacking, and EtherChannel combines links. PnP therefore addresses the deployment and onboarding stage of a device lifecycle rather than normal packet forwarding.
Question 246.
Which NETCONF capability enables atomic configuration replacement?
- Candidate
- Validate
- Confirmed commit
- Rollback-on-error
Correct Answer: 3
Explanation:
NETCONF confirmed commit provides a mechanism for applying configuration changes provisionally and requiring confirmation within a specified period. If confirmation does not occur, supported implementations can revert the configuration. This is valuable for remote automation because an incorrect change can otherwise disrupt management connectivity. Candidate is a datastore, validate checks configuration according to supported validation mechanisms, and rollback-on-error controls behavior when errors occur during an edit operation. Confirmed commit adds a safeguard for potentially disruptive configuration deployments.
Question 247.
Which Cisco testing framework structures network device tests?
- pyATS
- pip
- Jinja2
- Flask
Correct Answer: 1
Explanation:
Cisco pyATS is a Python-based test automation framework designed for network testing. It supports structured test development and can work with Cisco network environments through associated tooling. Genie complements pyATS by providing reusable parsers, APIs, and device abstractions for network operations. pip manages Python package installation, Jinja2 provides templating capabilities, and Flask is a web framework. Using a dedicated testing framework allows network automation teams to validate device behavior systematically rather than relying only on manual CLI verification.
Question 248.
Which Genie component converts CLI output into structured data?
- Runner
- Parser
- Scheduler
- Transport
Correct Answer: 2
Explanation:
Genie parsers transform supported device command output into structured Python data. This allows automation code to access operational information programmatically rather than depending on fragile text searches. Structured results can then be used for validation, comparisons, decision-making, and automated reporting. A runner manages test execution, while scheduling and transport concepts address different aspects of automation infrastructure. Parsers are especially useful when automation must consume information from traditional CLI-based interfaces and convert it into predictable data structures.
Question 249.
Which format is commonly used for structured API configuration data?
- CSV
- YAML
- JSON
- Plain text
Correct Answer: 3
Explanation:
JSON is widely used to represent structured data exchanged through REST APIs. Its object and array structures map naturally to configuration attributes and collections returned by network controllers. Automation applications can serialize Python data into JSON for requests and deserialize API responses into usable programmatic structures. CSV is primarily tabular, YAML is another structured serialization format often used in configuration files, and plain text lacks a standardized hierarchical representation. The exact format supported depends on the API, but JSON is a common choice in controller-based network automation.
Question 250.
Which HTTP method partially modifies an existing resource?
- POST
- OPTIONS
- HEAD
- PATCH
Correct Answer: 4
Explanation:
The HTTP PATCH method is commonly used to apply partial modifications to an existing resource. In network automation, this can allow an application to update selected attributes without sending a complete resource representation. For example, an API might permit changing one property of a managed object while leaving other attributes untouched. POST is commonly associated with creation or action requests, OPTIONS describes supported communication options, and HEAD retrieves response metadata without the usual body. API semantics should always be verified against the specific service documentation.
Question 251.
Which Cisco API feature can deploy reusable configuration templates?
- DNA Center templates
- Syslog collectors
- DHCP leases
- ARP entries
Correct Answer: 1
Explanation:
Cisco DNA Center supports template-based configuration workflows through its automation capabilities. Templates allow organizations to define reusable configuration logic that can be applied consistently to selected devices or groups. Automation can integrate template deployment into larger provisioning and change-management workflows. Syslog collectors receive log information, DHCP leases represent address assignments, and ARP entries map network addresses to link-layer information. Template-based deployment helps reduce repetitive configuration work and supports more standardized device provisioning.
Question 252.
Which Python feature handles exceptions explicitly?
- match
- try
- class
- lambda
Correct Answer: 2
Explanation:
Python uses try together with exception-handling constructs such as except to manage operations that may fail. Network automation frequently encounters failures such as connection errors, invalid API responses, timeouts, or unexpected data. Structured exception handling allows a script to respond appropriately instead of terminating without useful recovery or reporting. match supports pattern matching, class defines classes, and lambda creates anonymous functions. Good exception handling should distinguish expected operational failures from programming errors and provide useful diagnostics.
Question 253.
Which API mechanism communicates that a client exceeded request limits?
- HTTP 429
- HTTP 301
- HTTP 204
- HTTP 304
Correct Answer: 1
Explanation:
HTTP status 429 Too Many Requests indicates that a client has sent too many requests within a defined period. Network automation systems interacting with controllers or cloud services may encounter this response when exceeding API rate limits. A resilient client can respond by slowing request generation and following documented retry guidance, potentially using server-provided timing information. Status 301 indicates redirection, 204 indicates successful processing without response content, and 304 indicates that a cached representation remains valid. Proper rate-limit handling improves automation reliability.
Question 254.
Which text-processing tool extracts fields using regular expressions?
- Jinja2
- TextFSM
- Docker
- GitLab
Correct Answer: 2
Explanation:
TextFSM is a text-parsing framework that uses templates to extract structured fields from semi-structured command-line output. It is useful when network devices provide operational information through CLI commands rather than structured APIs. Templates describe patterns that identify relevant fields and records, allowing automation programs to work with structured results. Jinja2 is primarily a templating engine, Docker provides containerization, and GitLab supports source-control and DevOps workflows. TextFSM can therefore help bridge traditional CLI interfaces with structured automation processing.
Question 255.
Which OpenConfig principle promotes vendor-neutral data models?
- Common schemas
- Proprietary commands
- Device macros
- Console menus
Correct Answer: 1
Explanation:
OpenConfig develops vendor-neutral YANG-based models intended to provide consistent representations of network configuration and operational data across supported platforms. Common schemas can help automation applications avoid creating completely different data structures for every vendor. This does not guarantee identical implementation behavior across all devices, because platform support and model coverage can vary. Proprietary commands, device macros, and console menus are more vendor- or interface-specific approaches. Vendor-neutral modeling is valuable for building automation workflows that can operate across heterogeneous network environments.
Question 256.
Which OAuth component represents permission granted to an application?
- Scope
- Cookie
- Session ID
- DNS record
Correct Answer: 1
Explanation:
In OAuth-based systems, scopes represent the permissions or access boundaries requested or granted to a client. An automation application may receive a token whose permitted scopes determine which resources or operations it can access. Limiting scopes supports the principle of least privilege by avoiding unnecessary permissions. Cookies can maintain web-session information, session IDs identify sessions in some authentication systems, and DNS records provide name-resolution information. The exact authorization flow varies by service, but scope is a fundamental concept for delegated API access.
Question 257.
Which Ansible feature can load hosts dynamically from external sources?
- Inventory plugin
- Vault password
- Handler block
- Jinja filter
Correct Answer: 1
Explanation:
Ansible inventory plugins can obtain host information from external or specialized inventory sources. This allows automation environments to build inventories dynamically rather than maintaining every device manually in a static file. Depending on the plugin, hosts and associated variables can come from cloud platforms, network-management systems, or other supported sources. Vault protects sensitive data, handlers perform event-triggered tasks, and Jinja filters transform template values. Dynamic inventory is particularly useful in environments where devices or infrastructure resources change frequently.
Question 258.
Which API practice reduces exposure of sensitive information in logs?
- Credential masking
- Packet mirroring
- Route summarization
- DNS caching
Correct Answer: 1
Explanation:
Credential masking prevents passwords, access tokens, API keys, and other sensitive values from appearing directly in application logs. Network automation systems often generate detailed execution records, making careless logging a potential source of credential exposure. Automation frameworks should provide redaction or masking mechanisms and developers should avoid printing complete authentication headers or secret variables during troubleshooting. Packet mirroring duplicates network traffic for analysis, route summarization reduces routing-table complexity, and DNS caching stores name-resolution results. Secure logging is an important part of automation security.
Question 259.
Which CI/CD stage commonly blocks deployment when tests fail?
- Quality gate
- DNS lookup
- Port scan
- Address lease
Correct Answer: 1
Explanation:
A quality gate can enforce conditions that must be satisfied before a CI/CD pipeline proceeds to a later stage such as deployment. Network automation pipelines may require unit tests, syntax checks, linting, security validation, or integration tests to pass before changes are released. If a required test fails, the quality gate can stop the pipeline and prevent an unvalidated automation change from reaching production. DNS lookup, port scanning, and address leasing serve networking or security functions but do not inherently represent CI/CD deployment controls.
Question 260.
Which Python approach executes independent tasks concurrently?
- Sequential loops
- Thread pools
- Static variables
- String slicing
Correct Answer: 2
Explanation:
Python thread pools can execute multiple suitable tasks concurrently by managing a collection of worker threads. This can be useful for network automation workloads involving many independent I/O-bound operations, such as querying multiple devices or APIs. Instead of manually creating and managing every thread, a thread-pool abstraction handles worker allocation and task submission. Sequential loops process operations one after another, static variables concern program state, and string slicing manipulates text. Concurrency should still be controlled carefully to avoid overwhelming devices, APIs, or other infrastructure.