~/redhat-ex200 · study ▊
practice sheet · all objectives switch to smart practice →
Red Hat Certified System Administrator (RHCSA) exam
0/4 checked
During the RHCSA exam, you encounter an unfamiliar command and need to look up its usage. Internet access is not provided and you cannot bring in any notes or books. Which resources are you expected to use to resolve the problem?
Explanation
The objective lists documentation resources including man, info, and files in /usr/share/doc [1]. The exam prohibits hard copy or electronic documentation such as notes or books and provides no internet access [2], eliminating a personal printed reference and online search.
You are writing a shell script that must process each argument passed to it on the command line and act differently depending on whether a given file exists. According to the RHCSA objectives, which scripting capabilities are you expected to demonstrate for this task?
Explanation
The objective lists conditional execution with if/test/[], looping constructs like for to process file and command line input, and processing script inputs as $1, $2 [1]. Compiling scripts and Ansible roles are not part of the RHCSA shell-scripting objective [1][2].
Locked question — unlock this exam to view it.
locked — unlock to reviewLocked question — unlock this exam to view it.
locked — unlock to review