Security Fundamentals & Principles MCQs for the NSCT

By the NSCT Exam Editorial Team · Updated 2026-11-24 · Facts checked against official sources on 2026-11-24

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

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

Interactive quiz loading. The first 10 questions are shown below.

  1. What does the principle of least privilege require?

    1. Every user and process gets only the access rights needed for its task, and only for as long as needed
    2. Every user gets administrator rights so work is never blocked
    3. Privileges are granted to the least senior staff first
    4. Users choose the privileges they want during sign-up
    Show answer

    Answer: A. Every user and process gets only the access rights needed for its task, and only for as long as needed

    Least privilege means each subject runs with the minimum set of privileges required for its job. Stallings adds that access should be dropped when no longer needed, which limits the damage from mistakes or compromised accounts.

  2. What is defence in depth?

    1. Placing the most important server deepest inside the building
    2. Using one very strong firewall instead of many weaker controls
    3. Using several independent layers of security controls so that one failure does not expose the asset
    4. Encrypting data twice with the same key
    Show answer

    Answer: C. Using several independent layers of security controls so that one failure does not expose the asset

    Defence in depth layers controls (physical, network, host, application, data and people) so an attacker must defeat several of them. If one layer fails, the others still protect the asset.

  3. In the AAA framework, what do the three As stand for?

    1. Access, audit and availability
    2. Authentication, availability and assurance
    3. Authorisation, auditing and anonymity
    4. Authentication, authorisation and accounting
    Show answer

    Answer: D. Authentication, authorisation and accounting

    AAA is authentication (proving who you are), authorisation (deciding what you may do) and accounting (recording what you did). Protocols such as RADIUS and TACACS+ implement it for network access.

  4. In AAA, which step decides whether an already logged-in user may open the payroll folder?

    1. Authorisation
    2. Authentication
    3. Accounting
    4. Identification
    Show answer

    Answer: A. Authorisation

    Authentication has already established who the user is. Authorisation then checks that identity against permissions, such as an access control list, to allow or deny the action. Accounting would log the attempt.

  5. Typing a username, before any password is checked, is which step?

    1. Authentication
    2. Authorisation
    3. Identification
    4. Accounting
    Show answer

    Answer: C. Identification

    Identification is claiming an identity, such as entering a username. Authentication verifies that claim with evidence such as a password, token or fingerprint. Stallings treats these as the two steps of user authentication.

  6. A fingerprint scan is which authentication factor?

    1. Something you know
    2. Something you have
    3. Something you are
    4. Somewhere you are
    Show answer

    Answer: C. Something you are

    Biometrics, such as fingerprints, face or iris, are 'something you are'. Passwords and PINs are something you know, and smart cards or OTP tokens are something you have.

  7. Which principle requires that no single person can both create and approve a payment?

    1. Separation of duties
    2. Least common mechanism
    3. Economy of mechanism
    4. Open design
    Show answer

    Answer: A. Separation of duties

    Separation of duties splits a critical task between two or more people so that fraud needs collusion. It is the organisational form of Saltzer and Schroeder's separation of privilege.

  8. What does the fail-safe defaults principle say?

    1. When a system fails, it should restart automatically
    2. Defaults should allow access so users are not locked out
    3. Access decisions should be based on permission, so the default is to deny access
    4. Security settings should be left at the vendor's defaults
    Show answer

    Answer: C. Access decisions should be based on permission, so the default is to deny access

    Saltzer and Schroeder's fail-safe defaults principle says the default situation is lack of access; a subject gets access only when explicitly permitted. A mistake then denies access, which is noticed quickly, rather than silently granting it.

  9. Which AAA component produces records such as login times and data used, for auditing and billing?

    1. Authentication
    2. Authorisation
    3. Availability
    4. Accounting
    Show answer

    Answer: D. Accounting

    Accounting tracks what authenticated users do: session times, commands and resources consumed. These records support audits, forensics and billing.

  10. The 'need to know' rule is most closely related to which principle?

    1. Defence in depth
    2. Open design
    3. Psychological acceptability
    4. Least privilege
    Show answer

    Answer: D. Least privilege

    Need to know limits access to information to people whose job needs it, even if they hold the right clearance. It applies least privilege to information rather than to system rights.

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.