wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Linux Understanding Basic Security in Linux

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.
You're managing a web server and suspect unauthorized access attempts. Which logs would be most helpful in identifying these attempts?
a)
Kernel logs
b)
Web server access logs
c)
Package manager logs
d)
Desktop environment logs
2.
You're creating a new user account on your Linux system. Which permission should the user account NOT have by default?
a)
Read
b)
Write
c)
Execute
d)
All of the above
3.
You accidentally deleted an important system file. What's the best course of action if you have a recent system backup available?
a)
Reinstall the entire operating system
b)
Use a data recovery tool
c)
Manually recreate the file
d)
Restore the system from the backup
4.
You're concerned about the physical security of your server. Which security measure is MOST crucial in this regard?
a)
Update software regularly
b)
Use strong passwords
c)
Enable firewalls
d)
Encrypt the server's hard drive
5.
A user reports they can't access a specific application. You suspect insufficient permissions might be the issue. Which command can help you verify file permissions?
a)
locate
b)
ls -l
c)
ps
d)
top
6.
You're configuring a firewall and want to block all incoming traffic except for SSH connections on port 22. Which firewall rule would achieve this?
a)
Allow all traffic except SSH
b)
Deny all traffic except SSH
c)
Block port 22
d)
Permit SSH connections only
7.
While browsing the web, you encounter a message claiming a critical security update is available for your Linux system. How can you safely verify if a legitimate update exists?
a)
Click the link in the message
b)
Search the web using the message text
c)
Check your distribution's official channels
d)
Contact technical support
8.
You're concerned about password strength and want to enforce complex passwords for user accounts. Which tool can help you achieve this?
a)
sudo
b)
passwd
c)
shadow
d)
login
9.
You're working on a multi-user system and want to ensure users only access files and directories they are authorized to. What is the core principle behind this security concept?
a)
User isolation
b)
Data encryption
c)
Network segmentation
d)
Application hardening
10.
You're troubleshooting a network issue and suspect a compromised system might be sending malicious traffic. Which tool can help you identify suspicious outgoing connections?
a)
netstat
b)
ping
c)
traceroute
d)
ip addr show
11.
Updating software regularly is only important for adding new features, not for security.
a)
True
b)
False
12.
Complex passwords are sufficient to secure user accounts; there's no need for additional security measures like two-factor authentication (2FA).
a)
True
b)
False
13.
Granting sudo privileges to a user account allows them full, unrestricted access to the entire system, including the root account.
a)
True
b)
False
14.
File permissions in Linux control which users can access and modify files and directories, playing a vital role in system security.
a)
True
b)
False
15.
A firewall that allows all incoming traffic by default and only blocks specific ports or IP addresses provides a more secure approach compared to a firewall that denies all traffic by default and explicitly allows desired connections.
a)
True
b)
False
16.
Encryption scrambles data rendering it unreadable without a decryption key, protecting sensitive information even if someone gains physical access to the storage device.
a)
True
b)
False
17.
Regularly backing up your system is not essential for security; it's primarily for recovering from accidental data loss.
a)
True
b)
False
18.
Physical security measures like keeping server rooms locked and access controlled are only necessary for large organizations and data centers; they're not relevant for personal computers.
a)
True
b)
False
19.
Users should be encouraged to share their passwords with colleagues or IT support staff when troubleshooting technical issues.
a)
True
b)
False
20.
Downloading and running software from untrusted sources is a security risk, and you should only use software obtained from official repositories or reputable vendors.
a)
True
b)
False
21.
You're setting up a new Linux server and want to disable unused services to minimize the attack surface. What tool can help you manage system services?
a)
systemd
b)
systemctl
c)
service
d)
init
22.
You notice unusual system behavior and suspect malware infection. What's the recommended first step before taking further actions?
a)
Run a random antivirus program
b)
Delete suspicious files manually
c)
Isolate the system from the network
d)
Restart the system
23.
You're reviewing system logs and identify failed login attempts. What information within the logs might be helpful in identifying the source of these attempts?
a)
Time of the attempts
b)
Username used in the attempts
c)
IP address of the attempted logins
d)
All of the above
24.
While managing user accounts, you accidentally grant root privileges to a standard user. What's the most secure way to rectify this mistake?
a)
Change the root password
b)
Modify the user's group membership
c)
Revoke the root privileges and recreate the user
d)
Delete and recreate the user account
25.
You're configuring user permissions for a web server directory. What permission should the web server process typically have to access files within the directory?
a)
Read
b)
Write
c)
Execute
d)
Read and execute
26.
You come across a script online claiming to improve system security. How should you approach using such scripts?
a)
Run the script directly on your system
b)
Carefully review the script code
c)
Trust the script's claims and use it
d)
Ask technical support to review the script
27.
You're working remotely and need to securely connect to your Linux server. Which protocol offers strong encryption for remote access?
a)
FTP
b)
SSH
c)
Telnet
d)
HTTP
28.
You're concerned about the security of sensitive data stored on your system. What encryption method can be used to protect data at rest?
a)
File permissions
b)
Disk quotas
c)
User accounts
d)
Disk encryption
29.
You suspect a phishing attempt in an email claiming to be from your system administrator. What's the safest course of action?
a)
Reply to the email and ask for clarification
b)
Click on the links mentioned in the email
c)
Forward the email to your administrator
d)
Delete the email without clicking any links
30.
You're managing a web application and want to implement a security measure to prevent unauthorized access attempts. Which approach can help mitigate brute-force attacks?
a)
Increase password complexity requirements
b)
Enable two-factor authentication (2FA)
c)
Block suspicious IP addresses
d)
Use strong encryption for user passwords