Automating Cisco Enterprise Solutions (ENAUTO) Free Practice Test — 30 Questions

Exam Code: ENAUTO

30 questions · Full explanations · No account required

Free
Question 1 of 30

Consider a network automation engineer tasked with ensuring a specific access control list (ACL) entry, `permit tcp host 10.1.1.5 host 192.168.5.20 eq 80`, is present on multiple Cisco IOS devices within a branch office. The existing ACLs on these devices are complex and managed by different teams, meaning the order of existing entries and the presence of other unrelated `permit` or `deny` statements should ideally remain undisturbed. Which Ansible module and approach would best guarantee the desired state of this specific ACL entry while minimizing the risk of unintended configuration changes on the devices?

Use the `cisco.ios.ios_acl` module with a `lines` parameter that includes the specific `permit` statement, relying on the module's inherent idempotency to add the line if it's missing, without affecting other lines.
Employ the `cisco.ios.ios_config` module to push the entire desired ACL configuration as a template, overwriting the existing ACL with the new, complete definition, and then removing any lines not explicitly present in the template.
Utilize the `cisco.ios.ios_acl` module with a strategy that appends the new ACL entry to the end of the existing ACL configuration, regardless of whether the entry already exists.
Leverage the `cisco.ios.ios_config` module with a `parents` parameter that targets the ACL name, and then use a regular expression to find and replace the specific ACL entry based on its line number, updating it if it doesn't match.

About the Automating Cisco Enterprise Solutions (ENAUTO) Certification

These free practice questions are designed to help you assess your readiness for the Automating Cisco Enterprise Solutions (ENAUTO) exam by Other. Each question comes with a detailed explanation to reinforce the correct concept. For a complete exam preparation experience with hundreds of questions, spaced-repetition study tools, and full exam simulations, explore our premium access.