Oracle Enterprise Linux: Fundamentals Sample Questions:
1. As per the Linux Documentation Project (LDP), which directory in the File System Hierarchy (FSH) holds the online distribution documentation that includes FAQs, How-to's, Web sites, and so on?
A) /usr/local/share
B) /usr/include
C) /usr/share/man/doc
D) /usr/share/doc
2. As a root user you execute the commands as shown below:
[root@station1 ]# a=$((10 % 4 + 6 * 2)) [root@station1 ]# echo $a
What would be the output of the echo statement?
A) 10
B) 12
C) 2
D) 14
3. As a normal user on a Linux system, you are trying to execute the /bin/Is command. What happens when you execute the command at the shell prompt?
A) The shell makes a system call asking the kernel to start the command as a child process and goes to sleep, waits for the command to finish.
B) The shell passes asynchronous interrupts to the kernel and returns to the prompt waiting to display the output.
C) The shell executes the program, sets a priority value of-19, and waits for the system calls from the kernel.
D) The shell executes the program, breaks memory into small chunks called pages, and initializes a system call to the kernel.
4. As an administrator, you mounted the /exports/projects NFS exported directory from a server on a LAN using the default NFS settings. You find the performance to be low.
Which NFS mount options can you use to increase the performance?
A) set wsize=8192 and keep the read packet size at the default.
B) set rsize=32768 and wsize=32768.
C) set rsize=8192 and keep the write packet size at the default.
D) set rsize=8192 and wsize=8192.
E) set wsize=32768 and keep the read packet size at the default.
F) set rsize=32768 and keep the write packet size at the default.
5. The user smith issued the egrep "^[[:alnum:]]{4,}$" file1.txt | wc -I command. What would be the expected output from this command?
A) the total number of words that have 4 or more characters
B) the total number of words that are shorter than 4 characters
C) the total number of lines that are shorter than 4 characters
D) the total number of lines that have 4 or more characters
Solutions:
| Question # 1 Answer: D | Question # 2 Answer: D | Question # 3 Answer: A | Question # 4 Answer: D | Question # 5 Answer: D |
We're so confident of our products that we provide no hassle product exchange.


By Malcolm

