CompTIA Linux+ Practice Questions: Performance

7 free, exam-style CompTIA Linux+ (XK0-006) practice questions covering Performance, each with the correct answer and an explanation. Start a timed exam below, or scroll on to read through the questions.

🧠

Mini Exam

25 Questions · 50 minutes

Start Quiz 🚀
🏆

Mock Linux+ Exam

85 Questions · 165 minutes

Start Quiz 🚀
📅

Daily Quiz

10 Questions · 20 minutes

Start Quiz 🚀
🎯

Standard Practice

50 Questions · 100 minutes

Start Quiz 🚀

Performance practice questions

Answers and explanations are shown. Take the timed exam above to test yourself first.

Q1. Which sysctl parameter controls swap aggressiveness?

  • A.vm.swappiness✓ Correct
  • B.kernel.panic
  • C.net.ipv4.tcp_fin_timeout
  • D.fs.file-max
Explanation: swappiness=0 minimizes swapping, 100 favors swap. Learn more.

Q2. Which command shows disk I/O statistics?

  • A.iostat✓ Correct
  • B.vmstat
  • C.mpstat
  • D.sar
Explanation: iostat reports CPU and disk I/O metrics. Learn more.

Q3. Which command shows memory usage?

  • A.free
  • B.vmstat
  • C.top
  • D.All of the above✓ Correct
Explanation: All commands display memory statistics. Learn more.

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

  • A.Manage performance profiles✓ Correct
  • B.Adjust screen brightness
  • C.Tune network latency
  • D.Optimize database queries
Explanation: Applies predefined tuning profiles for various workloads. Learn more.

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

  • A.top✓ Correct
  • B.touch
  • C.tee
  • D.tr
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?

  • A.free -h✓ Correct
  • B.df -i
  • C.ip link
  • D.userdel -r
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?

  • A.renice
  • B.ionice
  • C.ulimit
  • D.taskset✓ Correct
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

Keep studying CompTIA Linux+

Full CompTIA Linux+ practice exam · CompTIA Linux+ study guide · All CompTIA practice questions

Last updated