[Q28-Q48] Get 100% Passing Success With True 101-500 Exam! [Oct-2021]

Share

Get 100% Passing Success With True 101-500 Exam! [Oct-2021] 

Lpi 101-500 PDF Questions - Exceptional Practice To LPIC-1 Exam 101, Part 1 of 2, version 5.0

NEW QUESTION 28
Which of the following commands displays the contents of a gzip compressed tar archive?
gzip archive.tgz | tar xvf -

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

Answer: B

 

NEW QUESTION 29
Which daemon handles power management events on a Linux system?

  • A. inetd
  • B. acpid
  • C. pwrmgntd
  • D. psd
  • E. batteryd

Answer: B

 

NEW QUESTION 30
Which of the following commands installs the GRUB boot files into the currently active file systems and the boot loader into the first partition of the first disk?
grub-install /dev/sda

  • A. grub-install current /dev/sda1
  • B.
  • C. grub-install current /dev/sda0
  • D. grub-install /dev/sda0
  • E. grub-install /dev/sda1

Answer: E

 

NEW QUESTION 31
What are the main differences between GPT and MBR partition tables regarding maximum number and size of partitions? (Choose two.)

  • A. By default, GPT can manage up to 128 partitions while MBR only supports four primary partitions.
  • B. Both GPT and MBR support up to four primary partitions, each with up to 4096 TB.
  • C. MBR can handle partition sizes up to 4 TB, whereas GPT supports partition sizes up to 128 ZB.
  • D. MBR can handle partition sizes up to 2.2 TB, whereas GPT supports sizes up to 9.4 ZB.
  • E. By default, GPT can manage up to 64 partitions while MBR only supports 16 primary partitions.

Answer: A,D

 

NEW QUESTION 32
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)

  • A. SysInit
  • B. startd
  • C. systemd
  • D. SysV init
  • E. Upstart

Answer: C,D,E

 

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

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

Answer: A,E

 

NEW QUESTION 34
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 35
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)

  • A. The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.
  • B. When using udev, it is not possible to create block orcharacter devices in /dev/ using mknod.
  • C. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.
  • D. Entries for all possible devices get created on boot even if those devices are not connected.
  • E. Additional rules for udev can be created by adding them to /etc/udev/rules.d/.

Answer: C,E

 

NEW QUESTION 36
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

  • A. paste -f 1,4 /etc/passwd
  • B. split -c 1,4 /etc/passwd
  • C. cut -d : -f 1,4 /etc/passwd
  • D. fmt -f 1,4 /etc/passwd

Answer: C

 

NEW QUESTION 37
What is true regarding the configuration of yum? (Choose two.)

  • A. The configuration of package repositories can be divided into multiple files
  • B. Repository configurations can include variables such as $basearch or $releasever
  • C. In case /etc/yum.repos.d/ contains files, /etc/yum.conf is ignored
  • D. Changes to the repository configuration become active after running yum confupdate
  • E. Changes to the yum configuration become active after restarting the yumd service

Answer: B,C

 

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

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

Answer: D

Explanation:
Explanation/Reference:

 

NEW QUESTION 39
Which of the following commands redirects the output of lsto standard error?
ls >-1

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

Answer: D

 

NEW QUESTION 40
Which of the following commands prints a list of available package updates when using RPM-based package management?

  • A. dpkg check-update
  • B. yum list-update
  • C. yum list
  • D. dpkg list
  • E. yum check-update

Answer: E

 

NEW QUESTION 41
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. S02apache2is run when runlevel 2 is left.
  • B. K01apache2is never run because K indicates a deactivated service.
  • C. Both S02apache2and K01apache2are run during a system shutdown.
  • D. K01apache2is run when runlevel 1 is entered.
  • E. S02apache2is run when runlevel 2 is entered.

Answer: B,E

Explanation:
Explanation/Reference:

 

NEW QUESTION 42
From a Bash shell, which of the following commands directly execute the instructions from the file /usr/ local/bin/runme.shwithout starting a subshell? (Choose two.)

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

Answer: B,C

 

NEW QUESTION 43
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 specifying the number after a command such as 14or yj2followed by escape.
  • B. By issuing a command such as :set repetition=4 with repeats every subsequent command 4 times.
  • C. By specifying the number right in front of a command such as 41or 2yj.
  • D. By selecting all affected lines using the shit and cursor keys before applying the command.
  • E. By using the command :repeat followed by the number and the command

Answer: C

 

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

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

Answer: A

 

NEW QUESTION 45
Running chmod 640 filea.txtas a regular user doesn't update filea.txt's permission. What might be a reason why chmod cannot modify the permissions? (Choose two.)

  • A. filea.txtis a hard link whose permissions are inherited from the target and cannot be set directly.
  • B. filea.txthas the sticky bit set and a regular user cannot remove this permission.
  • C. filea.txtis owned by another user and a regular user cannot change the permissions of another user's file.
  • D. filea.txtis a symbolic link whose permissions are a fixed value which cannot be charged.
  • E. filea.txthas the SetUID bit set which imposes the restriction that only the rootuser can make changes to the file.

Answer: C,D

Explanation:
Explanation/Reference:

 

NEW QUESTION 46
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)

  • 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 47
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?

  • A. /proc/inittab
  • B. /etc/inittab
  • C. /proc/keys
  • D. /etc/reboot
  • E. /etc/keys

Answer: B

 

NEW QUESTION 48
......

101-500 dumps - PassSureExam - 100% Passing Guarantee: https://www.passsureexam.com/101-500-pass4sure-exam-dumps.html

Fast, Hands-On 101-500 exam: https://drive.google.com/open?id=1wui6OanqTToa3ZO0-3fzf3CTUwbbWDff