wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Linux - Unit 8 Review

Total questions: 72

Worksheet time: 36mins

Name
Class
Date
1.

What is the primary purpose of a public key in PKI?

a)

Decrypting data

b)

Creating digital signatures

c)

Encrypting data

d)

Randomizing wildcards

2.

Which component of a cryptographic key pair is used for decrypting data?

a)

Public key

b)

Private key

c)

Self-signed certificate

d)

Digital signature

3.

What is a self-signed certificate?

a)

A certificate signed by a Certificate Authority (CA).

b)

A certificate used for encryption purposes only

c)

A certificate signed by the entity that creates it

d)

A certificate suitable for public-facing websites

4.

What cryptographic technique is used to verify the authenticity and integrity of digital messages or documents?

a)

Encryption

b)

Hashing

c)

Decryption

d)

Digital signature

5.

What is the purpose of a wildcard certificate in SSL/TLS?

a)

Encrypting data at rest

b)

Securing a domain and its subdomains with a single certificate

c)

Creating digital signatures

d)

Verifying the identity of certificate requesters

6.

What is hashing in the context of PKI?

a)

A two-way process to convert data into a fixed-size string

b)

A process of encrypting data with a private key

c)

A one-way process to convert data into a fixed-size string

d)

A process of decrypting data with a public key

7.

What do Certificate Authorities (CAs) verify in the PKI ecosystem?

a)

Authenticity of digital messages

b)

Integrity of digital documents

c)

Identity of certificate requesters

d)

Encryption of data at rest

8.

In the PKI system, what role do public and private keys play?

a)

Establishing secure communications

b)

Issuing digital certificates

c)

Verifying digital signatures

d)

Authenticating users in VPNs

9.

What do SSL/TLS certificates primarily secure in data transmission over networks?

a)

Authenticity of digital messages

b)

Integrity of digital documents

c)

Confidentiality, integrity, and authenticity of data

d)

Encryption of data at rest

10.

What is the purpose of certificate-based authentication in secure connections like SSH, VPNs, and web services?

a)

Encrypting data at rest

b)

Creating digital signatures

c)

Verifying the identity of users, devices, or services

d)

Hashing data for integrity

11.

What is the primary purpose of tokens in authentication?

a)

Managing directory information

b)

Providing centralized authentication

c)

Adding an additional layer of security by requiring something the user possesses

d)

Customizing authentication processes

12.

How does multi-factor authentication (MFA) enhance security?

a)

By requiring only a password

b)

By requiring users to provide multiple forms of identification

c)

By using smart cards for authentication

d)

By centralizing user authentication

13.

Which authentication method is commonly used for two-factor authentication (2FA) or multi-factor authentication (MFA)?

a)

Pluggable Authentication Modules (PAM)

b)

Tokens

c)

System Security Services Daemon (SSSD)

d)

Lightweight Directory Access Protocol (LDAP)

14.

What is the primary purpose of pluggable authentication modules (PAM)?

a)

Managing directory information

b)

Providing centralized authentication

c)

Configuring authentication policies and customizing the authentication process

d)

Streamlining user access to multiple applications

15.

What does the System Security Services Daemon (SSSD) provide for Linux and Unix-like systems?

a)

Centralized authentication, identity, and access management services

b)

Lightweight Directory Access Protocol (LDAP) services

c)

Single sign-on (SSO) authentication

d)

Multifactor authentication (MFA)

16.

In Unix-like operating systems, what is the primary purpose of the System Security Services Daemon (SSSD)?

a)

Providing centralized authentication

b)

Managing directory information

c)

Configuring authentication policies

d)

Enhancing security and making it easier to integrate with enterprise authentication systems

17.

What is LDAP commonly used for in organizations?

a)

Managing directory information

b)

Providing centralized authentication

c)

Adding an additional layer of security with tokens

d)

Configuring authentication policies

18.

What role does LDAP not play in authentication?

a)

Centralizing user authentication

b)

Storing user account information

c)

Reading your email

d)

Providing directory services

19.

What is the primary purpose of Single Sign-On (SSO) authentication?

a)

Requiring users to provide multiple forms of identification

b)

Centralizing user authentication

c)

Customizing authentication processes

d)

Streamlining user access to multiple applications without re-entering credentials

20.

What is the primary benefit of Single Sign-On (SSO) in user authentication?

a)

Adding an additional layer of security with tokens

b)

Centralizing user authentication

c)

Streamlining user access to multiple applications without re-entering credentials

d)

Providing multifactor authentication (MFA)

21.

Which open-source tool can expose vulnerabilities and suggest corrective actions without the need for additional installations?

a)

firewalld

b)

Lynis

c)

UEFI

d)

PAM

22.

What is the primary purpose of Secure Boot in UEFI firmware?

