Courseiva
mediumMultiple ChoiceObjective-mapped

SSCP Practice Question: A system administrator needs to ensure that a…

A system administrator needs to ensure that a Linux server is hardened against common attacks. Which configuration change is MOST effective in preventing privilege escalation via SUID binaries?

⚠ Common exam trap

Many exam-takers think logging (auditd) or removing all SUID binaries is a viable solution, but the exam tests the understanding that 'nosuid' is a practical, targeted control that prevents exploitation without breaking legitimate system functionality.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Mount the /tmp and /var partitions with the 'nosuid' option.

Mounting partitions like /tmp and /var with the 'nosuid' option prevents SUID and SGID bits from taking effect on files stored there. Since attackers often place malicious SUID binaries in world-writable directories to escalate privileges, this configuration blocks the execution of such binaries regardless of their permissions. This is more effective than logging or removing all SUID binaries, as it proactively neutralizes a common attack vector without breaking system functionality.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Enable auditd to log all SUID executions.

    Why it's wrong here

    Logging is detective, not preventive.

  • Set the umask to 077 for all users.

    Why it's wrong here

    Controls default file permissions but does not affect existing SUID binaries.

  • Mount the /tmp and /var partitions with the 'nosuid' option.

    Why this is correct

    Prevents execution of SUID binaries on those partitions.

  • Remove all SUID binaries from the system.

    Why it's wrong here

    May break functionality; not practical.

About these practice questions

Courseiva writes every SSCP question from scratch — 920 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SSCP practice question is part of Courseiva's free ISC2 certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SSCP exam.