[2023年更新]101-500試験問題集でテストエンジン練習テスト問題 [Q106-Q128]

Share

[2023年更新]101-500試験問題集でテストエンジン練習テスト問題

合格できる101-500試験[2023年12月04日]最新246問題

質問 # 106
When removing a package on a system using dpkg package management, which dpkgoption ensures configuration files are removed as well?
--clean

  • A. --declare
  • B.
  • C. --purge
  • D. --vacuum
  • E. --remove

正解:D


質問 # 107
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

正解:

解説:
menu.lst, grub.conf, grub.cfg


質問 # 108
Which of the following commands determines a file's format by using a definition database file which contains information about all common file types?

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

正解:A


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

正解:A、E


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

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

正解:A、E

解説:
Explanation/Reference:


質問 # 111
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

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

正解:B


質問 # 112
A yum repository can declare sets of related packages. Which yumcommand installs all packages belonging to the group admintools?
yum pkgsel --install admintools

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

正解:B


質問 # 113
When is the content of the kernel ring buffer reset? (Choose two.)

  • A. When the ring buffer is explicitly reset using the command dmesg --clear
  • B. When the system is shut down or rebooted
  • C. When a configurable amount of time, 15 minutes by default, has passed
  • D. When the ring buffer is read using dmesg without any additional parameters
  • E. When the kernel loads a previously unloaded kernel module

正解:A、B


質問 # 114
When planning a partition scheme, which of the following directories could be considered for separate partitions? (Choose three.)

  • A. /etc
  • B. /opt
  • C. /home
  • D. /var
  • E. /lib

正解:C


質問 # 115
Which of the following commands reads a file and creates separate chunks of a given size from the file's contents?

  • A. ar
  • B. cat
  • C. parted
  • D. split
  • E. break

正解:D


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

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

正解:E


質問 # 117
Which of the following commands shows the definition of a given shell command?

  • A. where
  • B. type
  • C. stat
  • D. case

正解:B


質問 # 118
You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?

  • A. /bin/netstop --maint
  • B. killall -9 inetd
  • C. shutdown -r now
  • D. /etc/rc.d/init.d/network stop
  • E. telinit 1

正解:E


質問 # 119
Which of the following commands can perform searches on file contents using regular expressions?
find

  • A. pgrep
  • B. reggrep
  • C. grep
  • D.
  • E. locate

正解:B


質問 # 120
What is true regarding UEFI firmware? (Choose two.)

  • A. It is loaded from a fixed boot disk position
  • B. It stores its entire configuration on the /boot/ partition
  • C. It can use and read certain file systems
  • D. It is stored in a special area within the GPT metadata
  • E. It can read and interpret partition tables

正解:C、D


質問 # 121
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. rpm -dep foo
  • C. rpm -pD foo
  • D. rpm -R foo.rpm

正解:B


質問 # 122
Following the Filesystem Hierarchy Standard (FHS), where should binaries that have been compiled by the system administrator be placed in order to be made available to all users on the system?

正解:

解説:
/usr/local/bin/


質問 # 123
Which grep command will print only the lines that do not end with a / in the file foo?

  • A. grep'/$' foo
  • B. grep -v '/#' foo
  • C. grep -v '/$' foo
  • D. grep '/#' foo

正解:C


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

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

正解:D、E


質問 # 125
What is true regarding the configuration of yum? (Choose two.)

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

正解:A、B


質問 # 126
Which of the following commands changes all CR-LFline breaks in the text file userlist.txtto Linux standard LF line breaks and stores the result in newlist.txt?
tr -d '\r' < userlist.txt > newlist.txt

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

正解:C


質問 # 127
To prevent users from being able to fill up the / partition, the ____________ directory should be on a separate partition if possible because it is world writeable.

正解:

解説:
/tmp, tmp


質問 # 128
......

Lpi 101-500リアルな2023年最新の知能問題集模擬試験問題集:https://jp.fast2test.com/101-500-premium-file.html

Lpi 101-500リアルな問題と100%カバーリアルな試験問題:https://drive.google.com/open?id=1fI_x3xb-nolyGCBGpCktA7Nj5BGUu-sC


弊社を連絡する

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

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

サポート: 現在連絡 

English Deutsch 繁体中文 한국어