Act now and download your LPI 101-500 test today! Do not waste time for the worthless LPI 101-500 tutorials. Download Leading LPI LPIC-1 Exam 101 - Part 1 of 2 - version 5.0 exam with real questions and answers and begin to learn LPI 101-500 with a classic professional.
Free demo questions for LPI 101-500 Exam Dumps Below:
NEW QUESTION 1
The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?
- A. The kernel was unable to execute /bin/init
- B. The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk
- C. One or more of the filesystems on the hard disk has errors and a filesystem check should be run
- D. The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process
Answer: B
NEW QUESTION 2
Which of the following statements is correct for a command line ending with a & character?
- A. The command’s output is redirected to/dev/null.
- B. The result of the command defines if the next command will be run.
- C. Thecommand is run in background of the current shell.
- D. The command is run as a direct child of theinitprocess.
Answer: C
NEW QUESTION 3
Which of the following commands converts spaces in a file to tab characters and prints the result to standard output?
- A. iconv
- B. expand
- C. unexpand
- D. tab
Answer: C
NEW QUESTION 4
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)
- A. ext3
- B. JFS
- C. ext2
- D. XFS
- E. procfs
Answer: AC
NEW QUESTION 5
To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?
- A. LD_LOAD_PATH
- B. LD_LIB_PATH
- C. LD_LIBRARY_PATH
- D. LD_SHARE_PATH
- E. LD_RUN_PATH
Answer: C
NEW QUESTION 6
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
- A. echo “${PWD}”
- B. echo “${WD}”
- C. pwd
- D. printwd
- E. echo “${pwd}”
Answer: C
NEW QUESTION 7
Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)
- A. chmod +s /tmp
- B. chmod +t /tmp
- C. chmod 1775 /tmp
- D. chmod 4775 /tmp
- E. chmod 2775 /tmp
Answer: BC
NEW QUESTION 8
Which file from the /proc file system contains a list of all currently mounted devices? (Specify ONLY the command without any path or parameters.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
mounts
NEW QUESTION 9
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.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
17yy
NEW QUESTION 10
Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
dmesg, /bin/dmesg
NEW QUESTION 11
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
- A. Device IRQ settings
- B. PCI bus speed
- C. System battery type
- D. Device vendor identification
- E. Ethernet MAC address
Answer: ABD
NEW QUESTION 12
What is the purpose of the Filesystem Hierarchy Standard?
- A. It is a security model used to ensurefiles are organized according to their permissions and accessibility.
- B. It provides unified tools to create, maintain and manage multiple filesystems in a common way.
- C. It defines a common internal structure of inodes for all compliant filesystems.
- D. Itis a distribution neutral description of locations of files and directories.
Answer: D
NEW QUESTION 13
Which command is used to query information about the available packages on a Debian system?
- A. apt-cache
- B. apt-get
- C. apt-search
- D. dpkg
- E. dpkg-search
Answer: A
NEW QUESTION 14
Creating a hard link to an ordinary file returns an error. What could be the reason for this?
- A. The source file is hidden.
- B. The source file is read-only.
- C. The source file is a shell script.
- D. The source file is already a hard link.
- E. The source and the target are on different filesystems.
Answer: E
NEW QUESTION 15
Which of the following commands redirects the output of ls to standard error?
- A. ls >-1
- B. ls <<ERR
- C. ls >&2
- D. ls >>2
- E. ls |error
Answer: C
NEW QUESTION 16
Which of the following statements is correct regarding the command foo 1> bar?
- A. The stdout from the command foo is appended to the file bar.
- B. The stdout from the command foo overwrites the file bar.
- C. The command foo receives its stdin from the file bar.
- D. The command foo receives its stdin from the stdout of the command bar.
- E. The stderr from the command foo is saved to the file bar.
Answer: B
NEW QUESTION 17
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
- A. shutdown -R 1 now
- B. shutdown -single now
- C. init 1
- D. telinit 1
- E. runlevel 1
Answer: CD
NEW QUESTION 18
What is true regarding the configuration of yum? (Choose two.)
- A. Changes to the repository configuration become active after running yum confupdate
- B. Changes to the yum configuration become active after restarting the yumd service
- C. The configuration of package repositories can be divided into multiple files
- D. Repository configurations can include variables such as $basearch or $releasever
- E. In case /etc/yum.repos.d/ contains files, /etc/yum.conf is ignored
Answer: DE
NEW QUESTION 19
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
- A. dd if=/dev/zero of=/dev/sda bs=512
- B. dd if=/dev/zero of=/dev/sda bs=512 count=1
- C. dd if=/dev/zero of=/dev/sda bs=440 count=1
- D. dd if=/dev/zero of=/dev/sda bs=440
Answer: C
NEW QUESTION 20
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
menu.lst, grub.conf, grub.cfg
NEW QUESTION 21
How is a symbolic link called bar.conf pointing to foo.conf created?
- A. ln –s foo.conf bar.conf
- B. ln foo.conf bar.conf
- C. ln –s bar.conf foo.conf
- D. ln bar.conffoo.conf
Answer: A
NEW QUESTION 22
How many fields are in a syntactically correct line of /etc/fstab?
- A. 3
- B. 4
- C. 5
- D. 6
- E. 7
Answer: D
NEW QUESTION 23
What happens after issuing the command vi without any additional parameters?
- A. vi starts and loads the last file used andmoves the cursor to the position where vi was when it last exited.
- B. vi starts and requires the user to explicitly either create a new or load an existing file.
- C. vi exits with an error message as it cannot be invoked without a file name to operate on.
- D. vi starts in command mode and opens a new empty file.
- E. vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text.
Answer: D
NEW QUESTION 24
What does the command mount --bind do?
- A. It makes the contents of one directory available in another directory
- B. It mounts all available filesystems to the current directory
- C. It mounts all user mountable filesystems to the user’s home directory
- D. It mounts all file systems listed in /etc/fstab which have the option userbind set
- E. It permanently mounts a regular file to a directory
Answer: A
NEW QUESTION 25
Which of the following commands lists the dependencies of a given dpkg package?
- A. apt-cache depends-onpackage
- B. apt-cache dependencies package
- C. apt-cache depends package
- D. apt-cache requires package
Answer: C
NEW QUESTION 26
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
- A. kill -HUP $(pidof grub)
- B. grub-install
- C. grub
- D. No action is required
Answer: D
NEW QUESTION 27
Which wildcards will match the following filenames? (Choose two.) ttyS0
ttyS1 ttyS2
- A. ttyS[1-5]
- B. tty?[0-5]
- C. tty*2
- D. tty[A-Z][012]
- E. tty[Ss][02]
Answer: BD
NEW QUESTION 28
Which shell command is used to continue background execution of a suspended command?
- A. &
- B. bg
- C. cont
- D. exec
- E. :&
Answer: B
NEW QUESTION 29
Which command reads and displays the current contents of the Kernel Ring Buffer on the command line? (Specify ONLY the command without any path or parameters.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
dmesg
NEW QUESTION 30
What does the ? symbol within regular expressions represent?
- A. Match the preceding qualifier one or more times.
- B. Match the preceding qualifier zero or more times.
- C. Match the preceding qualifier zero or one times.
- D. Match a literal ?character.
Answer: C
NEW QUESTION 31
......
P.S. Easily pass 101-500 Exam with 243 Q&As Certifytools Dumps & pdf Version, Welcome to Download the Newest Certifytools 101-500 Dumps: https://www.certifytools.com/101-500-exam.html (243 New Questions)