
CiscoCertified Network Associate Automation (CCNA Automation)
Domain 4Objective 11
11. Utilize Bash Commands (file Management, Directory Navigation, and Environmental Variables) 200-901 Practice Questions (Page 4)
Part of the 4.0 Application Deployment and Security domain, which accounts for 15% of the 200-901 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~8–12 in this domain), expect 1–1 from this objective — we provide 29 practice questions to prepare you well beyond it. (estimate)
29questions here
6free pages
3concepts
15%of the exam
Questions 16–20
- 16
A script needs to use a database password that is stored in an environment variable. The engineer wants to verify that the variable is set and non-empty before running the script. Which Bash command sequence checks this?
Select an answer first - 17
A network automation engineer is writing a script that must copy a directory tree from /etc/ansible to /backup/ansible. The script must preserve file permissions and timestamps, and it must not fail if the destination directory already exists. The engineer wants to use a single command. Which command meets all requirements?
Select an answer first - 18
A developer has a script that relies on an environment variable APP_HOME. The script works when run manually, but fails when run from cron because APP_HOME is not set. The developer has already added 'export APP_HOME=/opt/app' to ~/.bashrc. What is the most likely reason the variable is not available in the cron environment?
Select an answer first - 19
A script needs to reference a configuration file that resides in the same directory as the script, but the script may be invoked from any working directory. Which approach ensures the script always finds the file?
Select an answer first - 20
An engineer needs to create a new directory structure for a project: /var/lib/app/backups/2024. The parent directories /var/lib/app and /var/lib/app/backups do not exist. Which command creates the full path?
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.