http://https://www.lead1pass.com/Linux-Foundation/LFCS-practice-exam-dumps.html (260 Q&As Dumps, 30%OFF Special Discount: 30free )
NEW QUESTION NO: 6
How is a display manager started?
A. It is started automatically when a X11 user logs in to the system console.
B. It is started by inetd when a remote hosts connects to the X11 port.
C. It is started like any other system service by the init system.
D. It is started by a user using the command startx.
Answer: C
NEW QUESTION NO: 7
Which of the following commands can be used to limit the amount of memory a user may use?
A. ulimit
B. chage
C. passwd
D. usermod
E. umask
Answer: A
NEW QUESTION NO: 8
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)
A. To dynamically change the size of logical volumes.
B. To create RAID 9 arrays.
C. To create snapshots.
D. To encrypt logical volumes.
E. To dynamically create or delete logical volumes.
Answer: A,C,E
NEW QUESTION NO: 9
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
A. All files owned by bob are remove from all mounted filesystems.
B. In case bob was the last member of a group, that group is deleted.
C. The locate database is updated to drop files owned by bob.
D. The user bob's home directory is removed.
E. The user bob is removed from the system's user database.
Answer: D,E
NEW QUESTION NO: 10
Which of the following files, located in the user home directory, is used to store the Bash history?
A. .history
B. .history_bash
C. .bashrc_history
D. .bash_history
E. .bash_histfile
Answer: D
NEW QUESTION NO: 11
Which of the following command sets the Bash variable named TEST with the content FOO?
A. set TEST="FOO"
B. TEST = "FOO"
C. TEST="FOO"
D. var TEST="FOO"
Answer: C
NEW QUESTION NO: 12
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
A. sed 's/bob/Bob' letter > newletter
B. sed '/bob/Bob' letter > newletter
C. sed 's/bob/Bob/g' letter > newletter
D. sed 's/bob, Bob/' letter > newletter
E. sed s/bob/Bob/ letter < newletter
Answer: C
NEW QUESTION NO: 13
When the command echo $$ outputs 12942, what is the meaning of 12942?
A. It is the process ID of the last command executed.
B. It is the process ID of the current shell.
C. It is the process ID of the last command which has been placed in the background.
D. It is the process ID of the echo command.
Answer: B
NEW QUESTION NO: 14
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem.
Which of the following describes the resulting situation?
A. The user is prompted whether bar should be removed, too.
B. foo would be removed while bar would remain accessible.
C. Both foo and bar would remain accessible.
D. foo and bar would both be removed.
E. foo would be removed. bar would still exist but would be unusable.
Answer: B
NEW QUESTION NO: 15
SIMULATION
What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)
Answer:
l
NEW QUESTION NO: 16
What is the purpose of the command mailq?
A. It queries the mail queue of the local MTA.
B. It is a proprietary tool contained only in the qmail MTA.
C. It is a multi-user mailing list manager.
D. It is a command-line based tool for reading and writing emails.
E. It fetches new emails from a remote server using POP3 or IMAP.
Answer: A