Questions:

1. In Linux, what is a "sticky bit" on a directory and what is its purpose?

It makes the directory immutable, preventing changes.
It prevents users from deleting files in the directory they don't own.
It sets the directory's access permissions to be publicly writable.
It designates the directory as a backup location.

2. Which of the following statements about SELinux is true?

SELinux only provides optional access controls
SELinux uses discretionary access control (DAC) as its primary model
SELinux implements mandatory access controls (MAC) to enhance security
SELinux is only available on Ubuntu systems

3. In Linux, which command is used to display and manage active network connections?

netstat
ifconfig
network
connstat

4. What is the purpose of the "rsync" command in Linux?

Synchronize files and directories between systems
Restart the system
Manage running processes
Resize filesystems

5. Which file contains the system-wide environment variables for the current user in Linux?

/etc/environment
/etc/profile
~/.bashrc
~/.profile