Lpiは2024年最新の102-500日本語サンプル問題は信頼され続ける102-500日本語テストエンジン
無料お試しLpi 102-500日本語問題集PDFは必ずベストの問題集オプションを使おう
質問 # 12
syslog 機能は次のうちどれですか? (正しい答えを 2 つ選択してください。)
- A. リモート
- B. ローカル7
- C. メール
- D. ポストマスター
- E. 上級
正解:B
解説:
The syslog facilities are predefined categories of messages that can be used to classify the source and type of the log events12. The syslog facilities are defined by the syslog protocol and are standardized across different implementations of syslog12. The syslog facilities are:
* auth: Security and authorization messages, such as login failures or sudo usage12.
* authpriv: Same as auth, but used for private security messages that should not be available to all users12.
* cron: Messages from the cron daemon, such as scheduled jobs or errors12.
* daemon: Messages from system daemons, such as sshd or ntpd12.
* kern: Messages from the kernel, such as boot messages or hardware errors12.
* lpr: Messages from the line printer subsystem, such as print jobs or errors12.
* mail: Messages from the mail subsystem, such as sendmail or postfix12.
* news: Messages from the network news subsystem, such as news servers or clients12.
* syslog: Messages generated internally by the syslog daemon, such as configuration errors or restarts12.
* user: Messages from user-level processes, such as applications or scripts12.
* uucp: Messages from the Unix-to-Unix copy subsystem, such as file transfers or errors12.
* local0 to local7: Custom facilities that are not used by any system processes and can be assigned to user applications or scripts123.
Therefore, the correct answers are A. local7 and B. mail, as they are both valid syslog facilities. The other options are not syslog facilities and are either made up (C. advanced and E. remote) or refer to a specific process rather than a category of messages (D. postmaster).
References: 1: Prepare for LPIC-1 exam 2 - topic 108.2: System logging - IBM Developer Tutorial 2: 108.2 System logging - Linux Professional Institute Certification Programs 3: What is the local6 (and all other local#) facilities in syslog?
質問 # 13
/etc/passwd のパスワード フィールドのどの文字が、暗号化されたパスワードが /etc/shadow に保存されていることを示すために使用されますか?
- A. s
- B. -
- C. *
- D. ×
正解:D
解説:
The password field of /etc/passwd is used to store the user's encrypted password or a special character that indicates how the password is stored. In older Linux systems, the user's encrypted password was stored in the
/etc/passwd file. On most modern systems, this field is set to x, and the user password is stored in the
/etc/shadow file12. The /etc/shadow file is more secure than the /etc/passwd file because it is readable only by the root user and not by regular users1. The other options are not valid characters for the password field of
/etc/passwd. References:
* Understanding the /etc/passwd File | Linuxize
* Understanding the /etc/passwd File - GeeksforGeeks
質問 # 14
グローバルな/ etc / crontabファイルとユーザー固有のcrontabファイルの両方の標準形式で使用できるフィールドは次のうちどれですか? (2つ選択してください。)
- A. Minute
- B. Year
- C. Command
- D. Effective group ID
- E. Username
正解:A、C
解説:
The standard format of both the global /etc/crontab file and user-specific crontab files consists of six fields separated by spaces or tabs. The first five fields indicate when to execute the command that is specified in the sixth field. The fields are:
* Minute: The minute of the hour (0-59) when the command should run.
* Hour: The hour of the day (0-23) when the command should run.
* Day of month: The day of the month (1-31) when the command should run.
* Month: The month of the year (1-12 or Jan-Dec) when the command should run.
* Day of week: The day of the week (0-7 or Sun-Sat, with 0 or 7 representing Sunday) when the command should run.
* Command: The command or script to execute.
For example, the following entry in a crontab file will run the command /usr/bin/backup.sh every day at 2:30 AM:
30 2 * * * /usr/bin/backup.sh
The global /etc/crontab file has an additional field between the fifth and sixth fields, which is:
* Username: The name of the user who will execute the command.
For example, the following entry in the /etc/crontab file will run the command /usr/bin/apt update as the root user every hour:
0 * * * * root /usr/bin/apt update
The other fields in the options are not part of the standard format of crontab files:
* Year: This field is not supported by the standard cron daemon, but it may be available in some implementations, such as the Vixie cron. It would specify the year (1970-2099) when the command should run, and it would be placed after the month field.
* Effective group ID: This field is not supported by any cron implementation, and it would not make sense to specify the group ID of the user who will execute the command, since it can be derived from the user ID.
References:
* LPIC-1 Exam 102 Objectives, Topic 107: Administrative Tasks, Subtopic 107.2: Automate system administration tasks by scheduling jobs, Weight: 4, Key Knowledge Areas: Use cron and systemd timers to run jobs at regular intervals and to use anacron to manage system cron jobs. Objective: Use cron to run jobs at regular intervals.
* LPIC-1 Exam 102 Learning Materials, Topic 107: Administrative Tasks, Subtopic 107.2: Automate system administration tasks by scheduling jobs, Section 107.2.1: cron, Page 18-20.
質問 # 15
echo $$ コマンドによってどのような情報が提供されますか?
- A. 次のコマンドのプロセス ID。
- B. バックグラウンドに配置された最後のコマンドのプロセス ID。
- C. 現在のシェルのプロセス ID。
- D. echo コマンドのプロセス ID。
- E. 最後に実行されたコマンドのプロセス ID。
正解:C
質問 # 16
syslog 機能は次のうちどれですか? (正しい答えを 2 つ選択してください。)
- A. リモート
- B. ローカル7
- C. メール
- D. ポストマスター
- E. 上級
正解:B、C
質問 # 17
デフォルトでは、useraddコマンドに-mオプションを渡してアカウントを作成したときに、どのディレクトリの内容が新しいユーザーのホームディレクトリにコピーされますか。 (ディレクトリへのフルパスを指定してください。)
正解:
解説:
/etc/skel
Explanation:
The /etc/skel directory contains files and directories that are used as a template for creating a new user's home directory. The useradd command uses the -m (or --create-home) option to create the user home directory as
/home/username and copy the files from /etc/skel to it. The files in /etc/skel are typically initialization files such as .bashrc, .profile, and .bash_logout that set the user's environment variables, aliases, and other preferences. The system administrator can customize the /etc/skel directory to provide a consistent and convenient initial setup for new users. References:
https://www.howtouselinux.com/post/create-new-user-with-home-directory-in-linux
https://linuxize.com/post/how-to-create-users-in-linux-using-the-useradd-command/
質問 # 18 
- A. / etc / passwd
- B. / etc / gshadow
- C. / etc / pwdlog
- D. / etc / shadow
- E. / var / log / shadow
正解:D
質問 # 19
次のnmcliサブコマンドのうちどれが存在しますか? (2つ選択してください。)
- A. nmcli connection
- B. nmcli device
- C. nmcli address
- D. nmcli wifi
- E. nmcli ethernet
正解:A、B
解説:
The nmcli command is a command-line interface for NetworkManager, which is a tool for configuring and managing network settings on Linux systems. The nmcli command consists of different subcommands that correspond to different aspects of network configuration and management. The subcommands are:
* nmcli general: shows status and permissions of NetworkManager, as well as system hostname and logging level and domains.
* nmcli connection: enables you to create, modify, activate, deactivate, delete, and show network connections.
* nmcli device: enables you to show, modify, and control network devices, such as interfaces, bonds, teams, bridges, etc.
* nmcli monitor: monitors activity of NetworkManager and watches for changes in the state of connectivity and devices.
* nmcli networking: enables or disables overall networking.
* nmcli radio: enables or disables radio transmitters for Wi-Fi, Bluetooth, and WWAN devices.
* nmcli agent: registers as a secret agent that provides and caches network credentials.
The other options listed are not valid nmcli subcommands. There is no nmcli ethernet, nmcli wifi, or nmcli address subcommand. However, nmcli device and nmcli connection can be used to configure and manage Ethernet and Wi-Fi connections and addresses. References:
* NetworkManager configuration and usage | SLE Micro 5.3
* nmcli: NetworkManager Reference Manual - GNOME
* nmcli: command not found - The Geek Diary
質問 # 20 
- A. / etc / group
- B. / etc / pgroup
- C. / etc / gshadow
- D. / etc / shadow
- E. / etc / passwd
正解:E
質問 # 21
次のうちどれifconfigコマンドを使用した結果として発生する可能性がありますか? (3つの正しい答えを選んでください。)
- A. ルーティングテーブルが変わる可能性があります。
- B. システムのホスト名が変わる可能性があります。
- C. ネットワークインタフェースがアクティブまたは非アクティブになる可能性があります。
- D. リゾルバ設定に新しいネームサーバを追加することができます。
- E. IPアドレスが変わる可能性があります。
正解:A、C、E
質問 # 22
GPG の構成ファイルとキーリングが含まれているユーザーのホームのディレクトリはどれですか?
- A. ~/.gpg.d/
- B. ~/.gpg/
- C. ~/.gnupg/
- D. ~/gnupg/
- E. ~/gpg.d/
正解:C
質問 # 23
通常のユーザーのワークステーションでは、routeコマンドはルーティングテーブルを出力するまでに時間がかかります。
次のエラーのどれがそれを示していますか?
- A. ルーティングテーブル内のルーターの1つが利用できないため、自動ルーター障害検出メカニズム(ARF-D)がタイムアウトを待ちます。
- B. ローカルルーティング情報が破損している可能性があり、ルーティングプロトコルを使用して再検証する必要があります。
- C. デフォルトではルートがルーターと宛先の名前を解決しようとし、タイムアウトになる可能性があるため、DNS解決が機能していない可能性があります。
- D. 誤って複数のデフォルトルーターが存在する可能性があります。その場合、デフォルトとして1つのルーターを選択するには、ネットワーク上でデフォルトルーターの選択を行わなければなりません。
正解:C
解説:
The route command displays the kernel's routing table, which contains information about how packets are routed to different destinations. By default, route tries to resolve the IP addresses of the routers and destinations to their hostnames using DNS. If DNS is not working properly, this can cause a delay in displaying the routing table as route waits for the DNS queries to time out. To avoid this, route can be used with the -n option, which prevents DNS lookups and displays only numeric addresses. References:
* LPI 102-500 Exam Objectives, Topic 109: Network Fundamentals, 109.3 Basic network troubleshooting
* LPI 102-500 Study Guide, Chapter 9: Network Troubleshooting, Section 9.2: Troubleshooting Routing Problems
質問 # 24
空白を埋める
ログイン試行に使用される秘密鍵の場所を指定する ssh コマンドのパラメーターはどれですか? (値やパラメーターを指定せずに、オプション名のみを指定します。)
正解:
解説:
ssh-keygen
質問 # 25
ファイル/etc/nsswitch.confで、ホスト名検索のソースを指定するために使用できるキーワードはどれですか。 (正しい答えを2つ選んでください。)
- A. リモート
- B. dns
- C. ファイル
- D. resolv
- E. ホスト
正解:B、C
質問 # 26 
- A. Option A
- B. Option D
- C. Option B
- D. Option C
正解:C
質問 # 27
Xorg X11サーバー用の設定ファイルのデフォルト名は何ですか? (ファイル名はパスなしでのみ指定してください。)
正解:
解説:
xorg.conf
質問 # 28
ファイル /etc/host.conf にある次の行はどれですか?
- A. ホストの順序付け、バインド
- B. ドメイン mycompany.com
- C. 192.168.168.4 dns サーバー
- D. ホスト: ファイル、DNS
正解:A
質問 # 29 
- A. Option A
- B. Option D
- C. Option B
- D. Option E
- E. Option C
正解:C
質問 # 30
空白を埋める
root 以外のすべてのユーザーが一時的にシステムにログインできなくなるファイルはどれですか? (パスを含むファイルの完全な名前を指定します。)
正解:
解説:
/sbin/nologin
質問 # 31 
- A. x
- B. s
- C. -
- D. *
正解:A
質問 # 32
どのファイルでatまたはbatch経由でジョブを送信できないユーザーアカウントを指定しますか? (フルパスとファイル名を入力してください)
正解:
解説:
/etc/at.deny
質問 # 33
echo $ で表示される情報は何ですか? 指図?
- A. echo コマンドのプロセス ID。
- B. echo コマンドの終了値。
- C. 次のコマンドに使用されるプロセス ID。
- D. 現在のシェルのプロセス ID。
- E. echo の直前に実行されたコマンドの終了値。
正解:E
質問 # 34
デバイスをマウント解除しようとすると、ビジーであると報告されます。どのプロセスがこれを引き起こしているかを判断するために使用できる以下のコマンドのどれ?
- A. strace
- B. nessus
- C. lsof
- D. debug
- E. traceroute
正解:C
解説:
The lsof command stands for list open files, and it can be used to show which processes have opened files on a device or mount point. This can help to identify which process is causing a device to be busy and prevent it from being unmounted. The syntax of the lsof command is:
lsof [options] [file|directory|device]
For example, to list the processes that have opened files on the /dev/sda1 device, the command would be:
lsof /dev/sda1
The output of the lsof command will show the process ID (PID), the user name, the command name, the file descriptor, the file type, the device number, the file size, the node number, and the file name for each open file.
The file descriptor column can indicate the mode of access, such as r for read, w for write, u for read and write, and - for unknown.
The other options in the question are not relevant for this task. The debug command is used to examine and modify the memory of a running process. The nessus command is used to launch the Nessus vulnerability scanner. The strace command is used to trace system calls and signals of a process. The traceroute command is used to display the route and measure the transit delays of packets across a network.
References:
* LPI 102-500 Exam Objectives, Topic 104.3: Manage file permissions and ownership
* LPI 102-500 Study Guide, Chapter 4: Devices, Linux Filesystems, Filesystem Hierarchy Standard, Section 4.3: Mounting and Unmounting Filesystems
* lsof man page
質問 # 35
ディスプレイマネージャはどのように起動されますか?
- A. initシステムによって他のシステムサービスと同様に開始されます。
- B. リモートホストがX11ポートに接続するとinetdによって起動されます。
- C. X11ユーザーがシステムコンソールにログインすると自動的に起動します。
- D. コマンドstartxを使用してユーザーによって起動されます。
正解:A
質問 # 36
......
有効な問題最新版を試そう102-500日本語テスト解釈102-500日本語有効な試験ガイド:https://jp.fast2test.com/102-500J-premium-file.html