Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Cisco logo

CiscoCertified Network Associate Automation (CCNA Automation)

Domain 5Objective 9

9. Identify the Workflow Being Automated by a Bash Script (such as File Management, App Install, User Management, Directory Navigation) 200-901 Practice Questions (Page 2)

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 26 practice questions to prepare you well beyond it. (estimate)

26questions here
6free pages
4concepts
20%of the exam

Questions 6–10

  1. 6foundation · easy

    A bash script is used to update all software packages on a Red Hat-based server. Which command is appropriate for this task?

    Select an answer first
  2. 7foundation · easy

    A bash script needs to change the current working directory to '/var/log' to process log files. Which command should be used?

    Select an answer first
  3. 8expert · hard

    A backup script must archive all files in /data that are older than 90 days, but it must preserve the directory structure so that files can be restored to their original paths. The script currently uses find /data -type f -mtime +90 -exec mv {} /archive/ \;. What is the main problem with this script?

    Select an answer first
  4. 9application · medium

    A script must change to the /var/log directory and then list all files that have been modified in the last 7 days. Which script snippet accomplishes this directory navigation and file management workflow?

    Select an answer first
  5. 10application · medium

    A backup script must process all .log files in the /var/log/myapp directory and its subdirectories. The script currently uses a for loop with the glob /var/log/myapp/*.log, but it misses files in subdirectories. Which bash script change correctly traverses the directory tree to include all .log files?

    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.