Linux+ XK0-005: Security, Automation & Troubleshooting – quiz with 18 questions

Practice questions on CompTIA Linux+ XK0-005: sticky bit, SELinux, firewalld, and SSH hardening, Bash scripts, cron, containers, and Ansible, plus systematic troubleshooting with ss, journalctl, lsof, and signals.

Questions
18
Exam
XK0-005
Level
Intermediate
Area
IT & Cloud · Linux & DevOps

Modules

Sample question

Im Verzeichnis /tmp dürfen alle Benutzer Dateien anlegen, aber nur ihre eigenen löschen. Welches Berechtigungsbit sorgt dafür?

  • Execute-Bit
  • Sticky Bit
  • SetUID-Bit
  • SetGID-Bit

Correct: Sticky Bit. Das Sticky Bit (chmod +t, in ls als t sichtbar) erlaubt das Löschen oder Umbenennen nur dem Besitzer der Datei, dem Verzeichnisbesitzer oder root. SetUID und SetGID betreffen die Ausführungsidentität.

More questions from the quiz

  • Ein Webserver liefert nach dem Verschieben von Dateien in ein neues Verzeichnis „Permission denied“, obwohl die Unix-Rechte stimmen. SELinux läuft im Modus enforcing. Was ist die saubere Lösung?
  • Auf einem Red-Hat-System soll ein Webdienst dauerhaft durch firewalld erlaubt werden. Welche Befehlsfolge ist richtig?
  • Welche Einstellung in /etc/ssh/sshd_config erhöht die Sicherheit am meisten, wenn bereits Schlüsselanmeldung eingerichtet ist?
  • Mit welchem Werkzeug wird eine Partition unter Linux per LUKS verschlüsselt?
  • Ein Bash-Skript soll direkt per ./skript.sh ausgeführt werden. Was ist dafür nötig?

The questions and explanations are in German – checked by experts, not machine-translated.

After every answer, Quizbot explains why it is right or wrong. Open questions come first, and progress is counted per topic. The quiz is free of charge; no account is needed.

As of 15.11.2026 · All quizzes

Quizbot – a project by AI SYSTEM, St. Gallen · Home