CompTIA Linux+ Practice Questions: Performance

7 free, exam-style CompTIA Linux+ (XK0-006) practice questions covering Performance. Each question shows the correct answer and a clear explanation. Ready for the real thing? Take the full timed quiz below.

🚀 Take the full CompTIA Linux+ quiz 📘 CompTIA Linux+ study guide

Q1. Which sysctl parameter controls swap aggressiveness?

Explanation: swappiness=0 minimizes swapping, 100 favors swap. Learn more.

Q2. Which command shows disk I/O statistics?

Explanation: iostat reports CPU and disk I/O metrics. Learn more.

Q3. Which command shows memory usage?

Explanation: All commands display memory statistics. Learn more.

Q4. What is the purpose of 'tuned-adm'?

Explanation: Applies predefined tuning profiles for various workloads. Learn more.

Q5. Which command displays processes in real time with resource usage?

Explanation: top provides an interactive real-time view of processes and resource consumption. Learn more.

Q6. Which command displays free and used memory in a human-readable format?

Explanation: free -h shows memory usage with human-readable units. Learn more.

Q7. Which command restricts a process to selected CPU cores by setting its CPU affinity?

Explanation: taskset reads or changes a process CPU affinity mask, controlling which logical processors may run the process. Learn more.

More CompTIA Linux+ practice topics