2025年最新のに更新されたのはXK0-005日本語テストエンジンとPDFで完全版無料問題集保証!
最新のLinux+ XK0-005日本語実際の無料試験問題
質問 # 474
管理者は、Linux サーバーにインストールされているメモリの量を知りたいと考えています。
このタスクを実行するために使用できるコマンドはどれですか?
- A. cat /sys/proc/meminfo
- B. cat /proc/meminfo
- C. cat /proc/sys/meminfo
- D. cat /sys/meminfo
正解:B
解説:
Even the reference says it is cat /proc/meminfo:
$ cat /proc/meminfo
MemTotal: 4039588 kB
MemFree: 142400 kB
質問 # 475
システム管理者は、システム ログから電子メールで次のエラーを受け取ります。
XFS (lcop0): メタデータCRCエラーが検出されました
xfs_agi_read_verify+0xcb/Oxfe
XFS (loop0): 破損したメタデータバッファの最初の12バイト
XFS (loop0): daddr の "xfs_trans_read_buf_map" でメタデータ I/O エラーが発生しました
0x2 長さ 1 エラー 74
数分後、管理者は会社の Web サイト内の画像の一部が正しく読み込まれていないという報告を受け始めます。
システム管理者はいくつかのコマンドを実行し、次の出力を受け取ります。
出力1:
出力2:
ドキュメントルート "/var/www/html"
出力3:
この問題を解決するために適切な手順は次のうちどれでしょうか?
- A. /dev/sdb1 をアンマウントする
systemctl 停止 httpd
xfs_metadump /dev/sdb1
/dev/sdb1 /var/www/html をマウントします。
systemctl スタート httpd - B. systemctl stop httpd
xfs_check -L /dev/sdb
/var/www/html をアンマウントする
systemctl スタート httpd - C. /dev/sdb1 をアンマウントする
xfs_repair /dev/sdb1
xfs_metadump /dev/sdb1
/dev/sdb1 /var/www/html をマウントします。
systemctl で httpd を再起動します。 - D. systemctl stop httpd
/dev/sdb1 をアンマウントする
xfs_repair /dev/sdb1
/dev/sdb1 /var/www/html をマウントします。
systemctl スタート httpd
正解:D
解説:
The error is related to XFS filesystem corruption on /dev/sdb1, where the website's images are stored. By stopping the Apache service, unmounting the filesystem, running xfs_repair, and remounting, the filesystem can be repaired, and the service can be restarted safely.
質問 # 476
初級 Linux 管理者は、システムの起動時にサービスが起動することを確認する必要があります。
このタスクを実行するには、次のコマンドのどれを使用する必要がありますか?
- A. crontab install <service>
- B. systemctl <service> bootup
- C. chkconfig <service> on
- D. service <service> enable
正解:C
解説:
https://geekflare.com/how-to-auto-start-services-on-boot-in-linux/
質問 # 477
dracut コマンドは次の目的で使用されます。
- A. ブート マネージャー構成ファイルを作成します。
- B. OS の起動に使用する Linux カーネル イメージをコンパイルします。
- C. モジュールをプリロードするための初期 RAMDisk イメージを作成します。
- D. ブートローダの実行可能ファイルを作成します。
正解:C
質問 # 478
ユーザーがデスクトップコンピュータにUSBシリアルデバイスを追加するよう要求しました。デバイスにはカーネルドライバのサポートが組み込まれています。管理者はデバイスのインストールとアクセスをテストしましたが、ユーザーはシリアルポートにアクセスできません。ユーザーがデバイスにアクセスしようとするたびに、ユーザーにシリアルポートの使用権限がないことを示すエラーログが作成されます。シリアルポート機能を持つグループにユーザーを追加するには、次のどれを実行すればよいでしょうか?
- A. usermod -a -G root $USER
- B. usermod -a -G serialport $USER
- C. usermod -a -G dialout $USER
- D. usermod -a -G modem $USER
正解:C
解説:
dialout group: Full and direct access to serial ports. Members of this group can reconfigure the modem, dial anywhere, etc.
質問 # 479
管理者は最近BINDソフトウェアパッケージを更新し、このバージョンに同梱されているデフォルト設定を確認したいと考えています。管理者は次のファイルのうちどれを確認すべきでしょうか?
- A. /etc/named.conf
- B. /etc/named.conf.rpmnew
- C. /etc/bind/bind.conf
- D. /etc/named.conf.rpmsave
正解:B
解説:
After installing a new version of a package that includes a configuration file that already exists on the system, such as /etc/httpd/conf/httpd.conf, RPM will create a new file with the .rpmnew extension instead of overwriting the existing file. This allows the administrator to review the default configuration that shipped with this version and compare it with the current configuration before deciding whether to merge or replace the files. The /etc/named.conf.rpmsave file is created by RPM when a package is uninstalled and it contains a configuration file that was modified by the administrator. This allows the administrator to restore the configuration file if needed. The /etc/named.conf file is the main configuration file for the BIND name server, not the
httpd web server. The /etc/bind/bind.conf file does not exist by default in Linux systems.
質問 # 480
システム管理者は、IPアドレス10.0.2.15とIPアドレス10.0.2.15間のルートをテストしたい。
192.168.1.40。このタスクを実行するには、次のコマンドのどれを使用しますか?
- A. 10.0.2.15 から 192.168.1.40 へのルート
- B. ip route get 192.163.1.40 from 10.0.2.15
- C. 192.169.1.40 から 10.0.2.15 への IP ルート
- D. route -e で 10.0.2.15 から 192.168.1.40 へアクセスする
正解:B
解説:
The command ip route get 192.168.1.40 from 10.0.2.15 will test the route between the IP address
10.0.2.15 and the IP address 192.168.1.40. The ip route get command shows the routing decision for a given destination and source address. This is the correct command to accomplish the task.
質問 # 481
Linux管理者は、ディスクの空き容量を1時間ごとに確認するスクリプトを実行するシステムジョブをスケジュールしています。Linux管理者は、ユーザーがこのジョブを開始できないようにしたいと考えています。
次のことを前提とします。
Linux 管理者はタイマー サービスを開始しようとしますが、次のエラー メッセージが表示されます。
タイマーが開始しない理由として最も可能性が高いのは次のどれですか?
- A. checkdiskspace.timer ユニットは systemctl 経由で有効にする必要があります。
- B. checkdiskspace.timer は sudo コマンドを使用して開始する必要があります。
- C. 新しい構成を取得するには、timers.target を再ロードする必要があります。
- D. checkdiskspace.timer は手動で開始できるように設定する必要があります。
正解:D
解説:
The most likely reason the timer will not start is that the checkdiskspace.timer should be configured to allow manual starts. By default, systemd timers do not allow manual activation via systemct1 start, unless they have RefuseManualStart=no in their [Unit] section. This option prevents users from accidentally starting timers that are meant to be controlled by other mechanisms, such as calendar events or dependencies. To enable manual starts for checkdiskspace.timer, the administrator should add RefuseManualStart=no to its [Unit] section and reload systemd.
質問 # 482
サーバー管理者は、サーバーの 1 つが IP 10.10.10.1 を持つゲートウェイに接続できないことに気付きました。
サーバーのデフォルト ゲートウェイを決定するために管理者が実行する必要があるコマンドはどれですか。
- A. nslookup
- B. route -n
- C. ifconfig
- D. ip a default-gw
正解:B
質問 # 483
Linux システム管理者は、サーバーのファイルシステムの 1 つがいっぱいであるという通知を受け取ります。
管理者がこのファイルシステムを識別するのに役立つコマンドはどれですか?
- A. df -h
- B. du -ah
- C. lsblk
- D. fdisk
正解:A
解説:
The df -h command can be used to identify the filesystem that is full. This command displays the disk usage of each mounted filesystem in a human-readable format, showing the total size, used space, available space, and percentage of each filesystem. The lsblk command displays information about block devices, not filesystems. The fdisk command can be used to manipulate partition tables, not check disk usage. The du -ah command displays the disk usage of each file and directory in a human- readable format, not the filesystems.
質問 # 484
空きディスク容量が十分であるにもかかわらず、再起動後に systemd ログが消えてしまいます。
この動作の原因は次のどれですか?
- A. ディレクトリ /tmp に十分なツリースペースがありません
- B. journald設定でStorage=volatileオプションが設定されている
- C. systemd-journald サービスは無効化され、マスクされています
- D. journaldのサイズ制限を超えました
正解:B
質問 # 485
管理者はサーバーにリモートでログインし、システムが VM であるかどうかを判断したいと考えています。
これに役立つコマンドはどれですか?
- A. vmstat
- B. ps
- C. top
- D. dmesg
正解:D
解説:
sudo dmesg | grep -i hypervisor
[ 0.000000] Hypervisor detected: VMware
質問 # 486
Linux管理者は、ユーザーがアクセスできない問題をトラブルシューティングしています。
特定のワークステーションからhttps://portal.comptia.orgにアクセスします。管理者はいくつかのコマンドを実行し、以下の出力を受け取ります。
この問題を解決するために管理者は次のどのタスクを実行する必要がありますか?
- A. 10.10.10.0/24 から 192.168.0.0/16 へのネットワーク ルートを追加します。
- B. ローカル ホスト ファイルから portal.comptia.org のエントリを削除します。
- C. 外部 DNS サーバーを使用するように resolv.conf 内のネーム サーバーを更新します。
- D. ワークステーション上のローカル DNS キャッシュをクリアし、ホスト コマンドを再実行します。
正解:B
解説:
The best task to perform to resolve this issue is B. Remove the entry for portal.comptia.org from the local hosts file. This is because the local hosts file has a wrong entry that maps portal.comptia.org to 10.10.10.55, which is different from the actual IP address of 192.168.1.55 that is returned by the DNS server. This causes a mismatch and prevents the workstation from accessing the website. By removing or correcting the entry in the hosts file, the workstation will use the DNS server to resolve the domain name and access the website successfully.
To remove or edit the entry in the hosts file, you need to have root privileges and use a text editor such as vi or nano. For example, you can run the command:
sudo vi /etc/hosts
and delete or modify the line that says:
10.10.10.55 portal.comptia.org
Then save and exit the file.
質問 # 487
Linux システム管理者は、Linux システムの 1 つで IPv4 転送を永続的に有効にする必要があります。
このタスクを実行するために、次のコマンドのうちどれを組み合わせて使用できますか? (2 つ選択してください。)
- A. sysctl -p
- B. sysctl net.ipv4.ip_forward
- C. echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
- D. sysctl -w net.ipv4.ip_forward=1
- E. echo "net.ipv6.conf.all.forwarding=l" >> /etc/sysctl.conf
- F. echo 1 > /proc/sys/net/ipv4/ip_forward
正解:C、D
解説:
B). sysctl -w net.ipv4.ip_forward=1
This command immediately enables IPv4 forwarding by setting the system control variable for the current session.
C). echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
This command makes the change persistent by appending the configuration to the /etc/sysctl.conf file, which will be applied at every boot.
To apply the changes made in the sysctl configuration file, you could also run E. sysctl -p, but it is not required for persistence since that file will automatically apply on reboot.
質問 # 488
Linuxシステムが起動に失敗しました。シリアルコンソールに次のエラーが表示されます。
[[1;33mDEPEND[Om] /dataの依存関係が失敗しました。
[[1;33mDEPEND[Om] ローカルファイルシステムの依存関係に失敗しました
...
緊急モードへようこそ!ログイン後、「journalctl -xb」と入力してシステムログを表示してください。
「systemctl reboot」で再起動し、「systemctl default」で再度デフォルトモードでの起動を試行します。
メンテナンス用のルートパスワードを入力してください
(またはCtrl+Dを押して続行します)
このサーバーを再度起動できるようにするには、次のファイルのどれを変更する必要がありますか?
- A. /etc/mtab
- B. /etc/fstab
- C. /dev/sda
- D. /ete/grub.conf
正解:B
解説:
The file that will need to be modified for the server to be able to boot again is /etc/fstab. The
/etc/fstab file is a file that contains the information about the file systems that are mounted at boot time on Linux systems. The file specifies the device name, mount point, file system type, mount options, dump frequency, and pass number for each file system. The error message indicates that the dependency failed for /data, which is a mount point for a file system. This means that the system could not mount the /data file system at boot time, which caused the system to enter the emergency mode. The emergency mode is a mode that allows the administrator to log in as the root user and perform basic tasks such as repairing the system. The administrator should modify the /etc/fstab file and check the entry for the /data file system. The administrator should look for any errors or inconsistencies in the device name, file system type, or mount options, and correct them. The administrator should also verify that the device and the file system are intact and functional by using commands such as blkid, fdisk, fsck, or mount. The administrator should then reboot the system and see if the issue is resolved. The file that will need to be modified for the server to be able to boot again is /etc/fstab.
質問 # 489
......
XK0-005日本語問題集には更新された練習テストと895独特な問題:https://www.passtest.jp/CompTIA/XK0-005-JPN-shiken.html