Lpi LPIC-1 Exam 102, Part 2 of 2, version 5.0 - 102-500 模擬練習
Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?
正解: A
解説: (PassTest メンバーにのみ表示されます)
Which configuration file contains the default options for SSH clients?
正解: B
解説: (PassTest メンバーにのみ表示されます)
What is the purpose of the iconv command?
正解: C
解説: (PassTest メンバーにのみ表示されます)
Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)
正解: C,D
解説: (PassTest メンバーにのみ表示されます)
Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?
正解: B
解説: (PassTest メンバーにのみ表示されます)
Which file, if present, must contain all users that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)
正解:
crontab
Explanation:
The file /etc/cron.allow, if present, must contain all users that are allowed to use the cron scheduling system. This file is used to restrict the access to cron for security reasons. Only users listed in this file can create and edit their own crontab files using the crontab command. If the file does not exist, all users can use cron, unless the file /etc/cron.deny exists, which lists the users that are not allowed to use cron12. Reference: 1: Cron and Crontab usage and examples. 2: How to use cron in Linux.
Explanation:
The file /etc/cron.allow, if present, must contain all users that are allowed to use the cron scheduling system. This file is used to restrict the access to cron for security reasons. Only users listed in this file can create and edit their own crontab files using the crontab command. If the file does not exist, all users can use cron, unless the file /etc/cron.deny exists, which lists the users that are not allowed to use cron12. Reference: 1: Cron and Crontab usage and examples. 2: How to use cron in Linux.
What command enables a network interface according to distribution-specific configuration, such as /etc/network/interfaces or /etc/sysconflg/network-scripts/ifcfg-etho?(Specify ONLY the command without any path or parameters.)
正解:
UP
Which command allows you to make a shell variable visible to subshells?
正解: A
解説: (PassTest メンバーにのみ表示されます)
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
正解: D
解説: (PassTest メンバーにのみ表示されます)
Which configuration file would be edited to change default options for the OpenSSH server?
正解: D
解説: (PassTest メンバーにのみ表示されます)
On a system running the KDE Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?
正解: A
解説: (PassTest メンバーにのみ表示されます)
Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)
正解:
groupaddusrsbingroupadd
Explanation:
The groupadd command is used to add an empty group to the system. It takes the name of the group as an argument and creates an entry for it in the /etc/group file. The groupadd command also assigns a unique group ID (GID) to the new group. The groupadd command can take various options to specify the GID, the password, and other attributes of the new group. For example, groupadd -g 1000 mygroup will create a new group named mygroup with a GID of 1000. Reference:
Linux Groups - javatpoint
groupadd(8) - Linux manual page
How to Add and Delete User Groups on Linux
Explanation:
The groupadd command is used to add an empty group to the system. It takes the name of the group as an argument and creates an entry for it in the /etc/group file. The groupadd command also assigns a unique group ID (GID) to the new group. The groupadd command can take various options to specify the GID, the password, and other attributes of the new group. For example, groupadd -g 1000 mygroup will create a new group named mygroup with a GID of 1000. Reference:
Linux Groups - javatpoint
groupadd(8) - Linux manual page
How to Add and Delete User Groups on Linux
What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?
正解: E
解説: (PassTest メンバーにのみ表示されます)
Which of the following details is NOT provided in any output from the netstat utility?
正解: D
解説: (PassTest メンバーにのみ表示されます)