Unique Top-selling 101-500 Exams - New 2021 Lpi Pratice Exam [Q70-Q93]

Share

Unique Top-selling 101-500 Exams - New 2021 Lpi  Pratice Exam

LPIC Level1 Dumps 101-500 Exam for Full Questions - Exam Study Guide

NEW QUESTION 70
Which of the following apt-getsubcommands installs the newest versions of all currently installed packages?
auto-update

  • A.
  • B. full-upgrade
  • C. update
  • D. dist-upgrade
  • E. install

Answer: B

 

NEW QUESTION 71
Which of the following commands lists the dependencies of the RPM package file foo.rpm?
rpm -qpR foo.rpm

  • A. rpm -ld foo.rpm
  • B.
  • C. rpm -pD foo
  • D. rpm -R foo.rpm
  • E. rpm -dep foo

Answer: E

 

NEW QUESTION 72
Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?

  • A. 0
  • B. 1
  • C. 2
  • D. fd
  • E. 8e

Answer: B

 

NEW QUESTION 73
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)

Answer:

Explanation:
update, upgrade

 

NEW QUESTION 74
The system configuration file named _______ is commonly used to set the default runlevel. (Please provide the file name with full path information)

Answer:

Explanation:
/etc/inittab

 

NEW QUESTION 75
Which chown command changes the ownership to dave and the group to staffon a file named data.txt?

  • A. chown -u dave -g staff data.txt
  • B. chown dave:staff data.txt
  • C. chown dave/staff data.txt
  • D. chown dave+staff data.txt
  • E. chown --user dave --group staff data.txt

Answer: B

 

NEW QUESTION 76
Which of the following regular expressions represents a single upper-case letter?

  • A. !a-z
  • B. [A-Z]
  • C. {AZ}
  • D. %C
  • E. :UPPER:

Answer: B

 

NEW QUESTION 77
Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?

  • A. foo | tee /tmp/foodata
  • B. foo | less /tmp/foodata
  • C. foo | cp /tmp/foodata
  • D. foo > /tmp/foodata
  • E. foo > stdout >> /tmp/foodata

Answer: A

 

NEW QUESTION 78
What output will be displayed when the user fredexecutes the following command?
echo 'fred $USER'

  • A. fred /home/fred/
  • B. fred fred'
  • C. fred fred
  • D. fred $USER
  • E. fred $USER'

Answer: D

 

NEW QUESTION 79
Which of the following commands shows the definition of a given shell command?

  • A. where
  • B. type
  • C. stat
  • D. case

Answer: B

 

NEW QUESTION 80
Which permissions and ownership should the file /etc/passwd have?

  • A. -rw-------1 11531 Jun 5 22:45 /etc/passwd
  • B. -rw-------1 rootroot531 Jun 5 22:45 /etc/passwd
  • C. -rw-r--r--1 11531 Jun 5 22:45 /etc/passwd
  • D. -rw-r--r--1 rootroot531 Jun 5 22:45 /etc/passwd

Answer: D

 

NEW QUESTION 81
What can the Logical Volume Manager (LVM) be used for? (Choose three.)

  • A. To encrypt logical volumes.
  • B. To dynamically change the size of logical volumes.
  • C. To create RAID 9 arrays.
  • D. To dynamically create or delete logical volumes.
  • E. To create snapshots.

Answer: B,D,E

 

NEW QUESTION 82
Which command must be entered before exiting vi to save the current file as filea.txt?

  • A. :s filea.txt
  • B. :w filea.txt
  • C. :save filea.txt
  • D. %w filea.txt
  • E. %s filea.txt

Answer: B

 

NEW QUESTION 83
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?

  • A. file /tmp/myfile.txt
  • B. touch/tmp/myfile.txt
  • C. echo "Hello" >/tmp/myfile.txt
  • D. echo -n "Hello" >>/tmp/myfile.txt
  • E. sed -ie "s/1/2/" /tmp/myfile.txt

Answer: A

 

NEW QUESTION 84
Which of the following commands can be used to display the inode number of a given file?

  • A. ln
  • B. ls
  • C. cp
  • D. inode

Answer: B

 

NEW QUESTION 85
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)?
ln -h a.txt c.txt

  • A. ln a.txt c.txt
  • B. ln c.txt a.txt
  • C. ln -i 525385 c.txt
  • D. ln -f c.txt a.txt

Answer: D

 

NEW QUESTION 86
Which command will uninstall a package but leave its configuration files in case the package is re-installed?

  • A. dpkg -s pkgname
  • B. dpkg -L pkgname
  • C. dpkg -r pkgname
  • D. dpkg -P pkgname

Answer: C

 

NEW QUESTION 87
Which of the following describes the correct order in which the components of the system boot process are started?

  • A. Bootloader, BIOS, kernel, init system
  • B. BIOS, bootloader,kernel, init system
  • C. Bootloader, BIOS, init system, kernel
  • D. BIOS, bootloader, init system, kernel
  • E. BIOS, kernel, bootloader, init system

Answer: B

 

NEW QUESTION 88
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 89
Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?

  • A. grub-install /dev/sdc
  • B. grub2 install /dev/sdc
  • C. grub-mbrinstall /dev/sdc
  • D. grub-mkrescue /dev/sdc
  • E. grub-setup /dev/sdc

Answer: A

 

NEW QUESTION 90
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?

  • A. apt-cache
  • B. apt
  • C. dpkg
  • D. apt-search
  • E. apt-get

Answer: A

 

NEW QUESTION 91
What is true regarding the command
ls > files
if files does not exist?

  • A. An error message is shown and ls is not executed
  • B. The command files is executed and receives the output of ls
  • C. Any output of ls is discarded
  • D. The output of ls is printed to the terminal
  • E. files is created and contains the output of ls

Answer: E

 

NEW QUESTION 92
Which of the following commands list all files and directories within the /tmp/directory and its subdirectories which are owned by the user root? (Choose two.) find /tmp -user root -print

  • A.
  • B. find /tmp -uid root -print
  • C. find -path /tmp -uid root
  • D. find -path /tmp -user root -print
  • E. find /tmp -user root

Answer: C,D

 

NEW QUESTION 93
......

Best way to practice test for Lpi 101-500: https://www.braindumpspass.com/Lpi/101-500-practice-exam-dumps.html

101-500 Dump Ready - Exam Questions and Answers: https://drive.google.com/open?id=1OCEnul0wjkydlMSW9_DhMWkcMOFP3H7T