101-500 Exam Dumps - PDF Questions and Testing Engine [Q57-Q76]

Share

101-500 Exam Dumps - PDF Questions and Testing Engine

101-500 Dumps - The Sure Way To Pass Exam


For more info visit:

LPIC1 exam information LPIC1 101-500 exam objectives

 

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

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

Answer: A,D,E

 

NEW QUESTION 58
Which command is used to query information about the available packages on a Debian system?

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

Answer: A

 

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

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

Answer: B

 

NEW QUESTION 60
A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?

  • A. apt-file /etc/debian_version
  • B. apt-get search /etc/debian_version
  • C. dpkg -S /etc/debian_version
  • D. apt -r /etc/debian_version
  • E. find /etc/debian_version -dpkg

Answer: C

 

NEW QUESTION 61
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 62
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?

  • A. The command sed did not match anything in that file therefore the output is empty.
  • B. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.
  • C. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens itfor reading.
  • D. Redirection for shell commands do not work using the > character. It only works using the | character instead.

Answer: C

 

NEW QUESTION 63
What is the purpose of the Bash built-in export command?

  • A. It sets up environment variables for applications.
  • B. It shares NFS partitions for use by other systems on the network.
  • C. It runs a command as a process in a subshell.
  • D. It makes the command history available to subshells.
  • E. It allows disks to be mounted remotely.

Answer: A

 

NEW QUESTION 64
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

  • A. myapp 0>&1 | cat > file1.log
  • B. tee myapp file1.log
  • C. cat < myapp | cat > file1.log
  • D. myapp | cat > file1.log
  • E. myapp | tee file1.log

Answer: E

 

NEW QUESTION 65
How many fields are in a syntactically correct line of /etc/fstab?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4

Answer: A

 

NEW QUESTION 66
What is the output when the regular expression s/[ABC] [abc]/xx/is applied to the following string?
ABCabc
ABxxbc

  • A. ABCabc
  • B.
  • C. xxCxxc
  • D. xxxxxx
  • E. Axxaxx

Answer: A

 

NEW QUESTION 67
Which of the following kernel parameters instructs the kernel to suppress most boot messages?

  • A. nomesg
  • B. verbose=0
  • C. silent
  • D. quiet

Answer: D

 

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

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

Answer: C

 

NEW QUESTION 69
Which of the following commands displays the contents of a gzip compressed tar archive?

  • A. tar cf archive.tgz
  • B. tar ztf archive.tgz
  • C. gzip -d archive.tgz | tar tvf -
  • D. gzip archive.tgz | tar xvf -

Answer: B

 

NEW QUESTION 70
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.
  • B. chmod g+ssales
    setpol -R newgroup=sales sales
  • C. chgrp -p sales sales
  • D. chown --persistent *.sales sales
  • E. chmod 2775 sales

Answer: A,B

 

NEW QUESTION 71
Which of the following commands installs all packages with a name ending with the string foo?
zypper get "*foo"

  • A. zypper add ".*foo"
  • B. zypper update "foo?"
  • C.
  • D. zypper force "foo*"
  • E. zypper install "*foo"

Answer: A

 

NEW QUESTION 72
When redirecting the output of findto the xargscommand, what option to findis useful if the filenames contain spaces?
-rep-space

  • A.
  • B. -printnul
  • C. -print0
  • D. -nospace
  • E. -ignore-space

Answer: A

 

NEW QUESTION 73
Given the following two symbolic links in a System V init configuration:
/etc/rc1.d/K01apache2
/etc/rc2.d/S02apache2
When are the scripts executed that are referenced by these links? (Choose two.)

  • A. K01apache2is never run because K indicates a deactivated service.
  • B. S02apache2is run when runlevel 2 is entered.
  • C. S02apache2is run when runlevel 2 is left.
  • D. K01apache2is run when runlevel 1 is entered.
  • E. Both S02apache2and K01apache2are run during a system shutdown.

Answer: A,B

Explanation:
Explanation/Reference:

 

NEW QUESTION 74
Which of the following statements is correct for a command line ending with a & character?

  • A. The command is run as a direct child of theinitprocess.
  • 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's output is redirected to/dev/null.

Answer: C

 

NEW QUESTION 75
FILL BLANK
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)

Answer:

Explanation:
cmdline

 

NEW QUESTION 76
......


Exam Topics in Detail

Here's an in-depth review of the test objectives for 101-500 exam:

System Architecture

Under this domain, candidates should understand how to configure hardware systems like mass storage devices. Also, they must be familiar with system booting and changing boot targets, and reboot or shut down the systems. In particular, candidates must know how to work with integrated peripherals, SysVinit and systemd, and BIOS. Also, you must focus on developing skills in SysVinit runlevel, switching it, and terminating it properly.

 

Pass Lpi 101-500 Exam Quickly With Test4Cram: https://www.test4cram.com/101-500_real-exam-dumps.html

101-500 Exam Questions (Updated 2022) 100% Real Question Answers: https://drive.google.com/open?id=1183W8BrZh7avYmItoAKFGYcUcDBPMrv5