CND Network Attacks And Defense Strategies Practice Question
A security analyst is hardening a Linux-based web server and wants to implement mandatory access control (MAC) to restrict processes to only the resources necessary for their function. Which built-in Linux kernel security module should the analyst configure?
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
✓
Configure Security-Enhanced Linux (SELinux) or AppArmor in enforcing mode.
SELinux (Security-Enhanced Linux) and AppArmor are Linux Security Modules (LSM) that provide Mandatory Access Control (MAC) policies. SELinux uses security contexts and policies to constrain process privileges.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Configure Security-Enhanced Linux (SELinux) or AppArmor in enforcing mode.
Why this is correct
SELinux and AppArmor provide Mandatory Access Control to restrict process permissions.
- ✗
Modify standard Linux file permission bits (chmod and chown) for all application binaries.
Why it's wrong here
chmod/chown provide Discretionary Access Control (DAC), which is easily bypassed if a process is compromised.
- ✗
Enable the Linux audit daemon (auditd) to log all system call activities.
Why it's wrong here
auditd logs system events for auditing and forensics, but does not enforce access control restrictions.
- ✗
Install and configure a host-based firewall using iptables or nftables.
Why it's wrong here
iptables/nftables filter network packets; they do not govern internal process-to-file access controls.
Quick reference
Access Control Model Comparison
| Model | Acronym | Who Controls Access? | Best For |
|---|---|---|---|
| Discretionary Access Control | DAC | Resource owner | Small teams, file shares |
| Mandatory Access Control | MAC | System / security labels | Classified govt / military |
| Role-Based Access Control | RBAC | Administrator (via roles) | Enterprise environments |
| Attribute-Based Access Control | ABAC | Policy engine (user + resource attributes) | Fine-grained, dynamic policies |
| Rule-Based Access Control | RuBAC | System rules / ACLs | Firewall rules, network ACLs |
About these practice questions
One of 323 original CND practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official EC-Council exam blueprint
This CND practice question is part of Courseiva's free EC-Council 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 CND exam.