ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 160 - XK0-005 discussion

Report
Export

A Linux systems administrator is troubleshooting an I/O latency on a single CPU server. The administrator runs a top command and receives the following output:

%Cpu(s): 0.2 us, 33.1 sy, 0.0 ni, 0.0 id, 52.4 wa, 0.0 hi, 0.2 si, 0.0 st

Which of the following is correct based on the output received from the executed command?

A.
The server's CPU is taking too long to process users' requests.
Answers
A.
The server's CPU is taking too long to process users' requests.
B.
The server's CPU shows a high idle-time value.
Answers
B.
The server's CPU shows a high idle-time value.
C.
The server's CPU is spending too much time waiting for data inputs.
Answers
C.
The server's CPU is spending too much time waiting for data inputs.
D.
The server's CPU value for the time spent on system processes is low.
Answers
D.
The server's CPU value for the time spent on system processes is low.
Suggested answer: C

Explanation:

The server's CPU is spending too much time waiting for data inputs. This can be inferred from the output of the top command, which shows the percentage of CPU time spent in different states. The wa state stands for wait, and it indicates that the CPU is idle while waiting for an I/O operation to complete. In this case, the wa state is 52.4%, which means that more than half of the CPU time is wasted on waiting for data inputs. This can cause a high I/O latency and affect the performance of the server.

The other options are not correct based on the output received from the executed command. The server's CPU is not taking too long to process users' requests, because the us state, which stands for user, is only 0.2%, which means that the CPU is barely used by user processes. The server's CPU does not show a high idle-time value, because the id state, which stands for idle, is 0.0%, which means that the CPU is not idle at all. The server's CPU value for the time spent on system processes is not low, because the sy state, which stands for system, is 33.1%, which means that the CPU is heavily used by system processes.

Reference: How to Use the Linux top Command (and Understand Its Output); [Understanding Linux CPU Load - when should you be worried?]

asked 02/10/2024
Tamas Szekely
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first