Latest 101-500 Pass Guaranteed Exam Dumps Certification Sample Questions [Q168-Q190]

Share

Latest 101-500 Pass Guaranteed Exam Dumps Certification Sample Questions

New 101-500 Test Materials & Valid 101-500 Test Engine


Lpi 101-500 certification exam is a multiple-choice exam that consists of 60 questions. 101-500 exam is designed to test the candidate's knowledge of Linux concepts, including system architecture, command-line usage, and file management. 101-500 exam is administered in a proctored environment, which means that the candidate must take the exam in a controlled setting, such as a testing center or online proctoring service.


The LPIC-1 Exam 101, Part 1 of 2, version 5.0 is a valuable certification exam for IT professionals who want to gain a comprehensive understanding of Linux system administration. LPIC-1 Exam 101, Part 1 of 2, version 5.0 certification is recognized globally and validates the candidate's skills and knowledge in Linux system administration, which can enhance their career prospects and open up new job opportunities.


Prerequisites for 101-500 exam

There are no prerequisites for this certification

 

NEW QUESTION # 168
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?

  • A. SIGTERM
  • B. SIGSTOP
  • C. SIGKILL
  • D. SIGINT

Answer: D

Explanation:
Explanation
The SIGINT signal is sent to a process when the user presses the key combination CTRL+C on the keyboard.
This signal is used to interrupt the process and cause it to terminate, unless the process catches or ignores the signal. The SIGTERM signal is the default signal sent by the kill command to request a process to terminate gracefully. The SIGSTOP signal is used to pause a process and make it stop executing until it receives a SIGCONT signal. The SIGKILL signal is used to force a process to terminate immediately and cannot be caught or ignored by the process. References:
* LPIC-1 Exam 101 Objectives, Topic 103: GNU and Unix Commands, 103.2 Process management
* LPIC-1 Linux Administrator 101-500 Exam FAQ, LPIC-1 Exam 101 Objectives, GNU and Unix Commands (Total Weight: 25)


NEW QUESTION # 169
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 3> data
  • C. ls >& data
  • D. ls >> data
  • E. ls > data

Answer: E


NEW QUESTION # 170
What does the Filesystem Hierarchy Standard enable? (Select TWO answers)

  • A. Software to predict theownership and access rights of installed files and directories
  • B. Users to predict how the filesystem should be formatted according to need.
  • C. Users to predict the location of installed files and directories.
  • D. Software to predict the location of installed files and directories

Answer: C,D


NEW QUESTION # 171
Which of the following commands lists all currently installed packages when using RPM package management?

  • A. yum --list --installed
  • B. yum --query --all
  • C. rpm --list -installed
  • D. rpm --query --all

Answer: D

Explanation:
Explanation
The command that lists all currently installed packages when using RPM package management is rpm
--query --all. This command displays information about all the packages that are currently installed on the system, including their name, version, release, and architecture1. The output can be customized by using various query options and format specifiers2.
The other commands are either invalid or related to YUM, not RPM. yum --query --all is not a valid YUM command, as YUM does not have a --query option3. yum --list --installed is a valid YUM command, but itlists the packages from the YUM repositories, not the RPM database3. rpm --list --installed is not a valid RPM command, as RPM does not have a --list option2.
References:
* RPM Command in Linux | Linuxize
* rpm(8) - Linux manual page
* Linux package management with YUM and RPM | Enable Sysadmin


NEW QUESTION # 172
In the vi editor, which of the following commands will copy the current line into the vi buffer?

  • A. c
  • B. 1c
  • C. 1y
  • D. cc
  • E. yy

Answer: E


NEW QUESTION # 173
Which of the following commands will NOT execute the bash script /usr/local/bin/runme.sh?

  • A. /usr/local/bin/runme.sh
  • B. source /usr/local/bin/runme.sh
  • C. /bin/bash /usr/local/bin/runme.sh
  • D. . /usr/local/bin/runme.sh
  • E. run /usr/local/bin/runme.sh

Answer: E


NEW QUESTION # 174
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. init 1
  • B. telinit 1
  • C. shutdown -single now
  • D. shutdown -R 1 now
  • E. runlevel 1

Answer: A,B


NEW QUESTION # 175
SIMULATION
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.)

Answer:

Explanation:
dmesg


NEW QUESTION # 176
In which directory must definition files be placed to add additional repositories to yum?

  • A. * /etc/yum.repos.d
  • B. * /etc/yum.repos.d/
  • C. * yum.repos.d/
  • D. * yum.repos.d

Answer: B

