- A
Enable auditd to log all SUID executions.
Why wrong: Logging is detective, not preventive.
- B
Set the umask to 077 for all users.
Why wrong: Controls default file permissions but does not affect existing SUID binaries.
- C
Mount the /tmp and /var partitions with the 'nosuid' option.
Prevents execution of SUID binaries on those partitions.
- D
Remove all SUID binaries from the system.
Why wrong: May break functionality; not practical.
Quick Answer
The answer is mounting partitions like /tmp and /var with the nosuid option, as this directly prevents privilege escalation by neutralizing SUID and SGID binaries. This configuration blocks the set-user-identifier and set-group-identifier bits from taking effect on any files stored in those directories, which is critical because attackers frequently place malicious SUID binaries in world-writable locations to gain elevated privileges. On the Systems Security Certified Practitioner SSCP exam, this concept tests your understanding of Linux hardening controls and common attack vectors; a frequent trap is assuming that removing all SUID binaries is more effective, but that approach can break legitimate system functionality and is less sustainable. The nosuid mount option proactively neutralizes the threat without requiring constant maintenance. Memory tip: think “no SUID on shared spaces” — if a directory is writable by anyone, it should never honor SUID bits.
SSCP Systems and Application Security Practice Question
This SSCP practice question tests your understanding of systems and application security. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
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?
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.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Remove all SUID binaries from the system.
Why it's wrong here
May break functionality; not practical.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may 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.
Detailed technical explanation
How to think about this question
The SUID (Set User ID) bit allows a binary to execute with the privileges of its file owner (typically root) rather than the user who runs it. Attackers frequently place SUID binaries in world-writable directories like /tmp to exploit this. The 'nosuid' mount option is enforced at the filesystem level by the kernel's VFS layer, ignoring the SUID and SGID bits on any executable within that mount point. This is defined in the mount(2) system call and is a standard hardening practice per CIS benchmarks and DISA STIGs for Linux systems.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A security analyst at a medium-sized enterprise encounters this scenario during an investigation or architecture review. The correct answer reflects best practice for the specific threat or control described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Security exam questions test whether you can match controls to threats in context — not just recall definitions.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Systems and Application Security — study guide chapter
Learn the concepts, then practise the questions
- →
Systems and Application Security practice questions
Targeted practice on this topic area only
- →
All SSCP questions
504 questions across all exam domains
- →
Systems Security Certified Practitioner SSCP study guide
Full concept coverage aligned to exam objectives
- →
SSCP practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SSCP practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Risk Identification, Monitoring and Analysis practice questions
Practise SSCP questions linked to Risk Identification, Monitoring and Analysis.
Network and Communications Security practice questions
Practise SSCP questions linked to Network and Communications Security.
Systems and Application Security practice questions
Practise SSCP questions linked to Systems and Application Security.
Security Operations and Administration practice questions
Practise SSCP questions linked to Security Operations and Administration.
Incident Response and Recovery practice questions
Practise SSCP questions linked to Incident Response and Recovery.
Access Controls practice questions
Practise SSCP questions linked to Access Controls.
Cryptography practice questions
Practise SSCP questions linked to Cryptography.
SSCP fundamentals practice questions
Practise SSCP questions linked to SSCP fundamentals.
SSCP scenario practice questions
Practise SSCP questions linked to SSCP scenario.
SSCP troubleshooting practice questions
Practise SSCP questions linked to SSCP troubleshooting.
Practice this exam
Start a free SSCP practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this SSCP question test?
Systems and Application Security — This question tests Systems and Application Security — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: 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.
What should I do if I get this SSCP question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More SSCP practice questions
- A security administrator needs to choose an encryption algorithm for a high-speed network where data is encrypted at the…
- Which THREE of the following are common use cases for public key infrastructure (PKI)? (Select exactly three.)
- When implementing a digital signature, which key is used to create the signature?
- A security administrator is configuring a wireless network for a branch office. The office has legacy devices that only…
- Which TWO of the following are functions of a network firewall?
- A network engineer is designing a secure WAN link between two offices using IPsec VPN. The company requires encryption o…
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.