Security Fundamentals & Principles MCQs for the NSCT
Security fundamentals and principles are the design rules that decide how much damage a mistake or an attacker can do: least privilege, defence in depth, fail-safe defaults, separation of duties and the AAA model of authentication, authorisation and accounting. It is topic 2 of the 16 in the Cyber Security area, which carries 5% of the NSCT according to HEC's Areas of Competencies. Candidates averaged 47.2% accuracy in this area in 2026, per the HEC NSCT report and APP.
Most of these principles come from Saltzer and Schroeder's 1975 paper, which Stallings reproduces as the "fundamental security design principles" in Computer Security: Principles and Practice. The goals they protect, the CIA triad, are covered in Introduction to Cyber Security.
Least privilege
Least privilege means every user and process gets only the rights its task needs, and only for as long as it needs them. Need to know applies the same idea to information.
Example: a web server that only reads /var/www should run as an unprivileged user such as www-data, not as root. If it is hacked, the attacker gets www-data's rights, not the whole machine. An intern fixing CSS for two weeks gets write access to the CSS folder, expiring after two weeks.
Exam angle: look for two limits, scope and time. An answer that grants the right folder forever is only half correct.
Defence in depth
Defence in depth stacks independent layers so one failure does not expose the asset: physical security, perimeter firewall, network segmentation, host hardening and antivirus, application controls, data encryption and staff training.
If three independent layers each stop 90% of attacks, only 0.1 × 0.1 × 0.1 = 0.1% get through all three. Real layers are rarely fully independent, so treat that as a best case.
Exam angle: a "hard shell, soft centre" network (strong firewall, flat inside) is the classic failure of defence in depth.
AAA
AAA is the access-control sequence used by networks and operating systems:
| Step | Question it answers | Example |
|---|---|---|
| Identification | Who do you claim to be? | Typing a username |
| Authentication | Can you prove it? | Password, OTP token, fingerprint |
| Authorisation | What may you do? | ACL allows read on /reports |
| Accounting | What did you do? | Log of login times, commands, data used |
Identification is often merged into authentication, as Stallings does when he describes user authentication as two steps. Authentication factors are something you know, have or are; two different types make multi-factor authentication. Note that two passwords are still one factor.
RADIUS (UDP) and TACACS+ (TCP port 49) are the classic AAA protocols. RADIUS combines authentication and authorisation and hides only the password; TACACS+ separates all three As and encrypts the whole payload.
Exam angle: a stolen password beats authentication, but authorisation still limits what the attacker can open, and accounting records it.
Other design principles
| Principle | One-line meaning |
|---|---|
| Fail-safe defaults | Deny unless explicitly allowed |
| Economy of mechanism | Keep security code small and simple |
| Complete mediation | Check every access, not just the first |
| Open design | Security rests on keys, not secret designs (Kerckhoffs) |
| Separation of privilege | Access needs more than one condition, such as two keys |
| Least common mechanism | Minimise mechanisms shared between users |
| Psychological acceptability | Controls must not burden users so much that they bypass them |
Stallings adds isolation, encapsulation, modularity, layering and least astonishment. Separation of duties is the organisational form of separation of privilege: one person creates a payment and another approves it.
Common traps
- Confusing authentication (who you are) with authorisation (what you may do).
- Calling password plus PIN "two-factor". Both are something you know.
- Thinking open design means open-source code. It means security does not depend on secrecy of the design.
- Treating an "allow unless denied" rule set as fail-safe. It fails open.
- Mixing up separation of duties (people) with least common mechanism (shared resources).
Worked examples
1. Understanding. Which AAA step records that a user downloaded 2 GB over the VPN? Answer: accounting. It tracks what an authenticated user did, for audit and billing.
2. Application. Three independent layers stop 80%, 70% and 50% of attacks. What share gets through? Answer: 3%. Pass rates multiply: 0.2 × 0.3 × 0.5 = 0.03.
3. Analysis. An OS checks permissions only when a file is opened. After write access is revoked, an open handle keeps writing. Which principle is weakened? Answer: complete mediation. Later writes are not re-checked. Stallings uses this Unix behaviour as his example; systems accept it for speed.
Practise
The quiz below has 100 questions on security fundamentals and principles, filterable by tier and difficulty.
Practise: 100 questions
FAQs
What is the difference between least privilege and need to know?
Least privilege limits system rights, such as which commands or files a process can use. Need to know limits access to information, so even a person with the right clearance sees only the data their task requires. Both reduce the damage when an account is misused or compromised.
Is defence in depth the same as having many firewalls?
No. Several firewalls of the same type share the same weaknesses. Defence in depth uses different kinds of control at different layers: network, host, application, data and people. A phishing email that beats the firewall should still meet endpoint protection, least-privilege accounts and trained staff.
What does AAA stand for in cyber security?
Authentication, authorisation and accounting. Authentication proves who a user is, authorisation decides what they may do, and accounting records what they actually did. RADIUS and TACACS+ are the standard protocols that provide AAA for VPNs, Wi-Fi and network devices.
Next step
Continue to Cryptography Basics MCQs, the next topic in the official order. Revisit the Cyber Security MCQs hub, go deeper with Authentication & Access Control, or test yourself in an NSCT mock test.