Explanation:
Explanation
The /etc/yum.repos.d/ directory contains configuration files for additional yum repositories. Each file in this directory should end with .repo and contain information about one or more repositories. The yum command will read all the files in this directory and use them as sources for software packages. The format of the .repo files is similar to the /etc/yum.conf file, which contains the main configuration options for yum. Each .repo file can have one or more sections, each starting with [repository] where repository is a unique identifier for the repository. The section can have various options, such as name, baseurl, enabled, gpgcheck, etc. For example, a .repo file for the EPEL repository could look like this:
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 References:
* 2, 102.5 Use RPM and YUM package management
* 4, 101-500 Exam - Free Questions and Answers - ITExams.com
* man yum.conf


NEW QUESTION # 177
Which of the following commands will print important system information such as the kernel version and machine hardware architecture?

  • A. arch
  • B. uname
  • C. info
  • D. lspci
  • E. sysinfo

Answer: B


NEW QUESTION # 178
Which of the following commands will find the string foo in the file filel.txt, regardless of foo being in upper or lowercase letters?

  • A. cat file1.txt >grep -n foo
  • B. grep -n foo file1.txt
  • C. grep -i foo | file1.txt
  • D. grep -n file1.txt < foo
  • E. cat file1.txt | grep -i foo

Answer: E


NEW QUESTION # 179
Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error, "No such file or directory." Which command will remove the directory?

  • A. rmdir bob/\bobsdir
  • B. rmdir ~bob/\\bobsdir
  • C. rmdir "bob/\bobsdir"
  • D. rmdir 'bob/\bobsdir'
  • E. rmdir ~bob/ 'bobsdir'

Answer: B


NEW QUESTION # 180
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 -h a.txt c.txt
  • B. ln c.txt a.txt
  • C. ln -f c.txt a.txt
  • D. ln -i 525385 c.txt
  • E. ln a.txt c.txt

Answer: E


NEW QUESTION # 181
You see following output while trying to install an updated package: [root@example pub]# rpm -I gthumb-2.2.0.i386.rpm package gthumb- 1.0.1.i386.rpm is already installed. Which command will allow you to install the updated version?

  • A. rpm -qu gthumb-2.2.0.i386.rpm
  • B. rpm -qiv gthumb-2.2.0.i386.rpm
  • C. rpm -i gthumb-2.2.0.i386.rpm
  • D. rpm -U gthumb-2.2.0.i3S6.rpm
  • E. rpm -ivh gthumb-2.2.0.i386.rpm

Answer: D


NEW QUESTION # 182
Which of the following files, located in the user home directory, is used to store the Bash history?

  • A. .bash_history
  • B. .history_bash
  • C. .bash_histfile
  • D. .bashrc_history
  • E. .history

Answer: A


NEW QUESTION # 183
After a minor security incident you are instructed by your lead sys-admin to verify the RPM's installed on a running system. Which command will create a complete report which you can analyze for changes which may be security related?

  • A. rpm -Vqt --nomd5 >report
  • B. rpm -Va --nofiles >report
  • C. rpm -Va >report
  • D. rpm --checkfiles >report
  • E. rpm -Qavy >report

Answer: C


NEW QUESTION # 184
You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following statements is true?

  • A. You need to load the USB modulesfor your existing modular kernel.
  • B. USB support is no available in Linux.
  • C. You need to upgrade the kernel.
  • D. You need to rebuild the kernel.

Answer: C


NEW QUESTION # 185
Which of the following programs will only find files that are in your PATH?

  • A. which
  • B. find
  • C. locate
  • D. slocate

Answer: A


NEW QUESTION # 186
What key sequence will suspend the current process and return you to a shell prompt?

  • A. Ctrl-d
  • B. Ctrl-c
  • C. Ctrl-x
  • D. Ctrl-z

Answer: D


NEW QUESTION # 187
Which daemon handles power management events on a Linux system?

  • A. inetd
  • B. batteryd
  • C. pwrmgntd
  • D. acpid
  • E. psd

Answer: D


NEW QUESTION # 188
You need to create a simple hierarchy of directories: images/photos/summer/ottawa/. None of the directories on that path exists. What command will create all of the needed directories in one step?

  • A. mkdir -P images/photos/summer/ottawa/
  • B. mkdir -r images/photos/summer/ottawa/
  • C. mkdir -p images/photos/summer/ottawa/
  • D. mkdir -R images/photos/summer/ottawa/
  • E. mkdir -m images/photos/summer/ottawa/

Answer: C


NEW QUESTION # 189
Which shell command is used to continue background execution of a suspended command?

  • A. &
  • B. bg
  • C. cont
  • D. :&
  • E. exec

Answer: B


NEW QUESTION # 190
......

101-500 Sample with Accurate & Updated Questions: https://www.torrentvce.com/101-500-valid-vce-collection.html

101-500 Updated Exam Dumps [2025] Practice Valid Exam Dumps Question: https://drive.google.com/open?id=1iZx2xe5z1ZhFC3jlufI8DW3hKhAac0my