a)

Improving boot times

b)

Preventing unauthorized access attempts

c)

Loading only immutable and signed software

d)

Enforcing password strength

23.

What type of firmware interface is used in modern computers to replace the traditional BIOS?

a)

firewalld

b)

UEFI

c)

PAM

d)

Lynis

24.

What is the primary purpose of system logs in Linux?

a)

Enforcing password strength

b)

Performing basic checks

c)

Monitoring and detecting security issues

d)

Setting default umask

25.

Which command is used to change the default file permission of newly created files?

a)

systemctl

b)

umask

c)

sudo

d)

firewalld

26.

What characteristic can make services insecure?

a)

Running as root

b)

Providing encryption

c)

Strong authentication

d)

Use of secure protocols

27.

How can password policy be enforced on most Linux systems?

a)

Using UEFI

b)

Editing system logs

c)

Configuring host firewall

d)

Utilizing PAM

28.

Which command identifies and removes unused dependencies in Debian-based Linux distributions?

a)

sudo apt-get clean

b)

sudo apt-get update

c)

sudo apt-get autoremove

d)

sudo apt-get install

29.

How can unnecessary root access be restricted in Linux systems?

a)

Configuring host firewall

b)

Setting default umask

c)

Removing unused packages

d)

Securing service accounts

30.

What prevents unauthorized access to a single computer system by restricting access to and from services, ports, and networks?

a)

Enabling a host firewall

b)

Running security scanning

c)

Tuning kernel parameters

d)

Conducting a secure boot

31.

In Linux access control, what is the purpose of the "Other" category?

a)

It refers to the system administrator

b)

It contains permissions for any user that is not the owner or in the assigned user group

c)

It defines access for the root user

d)

It represents a special category for system processes

32.

What command is used to view the assigned rights of files and directories in Linux?

a)

showpermissions

b)

accesscontrol

c)

ls -l

d)

chmod

33.

What does the Set User ID (SUID) permission in Linux allow?

a)

The file or program to be run with the file’s group permissions

b)

The prevention of file or directory deletion by anyone except the owner

c)

The file to be run as if the owner is running it, regardless of the logged-in user

d)

Enabling precise access control policies for system administrators

34.

How is the Set Group ID (SGID or GUID) permission represented in octal mode?

a)

g

b)

s

c)

g+s

d)

g+s'

35.

What does the sticky bit in Linux permissions prevent?

a)

Reading and writing privileges for other users

b)

Execution of the file or program

c)

File or directory deletion by anyone except the owner

d)

Viewing permissions using ls command

36.

Which type of access control is enforced by SELinux?

a)

Discretionary Access Control

b)

Mandatory Access Control

c)

Role-Based Access Control

d)

Attribute-Based Access Control

37.

What does SELinux state "Permissive" mean?

a)

SELinux is disabled

b)

SELinux allows actions but monitors and logs violations

c)

SELinux enables policy rules and blocks unauthorized actions

d)

SELinux operates with minimum security

38.

In AppArmor, what does a profile define?

a)

Access to files and network ports for the entire system

b)

Access control for system processes

c)

Access to files and network ports for a specific application

d)

Policies for SELinux

39.

What is the correct order of the permissions triplet in the octal format for a file in Linux?

a)

Group, Owner, Other

b)

Other, Group, Owner

c)

Owner, Group, Other

d)

Other, Owner, Group

40.

Which command is used to change the owner of a file in Linux?

a)

chgrp

b)

chmod

c)

chown

d)

chuser

41.

How is the value "4" represented in the octal permissions triplet?

a)

rw-

b)

r--

c)

r-x

d)

-w-

42.

What does the command chmod 744 example.txt do?

a)

Gives execute permission to the owner, read and write to the group, and read-only to others

b)

Gives all permissions to the owner, read-only to the group and others

c)

Gives read, write, and execute permissions to the owner, read-only to the group and others

d)

Gives read and write permissions to the owner, read-only to the group and others

43.

Which command is used to change the default permissions of a file or directory when they are initially created in Linux?

a)

chperm

b)

umask

c)

setperm

d)

defaultperm

44.

What does the command getfacl do in Linux?

a)

Gets the attributes of a file

b)

Gets the access control list of a file or directory

c)

Gets the default permissions of a file or directory

d)

Gets the context of a file in SELinux

45.

Which attribute in Linux prevents any modifications to the file, including renaming, altering, or deleting it?

a)

Read-only

b)

Immutable

c)

No dump

d)

Append-only

46.

What is the purpose of the getsebool command in SELinux?

a)

Gets the SELinux status

b)

Gets the context of a file

c)

Gets the access control list of a file

d)

Gets the current setting of a SELinux policy boolean

47.

