View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps.
Q261. An Ansible play targets 50 routers, but an API request must originate from the automation controller rather than from each router. Which Ansible keyword is most appropriate for running that task on the controller?
- run_once
2. delegate_to: localhost
3. serial
4. notify
Correct Answer: 2. delegate_to: localhost
Explanation: delegate_to allows an Ansible task to execute on a host other than the inventory host currently being processed. Using delegate_to: localhost is useful when the automation controller must call an external API, update a ticketing system, or perform another controller-side operation while the play still targets network devices. run_once controls how many times a task executes but does not determine where it runs. serial defines host batching, while notify triggers handlers. Delegation makes workflows more flexible by allowing device-oriented plays to interact safely with centralized services from the appropriate execution location.
Q262. A Terraform-managed network object is healthy, but an engineer wants Terraform to replace it during the next apply without manually deleting it first. Which mechanism is most appropriate?
- Remove the provider block
2. Delete the state file
3. Set every variable to null
4. Request resource replacement using Terraform’s replace mechanism during planning or apply
Correct Answer: 4. Request resource replacement using Terraform’s replace mechanism during planning or apply
Explanation: Terraform supports explicitly requesting replacement of a managed resource when an operator needs the object recreated even though its configuration may not otherwise require replacement. Modern Terraform workflows can use a replace option during planning or apply rather than manually deleting infrastructure or corrupting state. This keeps the replacement operation visible in the execution plan and preserves Terraform’s understanding of the resource lifecycle. Deleting state can cause Terraform to lose resource tracking, while removing provider configuration prevents normal management. Planned replacement is therefore safer and more auditable than ad hoc infrastructure deletion.
Q263. A RESTCONF client retrieves a resource but wants the server to return only configuration data, excluding operational state where the platform supports such filtering. What should the client use?
- An appropriate RESTCONF content-filtering query parameter
2. HTTP DELETE
3. A Git branch filter
4. A Terraform output block
Correct Answer: 1. An appropriate RESTCONF content-filtering query parameter
Explanation: RESTCONF supports query parameters that can influence which categories of modeled data are returned, depending on the request and server implementation. A client may request configuration-oriented content rather than retrieving every available operational field. Reducing unnecessary data improves response efficiency, parsing time, and clarity for the automation workflow. Engineers should verify platform support and construct the request according to RFC 8040 and the applicable YANG model. DELETE changes resources and is unrelated to response filtering. Git and Terraform constructs likewise have no role in selecting RESTCONF response content.
Q264. A Python automation project passes structured device information among many functions. The team wants a lightweight class mainly for storing fields such as hostname, management IP, and platform. Which Python feature is well suited to this purpose?
- A recursive generator only
2. A raw byte array
3. A data class
4. A shell script embedded in Python
Correct Answer: 3. A data class
Explanation: Python data classes provide a convenient way to define classes whose main purpose is storing structured data. Using the dataclasses module, engineers can define fields such as hostname, management address, platform, or role while automatically receiving useful methods such as initialization and representation. This can make automation code easier to understand than passing loosely structured dictionaries everywhere. Dictionaries remain appropriate in many cases, especially for dynamic API data, but data classes can improve type clarity and maintainability when the structure is well defined. They do not replace input validation or schema checks.
Q265. A developer wants to download new commits and remote branch references from a Git server without automatically merging them into the current local branch. Which Git command is most appropriate?
- git fetch
2. git pull
3. git revert
4. git clean
Correct Answer: 1. git fetch
Explanation: git fetch retrieves updated commits, branch references, and related objects from a remote repository without automatically integrating them into the current branch. This allows an engineer to inspect remote changes before deciding whether to merge, rebase, or otherwise incorporate them. By contrast, git pull normally fetches and then performs an integration step according to configuration. In Infrastructure as Code repositories, separating retrieval from integration can be useful when engineers want to review network automation changes carefully before altering the working branch. git revert reverses commits, while git clean removes untracked files.
Q266. A GitLab project requires two reviewers to approve changes to production network automation before merging into the protected main branch. Which feature best supports this workflow?
- Unprotected direct pushes
2. Local Git stashes
3. Merge request approval rules
4. Disabling branch protection
Correct Answer: 3. Merge request approval rules
Explanation: Merge request approval rules can require designated reviewers or a minimum number of approvals before changes are merged into important branches. Combined with protected branches and required CI checks, this creates a controlled path for network automation changes entering production. Peer review can identify unsafe logic, scope errors, credential exposure, or design problems before they reach deployment stages. Local Git operations such as stash do not enforce organizational review requirements. Strong repository governance is important for Infrastructure as Code because changing a few lines in version control may ultimately affect hundreds or thousands of network devices.
Q267. A GitLab CI pipeline has a post-validation job that must run after deployment and should receive deployment artifacts from an earlier job. What should the pipeline define?
- A separate unrelated repository
2. A dependency relationship and appropriate artifacts between the jobs
3. A manual router reboot before every test
4. A new Git history for each stage
Correct Answer: 4. A dependency relationship and appropriate artifacts between the jobs
Explanation: CI/CD stages should make dependencies explicit so a later validation job receives exactly the files or metadata created by the deployment workflow. Artifacts can carry configuration plans, device lists, test inputs, or deployment results between jobs. Job dependencies or stage ordering ensure post-validation runs at the correct point in the pipeline. This makes the workflow reproducible and easier to troubleshoot. Cisco’s AUTOCOR blueprint explicitly includes build, prevalidation, deploy, and post-validation stages, so candidates should understand how pipeline structure coordinates outputs and execution order across those stages.
Q268. An engineer builds a CML topology to test BGP automation. Why should the virtual node software versions be chosen to resemble production as closely as practical?
- To guarantee production and simulation are physically identical
2. To eliminate all need for production testing
3. To make Git commits smaller
4. To reduce behavioral differences caused by platform or software-version mismatches
Correct Answer: 2. To reduce behavioral differences caused by platform or software-version mismatches
Explanation: Network operating system versions can differ in command syntax, API behavior, YANG models, defaults, and protocol implementation details. A CML test environment that closely resembles production provides more meaningful results than one using significantly different software. It cannot perfectly reproduce physical hardware, scale, or all external dependencies, so production prevalidation and post-validation remain necessary. The objective is to reduce avoidable differences so automation defects are more likely to be discovered before deployment. Cisco’s AUTOCOR training specifically includes Cisco Modeling Labs as a test environment for network automation.
Q269. A telemetry system must preserve individual raw measurements for seven days but only hourly summaries for one year. What design concept does this represent?
- Git history rewriting
2. Certificate renewal
3. Tiered telemetry retention and aggregation
4. RESTCONF authentication
Correct Answer: 3. Tiered telemetry retention and aggregation
Explanation: Telemetry platforms often retain high-resolution raw data for a relatively short period while storing aggregated summaries for much longer periods. This balances troubleshooting value against storage cost and query performance. Recent raw data can support detailed incident analysis, while hourly or daily summaries remain useful for capacity trends and long-term reporting. Retention periods should be based on operational, regulatory, and business requirements. Keeping every high-frequency sample indefinitely can become expensive, while overly aggressive deletion can remove useful evidence. AUTOCOR includes telemetry data consumption and storage considerations within its Operations domain.
Q270. An automation service writes a large local log file that eventually fills the server disk. Which operational control best addresses this problem?
- Log rotation with size or time limits and defined retention
2. Disable all logging permanently
3. Store API passwords in the log to make it useful
4. Create an unlimited number of duplicate logs
Correct Answer: 1. Log rotation with size or time limits and defined retention
Explanation: Log rotation prevents local log files from growing without bound. Files can be rotated according to size or time, compressed, retained for a defined period, and eventually deleted or archived. Centralized log forwarding can provide additional durability and search capability. Logging should preserve enough information for troubleshooting without exhausting storage or exposing sensitive credentials. Disabling logs makes investigation difficult, while unlimited retention on local disks can create outages when storage is exhausted. A production automation architecture should define both logging content and logging lifecycle, including retention, rotation, transport, and access control.
Q271. A pyATS test suite should stop running dependent validation sections when a critical setup check proves that the target device is unreachable. What is the main reason for this behavior?
- To produce more false-positive results
2. To convert test failures into warnings automatically
3. To remove the testbed file
4. To avoid running tests whose prerequisites are not satisfied
Correct Answer: 4. To avoid running tests whose prerequisites are not satisfied
Explanation: Validation tests should reflect dependencies among test stages. If a critical setup step shows the device cannot be reached, later tests requiring live device data cannot produce meaningful results. Skipping or blocking those dependent sections avoids misleading secondary failures and makes the root cause clearer to operators. Good test design separates prerequisite failures from actual functional validation failures. This makes automated pipeline results easier to interpret and reduces troubleshooting noise. pyATS is included in Cisco’s AUTOCOR training specifically for configuration and operational validation of automation workflows.
Q272. A Dockerized automation application repeatedly creates temporary files. The files should disappear whenever the container is replaced and do not need persistence. Where should they generally be stored?
- In the application’s external production database
2. In ephemeral container storage or another temporary filesystem
3. In a permanent shared volume by default
4. In the Git repository
Correct Answer: 2. In ephemeral container storage or another temporary filesystem
Explanation: Temporary files that have no value after a container’s lifecycle ends are well suited to ephemeral storage. This keeps transient data separate from persistent application state and simplifies cleanup when containers are replaced. Persistent volumes are appropriate when information must survive container recreation, such as databases or durable application state. Temporary data should still be managed carefully so it does not exhaust local storage during the container’s lifetime. Containerized automation benefits from explicitly distinguishing ephemeral data, persistent state, configuration, and secrets rather than treating all files as equally durable.
Q273. An internal automation API needs to verify client certificates issued by the organization’s private CA. What must the server have available?
- The trust chain or CA certificates needed to validate client certificates
2. Every client’s private key
3. The Git repository password
4. The Terraform state file
Correct Answer: 1. The trust chain or CA certificates needed to validate client certificates
Explanation: In mutual TLS, a server validates a client certificate by building a chain of trust to an accepted certificate authority and applying any configured identity or certificate policy. The server therefore needs the appropriate trusted CA certificates or chain information. It must never possess clients’ private keys; each client should protect its own private key. Trusting the CA does not automatically authorize every certificate holder to perform every API action, so certificate identity should still map to application authorization. PKI-based authentication combines certificate validation with appropriate permissions and lifecycle controls.
Q274. A local LLM repeatedly generates different network recommendations even though the same prompt is submitted. Which parameter can often be lowered to make generation more deterministic?
- VLAN ID
2. Temperature
3. Syslog facility
4. TLS certificate serial number
Correct Answer: 4. Temperature
Explanation: In many generative AI systems, temperature controls randomness in token selection. Lower temperature values typically make generation more focused and repeatable, while higher values encourage greater variation. Lowering temperature can therefore help when automation workflows require more consistent output. It does not guarantee correctness or perfect determinism, and some model providers expose different sampling controls. Network automation code and recommendations must still be validated regardless of generation settings. Cisco’s AUTOCOR scope now explicitly includes AI in automation, including building network automation solutions with LLMs and evaluating their recommendations.
Q275. A retrieval system splits a 500-page network design guide into smaller pieces before generating embeddings. Why is chunking useful?
- It automatically authorizes every document user
2. It eliminates the need for embeddings
3. It allows retrieval to return focused relevant sections instead of an entire large document
4. It guarantees that retrieved information is current
Correct Answer: 2. It allows retrieval to return focused relevant sections instead of an entire large document
Explanation: Chunking divides long documents into smaller units suitable for embedding, indexing, and retrieval. When a user asks a specific routing or automation question, semantic search can return only the chunks most relevant to that query instead of placing an entire large document into the model’s context. Chunk size and overlap must be chosen carefully because overly small chunks can lose context while overly large chunks can dilute relevance. Chunking does not enforce authorization or freshness by itself. Those concerns require separate metadata, access-control, and document-lifecycle mechanisms.
Q276. An AI network agent can choose among several diagnostic tools. Which design best reduces unnecessary tool calls?
- Clearly describe each tool’s purpose, parameters, and appropriate usage conditions
2. Give every tool the same vague description
3. Remove parameter schemas
4. Allow tools to call themselves indefinitely
Correct Answer: 3. Clearly describe each tool’s purpose, parameters, and appropriate usage conditions
Explanation: AI agents select tools more reliably when each tool has a clear description and well-defined schema. The model can better distinguish, for example, between a tool that retrieves routes and one that retrieves interface counters. Vague descriptions increase the chance of incorrect or unnecessary calls. The server should still enforce authorization, limits, and parameter validation because descriptions only guide the model; they do not provide security. Good tool design reduces wasted queries and improves agent reliability by making the mapping between user intent and available deterministic capabilities clearer.
Q277. An AI assistant retrieves five documents for an OSPF question. The application wants to show operators which evidence supported the answer. What feature should it preserve?
- Source provenance and citations for retrieved context
2. Only the model’s hidden token probabilities
3. Unrelated Git metadata
4. Random document ordering with no identity information
Correct Answer: 4. Source provenance and citations for retrieved context
Explanation: Preserving source provenance allows users to see which documents, versions, or operational sources contributed to an AI-generated answer. This improves auditability and allows engineers to verify whether the evidence is current and authoritative. Provenance can include document title, version, source system, timestamp, or retrieval identifier. It is especially useful when multiple standards or design guides exist. An answer without visible evidence may sound convincing but can be difficult to validate. For operational AI, grounded responses should make it practical for users to distinguish retrieved facts from model-generated reasoning or recommendations.
Q278. An AI agent can propose router configuration but must never execute a command that is outside an approved command catalog. Where should this policy be enforced?
- Only in a conversational reminder
2. In deterministic tool-side authorization and command validation
3. By increasing the model context window
4. By asking the user to trust the model
Correct Answer: 1. In deterministic tool-side authorization and command validation
Explanation: A language model should not be the final enforcement point for infrastructure permissions. The execution tool or automation backend should compare requested actions against an approved command or operation catalog and reject anything outside that policy. This safeguard remains effective even if the model hallucinates, misunderstands a request, or is manipulated through prompt injection. Model instructions can reduce unwanted behavior but cannot replace deterministic authorization. High-impact operations may additionally require explicit human approval, target validation, logging, rollback, and post-change testing.
Q279. An organization evaluates an AI troubleshooting assistant. The model provides the correct root cause in 95 of 100 independently verified test scenarios. Which metric is being measured most directly?
- Storage utilization
2. Tool-call latency
3. Technical accuracy on the evaluation set
4. Network packet loss
Correct Answer: 3. Technical accuracy on the evaluation set
Explanation: If the model produces the independently verified correct answer in 95 out of 100 test cases, the organization is measuring its technical accuracy on that particular benchmark. The benchmark should represent realistic operational scenarios and should remain separate from any examples used to tune the system. Additional metrics such as unsafe-action rate, latency, tool-call accuracy, and consistency may also matter. A 95% result does not mean the system is safe for unrestricted automation; the consequences of the remaining errors must be considered when selecting autonomy and approval controls.
Q280. A network AI agent is allowed to remediate an issue automatically only when deterministic tests confirm the diagnosis and the proposed action is classified as low risk. What principle does this architecture demonstrate?
- Unrestricted autonomous control
2. Guarded autonomy based on validation and risk
3. Elimination of infrastructure policy
4. Trusting model confidence without evidence
Correct Answer: 2. Guarded autonomy based on validation and risk
Explanation: Guarded autonomy allows an AI agent to act independently only inside carefully defined boundaries. Deterministic tests verify the network condition, policy identifies the action as low risk, and tool permissions restrict what the agent can execute. Higher-risk operations can require human approval or separate workflows. This architecture captures the productivity benefits of AI without treating probabilistic model output as sufficient authorization. Logging and post-action validation should also confirm what happened. As Cisco’s current AUTOCOR exam includes AI in automation, understanding how AI capabilities integrate safely with deterministic network automation is increasingly important.