
Best Quality Lpi 101-500 Exam Questions ActualTorrent Realistic Practice Exams [2021]
Critical Information To LPIC-1 Exam 101, Part 1 of 2, version 5.0 Pass the First Time
NEW QUESTION 142
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
- A. SysInit
- B. startd
- C. systemd
- D. SysV init
- E. Upstart
Answer: C,D,E
NEW QUESTION 143
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
fmt -f 1,4 /etc/passwd
- A. paste -f 1,4 /etc/passwd
- B.
- C. split -c 1,4 /etc/passwd
- D. sort -t : -k 1,4 /etc/passwd
- E. cut -d : -f 1,4 /etc/passwd
Answer: D
NEW QUESTION 144
In the vi editor, what vi command will copy (but not paste) from the current line at the cursor and the following 16 lines (17 lines total)? Specify the correct vi command without spaces.
Answer:
Explanation:
17yy
NEW QUESTION 145
Which of the following files, located in a user's home directory, contains the Bash history?
- A. history
- B. bash_histfile
- C. bash_history
- D. history_bash
- E. bashrc_history
Answer: C
NEW QUESTION 146
Which of the following commands changes all CR-LFline breaks in the text file userlist.txtto Linux standard LF line breaks and stores the result in newlist.txt?
tr -d '\r' < userlist.txt > newlist.txt
- A.
- B. tr -c '\n\r' '' <newlist.txt> userlist.txt
- C. tr -s '/^M/^J/' userlist.txt newlist.txt
- D. tr '\r' '\n' userlist.txt newlist.txt
- E. tr '\r\n' '' <userlist.txt> newlist.txt
Answer: B
NEW QUESTION 147
Which of the following files, located in a user's home directory, contains the Bash history?
- A. .bash_history
- B. history
- C. .history_bash
- D. bash_histfile
- E. bashrc_history
Answer: A
NEW QUESTION 148
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
Answer: A
NEW QUESTION 149
During a system boot cycle, what program is executed after the BIOS completes its tasks?
- A. The kernel
- B. The init program
- C. The inetd program
- D. The bootloader
Answer: D
NEW QUESTION 150
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. foo would be removed. bar would still exist but would be unusable.
- B. foo would be removed while bar would remain accessible.
- C. foo and bar would both be removed.
- D. The user is prompted whether bar should be removed, too.
- E. Both foo and bar would remain accessible.
Answer: B
NEW QUESTION 151
When considering the use of hard links, what are valid reasons not to use hard links?
- A. Each hard link has individual ownership, permissions and ACLs which can lead to unintended disclosure of file content
- B. When a hard linked file is changed, a copy of the file is created and consumes additional space
- C. Hard links are specific to one filesystem and cannot point to files on another filesystem
- D. If users other than root should be able to create hard links, suln has to be installed and configured
- E. Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them
Answer: E
NEW QUESTION 152
When redirecting the output of findto the xargscommand, what option to findis useful if the filenames contain spaces?
-rep-space
- A. -printnul
- B. -ignore-space
- C.
- D. -nospace
- E. -print0
Answer: C
NEW QUESTION 153
When in Normal mode invi, which character can be used to begin a reverse search of the text?
- A. F
- B. /
- C. ?
- D. r
Answer: C
NEW QUESTION 154
Given the following input stream:
txt1.txt
atxt.txt
txtB.txt
Which of the following regular expressions turns this input stream into the following output stream?
txt1.bak.txt
atxt.bak.txt
txtB.bak.txt
- A. s/txt/bak.txt/
- B. s/^.txt/.bak/
- C. s/[.txt]/.bak$1/
- D. s/^txt$/.bak^/
- E. s/txt$/bak.txt/
Answer: E
NEW QUESTION 155
What is the purpose of the xargscommand?
- A. It passes arguments to an X server.
- B. It asks a question, graphically, and returns the answer to the shell.
- C. It reads standard input and builds up commands to execute.
- D. It repeats the execution of a command using different parameters for each invocation.
- E. It allows specifying long options (like --help) for commands that normally only accept short options (like - h)
Answer: C
NEW QUESTION 156
Which of the following Linux filesystems preallocate a fixed number of inodes when creating a new filesystem instead of generating them as needed? (Choose two.)
- A. ext3
- B. XFS
- C. procfs
- D. ext2
- E. JFS
Answer: A,D
NEW QUESTION 157
Which of the following commands creates or, in case it already exists, overwrites a file called datawith the output of ls?
- A. ls >> data
- B. ls >>> data
- C. ls > data
- D. ls 3> data
- E. ls >& data
Answer: C
NEW QUESTION 158
Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)
- A. Linux does not require the assistance of the BIOS to boot a computer
- B. The BIOS boot process starts only if secondary storage, such as the hard disk, is functional
- C. The BIOS initiates the boot process after turning the computer on
- D. The BIOS is started by loading hardware drivers from secondary storage, such as the hard disk
- E. Some parts of the boot process can be configured from the BIOS
Answer: C,E
NEW QUESTION 159
What is contained on the EFI System Partition?
- A. The user home directories
- B. The Linux root file system
- C. The first stage boot loader
- D. The default swap space file
- E. The Linux default shell binaries
Answer: C
Explanation:
Explanation/Reference:
NEW QUESTION 160
Which file in /proc describes the IRQs that are used by various kernel drivers?
(Specify the file name only without any path.)
Answer:
Explanation:
interrupts
NEW QUESTION 161
In which directory must definition files be placed to add additional repositories to yum?
Answer:
Explanation:
/etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/
NEW QUESTION 162
Which of the following files, located in a user's home directory, contains the Bash history?
- A. .bash_histfile
.history - B.
- C. .bashrc_history
- D. .bash_history
- E. .history_bash
Answer: E
NEW QUESTION 163
Which of the following is the device file name for the second partition on the only SCSI drive?
- A. /dev/sda2
- B. /dev/sd1p2
- C. /dev/sd0a2
- D. /dev/hda1
Answer: A
NEW QUESTION 164
What is the first program the Linux kernel starts at boot time when using System V init?
/lib/init.so
- A.
- B. /proc/sys/kernel/init
- C. /etc/rc.d/rcinit
- D. /sbin/init
- E. /boot/init
Answer: E
NEW QUESTION 165
What is the default action of the split command on an input file?
- A. It will break the file into new files of 1,024 byte pieces each.
- B. It will break the file into new files that are no morethan 5% of the size of the original file.
- C. It will break the file into new files of 1,024 kilobyte pieces each.
- D. It will break the file into new files of 1,000 line pieces each.
Answer: D
NEW QUESTION 166
What does the command grub-install /dev/sda do?
- A. GRUB recompiles the Linux Kernel and installs it on the Master Boot Record of device/dev/sda.
- B. GRUB installs all required files and configures the boot loader on device/dev/sda.
- C. GRUB creates partitions on the device/dev/sdato be used with Linux.
- D. GRUB sets the default BIOS boot device to/dev/sda.
Answer: B
NEW QUESTION 167
......
101-500 EXAM DUMPS WITH GUARANTEED SUCCESS: https://www.actualtorrent.com/101-500-questions-answers.html
Best Quality Lpi 101-500 Exam Questions: https://drive.google.com/open?id=1C4X1aHhydaPUdqC49h_9LsjarbmYNn_B