View Full Cisco CCNP 300-435 Exam Dumps and Practice Test Dumps
Question 381
Which Cisco automation tool is designed for network testing and validation?
- pyATS
- Netmiko
- NAPALM
- Paramiko
Correct Answer: 1
Explanation:
pyATS is Cisco’s Python-based framework for network testing, validation, and automation. It allows engineers to build structured test cases that verify operational state before and after changes. pyATS can work with Genie libraries to provide reusable parsers and abstractions for network data. This makes it useful for automated pre-checks, post-checks, regression testing, and compliance validation. Netmiko and Paramiko primarily provide connectivity capabilities, while NAPALM focuses on a vendor-neutral interface for network operations. For CCNP automation workflows, pyATS is particularly valuable when automation must validate that a network behaves as expected.
Question 382
What does Ansible check mode primarily provide during automation?
- Device reboot
- Configuration preview
- Credential rotation
- Log collection
Correct Answer: 2
Explanation:
Ansible check mode allows a playbook to simulate changes without actually applying them to managed devices. It helps engineers determine what modifications would be made before executing the automation. This is especially useful for reviewing configuration changes, validating playbook logic, and reducing deployment risk. Check mode can identify tasks that would change the system, although not every module supports complete prediction. It is therefore commonly used as part of a controlled automation workflow before production execution. A configuration preview can help engineers detect unexpected changes and improve confidence in planned deployments.
Question 383
Which Cisco technology provides event-driven automation directly on network devices?
- Cisco EEM
- Cisco ISE
- Cisco WSA
- Cisco ESA
Correct Answer: 1
Explanation:
Cisco Embedded Event Manager, or EEM, provides event-driven automation capabilities directly on supported Cisco devices. EEM policies can monitor events such as interface state changes, syslog messages, timers, or other operational conditions and then execute predefined actions. This allows devices to respond automatically without waiting for an external controller. For example, an EEM policy could trigger a diagnostic command when a specific syslog message appears. EEM is therefore useful for localized, event-based operational automation. It differs from centralized automation platforms because the policy logic can execute locally on the network device.
Question 384
Which HTTP status code indicates that a request exceeded server rate limits?
- 201
- 204
- 429
- 502
Correct Answer: 3
Explanation:
HTTP status code 429 means “Too Many Requests” and indicates that the client has sent requests faster than the server allows. Network automation systems frequently interact with controller and management APIs, where rate limiting protects services from excessive traffic. When a 429 response occurs, automation should generally avoid continuously retrying immediately. Instead, it can use backoff and retry strategies, often waiting before making another request. Status 201 indicates resource creation, 204 indicates successful processing without response content, and 502 indicates a gateway-related server error. Understanding 429 responses is important when designing reliable API automation.
Question 385
Which Ansible keyword stores output from a task for later use?
- notify
- register
- become
- delegate_to
Correct Answer: 2
Explanation:
The Ansible register keyword captures the result of a task and stores it in a variable. Later tasks can reference that variable to inspect command output, return codes, status information, or other task results. This capability is useful when automation needs to make decisions based on information collected from a device. For example, a task could retrieve an interface state and a later conditional task could act according to the returned value. notify is associated with handlers, become controls privilege escalation, and delegate_to changes where a task executes.
Question 386
What is the main purpose of a pyATS testbed file?
- Define test devices
- Store Git history
- Describe API schemas
- Configure DNS records
Correct Answer: 1
Explanation:
A pyATS testbed file describes the devices and connectivity information that a test environment uses. It can define device names, operating systems, connection methods, addresses, credentials references, and related topology information. Test scripts use this structured information to establish connections without hard-coding device details throughout the test logic. Separating environment information from test procedures makes automation easier to reuse across laboratories and deployment environments. Git history, API schemas, and DNS records serve different purposes. In network validation workflows, the testbed file acts as the structured inventory foundation for pyATS-based testing.
Question 387
Which Ansible keyword executes a task only when a condition evaluates true?
- loop
- block
- when
- include
Correct Answer: 3
Explanation:
The Ansible when keyword provides conditional task execution. A task containing a when expression runs only when the specified condition evaluates to true. This allows playbooks to adapt their behavior according to variables, gathered information, operating systems, device characteristics, or task results. Conditional execution is important for creating reusable automation that can handle different network environments without duplicating entire playbooks. For example, a task could execute only when a particular platform variable matches the expected value. Keywords such as loop repeat tasks, while block groups tasks and include incorporates additional automation content.
Question 388
Which Cisco platform uses service models to automate network configuration?
- Cisco ESA
- Cisco NSO
- Cisco ASA
- Cisco UCCX
Correct Answer: 2
Explanation:
Cisco Network Services Orchestrator, or NSO, uses service models to represent network services and automate their deployment across network devices. NSO can use YANG-based models to describe services and their required parameters, allowing service logic to remain separate from device-specific implementation details. This approach is valuable in environments where the same business service must be deployed across multiple device types. NSO can translate service-level intent into appropriate device configurations and coordinate changes transactionally. This differs from a simple device command script because the service model provides a higher-level abstraction for network automation.
Question 389
Which Jinja2 feature is commonly used to generate dynamic configuration templates?
- Variables
- Packets
- Sockets
- Routes
Correct Answer: 1
Explanation:
Jinja2 templates use variables and control structures to generate configuration content dynamically. In network automation, a template can contain placeholders whose values come from inventory data or automation variables. This allows one template to produce different configurations for multiple devices without manually writing each configuration. Jinja2 can also support conditional statements and loops, making it useful for scalable configuration generation. When combined with Ansible, templates commonly produce device-specific configuration files or command sets. Variables provide the dynamic data, while the template defines how that data should be represented in the resulting configuration.
Question 390
Which RESTCONF method is commonly used for partial resource modification?
- HEAD
- OPTIONS
- TRACE
- PATCH
Correct Answer: 4
Explanation:
The HTTP PATCH method is commonly used to apply partial modifications to a resource. In RESTCONF automation, PATCH can update selected portions of a configuration resource without necessarily replacing the complete representation. This can be useful when automation needs to make targeted changes while leaving unrelated configuration untouched. Other HTTP methods have different purposes: HEAD retrieves metadata without the normal response body, OPTIONS identifies supported communication methods, and TRACE is primarily associated with diagnostic request tracing. Understanding PATCH semantics helps automation engineers choose appropriate HTTP operations when interacting with RESTCONF-enabled network devices.
Question 391
What does a Git pull request primarily facilitate?
- Device discovery
- Code review
- Packet capture
- Credential storage
Correct Answer: 2
Explanation:
A Git pull request facilitates review and discussion of proposed changes before those changes are merged into a shared branch. In network automation projects, engineers can use pull requests to review playbooks, Python scripts, templates, test cases, and configuration data. Automated checks can also run against the proposed changes before approval. This workflow helps organizations introduce peer review and quality controls into automation development. Pull requests are therefore an important collaboration mechanism in Git-based development. They are unrelated to device discovery, packet capture, or credential storage, although those activities may occur in the broader automation environment.
Question 392
Which YANG statement defines a condition that must be satisfied by configuration data?
- grouping
- typedef
- must
- identity
Correct Answer: 3
Explanation:
The YANG must statement defines a constraint that configuration or state data must satisfy. It uses an XPath expression to describe a required relationship or condition. This allows a data model to enforce logical rules beyond simple data types. For example, a model could require one value to be consistent with another configuration element. Such constraints improve the quality and validity of structured network configuration. A grouping defines reusable schema structures, typedef creates reusable type definitions, and identity establishes reusable identity values. Understanding YANG constraints is important when working with model-driven network automation.
Question 393
Which API specification format is commonly used to describe REST interfaces?
- OpenAPI
- Markdown
- CSV
- Syslog
Correct Answer: 1
Explanation:
OpenAPI is a widely used specification format for describing REST APIs. It can document endpoints, HTTP methods, parameters, request bodies, responses, authentication requirements, and data structures. Automation engineers can use an OpenAPI definition to understand how an API should be consumed and, in some environments, generate client libraries or documentation from the specification. This makes OpenAPI valuable when integrating network controllers and management platforms into automation pipelines. Markdown is primarily a documentation format, CSV represents tabular data, and syslog provides event messaging. OpenAPI specifically focuses on describing API interfaces and their expected behavior.
Question 394
What does Ansible’s delegate_to keyword control?
- Task execution host
- Variable encryption
- Retry interval
- Module installation
Correct Answer: 1
Explanation:
The Ansible delegate_to keyword specifies a different host on which a particular task should execute. This is useful when the task logically belongs to one automation workflow but needs to run from another system. For example, a network automation play may manage routers while a supporting API request or validation task executes from the Ansible control node. Delegation allows playbooks to separate management targets from task execution locations. It does not control encryption, retry intervals, or module installation. Understanding delegation is especially useful when automation workflows combine network devices with external services and control-plane operations.
Question 395
Which Cisco technology provides structured parsing of command output through Genie libraries?
- EEM
- NSO
- Genie
- ACI
Correct Answer: 3
Explanation:
Cisco Genie provides libraries and parsers that help automation systems transform network command output into structured data. This makes operational information easier for Python-based automation and testing frameworks to consume. Genie parsers are commonly used with pyATS, allowing test scripts to inspect device state without manually processing raw CLI text. Structured data can then be compared against expected conditions or used to make automation decisions. EEM focuses on event-driven device automation, NSO provides service orchestration, and ACI is a data-center networking architecture. Genie is particularly useful when automation requires reliable interpretation of device operational output.
Question 396
Which CI/CD practice keeps generated build outputs for later deployment?
- Branch rebasing
- Artifact storage
- Commit squashing
- Code formatting
Correct Answer: 2
Explanation:
Artifact storage preserves generated outputs from a build or automation pipeline so they can be tested, promoted, or deployed later. In network automation, artifacts might include packaged applications, generated configuration bundles, test reports, or other deployment files. Storing artifacts separately from source code helps maintain traceability between a particular pipeline execution and the outputs it produced. This can also support controlled promotion between development, testing, and production environments. Branch rebasing and commit squashing affect Git history, while code formatting improves source consistency. Artifact repositories therefore play an important role in repeatable CI/CD workflows.
Question 397
What does a TLS certificate primarily help verify?
- Device CPU usage
- Routing convergence
- Server identity
- Interface bandwidth
Correct Answer: 3
Explanation:
A TLS certificate helps establish the identity of the server participating in a secure TLS connection. During certificate validation, the client checks information such as the certificate chain, validity period, and hostname association. This helps prevent an automation client from unknowingly establishing a secure session with an unintended endpoint. TLS also provides encryption and integrity protection for the connection, but the certificate specifically plays an important role in authentication of the server identity. CPU utilization, routing convergence, and interface bandwidth are operational characteristics that certificates do not establish. Proper certificate validation is important when automation communicates securely with APIs.
Question 398
Which Git mechanism automatically checks changes before a commit is created?
- Remote mirror
- Branch protection
- Pre-commit hook
- Merge conflict
Correct Answer: 3
Explanation:
A Git pre-commit hook can automatically execute checks before a commit is created. In automation projects, pre-commit hooks may run formatting tools, syntax validation, linting, security checks, or other quality controls. This allows developers to identify certain problems locally before changes reach a shared repository or CI pipeline. Pre-commit hooks can therefore complement centralized CI validation by catching issues earlier in the development process. Branch protection operates on repository policies, a remote mirror replicates repository content, and a merge conflict occurs when changes cannot be combined cleanly. Pre-commit hooks are specifically associated with local commit-time automation.
Question 399
Which HTTP response commonly indicates that a request succeeded without returning content?
- 204
- 206
- 301
- 503
Correct Answer: 1
Explanation:
HTTP status code 204 means “No Content.” It indicates that the server successfully processed the request but does not provide a response body. Automation scripts should account for this behavior because attempting to parse an empty response as JSON can cause unnecessary errors. A 204 response can be appropriate for operations where the server successfully completes the requested action without needing to return a representation. Status 206 indicates partial content, 301 represents redirection, and 503 indicates temporary service unavailability. Correctly interpreting response codes helps automation logic distinguish successful operations from errors and redirects.
Question 400
Which automation strategy helps restore service after an unsuccessful deployment?
- Configuration rollback
- Manual documentation
- Log rotation
- Interface polling
Correct Answer: 1
Explanation:
Configuration rollback restores a previous known-good configuration when a deployment introduces an unacceptable problem. Automated rollback can be incorporated into deployment workflows when validation tests detect failure after a change. This approach reduces recovery time and limits the operational impact of unsuccessful deployments. A rollback strategy normally depends on having a recoverable previous state, appropriate configuration management, and validation criteria that identify failure. Manual documentation can describe procedures but does not restore service, log rotation manages stored logs, and interface polling only observes operational status. Automated rollback is therefore an important resilience capability in controlled network automation.