[2022年01月] 更新されたのはLpi 101-500問題集PDFオンラインエンジン
101-500.PDFで問題解答PDFサンプル問題は信頼され続ける
質問 129
Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually?
- A. systemd ignores any manual mounts which are not done using the systemctl mount command
- B. The command systemctl mountsync can be used to create a mount unit based on the existing mount
- C. systemctl unmount must be used to remove the mount because system opens a file descriptor on the mount point
- D. Unless a systemd mount unit is created, systemd unmounts the file system after a short period of time
- E. systemd automatically generates a mount unit and monitors the mount point without changing it
正解: B
質問 130
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 -c '\n\r' '' <newlist.txt> userlist.txt
- C.
- D. tr -s '/^M/^J/' userlist.txt newlist.txt
- E. tr '\r' '\n' userlist.txt newlist.txt
正解: B
質問 131
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
質問 132
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
- A. printwd
- B. pwd
- C. echo "${WD}"
- D. echo "${PWD}"
- E. echo "${pwd}"
正解: B,D
質問 133
Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information)
正解:
解説:
dmesg, /bin/dmesg
質問 134
What is the process ID number of the initprocess on a System V init based system?
- A. It is different with each reboot
- B. 0
- C. 1
- D. 2
- E. It is set to the current run level
正解: C
質問 135
Which of the following files, located in a user's home directory, contains the Bash history?
- A. history
- B. bash_history
- C. bashrc_history
- D. history_bash
- E. bash_histfile
正解: B
質問 136
Which of the following commands show how the shell handles a specific command?
where
- A. case
- B.
- C. fileinfo
- D. type
- E. stat
正解: E
質問 137
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
- A. startd
- B. Upstart
- C. systemd
- D. SysInit
- E. SysV init
正解: B,C,E
質問 138
Which chown command will change the ownership to dave and the group to staff on 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
正解: C
質問 139
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
- A. printwd
- B. echo "${PWD}"
- C. pwd
- D. echo "${WD}"
- E. echo "${pwd}"
正解: C
質問 140
Which of the following commands displays the contents of a gzip compressed tar archive?
- A. tar cf archive.tgz
- B. gzip archive.tgz | tar xvf -
- C. tar -fzt archive.tgz
- D. tar ztf archive.tgz
- E. gzip -d archive.tgz | tar tvf -
正解: D
質問 141
Consider the following output from the command ls -i:
How would a new file named c.txt be created with the same inode number as a.txt(Inode 525385)?
- A. ln a.txt c.txt
- B. ln -f c.txt a.txt
- C. ln c.txt a.txt
- D. ln -h a.txt c.txt
- E. ln -i 525385 c.txt
正解: A
解説:
Explanation
質問 142
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
- A. tune2fs -c 200 /dev/sda1
- B. tune2fs -i 200 /dev/sda1
- C. tune2fs --days 200 /dev/sda1
- D. tune2fs -d 200 /dev/sda1
- E. tune2fs -n 200 /dev/sda1
正解: B
質問 143
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. Redirection for shell commands do not work using the > character. It only works using the | character instead.
- B. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens itfor reading.
- C. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.
- D. The command sed did not match anything in that file therefore the output is empty.
正解: B
質問 144
Which daemon handles power management events on a Linux system?
- A. batteryd
- B. psd
- C. pwrmgntd
- D. acpid
- E. inetd
正解: D
質問 145
Which of the following are filesystems which can be used on Linux root partitions? (Choose two.)
- A. ext3
- B. NTFS
- C. XFS
- D. swap
- E. VFAT
正解: A,D
質問 146
A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?
- A. dpkg -S /etc/debian_version
- B. apt -r /etc/debian_version
- C. find /etc/debian_version -dpkg
- D. apt-get search /etc/debian_version
- E. apt-file /etc/debian_version
正解: A
解説:
Explanation/Reference:
質問 147
Which of the following commands display the IDs of all processes owned by root? (Choose two.)
- A. pgrep -c root
- B. pgrep -c 0
- C. pgrep -f root
- D. pgrep -u root
- E. pgrep -U 0
正解: C,D
質問 148
Which of the following Linux filesystems preallocate a fixed number of inodes when creating a new filesystem instead of generating them as needed? (Choose two.)
- A. ext3
- B. JFS
- C. ext2
- D. procfs
- E. XFS
正解: A,C
質問 149
......
Lpi 101-500 認定試験の出題範囲:
| トピック | 出題範囲 |
|---|---|
| トピック 1 |
|
| トピック 2 |
|
| トピック 3 |
|
| トピック 4 |
|
| トピック 5 |
|
| トピック 6 |
|
Lpi 101-500問題集PDFのベストを目指すなら問題集を使おう 目指そう高得点:https://jp.fast2test.com/101-500-premium-file.html
LPIC Level1 101-500試験と認定テストエンジン:https://drive.google.com/open?id=1sXrGiQIwSCTxedF7poWMj4NfMRPXx9LA