aiotestking uk

101-500 Exam Questions - Online Test


101-500 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Our pass rate is high to 98.9% and the similarity percentage between our 101-500 study guide and real exam is 90% based on our seven-year educating experience. Do you want achievements in the LPI 101-500 exam in just one try? I am currently studying for the LPI 101-500 exam. Latest LPI 101-500 Test exam practice questions and answers, Try LPI 101-500 Brain Dumps First.

LPI 101-500 Free Dumps Questions Online, Read and Test Now.

NEW QUESTION 1

Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)

  • A. uptime
  • B. up
  • C. top
  • D. uname -u
  • E. time –up

Answer: AC

NEW QUESTION 2

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

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

Answer: D

NEW QUESTION 3

Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?

  • A. File size
  • B. Modify timestamp
  • C. Link count
  • D. Inode number
  • E. Permissions

Answer: C

NEW QUESTION 4

The /etc/____ file lists currently mounted devices.

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
mtab

NEW QUESTION 5

Which RPM command will output the name of the package which supplied the file /etc/exports?

  • A. rpm -F /etc/exports
  • B. rpm -qf /etc/exports
  • C. rpm -Kl /etc/exports
  • D. rpm -qp /etc/exports
  • E. rpm -qi/etc/exports

Answer: B

NEW QUESTION 6

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

Answer: C

NEW QUESTION 7

Which of the following commands print the current working directory when using a Bash shell? (Choose two.)

  • A. echo “${PWD}”
  • B. echo “${WD}”
  • C. pwd
  • D. printwd
  • E. echo “${pwd}”

Answer: C

NEW QUESTION 8

Which of the following commands updates the linker cache of shared libraries?

  • A. mkcache
  • B. soconfig
  • C. mkldconfig
  • D. lddconfig
  • E. ldconfig

Answer: E

NEW QUESTION 9

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

Answer: B

NEW QUESTION 10

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.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
dmesg

NEW QUESTION 11

Which option to the tee command will cause the output to be concatenated on the end of the output file instead of overwriting the existing file contents?

  • A. –a
  • B. –c
  • C. --no-clobber
  • D. --continue

Answer: A

NEW QUESTION 12

Which of the following properties of a Linux system should be changed when a virtual machine is cloned? (Choose two.)

  • A. The partitioning scheme
  • B. The file system
  • C. The D-Bus Machine ID
  • D. The permissions of /root/
  • E. The SSH host keys

Answer: DE

NEW QUESTION 13

Which file in /proc describes the IRQs that are used by various kernel drivers? (Specify the file name only without any path.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
interrupts

NEW QUESTION 14

Which of the following commands lists the dependencies of the RPM package file foo.rpm?

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

Answer: A

NEW QUESTION 15

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?

  • A. systemd.target=rescue.target
  • B. systemd.runlevel=rescue.target
  • C. systemd.service=rescue.target
  • D. systemd.default=rescue.target
  • E. systemd.unit=rescue.target

Answer: E

NEW QUESTION 16

When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?

  • A. -10
  • B. 10
  • C. 20

Answer: C

NEW QUESTION 17

Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?

  • A. dirname
  • B. which
  • C. basename
  • D. query
  • E. whereis

Answer: E

NEW QUESTION 18

Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?

  • A. magic
  • B. type
  • C. file
  • D. pmagic
  • E. hash

Answer: C

NEW QUESTION 19

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

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

Answer: C

NEW QUESTION 20

In compliance with the FHS, in which of the directories are man pages found?

  • A. /usr/share/man
  • B. /opt/man
  • C. /usr/doc/
  • D. /var/pkg/man
  • E. /var/man

Answer: A

NEW QUESTION 21

Which of the following vi commands deletes two lines, the current and the following line?

  • A. d2
  • B. 2d
  • C. 2dd
  • D. dd2
  • E. de12

Answer: C

NEW QUESTION 22

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.

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
17yy

NEW QUESTION 23

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

  • A. /lib/init.so
  • B. /sbin/init
  • C. /etc/rc.d/rcinit
  • D. /proc/sys/kernel/init
  • E. /boot/init

Answer: B

NEW QUESTION 24

Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
mkdir, /usr/bin/mkdir

NEW QUESTION 25

What is the first program the Linux kernel starts at boot time when using System V init?

  • A. /lib/init.so
  • B. /proc/sys/kernel/init
  • C. /etc/rc.d/rcinit
  • D. /sbin/init
  • E. /boot/init

Answer: D

NEW QUESTION 26

Which of the following statements describes a difference between GNU GRUB Legacy and GRUB 2?

  • A. GRUB 2 no longer requires a configuration file.
  • B. Partition numbers start at 0 in GRUB Legacy and1in GRUB 2.
  • C. grub-mkconfigonly works with GRUB Legacy if the--version 1option is used.
  • D. The configuration filemenu.lst(andgrub.conf) have been replaced withgrub.config.

Answer: B

NEW QUESTION 27
......

Recommend!! Get the Full 101-500 dumps in VCE and PDF From Surepassexam, Welcome to Download: https://www.surepassexam.com/101-500-exam-dumps.html (New 243 Q&As Version)