nerdexam
CompTIA

XK0-005 · Question #293

A customer reports a Linux production server is randomly suffering degraded performance. The administrator verifies that the package is installed and enabled on the server. sysstat Which of the…

The correct answer is C. Analyze the data in using the command. Since sysstat is already installed and enabled, the most effective way to diagnose historical performance issues is to analyze the data it has already collected.

Troubleshooting

Question

A customer reports a Linux production server is randomly suffering degraded performance. The administrator verifies that the package is installed and enabled on the server. sysstat Which of the following would BEST determine what is causing the impact on performance?

Options

  • ACreate a job that runs every 15 minutes to collect historical data of the load
  • BLeave a ping running overnight from a laptop to the server to catch any latency encountered.
  • CAnalyze the data in using the command.
  • DOpen a screen session and run top inside of it. Let it run over night and collect the data.

How the community answered

(27 responses)
  • A
    22% (6)
  • B
    4% (1)
  • C
    63% (17)
  • D
    11% (3)

Why each option

Since `sysstat` is already installed and enabled, the most effective way to diagnose historical performance issues is to analyze the data it has already collected.

ACreate a job that runs every 15 minutes to collect historical data of the load

While collecting historical data is good, `sysstat` already does this, so creating a new job to duplicate this function is redundant and less efficient than using existing data.

BLeave a ping running overnight from a laptop to the server to catch any latency encountered.

A ping only checks network connectivity and latency; it does not provide detailed system performance metrics like CPU, memory, or disk I/O that `sysstat` captures.

CAnalyze the data in using the command.Correct

The `sysstat` package includes utilities like `sar` (System Activity Report) which collects and reports system activity information, and `sadf` which is used to display `sar` data in various formats. Analyzing the historical data collected by `sysstat` using `sar` or `sadf` provides insights into past performance bottlenecks without needing to proactively capture new data.

DOpen a screen session and run top inside of it. Let it run over night and collect the data.

Running `top` in a screen session overnight provides real-time snapshot data but does not easily allow for historical analysis of trends or specific events that might have occurred hours ago, unlike `sysstat`'s persistent logging.

Concept tested: Analyzing historical sysstat performance data

Source: https://man7.org/linux/man-pages/man1/sar.1.html

Topics

#Linux performance#sysstat#sar command#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice