Lpi 101-500試験問題(更新されたのは2022年)100%リアル問題解答 [Q136-Q157]

Share

Lpi 101-500試験問題(更新されたのは2022年)100%リアル問題解答

合格させるLpi 101-500試験最速合格

質問 136
Given the following input stream:
txt1.txt
atxt.txt
txtB.txt
Which of the following regular expressions turns this input stream into the following output stream?
txt1.bak.txt
atxt.bak.txt
txtB.bak.txt

  • A. s/[.txt]/.bak$1/
  • B. s/^.txt/.bak/
  • C. s/txt$/bak.txt/
  • D. s/txt/bak.txt/
  • E. s/^txt$/.bak^/

正解: C

 

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

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

正解: E

 

質問 138
An administrator has issued the following command:
grub-install --root-directory=/custom-grub /dev/sda
In which directory will new configuration files be found? (Provide the full directory path only without the filename)

正解:

解説:
/custom-grub/boot/grub/, /custom-grub/boot/grub

 

質問 139
In Bash, inserting 2>&1 after a command redirects:

  • A. standard outputto standard input.
  • B. standard input to standard error.
  • C. standard output to standard error.
  • D. standard error to standard input.
  • E. standard error to standard output.

正解: C

 

質問 140
FILL BLANK
Which file from the /proc/file system contains a list of all currently mounted devices? (Specify the full name of the file, including path.)

正解:

解説:
/proc/mounts

 

質問 141
Which of the following commands lists the dependencies of the RPM package file foo.rpm?
rpm -qpR foo.rpm

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

正解: C

 

質問 142
Which daemon handles power management events on a Linux system?
acpid

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

正解: B

 

質問 143
How many fields are in a syntactically correct line of /etc/fstab?

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

正解: B

 

質問 144
Which of the following commands sets the SetUID permission on the executable /bin/foo?
chmod 4755 /bin/foo

  • A. chmod 1755 /bin/foo
  • B. chmod 2755 /bin/foo
  • C. chmod u-s /bin/foo
  • D. chmod 755+s /bin/foo

正解: A

 

質問 145
Which of the following commands will print the last 10 lines of a text file to the standard output?

  • A. tail -n 10 filename
  • B. head -n 10 filename
  • C. dump -n 10 filename
  • D. cat -n 10 filename

正解: A

 

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

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

正解: A

 

質問 147
Which of the following commands is used to change options and positional parameters within a running Bash shell?

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

正解: E

解説:
Explanation/Reference:

 

質問 148
The system configuration file named _______ is commonly used to set the default runlevel. (Please provide the file name with full path information)

正解:

解説:
/etc/inittab

 

質問 149
Which of the following signals is sent to a process when the key combination Ctrl+C is pressed on the keyboard?

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

正解: D

解説:
Explanation/Reference:

 

質問 150
Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?

  • A. chmod 1755 /bin/foo
  • B. chmod 4755 /bin/foo
  • C. chmod u-s /bin/foo
  • D. chmod 755+s /bin/foo

正解: B

 

質問 151
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)

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

正解: A,B

 

質問 152
In compliance with the FHS, in which of the directories are man pages found?
/opt/man/

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

正解: C

 

質問 153
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. /bin/bash /usr/local/bin/runme.sh
  • B. run /usr/local/bin/runme.sh
  • C. /usr/local/bin/runme.sh
  • D. . /usr/local/bin/runme.sh
  • E. source /usr/local/bin/runme.sh

正解: D,E

 

質問 154
Which of the following commands updates the already installed RPM package rpmname?

  • A. rpm -U rpmname
  • B. rpm --force rpmname
  • C. rpm -q rpmname
  • D. rpm -u rpmname
  • E. rpm --update rpmname

正解: A

 

質問 155
Which of the following statements are correct when comparing Linux containers with traditional virtual machines (e.g. LXC vs. KVM)? (Choose three.)

  • A. Containers on the same host can use different operating systems, as the container hypervisor creates separate kernel execution.
  • B. The guest environment for fully virtualized machines is created by a hypervisor which provides virtual and emulated hardware devices.
  • C. Fully virtualized machines can run any operating system for a specific hardware architecture within the virtual machine.
  • D. Containers are completely decoupled from the host system's physical hardware and can only use emulated virtual hardware devices.
  • E. Containers are a lightweight virtualization method where the kernel controls process isolation and resource management.

正解: B,C,E

 

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

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

正解: D

 

質問 157
......

リアルLpi 101-500試験問題 [更新されたのは2022年]:https://jp.fast2test.com/101-500-premium-file.html

準備101-500問題解答で101-500試験問題集:https://drive.google.com/open?id=1fI_x3xb-nolyGCBGpCktA7Nj5BGUu-sC


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어