Question No: 4
What output will the following command sequence produce?
echo '1 2 3 4 5 6' | while read a b c; do echo result: $c $b $a;
done
A. result: 3 4 5 6 2 1
B. result: 1 2 3 4 5 6
C. result: 6 5 4
D. result: 6 5 4 3 2 1
E. result: 3 2 1
Answer: A
Question No: 5
Which file used by XDM specifies the default wallpaper?
A. /etc/X11/xdm/Xsetup
B. /etc/X11/xdm.conf
C. /etc/X11/xdm/Defaults
D. /etc/X11/defaults.conf
Answer: A
Question No: 6
CORRECT TEXTHow many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)
Answer: 14
Question No: 7
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
A. The user bob is removed from the system's user database.
B. The user bob's home directory is removed.
C. The locate database is updated to drop files owned by bob.
D. All files owned by bob are remove from all mounted filesystems.
E. In case bob was the last member of a group, that group is deleted.
Answer: A,B
Question No: 8
CORRECT TEXTWhich command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)
Answer: netstat, /bin/netstat, ss, /usr/bin/ss
Question No: 9
When the command echo $$ outputs 12942, what is the meaning of 12942?
A. It is the process ID of the echo command.
B. It is the process ID of the current shell.
C. It is the process ID of the last command executed.
D. It is the process ID of the last command which has been placed in the background.
Answer: B
Question No: 10
What is the purpose of the file /etc/profile?
A. It contains the welcome message that is displayed after login.
B. It contains security profiles defining which users are allowed to log in.
C. It contains environment variables that are set when a user logs in.
D. It contains default application profiles for users that run an application for the first time.
Answer: C
Question No: 11
What output will the command seq 10 produce?
A. A continuous stream of numbers increasing in increments of 10 until stopped.
B. The numbers 1 through 10 with one number per line.
C. The numbers 0 through 9 with one number per line.
D. The number 10 to standard output.
Answer: B
Topic 2, User Interfaces and Desktops
21. CORRECT TEXTWhat is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)
Question No: 12
CORRECT TEXTWhat is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)
Answer: xdm
Question No: 13
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
A. unset -v FOOBAR;./myscript
B. set -a FOOBAR="";./myscript
C. env -u FOOBAR./myscript
D. env -i FOOBAR./myscript
Answer: C
100% Renovate LPI 102-400 Questions & Answers shared by Dumpscollection, Get HERE: http://www.dumpscollection.net/dumps/102-400/ (New Q&As)