Blog

MCQs

Disclaimer:

Educational Use Only:

The website links provided are to be used strictly for educational and knowledge-gaining purposes only.

No Misuse:

Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.

Respect for Websites and Businesses:

Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.

Acknowledge Value of Knowledge:

Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.

No Endorsement:

The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.

User Responsibility:

By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.


  1. What does the root account represent in Unix-based systems?
    a. A non-privileged user account
    b. The top-level administrative account
    c. A guest-level access point
    d. A read-only backup account
    Answer: b. The top-level administrative accounthuntress​
  2. Which unique identifier is assigned to the root user in Unix/Linux?
    a. UID 1
    b. UID 0
    c. UID 1000
    d. UID 99
    Answer: b. UID 0ssh​
  3. What is a common security risk associated with root accounts?
    a. Weak encryption algorithms
    b. Unlimited privileges if compromised
    c. Logging failures
    d. Outdated API calls
    Answer: b. Unlimited privileges if compromisedhuntress​
  4. What command is typically used in Linux to perform an administrative task with elevated privileges?
    a. su
    b. sudo
    c. runas
    d. chmod
    Answer: b. sudohuntress​
  5. In Windows, what is the equivalent of the root account?
    a. Power User
    b. Standard Account
    c. Administrator Account
    d. Service Account
    Answer: c. Administrator Accounthuntress​
  6. What configuration file controls sudo privileges in Linux?
    a. /etc/passwd
    b. /etc/security
    c. /etc/sudoers
    d. /etc/config
    Answer: c. /etc/sudoershuntress​
  7. Why is direct root login often disabled?
    a. To avoid network congestion
    b. To reduce security risks
    c. To increase password length
    d. To limit user multitasking
    Answer: b. To reduce security risksssh​
  8. Which principle suggests users only be given the minimum access necessary?
    a. Zero Trust
    b. Need-to-know
    c. Principle of least privilege
    d. Principle of superuser access
    Answer: c. Principle of least privilegehuntress​
  9. What tool in Windows can execute programs as a different user?
    a. sudoers
    b. runas
    c. suid
    d. PowerShell
    Answer: b. runashuntress​
  10. Which file logs privileged command execution in Linux?
    a. /var/log/auth.log
    b. /etc/systemctl
    c. /root/.bashrc
    d. /usr/bin/logs
    Answer: a. /var/log/auth.loghuntress​
  11. What is root access in mobile operating systems often called?
    a. Rooting
    b. Bypassing
    c. Sandboxing
    d. Jailbreaking
    Answer: a. Rootinghuntress​
  12. What protocol is used to securely access root accounts over networks?
    a. SFTP
    b. SSH
    c. HTTP
    d. FTP
    Answer: b. SSHssh​
  13. What does “PermitRootLogin no” in SSH configuration do?
    a. Enables direct root login
    b. Disables direct root login
    c. Changes root password
    d. Logs root commands
    Answer: b. Disables direct root loginssh​
  14. What kind of attack exploits system vulnerabilities to gain root access?
    a. Phishing attack
    b. Privilege escalation
    c. DDoS
    d. ARP spoofing
    Answer: b. Privilege escalationhuntress​
  15. What command in Unix sets executables to run with root privileges?
    a. chmod 4755
    b. setroot
    c. chroot 777
    d. systemctl –root
    Answer: a. chmod 4755ssh​
  16. Which monitoring tool helps identify privilege misuse?
    a. syslog
    b. Tripwire
    c. Powercfg
    d. mklogcfg
    Answer: b. Tripwireeasyexamnotes​
  17. What practice helps protect against compromised root credentials?
    a. MFA implementation
    b. Logging off daily
    c. Copying credentials
    d. Password sharing
    Answer: a. MFA implementationhuntress​
  18. On macOS, what is the default state of the root account?
    a. Enabled
    b. Disabled
    c. Limited access
    d. Guest
    Answer: b. Disabledssh​
  19. Which Linux feature enforces mandatory access controls limiting even root?
    a. Sysctl
    b. SELinux
    c. BIOS Lock
    d. PAMd
    Answer: b. SELinuxssh​
  20. What is a common outcome if root access is compromised?
    a. Increased uptime
    b. Data destruction
    c. File compression
    d. Kernel upgrade
    Answer: b. Data destructionhuntress​
  21. What practice avoids shared root passwords?
    a. Using sudo
    b. Rotating passwords
    c. Reducing hardware access
    d. Logging root commands
    Answer: b. Rotating passwordsssh​
  22. What mechanism records all privileged user actions for accountability?
    a. PAM
    b. DNSSEC
    c. TCPDUMP
    d. Firewalld
    Answer: a. PAMssh​
  23. What attack vector targets root access via buffer overflow?
    a. SQL Injection
    b. Stack Overflow Exploits
    c. Cookie Hijacking
    d. Side-channel timing
    Answer: b. Stack Overflow Exploitshuntress​
  24. What log type detects abnormal root activities?
    a. Access Control List
    b. SIEM Correlated Logs
    c. Web Access Logs
    d. Cloud Billing Logs
    Answer: b. SIEM Correlated Logshuntress​
  25. In AWS, what is the root account equivalent?
    a. IAM Admin Role
    b. AWS Root User
    c. Lambda Executor
    d. EC2 SuperUser
    Answer: b. AWS Root Userhuntress​
  26. Which of the following enforces multi-layer security even for root?
    a. AppArmor
    b. Bash Profile
    c. Rootkits
    d. PAMD Scripts
    Answer: a. AppArmorssh​
  27. What is an essential rule regarding use of root accounts?
    a. Frequent use in routine tasks
    b. Only use when necessary
    c. Share across teams
    d. Disable user logging
    Answer: b. Only use when necessaryhuntress​
  28. What Windows feature minimizes admin privileges by prompting approval?
    a. UAC
    b. RBAC
    c. MFA
    d. PAM
    Answer: a. UAChuntress​
  29. What central security goal does root protection uphold?
    a. Availability
    b. Integrity
    c. Scalability
    d. Backup retention
    Answer: b. Integrityhuntress​
  30. What tool can detect unauthorized root usage by tracking kernel access?
    a. SELinux Audit
    b. Perfmon
    c. Wireshark
    d. TCPDump
    Answer: a. SELinux Auditssh​
  31. What Linux command can confirm if a user has root privileges?
    a. whoami
    b. id -u
    c. ls -al
    d. uname -r
    Answer: a. whoamihuntress​
  32. What is the key identifier to check root privilege in UID systems?
    a. UID 0
    b. GID 1
    c. PID 100
    d. SID 500
    Answer: a. UID 0ssh​
  33. How can root compromise be mitigated post-incident?
    a. Reinstall OS and rotate keys
    b. Log out of sessions
    c. Run routine backups
    d. Share password securely
    Answer: a. Reinstall OS and rotate keyshuntress​
  34. What is not a good root management practice?
    a. Using sudoers
    b. Sharing root password
    c. Using MFA
    d. Logging sessions
    Answer: b. Sharing root passwordssh​
  35. What recovery mode allows only root access with minimal services?
    a. Single User Mode
    b. Kernel Mode
    c. BIOS Maintenance
    d. Safe Boot Mode
    Answer: a. Single User Modessh​
  36. What type of access is eliminated when using sudo instead of direct root?
    a. Shared root login
    b. Kernel threads
    c. SUID binaries
    d. Python shells
    Answer: a. Shared root loginssh​
  37. Which user action should always be logged and reviewed?
    a. Root-level commands
    b. Print jobs
    c. USB insertions
    d. Network DHCP events
    Answer: a. Root-level commandshuntress​
  38. Which access control model assigns privileges based on roles?
    a. RBAC
    b. DAC
    c. MAC
    d. RuBAC
    Answer: a. RBAChuntress​
  39. What concept minimizes risk by granting temporary elevated access?
    a. Just-in-time Privilege
    b. Persistent Escalation
    c. Always-on Privilege
    d. Batch Mode Authentication
    Answer: a. Just-in-time Privilegehuntress​
  40. What user indicator might suggest unauthorized root privilege?
    a. New admin accounts created
    b. Cron job execution
    c. Normal file backup
    d. Firewall restart
    Answer: a. New admin accounts createdhuntress​
  41. What Linux kernel parameter ensures security logs for root are retained?
    a. auditd
    b. sysctl
    c. tempfs
    d. firewallD
    Answer: a. auditdhuntress​
  42. Which system file stores root account password hashes?
    a. /etc/shadow
    b. /etc/profile
    c. /var/userdb
    d. /sys/root
    Answer: a. /etc/shadowssh​
  43. What common misuse gives attackers permanent root persistence?
    a. Rootkit installation
    b. Password reset
    c. MAC binding
    d. SSH rotation
    Answer: a. Rootkit installationhuntress​
  44. Which mobile practice exposes root credentials?
    a. Jailbreaking
    b. Encryption
    c. Key Rotation
    d. Certificate Pinning
    Answer: a. Jailbreakinghuntress​
  45. What form of escalation leverages legitimate root privileges?
    a. Insider threat misuse
    b. Brute-force attack
    c. DNS poisoning
    d. ARP spoofing
    Answer: a. Insider threat misusehuntress​
  46. What Linux system tool confines even root-level processes?
    a. SELinux
    b. AppArmor
    c. Both a and b
    d. Grub Bootloader
    Answer: c. Both a and bssh​
  47. What kind of system should limit or disable root accounts entirely?
    a. Military-grade systems
    b. Cloud VMs
    c. User desktops
    d. Test servers
    Answer: a. Military-grade systemsssh​
  48. In cloud infrastructures, how should root account use be monitored?
    a. CloudTrail logging
    b. DNS lookup
    c. IAM tag rotation
    d. S3 lifecycle policies
    Answer: a. CloudTrail logginghuntress​
  49. Which common PAM strategy prevents unauthorized root access?
    a. Password rotation
    b. Role separation
    c. Login throttling
    d. Account cloning prevention
    Answer: b. Role separationssh​
  50. What key reason makes root credential protection a compliance requirement?
    a. Auditability and accountability
    b. Software license validation
    c. Backup synchronization
    d. User quota management
    Answer: a. Auditability and accountabilityssh+1​
  1. https://www.huntress.com/cybersecurity-101/topic/root-access
  2. https://www.ssh.com/academy/pam/root-user-account
  3. https://easyexamnotes.com/system-security-mcqs/
  4. https://www.sanfoundry.com/1000-cyber-security-questions-answers/
  5. https://www.sanfoundry.com/operating-system-mcqs-security-user-authentication/
  6. https://www.igmguru.com/blog/cyber-security-mcqs
  7. https://www.interviewbit.com/cyber-security-mcq/
  8. https://www.yeahhub.com/cyber-security-ethical-hacking-mcq-questions-answers-part2/
  9. https://docs.aws.amazon.com/wellarchitected/latest/security-pillar/sec_securely_operate_aws_account.html
  10. https://testbook.com/objective-questions/mcq-on-cyber-security-and-emerging-technologies–5eea6a0d39140f30f369e309
  11. https://www.teqfocus.com/strengthening-aws-root-login-security-responding-to-alerts-and-best-practices/
  12. https://www.contrastsecurity.com/security-influencers/the-top-8-aws-root-user-account-best-practices
  13. https://www.sdgc.com/wp-content/uploads/SDG-How-to-Protect-Your-AWS-Root-User-Account.pdf
  14. https://examradar.com/user-management-and-access-control-mcqs-multiple-choice-questions-with-answer/
  15. https://letsfindcourse.com/cyber-security-mcq/cyber-security-principles-mcq
  16. https://docs.aws.amazon.com/IAM/latest/UserGuide/root-user-best-practices.html
  17. https://www.securden.com/educational/what-is-password-management.html
  18. https://trailhead.salesforce.com/content/learn/modules/security-in-aws-cloud/protect-the-aws-root-user
  19. https://testbook.com/objective-questions/mcq-on-access-control–5eea6a0939140f30f369d90e
  20. https://de.scribd.com/document/524434738/mcq-questions-on-cyber-security

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!