
CiscoCertified Network Associate Automation (CCNA Automation)
Domain 5Objective 8
8. Identify the Workflow Being Automated by an Ansible Playbook (management Packages, User Management Related to Services, Basic Service Configuration, and Start/stop) 200-901 Practice Questions (Page 3)
Part of the 5.0 Infrastructure and Automation domain, which accounts for 20% of the 200-901 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~10–16 in this domain), expect 1–1 from this objective — we provide 25 practice questions to prepare you well beyond it. (estimate)
25questions here
5free pages
6concepts
20%of the exam
Questions 11–15
- 11
Given the following Ansible playbook excerpt, what workflow is being automated? - hosts: web_servers tasks: - name: Install nginx apt: name: nginx state: present - name: Start nginx service: name: nginx state: started
Select an answer first - 12
An Ansible playbook contains the following tasks: 1) package: name=vsftpd state=present, 2) user: name=ftpuser create_home=yes, 3) lineinfile: path=/etc/vsftpd.conf regexp='^anonymous_enable' line='anonymous_enable=NO', 4) service: name=vsftpd state=started enabled=yes. What is the primary workflow being automated?
Select an answer first - 13
A junior admin is reviewing an Ansible playbook that contains the following tasks: 1) apt: name=postfix state=present, 2) user: name=postfix system=yes, 3) lineinfile: path=/etc/postfix/main.cf regexp='^myhostname' line='myhostname = mail.example.com', 4) service: name=postfix state=started enabled=yes. What is the overall workflow being automated?
Select an answer first - 14
A playbook targets a mix of Ubuntu and CentOS hosts. It must install the 'curl' package on all hosts and then start the 'curl-daemon' service (which exists on both). Which module should be used for the package installation to work across both distributions?
Select an answer first - 15
An administrator needs to ensure that the 'nginx' service is running and enabled at boot on a set of Ubuntu servers. The playbook also needs to update the default site configuration. Which tasks should be used?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Cisco. “200-901” is a trademark of its owner, used for identification only.