[Apr 13, 2023] New Real 101-500 Exam Dumps Questions
Pass Your 101-500 Exam Easily with Accurate LPIC-1 Exam 101, Part 1 of 2, version 5.0 PDF Questions
Introduction to LPIC-1 Linux Administrator , 101-500 exam
The LPIC 101-500 exam, is one of qualifying exam to attain accreditation of LPIC 1 Linux Administrator , however, to bag the accreditation aspirants have to pass both 101-500 & 102-500 . Aspirants must have knowledge about :
- Installation and maintenance of Linux workstation, including X11 and setup it up as a network client;
- Architecture of a Linux system;
- Perform easy maintenance tasks: help users, add users to a larger system, backup and restore, shutdown and reboot.
- Handle files and access permissions as well as system security; and
- Work at the Linux command line, including common GNU and Unix commands;
LPI 101-500 Practice Test Questions, LPI 101-500 Exam Practice Test Questions
LPI 101-500 is one of the exams that you need to pass if you want to earn the Linux Professional Institute LPIC-1 certification. This is the first test that you should complete for the path, while the second one is LPI 102-500.
NEW QUESTION 133
Which of the following commands can perform searches on file contents using regular expressions?
- A. reggrep
- B. pgrep
- C. find
- D. grep
- E. locate
Answer: D
NEW QUESTION 134
FILL BLANK
Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
nice
NEW QUESTION 135
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?
- A. echo -n "Hello" >>/tmp/myfile.txt
- B. echo "Hello" >/tmp/myfile.txt
- C. file /tmp/myfile.txt
- D. sed -ie "s/1/2/" /tmp/myfile.txt
- E. touch/tmp/myfile.txt
Answer: C
NEW QUESTION 136
Consider the following directory:
drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)
- A. chgrp -p sales sales
- B. chown --persistent *.sales sales
- C. chmod 2775 sales
- D. chmod g+s sales
- E. setpol -R newgroup=sales sales
Answer: A,C
NEW QUESTION 137
The /etc/_______ file lists currently mounted devices.
Answer:
Explanation:
mtab
NEW QUESTION 138
Which of the following files, located in a user's home directory, contains the Bash history?
- A. history_bash
- B. bash_history
- C. bashrc_history
- D. history
- E. bash_histfile
Answer: B
NEW QUESTION 139
Which of the following command sets the Bash variable named TEST with the content FOO?
- A. var TEST="FOO"
- B. TEST = "FOO"
- C. TEST="FOO"
- D. set TEST="FOO"
Answer: C
NEW QUESTION 140
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 141
Which of the following regular expressions represents a single upper-case letter?
- A. %C
- B. !a-z
- C. {AZ}
- D. :UPPER:
- E. [A-Z]
Answer: E
NEW QUESTION 142
An administrator has issued the following command:
grub-install --root-directory=/custom-grub /dev/sda
In which directory will new configuration files be found? (Provide the full directory path only without the filename)
Answer:
Explanation:
/custom-grub/boot/grub/, /custom-grub/boot/grub
NEW QUESTION 143
In Bash, inserting 1>&2 after a command redirects
- A. standard output to standard error.
- B. standard output to standard input.
- C. standard error to standard output.
- D. standard error to standard input.
- E. standard input to standard error.
Answer: A
NEW QUESTION 144
Which of the following files exist in a standard GRUB 2 installation? (Choose two.)
- A. /boot/grub/i386-pc/1vm.mod
- B. /boot/grub/fstab
- C. /boot/grub/linux/vmlinuz
- D. /boot/grub/stages/stage0
- E. /boot/grub/grub.cfg
Answer: A,E
NEW QUESTION 145
Consider the following directory:
drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory salesare owned by the group sales?
(Choose two.)
- A. chgrp -p sales sales
- B. chmod g+ssales
- C. chown --persistent *.sales sales
- D. chmod 2775 sales
- E. setpol -R newgroup=sales sales
Answer: B,D
NEW QUESTION 146
Which of the following commands will print important system information such as the kernel version and machine hardware architecture?
- A. info
- B. arch
- C. lspci
- D. uname
- E. sysinfo
Answer: D
NEW QUESTION 147
When considering the use of hard links, what are valid reasons not to use hard links?
- A. If users other than root should be able to create hard links, sulnhas to be installed and configured
- B. Hard links are specific to one filesystem and cannot point to files on another filesystem
- C. Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them
- D. When a hard linked file is changed, a copy of the file is created and consumes additional space
- E. Each hard link has individual ownership, permissions and ACLs which can lead to unintended disclosure of file content
Answer: B
NEW QUESTION 148
Consider the following output from the command ls -i:
How would a new file named c.txt be created with the same inode number as a.txt(Inode 525385)?
- A. ln a.txt c.txt
- B. ln -i 525385 c.txt
- C. ln -f c.txt a.txt
- D. ln -h a.txt c.txt
- E. ln c.txt a.txt
Answer: A
NEW QUESTION 149
Which command must be entered before exiting vi to save the current file as filea.txt?
%s filea.txt
- A. :w filea.txt
- B. %w filea.txt
- C. :save filea.txt
- D.
- E. :s filea.txt
Answer: E
NEW QUESTION 150
What is the correct way to set the default systemd boot target to multi-user?
systemctl isolate multi-user.target
- A. systemctl boot -p multi-user.target
- B.
- C. systemctl set-runlevel multi-user.target
- D. systemctl set-boot multi-user.target
- E. systemctl set-default multi-user.target
Answer: A
NEW QUESTION 151
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)
- A. >>>
- B. <<<
- C. %>
- D. <
- E. >
Answer: B,D,E
NEW QUESTION 152
......
Updated 101-500 Exam Practice Test Questions: https://simplilearn.actual4labs.com/Lpi/101-500-actual-exam-dumps.html