Linux Security Fundamentals — 20-Question Skill Check

1.

Which of the following commands is used to change file permissions in Linux?


  • A chmod
  • B chown
  • C passwd
  • D lsmod

2. What does the sudo command do in Linux?

  • A Switches to another user
  • B Lists all users
  • C Executes a command as another user, typically root
  • D Displays system logs

3. SELinux is a mandatory access control system that enhances Linux security.

  • A True
  • B False

4. Which file contains user account information in most Linux systems?

  • A /etc/shadow
  • B /etc/passwd
  • C /etc/group
  • D /etc/login.defs

5. What is the purpose of the /etc/sudoers file?

  • A To store encrypted passwords
  • B To define user permissions for using sudo
  • C To list all installed packages
  • D To configure firewall rules

Please enter your name