[Mar-2023] The Lpi 101-500 Exam Test For Brief Preparation [Q56-Q80]

Share

[Mar-2023] The Lpi 101-500 Exam Test For Brief Preparation 

Revolutionary Guide To Exam Lpi Dumps

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

  • A. The command's input is read from /dev/null.
  • B. The command's output is redirected to /dev/null.
  • C. The command is run as a direct child of the initprocess.
  • D. The command is run in background of the current shell.
  • E. The command's output is executed by the shell.

Answer: D

Explanation:
Explanation

 

NEW QUESTION 57
Which file from the /proc file system contains a list of all currently mounted devices? (Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
mounts

 

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

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

Answer: B

 

NEW QUESTION 59
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
dpkg-reconfigure

 

NEW QUESTION 60
How can the list of files that would be installed by the RPM package file apache-xml.rpm be previewed?

  • A. rpm -qpl apache-xml.rpm
  • B. rpm -qv apache-xml.rpm
  • C. rpm -qp apache-xml.rpm
  • D. rpm -ql apache-xml.rpm

Answer: A

 

NEW QUESTION 61
During a system boot cycle, what program is executed after the BIOS completes its tasks?

  • A. The inetd program
  • B. The kernel
  • C. The init program
  • D. The bootloader

Answer: D

 

NEW QUESTION 62
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

  • A. VFAT
  • B. ext4
  • C. ext2
  • D. XFS
  • E. ext3

Answer: C

 

NEW QUESTION 63
Which of the following are valid stream redirection operators within Bash? (Choose two.)

  • A. <
  • B. >>>
  • C. 2>&1
  • D. #>
  • E. %>

Answer: A,C

Explanation:
Explanation/Reference:

 

NEW QUESTION 64
The installation of a local Debian package failed due to unsatisfied dependencies. Which of the following commands installs missing dependencies and completes the interrupted package installation?
dpkg --fix --all

  • A. apt-get install -f
  • B. apt-get autoinstall
  • C. dpkg-reconfigure --all
  • D. apt-get all
  • E.

Answer: E

 

NEW QUESTION 65
What is the process ID number of the init process on a SysV init based system?

  • A. 0
  • B. It is set to the current run level.
  • C. It is different with each reboot.
  • D. 1
  • E. 2

Answer: E

 

NEW QUESTION 66
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose two.) LABEL

  • A. UUID
  • B. NAME
  • C. FIND
  • D. ID
  • E.

Answer: D,E

 

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

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

Answer: B

 

NEW QUESTION 68
Which of the following Linux filesystems preallocate a fixed number of inodes when creating a new filesystem instead of generating them as needed? (Choose two.)

  • A. ext2
  • B. XFS
  • C. ext3
  • D. JFS
  • E. procfs

Answer: A,C

 

NEW QUESTION 69
Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?

  • A. tr '\r\n' '' < userlist.txt > newlist.txt
  • B. tr -s '^M' '^J' userlist.txt newlist.txt
  • C. tr '\r' '\n' userlist.txt newlist.txt
  • D. tr -d '\r' < userlist.txt > newlist.txt
  • E. tr -c '\n\r' '' < newlist.txt > userlist.txt

Answer: D

 

NEW QUESTION 70
FILL BLANK
Which program updates the database that is used by the locatecommand? (Specify ONLY the command without any path or parameters).

Answer:

Explanation:
updatedb

 

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

  • A. The command's input is read from /dev/null.
  • B. The command's output is redirected to /dev/null.
  • C. The command is run as a direct child of the initprocess.
  • D. The command is run in background of the current shell.
  • E. The command's output is executed by the shell.

Answer: D

 

NEW QUESTION 72
Which of the following commands will change the quota for a specific user?

  • A. quota
  • B. repquota
  • C. edquota
  • D. quota -e

Answer: C

 

NEW QUESTION 73
FILL BLANK
Which command is used to change the priority of an already running process? (Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
renice

 

NEW QUESTION 74
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 75
Which of the following commands lists all currently installed packages when using RPM package management?

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

Answer: A

 

NEW QUESTION 76
What command changes the nice level of a running process? (Specify ONLY the command without any path or parameters)

Answer:

Explanation:
renice

 

NEW QUESTION 77
Which of the following commands outputs testto the shell?
cat <!EOT

  • A. test
    EOT
    cat !<EOT
  • B. test
    EOT
    cat &<EOT
  • C. test
    EOT
    cat <|EOT
  • D. test
    EOT
  • E. test
    EOT
    cat <<EOT

Answer: D

 

NEW QUESTION 78
Which of the following commands changes all occurrences of the word "bob" in file data to "Bob" and prints the result to standard output?

  • A. sed's/bob/Bob/' data
  • B. sed'/bob/Bob/' data
  • C. sed'/bob/Bob' data
  • D. sed's/bob/Bob/g' data
  • E. sed's/bob,Bob/' data

Answer: D

 

NEW QUESTION 79
Which of the following commands redirects the output of ls to standard error?

  • A. ls >&2
  • B. ls |error
  • C. ls >>2
  • D. ls >-1
  • E. ls <<ERR

Answer: A

 

NEW QUESTION 80
......


For more info visit:

LPIC1 exam information LPIC1 101-500 exam objectives

 

101-500 Free Study Guide! with New Questions: https://www.real4dumps.com/101-500_examcollection.html

Pass 101-500 Exam Latest Practice Questions: https://drive.google.com/open?id=14BoCjBM1_BYwuyVF-J_cHRPuSqsnaS3S