[2023年10月24日]101-500サンプルには正確で更新された問題 [Q86-Q111]

Share

[2023年10月24日]101-500サンプルには正確で更新された問題

101-500試験情報と無料練習テスト

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

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

正解:B


質問 # 87
When redirecting the output of findto the xargscommand, what option to findis useful if the filenames contain spaces?
-rep-space

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

正解:A


質問 # 88
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.

正解:

解説:
17yy


質問 # 89
Which of the following commands lists all currently installed packages when using RPM package management?
yum --query --all

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

正解:A


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

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

正解:B


質問 # 91
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

正解:A


質問 # 92
Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?

  • A. 0
  • B. 1
  • C. 2
  • D. fd
  • E. 8e

正解:A


質問 # 93
Which of the following directories on a 64 bit Linux system typically contain shared libraries? (Choose two.)

  • A. /var/lib64/
  • B. /opt/lib64/
  • C. ~/.lib64/
  • D. /usr/lib64/
  • E. /lib64/

正解:D、E


質問 # 94
Which of the following commands redirects the output of lsto standard error?
ls >-1

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

正解:B


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

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

正解:A


質問 # 96
Which chown command changes the ownership to dave and the group to staffon a file named data.txt?

  • A. chown --user dave --group staff data.txt
  • B. chown -u dave -g staff data.txt
  • C. chown dave+staff data.txt
  • D. chown dave/staff data.txt
  • E. chown dave:staff data.txt

正解:E


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

正解:D、E

解説:
Explanation/Reference:


質問 # 98
Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

  • A. &
  • B. #
  • C. %
  • D. +
  • E. !

正解:A


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

正解:D、E


質問 # 100
Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)

正解:

解説:
nice


質問 # 101
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose two.) cat /proc/self/mounts

  • A. mount
  • B. lsmounts
  • C. cat /proc/filesystems
  • D. free
  • E.

正解:C、D


質問 # 102
Which of the following is true for hard linked files? (Choose three.)

  • A. The hard linked files must be on the same filesystem.
  • B. The hard linked files share the same inode.
  • C. The hard linked files are indicated by a -> when listed withls -1.
  • D. The output ofstatwill reporthardinstead ofregular file.
  • E. The hard linked files have the same permissions and owner.

正解:A、B、E


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

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

正解:A、E


質問 # 104
Which of the following commands print the current working directory when using a Bash shell? (Choose two.) echo "${PWD}"

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

正解:A、E


質問 # 105
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. /boot/init
  • E. /sbin/init

正解:E

解説:
Explanation/Reference:


質問 # 106
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


質問 # 107
Consider the following directory:
drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory salesare owned by the group sales?
(Choose two.)

  • A. chown --persistent *.sales sales
  • B. chgrp -p sales sales
  • C. chmod g+ssales
  • D. setpol -R newgroup=sales sales
  • E. chmod 2775 sales

正解:C、E


質問 # 108
To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?

  • A. LD_SHARE_PATH
  • B. LD_RUN_PATH
  • C. LD_LIB_PATH
  • D. LD_LOAD_PATH
  • E. LD_LIBRARY_PATH

正解:E


質問 # 109
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)

  • A. runlevel 1
  • B. shutdown -R 1 now
  • C. shutdown -single now
  • D. init 1
  • E. telinit 1

正解:D、E


質問 # 110
Which of the following is the device file name for the second partition on the only SCSI drive?

  • A. /dev/sda2
  • B. /dev/hda1
  • C. /dev/sd0a2
  • D. /dev/sd1p2

正解:A


質問 # 111
......

合格させるLpi 101-500プレミアムお試しセットテストエンジンPDFで無料問題集セット:https://www.jpntest.com/shiken/101-500-mondaishu

弊社を連絡する

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

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