CiscoCisco
200-901 · Question #534
200-901 Question #534: Real Exam Question with Answer & Explanation
Sign in or unlock 200-901 to reveal the answer and full explanation for question #534. The question stem and answer options stay visible for context.
Infrastructure and Automation
Question
A developer must add an idempotent task to an Ansible playbook that configures a Cisco IOS device. HTTP traffic must be permitted from 192.168.1.1 to 192.168.1.5 host machine. Which code snippet must be used? A. B. C. D.
Options
- A- ios_command: commands: - configure terminal - access-list 120 permit tcp host 192.168.1.1 host 192.168.1.5 any eq www
- B- ios_config: lines: access-list 120 permit tcp host 192.168.1.1 host 192.168.1.5 any eq www
- C- ios_config: lines: access-list 120 permit tcp host 192.168.1.1 host 192.168.1.5 eq 80
- D- ios_command: mode: configure terminal args: access-list 120 permit tcp host 192.168.1.1 host 192.168.1.5 any eq 80
Unlock 200-901 to see the answer
You've previewed enough free 200-901 questions. Unlock 200-901 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Ansible#Network Automation#Cisco IOS Configuration#Access Control Lists