合格できるLpi LPIC-1 Exam 101, Part 1 of 2, version 5.0試験最速合格保証最近更新されたFast2test問題集!
合格できる101-500試験の246問題で最適なFast2test出題問題
Lpi 101-500 認定試験の出題範囲:
| トピック | 出題範囲 |
|---|---|
| トピック 1 |
|
| トピック 2 |
|
| トピック 3 |
|
質問 86
FILL BLANK
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
正解:
解説:
jobs
質問 87
Which of the following commands will print the last 10 lines of a text file to the standard output?
- A. dump -n 10 filename
- B. tail -n 10 filename
- C. cat -n 10 filename
- D. head -n 10 filename
正解: B
質問 88
Which of the following commands lists the dependencies of the RPM package file foo.rpm?
- A. rpm -R foo.rpm
- B. rpm -ld foo.rpm
- C. rpm -pD foo
- D. rpm -dep foo
- E. rpm -qpR foo.rpm
正解: E
質問 89
Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)
- A. chmod 4775 /tmp
- B. chmod +t /tmp
- C. chmod 1775 /tmp
- D. chmod 2775 /tmp
- E. chmod +s /tmp
正解: B,C
質問 90
Which wildcards will match the following filenames? (Choose two.)
ttyS0
ttyS1
ttyS2
- A. tty[Ss][02]
- B. tty*2
- C. ty[A-Z][012]
- D. ttyS[1-5]
- E. tty?[0-5]
正解: C,E
質問 91
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
s/^.txt/.bak/
- A. s/^txt$/.bak^/
- B. s/[.txt]/.bak$1/
- C. s/txt/bak.txt/
- D.
- E. s/txt$/bak.txt/
正解: A
質問 92
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose two.) Ctrl XX
- A. Esc ZZ
- B. Esc zz
- C. Ctrl :W
- D.
- E. Esc :wq
正解: A,D
質問 93
Which of the following commands generates a list of user names from /etc/passwdalong with their login shell?
- A. colrm 1,7 /etc/passwd
- B. column -s : 1,7 /etc/passwd
- C. cut -d: -f1,7 /etc/passwd
- D. sort -t: -k1,7 /etc/passwd
- E. chop -c 1,7 /etc/passwd
正解: C
質問 94
Creating a hard link to an ordinary file returns an error. What could be the reason for this?
- A. The source file is read-only.
- B. The source file is a shell script.
- C. The source file is hidden.
- D. The source file is already a hard link.
- E. The source and the target are on different filesystems.
正解: E
質問 95
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 specifying the number right in front of a command such as 41or 2yj.
- C. By issuing a command such as :set repetition=4 with repeats every subsequent command 4 times.
- D. By using the command :repeat followed by the number and the command
- E. By selecting all affected lines using the shit and cursor keys before applying the command.
正解: B
質問 96
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
- A. foo
- B. cat
- C. bar
- D. tee bar
- E. foo bar
正解: E
質問 97
Which of the following are modes of the vi editor? (Choose two.)
- A. insert mode
- B. review mode
- C. command mode
- D. change mode
- E. edit mode
正解: A,C
質問 98
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 entered.
- B. S02apache2is run when runlevel 2 is left.
- C. Both S02apache2and K01apache2are run during a system shutdown.
- D. K01apache2is never run because K indicates a deactivated service.
- E. K01apache2is run when runlevel 1 is entered.
正解: A,D
解説:
Explanation/Reference:
質問 99
The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?
- A. dbmaint &>/dev/pts/null
- B. job -b dmaint
- C. nohup dbmaint &
- D. bg dbmaint
- E. wait dbmaint
正解: D
質問 100
Which of the following commands can be used to download the RPM package kernel without installing it?
- A. yumdownloader kernel
- B. yum download --no-install kernel
- C. rpmdownload kernel
- D. rpm --download --package kernel
正解: A
質問 101
Which of the following files, located in a user's home directory, contains the Bash history?
- A. bashrc_history
- B. bash_histfile
- C. history_bash
- D. bash_history
- E. history
正解: D
質問 102
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
- A. splash
- B. timeout
- C. hidemenu
- D. showmenu
正解: B
質問 103
What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)
- A. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.
- B. Additional rules for udev can be created by adding them to /etc/udev/rules.d/.
- C. Entries for all possible devices get created on boot even if those devices are not connected.
- D. When using udev, it is not possible to create block orcharacter devices in /dev/ using mknod.
- E. The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.
正解: A,B
質問 104
What output will be displayed when the user fredexecutes the following command?
echo 'fred $USER'
fred fred
- A. 'fred fred'
- B. fred $USER
- C. fred /home/fred/
- D.
- E. 'fred $USER'
正解: A
質問 105
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
- A. rmdir ~/\dir
- B. rmdir ~/\\dir
- C. rmdir '~/\dir'
- D. rmdir "~/\dir"
- E. rmdir ~/'dir'
正解: B
質問 106
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 -i 525385 c.txt
- B. ln c.txt a.txt
- C. ln a.txt c.txt
- D. ln -h a.txt c.txt
- E. ln -f c.txt a.txt
正解: C
質問 107
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
質問 108
......
合格突破受験者シミュレーションされた101-500試験問題集:https://jp.fast2test.com/101-500-premium-file.html
無料テストエンジンはLPIC-1 Exam 101, Part 1 of 2, version 5.0認定試験:https://drive.google.com/open?id=1sXrGiQIwSCTxedF7poWMj4NfMRPXx9LA