[Feb 01, 2022] 101-500 Exam Dumps - Try Best 101-500 Exam Questions - PracticeMaterial [Q36-Q61]

Share

[Feb 01, 2022] 101-500 Exam Dumps - Try Best 101-500 Exam Questions - PracticeMaterial

Verified 101-500 exam dumps Q&As with Correct 246 Questions and Answers


LPIC-1 Linux Administrator , 101-500 Certified Professional salary

The average salary of a LPIC-1 Linux Administrator in

  • India - 10,42,327 INR
  • Europe - 42,347 EURO
  • United State - 55,123 USD
  • England - 40,432 POUND

 

NEW QUESTION 36
Which wildcards will match the following filenames? (Choose two.)
ttyS0
ttyS1
ttyS2

  • A. ttyS[1-5]
  • B. tty[Ss][02]
  • C. tty[A-Z][012]
  • D. tty?[0-5]
  • E. tty*2

Answer: C,D

 

NEW QUESTION 37
Which file defines the network locations from where the Debian package manager downloads software packages?
/etc/dpkg/dpkg.cfg

  • A.
  • B. /etc/apt/apt.conf
  • C. /etc/apt/apt.conf.d
  • D. /etc/apt/sources.list
  • E. /etc/dpkg/dselect.cfg

Answer: A

 

NEW QUESTION 38
Which of the following commands loads a kernel module along with any required dependency modules?

  • A. modprobe
  • B. module_install
  • C. loadmod
  • D. insmod
  • E. depmod

Answer: A

 

NEW QUESTION 39
What is the default nice level when a process is started using the nicecommand?

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

Answer: A

 

NEW QUESTION 40
Which of the following statements is correct regarding the command foo 1> bar?

  • A. The command foo receives its stdin from the file bar.
  • B. The stderr from the command foo is saved to the file bar.
  • C. The stdout from the command foo is appended to the file bar.
  • D. The command foo receives its stdin from the stdout of the command bar.
  • E. The stdout from the command foo overwrites the file bar.

Answer: E

 

NEW QUESTION 41
Which of the following is correct when talking about mount points?

  • A. Files within a directory are deleted when the directory is used as a mount point.
  • B. Every existing directory can be used as a mount point.
  • C. Only empty directories can be used as a mount point.
  • D. Directories need to have the SetUID flag set to be used as a mount point.

Answer: B

 

NEW QUESTION 42
Creating a hard link to an ordinary file returns an error. What could be the reason for this?

  • A. The source file is read-only.
  • B. The source file is a shell script.
  • C. The source file is already a hard link.
  • D. The source and the target are on different filesystems.
  • E. The source file is hidden.

Answer: D

 

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

Answer: A

 

NEW QUESTION 44
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 45
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?

  • A. By issuing a command such as :set repetition=4 which repeats every subsequentcommand 4 times.
  • B. By selecting all affected lines using the shift and cursor keys before applying the command.
  • C. By specifying the number right in front of a command such as 4l or 2yj.
  • D. By using the command :repeat followed by the number and the command.

Answer: C

 

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

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

Answer: A

 

NEW QUESTION 47
When considering the use of hard links, what are valid reasons not to use hard links?

  • A. Each hard link has individual ownership, permissions and ACLs which can lead to unintended disclosure of file content
  • B. Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them
  • C. When a hard linked file is changed, a copy of the file is created and consumes additional space
  • D. If users other than root should be able to create hard links, sulnhas to be installed and configured
  • E. Hard links are specific to one filesystem and cannot point to files on another filesystem

Answer: E

Explanation:
Explanation/Reference:

 

NEW QUESTION 48
FILL BLANK
Which System V init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.)

Answer:

Explanation:
/etc/inittab

 

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

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

Answer: A

 

NEW QUESTION 50
Which file should be edited to select the network locations from which Debian installation package files are loaded?

  • A. /etc/apt/apt.conf
  • B. /etc/apt/apt.conf.d
  • C. /etc/dpkg/dpkg.cfg
  • D. /etc/apt/sources.list
  • E. /etc/dpkg/dselect.cfg

Answer: D

 

NEW QUESTION 51
Which program updates the database that is used by the locate command?

Answer:

Explanation:
updatedb

 

NEW QUESTION 52
From a Bash shell, which of the following commands directly executes the instruction from the file
/usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

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

Answer: A,E

 

NEW QUESTION 53
Which of the following commands print the current working directory when using a Bash shell? (Choose two.) echo "${PWD}"

  • A. echo "${pwd}"
  • B.
  • C. pwd
  • D. echo "${WD}"
  • E. printwd

Answer: A,D

 

NEW QUESTION 54
Which SysV init configuration file is commonly used to set the default run level?
(Specify the full name of the file, including path.)

Answer:

Explanation:
inittab

 

NEW QUESTION 55
Which of the following commands will reduce all consecutive spaces down to a single space?

  • A. tr -r ' ' '\n' < a.txt > b.txt
  • B. tr -c ' ' < a.txt > b.txt
  • C. tr -d ' ' < a.txt > b.txt
  • D. tr '\s' ' ' < a.txt > b.txt
  • E. tr -s ' ' < a.txt > b.txt

Answer: E

 

NEW QUESTION 56
Which of the following commands is used to change options and positional parameters within a running Bash shell?

  • A. envsetup
  • B. bashconf
  • C. setsh
  • D. history
  • E. set

Answer: E

 

NEW QUESTION 57
A yum repository can declare sets of related packages. Which yumcommand installs all packages belonging to the group admintools?
yum pkgsel --install admintools

  • A.
  • B. yum install admintools/*
  • C. yum groupinstall admintools
  • D. yum collection install admintools
  • E. yum taskinstall admintools

Answer: E

 

NEW QUESTION 58
Which of the following commands can be used to display the inode number of a given file? (Choose two.) inode

  • A.
  • B. cp
  • C. ln
  • D. stat
  • E. ls

Answer: A,B

 

NEW QUESTION 59
Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory)

Answer:

Explanation:
/var, /var/, var, var/

 

NEW QUESTION 60
Which of the following commands creates or, in case it already exists, overwrites a file called datawith the output of ls?
ls 3> data

  • A. ls >>> data
  • B. ls >& data
  • C.
  • D. ls > data
  • E. ls >> data

Answer: E

 

NEW QUESTION 61
......


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.

 

Lpi 101-500 Test Engine PDF - All Free Dumps: https://www.practicematerial.com/101-500-exam-materials.html

Get New 101-500 Certification – Valid Exam Dumps Questions: https://drive.google.com/open?id=1jMrCJ1wG4ZdCIM1y4f04IQ0NCwr5tZPx