Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
A. Inode number
B. File size
C. Modify timestamp
D. Permissions
E. Link count
正解:E
質問 2:
Which of the following statements is correct when talking about /proc/?
A. All files within /proc/ are read-only and their contents cannot be changed.
B. All changes to files in /proc/ are immediately recognized by the kernel.
C. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
D. All files within /proc/ are only readable by the root user.
正解:B
質問 3:
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
A. The command will be executed with the effective rights of the owner and group.
B. The command is SetUID and it will be executed with the effective rights of the owner.
C. The execute flag is not set for the owner. Therefore the SetUID flag is ignored.
D. The command will be executed with the effective rights of the group instead of the owner.
正解:C
質問 4:
Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)
A. >>>
B. >
C. %>
D. <
E. <<<
正解:B,D,E
質問 5:
Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?
A. systemd.service=rescue.target
B. systemd.runlevel=rescue.target
C. systemd.target=rescue.target
D. systemd.default=rescue.target
E. systemd.unit=rescue.target
正解:E
質問 6:
CORRECT TEXT
Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.)
正解:
/tmp, tmp, /var/tmp, /tmp/, /var/tmp/
質問 7:
Which of the following commands lists all currently installed packages when using RPM package management?
A. yum --query --all
B. rpm --query --all
C. yum --list --installed
D. rpm --list-installed
正解:B
質問 8:
CORRECT TEXT
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)
正解:
mkdir, /usr/bin/mkdir
質問 9:
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?
A. cat < myapp | cat > file1.log
B. tee myapp file1.log
C. myapp | cat > file1.log
D. myapp | tee file1.log
E. myapp 0>&1 | cat > file1.log
正解:D
Hayashi -
勉強と試験に準備することに適用します。五月に初めてLX0-103試験に受験して、合格しました。この問題集を選択して、大変嬉しいです。誠にありがとうございました。