XK0-005 無料問題集「CompTIA Linux+ Certification」
An administrator is troubleshooting a database service outage that was reported by a monitoring system. Given the following output:
$ systemctl status mariadb
Oct 20 16:40:45 comptia systemd[1]: mariadb.service: Main process
exited, code=killed, status=9/KILL
Oct 20 16:40:45 comptia systemd[1]: mariadb.service: Failed with result
'signal'. Oct 20 16:40:50 comptia systemd[1]: Stopped MariaDB 10.3
database server.
$ dmesg
[ 1061.491433] oom-
kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0
,global_oom, task_memcg=/system.slice/mariadb.service,
task=mysqld,pid=1981,uid=27 [ 1061.491453] Out of memory: Killed
process 1981 (mysqld) total-vm:330668kB, anon-rss:31316kB, file-
rss:OkB, shmem-rss:OkB, UID:27 pgtables:324kB oom_score_adj:0
Which of the following is the reason for the outage?
$ systemctl status mariadb
Oct 20 16:40:45 comptia systemd[1]: mariadb.service: Main process
exited, code=killed, status=9/KILL
Oct 20 16:40:45 comptia systemd[1]: mariadb.service: Failed with result
'signal'. Oct 20 16:40:50 comptia systemd[1]: Stopped MariaDB 10.3
database server.
$ dmesg
[ 1061.491433] oom-
kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0
,global_oom, task_memcg=/system.slice/mariadb.service,
task=mysqld,pid=1981,uid=27 [ 1061.491453] Out of memory: Killed
process 1981 (mysqld) total-vm:330668kB, anon-rss:31316kB, file-
rss:OkB, shmem-rss:OkB, UID:27 pgtables:324kB oom_score_adj:0
Which of the following is the reason for the outage?
正解:B
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Users are experiencing high latency when accessing a web application served by a Linux machine. A systems administrator checks the network interface counters and sees the following:
Which of the following is the most probable cause of the observed latency?
Which of the following is the most probable cause of the observed latency?
正解:A
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
A junior systems administrator is diagnosing an issue with latency. The administrator issues the command at a terminal and receives the following output: mtr www.comptia.org
Given this scenario and the output, which of the following should be reported to the network team for investigation? (Choose two.)
Given this scenario and the output, which of the following should be reported to the network team for investigation? (Choose two.)
正解:C、E
解答を投票する
Linux system users report that over the past few months, a server has stopped responding at least twice each day. Every time this happens, the users have to restart the server to recover it. A systems administrator diagnosing the issue collects the following outputs:
csharp
Output 1
[Tue Aug 31 16:36:42 2021] oom-killer invoked by java: gfp_mask=0x280da2 order=0, oom_score_adj=0
[Tue Aug 31 16:36:42 2021] java cpuset=/ mems_allowed=0 makefile
Output 2
[root@server]# free -m
total used free shared buff/cache available
Mem: 15819 15026 174 92 619 134
Swap: 0 0 0
Which of the following is the best permanent resolution for the system?
csharp
Output 1
[Tue Aug 31 16:36:42 2021] oom-killer invoked by java: gfp_mask=0x280da2 order=0, oom_score_adj=0
[Tue Aug 31 16:36:42 2021] java cpuset=/ mems_allowed=0 makefile
Output 2
[root@server]# free -m
total used free shared buff/cache available
Mem: 15819 15026 174 92 619 134
Swap: 0 0 0
Which of the following is the best permanent resolution for the system?
正解:B
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
A Linux user is trying to execute commands with sudo but is receiving the following error:
$ sudo visudo
>>> /etc/sudoers: syntax error near line 28 <<<
sudo: parse error in /etc/sudoers near line 28
sudo: no valid sudoers sources found, quitting
The following output is provided:
# grep root /etc/shadow
root:*LOCK*:14600::::::
Which of the following actions will resolve this issue?
$ sudo visudo
>>> /etc/sudoers: syntax error near line 28 <<<
sudo: parse error in /etc/sudoers near line 28
sudo: no valid sudoers sources found, quitting
The following output is provided:
# grep root /etc/shadow
root:*LOCK*:14600::::::
Which of the following actions will resolve this issue?
正解:B
解答を投票する
A technician wants to configure a Unix server as a gateway firewall. The technician has implemented the proper ACLs and port address translation policies, but network traffic is not passing from the LAN to the WAN.
Which of the following should the technician configure to for this issue?
Which of the following should the technician configure to for this issue?
正解:A
解答を投票する