What is the primary goal of a firewall in a computer network?

a)

Speeding up internet connections

b)

Filtering and controlling network traffic based on security rules

c)

Enhancing computer performance

d)

Expanding the size of the local network

48.

How do firewalls categorize different parts of a network for security purposes?

a)

By the operating system used

b)

By assigning different IP addresses

c)

By organizing into security zones

d)

By monitoring internet speed

49.

What does stateful inspection mean in the context of firewalls?

a)

Filtering packets based solely on static criteria

b)

Keeping track of the state of active connections

c)

Blocking specific applications or protocols

d)

Categorizing rules based on services

50.

When running a web server, which port is commonly open to allow web traffic?

a)

Port 21

b)

Port 25

c)

Port 80

d)

Port 110

51.

Which firewall technology allows for on-the-fly adjustments to settings without restarting the firewall?

a)

iptables

b)

nftables

c)

firewalld

d)

UFW

52.

What is the successor to iptables, aiming to enhance performance and provide a more consistent syntax?

a)

nftables

b)

firewalld

c)

UFW

d)

iptables2

53.

Which tool offers a user-friendly interface for iptables, reducing the learning curve for firewall management?

a)

nftables

b)

UFW (Uncomplicated Firewall)

c)

iptables

d)

firewalld

54.

What type of firewall filters packets solely on static criteria without tracking connections?

a)

Host firewall

b)

Stateful firewall

c)

Dynamic firewall

d)

Stateless firewall

55.

Where are systemd unit files typically stored?

a)

/usr/local/systemd/

b)

/etc/systemd/system/

c)

/var/lib/systemd/

d)

/opt/systemd/

56.

What is the purpose of a *.service unit file in systemd?

a)

Define network settings

b)

Configure timers

c)

Manage services

d)

Mount filesystems

57.

Which directive is used to specify commands to start and stop a service in a *.service unit file?

a)

OnCalendar

b)

ExecStart/ExecStop

c)

Type

d)

Where

58.

Why are "before" and "after" directives important in systemd unit files?

a)

They define mount points.

b)

They specify network interfaces.

c)

They configure timers.

d)

They coordinate the startup sequence of services.

59.

What does the "Type" parameter specify in a *.service unit file?

a)

Network type

b)

Process startup type

c)

Filesystem type

d)

Timer type

60.

What does the "OnCalendar" directive in a *.timer unit file define?

a)

Network settings

b)

Filesystem mount points

c)

Timer activation schedule

d)

System boot delay

61.

Which unit type is associated with configuring timers in systemd?

a)

*.timer

b)

*.mount

c)

*.service

d)

*.target

62.

What does the "What" directive in a *.mount unit file specify?

a)

Mount point

b)

Filesystem type

c)

Source of the mount

d)

Mount options

63.

Which systemd unit file type is associated with specific system states or goals?

a)
service
b)
socket
c)
path
d)
target
64.

What is the purpose of the "network-online.target" in systemd?

a)
To manage user permissions for network access.
b)
To configure firewall settings for the system.
c)

To ensure that the network is fully up and running before starting dependent services.

d)
To monitor network traffic and performance.
65.

What is a common cause of name resolution failures on Linux systems?

a)
Incorrect hostname format
b)
Outdated network drivers
c)
Misconfigured DNS settings
d)
Firewall blocking DNS requests
66.

What can lead to an application crash on a Linux system?

a)

Cleared log files

b)
Outdated operating system
c)
Excessive user permissions
d)

Resource exhaustion

67.

How can time-zone misconfigurations impact a Linux system?

a)
Time-zone misconfigurations only affect user interface language.
b)
Time-zone misconfigurations can cause incorrect timestamps, scheduling issues, and logging errors on a Linux system.
c)
Time-zone settings have no effect on system security.
d)
Time-zone misconfigurations can enhance system performance.
68.

What is a possible solution for resolving name resolution failures related to DNS on Linux?

a)

Clear log files

b)

Verify network connectivity

c)

Change the hostname of the machine

d)

Check disk spave

69.

Which command can be used to set the correct time and time zone on a Linux system?

a)
timedatectl set-timezone
b)
set-time
c)
date set
d)
timezone set
70.

What is a common cause of journal issues on Linux systems?

a)
Outdated kernel
b)

Insufficient disk space

c)
Insufficient RAM
d)
Excessive disk space
71.

How can you address services not starting on time in Linux due to unmet dependencies?

a)
Restart the system
b)
Disable all services
c)
Increase system memory
d)

Adjust startup priorities

72.

What is the recommended approach for troubleshooting delayed service startups on Linux?

a)
Disable all services
b)
Restart the entire system
c)
Increase the system's CPU speed
d)

Analyze dependencies, and review system resource usage.