ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 356 - XK0-005 discussion

Report
Export

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?

A.

The administrator sent a kill signal to the database

Answers
A.

The administrator sent a kill signal to the database

B.

The server is missing the DMA bus

Answers
B.

The server is missing the DMA bus

C.

The database cannot write anything else to the storage

Answers
C.

The database cannot write anything else to the storage

D.

The server does not have enough physical memory

Answers
D.

The server does not have enough physical memory

Suggested answer: D

Explanation:

The oom-killer was invoked because the system ran out of memory, and as a result, it killed the mysqld process to free memory. This is a clear indication that the server did not have enough physical memory to run the MariaDB service, leading to the process being terminated.

asked 18/10/2024
Tim baxter
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first