Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part20 Q381-400

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q381. An Ansible playbook needs to create temporary host groups dynamically based on a device attribute discovered during execution. Which Ansible capability is most appropriate? group_by 2. notify 3. block 4. serial Correct Answer: 1. group_by Explanation: The Ansible group_by module can create […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part19 Q361-380

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q361. An Ansible playbook must generate router configurations from a text file containing placeholders, loops, and conditional sections. Which mechanism is most appropriate? Static inventory 2. Jinja2 template 3. Ansible Vault only 4. Git tag Correct Answer: 2. Jinja2 template Explanation: Ansible commonly […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part18 Q341-360

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q341. An Ansible playbook needs to execute a configuration task only when a previous command returns output containing the string ESTABLISHED. Which approach is most appropriate? Register the command result and evaluate it with a when condition 2. Create a new inventory for […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part17 Q321-340

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q321. An Ansible playbook must load different variable files depending on whether a router belongs to the branch or datacenter role. Which approach is most appropriate? Put all values directly into every task 2. Create a separate Git repository for each device 3. […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part16 Q301-320

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q301. An Ansible project contains common interface-configuration tasks, templates, defaults, and handlers that must be reused across several playbooks. Which Ansible construct is best suited to packaging this reusable content? Inventory alias 2. Role 3. Registered variable 4. Ad hoc command Correct Answer: […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part15 Q281-300

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q281. An Ansible playbook must configure routers in batches of five so that a configuration error cannot affect all 50 routers simultaneously. Which play-level keyword should be used? run_once 2. delegate_to 3. register 4. serial Correct Answer: 4. serial Explanation: The Ansible serial […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part14 Q261-280

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 […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part13 Q241-260

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q241. An Ansible playbook targets 100 routers, but a task that queries a central asset-management API should execute only once for the entire play. Which Ansible keyword is most appropriate? serial: 1 2. delegate_to: localhost only 3. run_once: true 4. gather_facts: false Correct […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part12 Q221-240

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q221. An Ansible playbook contains troubleshooting tasks that should run only when an engineer explicitly requests them during execution. Which Ansible feature is best suited to this requirement? Handlers 2. Tags 3. Registered variables 4. Inventory aliases Correct Answer: 2. Tags Explanation: Ansible […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part11 Q201-220

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q201. An Ansible playbook contains sensitive API credentials that must remain encrypted while stored in the automation repository. Which Ansible feature is designed for this purpose? Dynamic inventory 2. Check mode 3. Ansible Vault 4. Fact gathering Correct Answer: 3. Ansible Vault Explanation: […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part10 Q181-200

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q181. An Ansible playbook contains several related configuration tasks that should trigger recovery actions if one of them fails. Which Ansible structure is most appropriate? vars_files 2. serial 3. register 4. A block with a rescue section Correct Answer: 4. A block with […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part9 Q161-180

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q161. A Python network automation function opens a file containing generated configurations. The engineer wants the file to be closed automatically even if an exception occurs. Which Python technique is most appropriate? Keep the file open until the script exits 2. Use a […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part8 Q141-160

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q141. An engineer wants to preview what an Ansible playbook would change on network devices without actually applying the configuration. Which Ansible capability is most appropriate? Check mode 2. Handler mode 3. Inventory refresh 4. Variable registration Correct Answer: 1. Check mode Explanation: […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part7 Q121-140

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps.  Q121. An Ansible playbook changes an OSPF configuration and should restart a related service only when that configuration task reports a change. Which Ansible mechanism is most appropriate? register only 2. serial 3. A handler triggered with notify 4. check_mode only Correct Answer: […]

Cisco CCNP Automation 350-901 Practice Test Questions and Exam Dumps Part6 Q101-120

View Full Cisco CCNP Automation 350-901 Exam Dumps and Practice Test Dumps. Q101. A Python network automation application receives an API response containing device records. Some records do not contain the optional location key. Which approach most safely retrieves this value without raising a KeyError when it is missing? Access device[“location”] without checking 2. Use […]