wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Linux - Final Exam Review

Total questions: 155

Worksheet time: 1hrs 20mins

Name
Class
Date
1.

What does the git clone command do in Git?

a)

Uploads local changes to a remote repository.

b)

Downloads a copy of a remote Git repository to your local machine.

c)

Switches branches in your Git repository.

d)

Creates a new branch in your local repository.

2.

Which Git command is used to upload your local changes to a remote repository?

a)

git commit

b)

git push

c)

git pull

d)

git add

3.

Which Git command is used to create, list, or delete branches in your repository?

a)

git branch

b)

git tag

c)

git commit

d)

git push

4.

What is the purpose of the .gitignore file in a Git repository?

a)

To list branches in the repository.

b)

To create new tags for specific commits.

c)

To specify files and directories that should be ignored by Git.

d)

To save changes to the local repository.

5.

Which advanced Git feature helps facilitate code review and collaboration in team-based development workflows?

a)

Git merge.

b)

Git rebase.

c)

Git pull.

d)

Pull requests (PRs).

6.

Which file format is known for its human-readable syntax, making it suitable for defining and organizing configurations in a clear and concise manner in Infrastructure as Code (IaC)?

a)

XML (eXtensible Markup Language)

b)

JSON (JavaScript Object Notation)

c)

YAML (YAML Ain't Markup Language)

d)

CSV (Comma-Separated Values)

7.

Which tool adopts a human-readable YAML syntax for configuration files and is known for its agentless architecture?

a)

Puppet

b)

Chef

c)

Ansible

d)

SaltStack

8.

Which tool employs a Ruby-based DSL for describing system configurations and follows a declarative approach to configuration management?

a)

Ansible

b)

Puppet

c)

Chef

d)

SaltStack

9.

SaltStack distinguishes itself with powerful remote execution capabilities. What language is used for its configuration files?

a)

YAML

b)

JSON

c)

Ruby

d)

Python

10.

What does "initiating a container" involve?

a)

Building a container image

b)

Launching its processes to bring it to life

c)

Deploying instances based on existing container images

d)

Connecting to a running container for interaction

11.

What does "deploying a container" involve?

a)

Halting the processes of a container

b)

Launching container processes based on existing images

c)

Exposing specific ports within a container

d)

Creating and launching instances of a container based on existing container images

12.

What is the significance of "exposing ports" in containers?

a)

Accessing logs of container activities

b)

Halting the processes of a container

c)

Making specific ports within a container accessible externally

d)

Creating and launching instances of a container

13.

Explain what a container is.

4 lines
14.

What directory in Linux Contains files that change while the system is being used, such as log files and cache data?

a)
/tmp
b)
/etc
c)
/home
d)
/var
15.

Where are essential executable files for the system located?

a)

/lib

b)

/bin

c)

/usr

d)

/sbin

16.

9. The /media directory serves as:

a)

a location for temporary files

b)

a mount point for removable media

c)

a directory for user documents

d)

a system configuration directory

17.

What Linux command will display your current directory?

a)
ls
b)
cd
c)
mkdir
d)
pwd
18.

Which option displays all files and directories, including hidden ones, using the ls command?

a)

-a

b)

-l

c)

-R

d)

-al

19.

What command is used to create a new file in Linux?

a)

touch

b)

cat

c)

mkdir

d)

cp

20.

How is the cp command used to copy a directory and its contents?

a)

cp -dR source_directory destination_directory

b)

cp source_directory -R destination_directory

c)

cp source_directory destination_directory -R

d)

cp -r source_directory destination_directory

21.

What is the purpose of variables in shell scripting?

a)

To generate arbitrary strings using curly braces.

b)

To manipulate and expand the values of variables.

c)

To perform arithmetic operations within double parentheses.

d)

To store and manipulate data, acting as placeholders for values.

22.

What does the | (Pipe) command do in shell scripting?

a)

Connects the output of one command as the input to another command.

b)

Executes the command following it ONLY IF the preceding command fails.

c)

Redirects standard output to a file.

d)

Appends the standard output to the end of a file.

23.

What does the > (Output Redirection) command do in shell scripting?

a)

Redirects the standard output to a file, overwriting it if it exists.

b)

Appends the standard output to the end of a file.

c)

Redirects the input from a file to a command.

d)

Combines standard output and standard error to a specified file.

24.

What is nano?

a)

An advanced text editor

b)

A programming language

c)

A simple text editor

d)

A system administration tool

25.

What is a notable characteristic of vi(m)?

a)

It requires mastering keyboard commands

b)

It has a graphical user interface

c)

It supports mouse interactions

d)

It is primarily used for word processing

26.

Which tool is useful for searching patterns within text files and supports regular expressions?

a)

wc

b)

cut

c)

grep

d)

tr

27.

What does the tail command do?

a)

Translates or deletes characters in a stream of data

b)

Displays the last few lines of a file

c)

Counts lines, words, and characters in a file or input stream

d)

Displays the first few lines of a file

28.

Why is the file command useful?

a)

It ignores file extensions.

b)

It determines file compression levels.

c)

It prints detailed file status.

d)

It is used for creating websites.

29.

What is the drawback of a Full Backup?

a)

It takes less time

b)

It requires less storage space

c)

It is time-consuming

d)

It only copies modified data

30.

What does a Differential Backup back up?

a)

Everything on the system

b)

Only modified data since the last full backup

c)

Only modified data since the last incremental backup

d)

Only system configurations

31.

Which utility offers a higher compression rate and has options to adjust the compression rate?

a)

gzip

b)

bzip2

c)

xz

d)

zip

32.

Which of the following is an example of metadata for a .mp3 file?

a)

File size

b)

Compression algorithm

c)

Color profile

d)

GPS coordinates

33.

What is the primary function of the find command?

a)

Transforming text streams

b)

Searching for patterns within text files

c)

Extracting specific sections from each line

d)

Searching files and directories in a directory hierarchy

34.

Which partition table is more modern and versatile, supporting larger capacities and better data integrity?

a)

Master Boot Record (MBR)

b)

Filesystem in Userspace (FUSE)

c)

Redundant Array of Independent Disks (RAID)

d)

GUID Partition Table (GPT)

35.

Which command is used to list all Universal Serial Bus (USB) devices connected to the system?

a)

lspci

b)

dmidecode

c)

lsusb

d)

mkfs

36.

Why is disk partitioning important in Linux systems?

a)

To complicate the installation process

b)

To allocate disk space inefficiently

c)

To enhance system performance and manage files effectively

d)

To create obstacles in system recovery

37.

What utility is used to create, modify, or delete partitions on a storage drive in Linux?

a)

parted

b)

partprobe

c)

mkfs

d)

fdisk

38.

Which command is used to update the kernel with changes in the partition table?

a)

partprobe

b)

mkfs

c)

select

d)

resizepart

39.

Which command in Linux is used to format a partition with a specific file system?

a)
partition -f
b)
format
c)
diskutil
d)
mkfs
40.

What is a mount point in Linux?

a)

A physical storage device

b)

A logical connection between a directory and a filesystem

c)

An entry in /var/log/messages

d)

A file in the /etc/systemd/system directory

41.

Which of the following statements BEST describes the purpose and requirement of a mount point in Linux?

a)
A mount point is a type of file system in Linux.
b)
A mount point is a directory where additional file systems are attached in Linux.
c)
A mount point is a command used to create directories.
d)
A mount point is a backup location for files in Linux.
42.

Which command is used to grow an XFS file system, specifying a new size for the mount point?

a)

xfs_info

b)

xfs_growfs

c)

xfs_expand

d)

xfs_resize

43.

Where can mount parameters for a device be found in Linux?

a)

/var/log/messages

b)

/etc/systemd/system directory

c)

/etc/fstab

d)

/etc/mount

44.

What tool is used to grow the EXT4 filesystem?

a)
resize2fs
b)

mkfs

c)

e2fsck

d)

e2image

45.

What does the xfs_admin command allow you to do with an XFS file system?

a)

Grow the file system

b)

Change parameters such as label and UUID

c)

Copy the contents of the file system

d)

Perform a consistency check

46.

Which command is used to create logical volumes within a volume group in LVM?

a)

lvresize

b)

lvcreate

c)

vgcreate

d)

pvcreate

47.

When adjusting the size of a logical volume in LVM, which command should be used?

a)

lvextend

b)

lvresize

c)

lvchange

d)

vgextend

48.

Which protocol enables file sharing between systems on a network and is commonly used in Unix and Linux environments?

a)

Network File System (NFS)

b)

Server Message Block (SMB)

c)

Common Internet File System (CIFS)

d)

mdadm

49.

Which command provides a user-friendly way to view and understand the storage layout of a Linux system.

a)
df
b)
mount
c)
du
d)
lsblk
50.

What information does the blkid command retrieve about block devices in Linux?

a)

Adapter status and link speed

b)

Universally Unique Identifiers (UUIDs) and file system types

c)

Device name, type, bus, and target

d)

Error statistics for Fiber Channel connections

51.

What is the impact of high latency in a storage system?

a)

It limits the data transfer rate between the storage system and the components requesting data.

b)

It increases the time taken for a storage system to respond to requests, leading to delays in data access and retrieval.

c)

It reduces the number of read and write operations a storage device can perform per second.

d)

It causes the exhaustion of inodes, preventing the creation of new files.

52.

What do capacity issues in storage involve?

a)

The exhaustion of inodes.

b)

Running out of storage space on a storage device.

c)

Problems within the structure of the filesystem.

d)

Mismatched filesystem types or versions.

53.

What could be a consequence of running out of storage space on a storage device?

a)

High latency.

b)

I/O wait.

c)

Data loss, application crashes, or system instability.

d)

Slow data transfers.

54.

What are inodes in the context of storage?

a)

The time it takes for a storage system to respond to a request.

b)

Data structures that track files and directories.

c)

The number of read and write operations a storage device can handle per second.

d)

The limited data transfer rate between the storage system and requesting components.

55.

What can happen if a file system is mounted as read-only but needs to be modified?

a)

I/O errors.

b)

Data loss.

c)

Disk failures.

d)

Issues when attempting to write or update files.

56.

Which RAID Version involves mirroring 2 drives for redundancy?

a)
RAID 5
b)
RAID 0
c)
RAID 1
d)
RAID 10
57.

Which RAID version will withstand the loss of more than one drive?

a)
RAID 5
b)
RAID 6
c)
RAID 1
d)
RAID 0
58.

True or False? A deleted file in Linux still exists on the storage device.

a)

True

b)

False

59.

Which firmware interface is the modern replacement for BIOS?

a)

GRUB2

b)

UEFI

c)

mkinitrd

d)

Dracut

60.

Which command installs the GRUB2 bootloader to the system's boot sector or EFI system partition?

a)

grub2-mkconfig

b)

grub2-update

c)

grub2-install

d)

mkinitrd

61.

What is the initial RAM disk image called?

a)

vmlinuz

b)

initrd.img

c)

udev

d)

initramfs

62.

What does PXE stand for?

a)

Power-On Self-Test

b)

Preboot eXecution Environment

c)

Portable X Environment

d)

Postboot eXecution Engine

63.

What is indicated by a kernel panic in an operating system?

a)

An irrecoverable error within the operating system's kernel

b)

Normal startup of the operating system

c)

Standard hardware setup

d)

Loading of the GRUB2 bootloader

64.

Which device type is associated with serial ports, keyboards, and mice?

a)

Block devices

b)

Special character devices

c)

Character devices

d)

UEFI devices

65.

What is a zombie process, and how can it affect system performance?

a)

A process that consumes an excessive amount of system resources, causing performance degradation.

b)

A process that has completed execution but still has an entry in the process table, consuming minimal resources.

c)

A process waiting for I/O operations to complete, leading to system slowdown.

d)

A process that is ready to run, indicating a high demand for CPU time.

66.

What does high CPU utilization indicate, and what are some potential causes?

a)

It indicates the average number of processes in the run queue over a specific time period. Causes include heavy system load and potential performance issues.

b)

It indicates that the CPU is not actively executing any processes. Causes include system idleness and low demand.

c)

It indicates the CPU consistently working at or near its maximum capacity, potentially leading to sluggish system performance. Causes include runaway processes, zombie processes, malware, and background processes.

d)

It indicates the time the CPU spends waiting for I/O operations to complete. Causes include I/O bottlenecks and slow storage.

67.

What is the purpose of the renice command?

a)

To monitor and manage CPU time spent on user processes.

b)

To dynamically adjust CPU priorities for running processes.

c)

To identify and address runaway processes.

d)

To troubleshoot interface errors in networking.

68.

Why is it important to monitor and manage the CPU in a computer system?

a)

To diagnose issues with SSL/TLS connections.

b)

To resolve network interface errors.

c)

To ensure system health, optimize performance, and pinpoint causes of instability.

d)

To scan for open ports and detect remote services.

69.

What are the consequences of having high run queues and elevated load averages on a system's performance?

a)

They indicate optimal system performance and minimal system demand.

b)

They point to possible I/O bottlenecks and slow storage performance.

c)

They imply the system is experiencing heavy load, which may cause performance degradation and reduced responsiveness.

d)

They show a queue of processes waiting for execution and high competition for CPU resources.

70.

What is free memory in computing, and what can happen when it is exhausted?

a)

The portion of RAM used to store recently accessed data, leading to improved system performance. Exhaustion results in file caching issues.

b)

The portion of RAM currently not being used by any active processes. Exhaustion can lead to system slowdowns or instability.

c)

The portion of RAM used to store frequently used files, application code, or parts of the operating system. Exhaustion can cause memory leaks.

d)

The portion of RAM used for memory management by the operating system. Exhaustion results in out-of-memory (OOM) errors.

71.

What is swapping in the context of CPU and memory management?

a)

Swapping is a technique used to manage CPU priorities dynamically.

b)

Swapping is the process of moving data between RAM and secondary storage devices when physical RAM is insufficient.

c)

Swapping is a memory management technique used to optimize file caching.

d)

Swapping is a tool for adjusting CPU priorities.

72.

How does swapping help prevent out-of-memory (OOM) errors, and what is a potential drawback?

a)

Swapping helps by preventing memory leaks. The drawback is decreased file cache efficiency.

b)

Swapping helps by extending memory capacity using slower storage devices. The drawback is increased file cache consumption.

c)

Swapping helps by optimizing CPU priorities. The drawback is decreased system responsiveness.

d)

Swapping helps by moving data between RAM and secondary storage devices. The drawback is potential slowdowns and reduced overall system responsiveness, known as "thrashing."

73.

What are lscpu and lsmen commands used for in Linux?

a)

They are used for managing file cache and preventing memory exhaustion.

b)

They are tools for adjusting CPU priorities dynamically.

c)

lscpu displays detailed information about the CPU, and lsmen displays information about the system's RAM layout.

d)

lscpu displays information about the system's RAM layout, and lsmen displays detailed information about the CPU.

74.

Which package manager is used in Debian-based Linux distributions such as Debian, Ubuntu, and Kali?

a)

YUM

b)

APT

c)

DNF

d)

ZYpp

75.

What is the low-level package management tool used primarily in Red Hat-based distributions for installing, querying, and managing individual RPM packages?

a)

DNF

b)

APT

c)

RPM

d)

dpkg

76.

Which component of the OS is responsible for managing hardware resources and providing essential system services?

a)

Package manager

b)

Kernel

c)

Runtime

d)

Snap package

77.

What are the typical steps involved in updating configuration files?

a)

Open the file, make changes, and save.

b)

Create a backup, locate the file, review existing settings, modify as needed, save changes, and restart the service.

c)

Test the changes, monitor for issues, and create documentation.

d)

All of the above.

78.

In RPM-based systems, what extension is used for a backup of a configuration file when it is replaced by a new version?

a)

.rpmbak

b)

.rpmsave

c)

.rpmold

d)

.rpmorig

79.

Which utility allows users to interact with Linux kernel runtime parameters?

a)

sysctl

b)

modprobe

c)

insmod

d)

lsmod

80.

Where are kernel parameters set that persist across reboots?

a)

/etc/kernel.conf

b)

/etc/sysctl.conf

c)

/etc/modules.d/

d)

/etc/param.conf

81.

What command provides information about a kernel module, including its description, dependencies, and parameters?

a)

insmod

b)

modprobe

c)

modinfo

d)

rmmod

82.

Which protocol is primarily used to securely access a remote computer over a network?

a)

SSH (Secure Shell)

b)

FTP (File Transfer Protocol)

c)

HTTP (Hypertext Transfer Protocol)

d)

SMTP (Simple Mail Transfer Protocol)

83.

Why is synchronizing system clocks using Network Time Protocol (NTP) essential?

a)

For customizing SSH ports

b)

For log storage configuration

c)

For maintaining time consistency across a network

d)

For managing key-based authentication

84.

Which command-line utility allows for the configuration of a system clock and its settings in Linux?

a)

sysctl

b)

timedatectl

c)

localectl

d)

chronyctl

85.

Where does the make install command typically install the software by default?

a)

/usr/bin

b)

/usr/local/bin

c)

/opt/bin

d)

/bin

86.

Which SSH configuration file is responsible for server-side settings?

a)

~/.ssh/known_hosts

b)

/etc/ssh/ssh_config

c)

/etc/ssh/sshd_config

d)

~/.ssh/config

87.

Which command is used for generating secure key pairs in SSH?

a)

ssh-copy-id

b)

ssh-add

c)

ssh-keygen

d)

ssh-config

88.

What is the command to update repositories in Ubuntu Linux distributions?

a)
apt refresh
b)
sudo apt update
c)
sudo update-apt
d)
apt-get upgrade
89.

Which systemctl command is used to restart a service?

a)

systemctl start

b)

systemctl enable

c)

systemctl restart

d)

systemctl status

90.

Which systemctl command is used to enable a service to start automatically at boot time?

a)

systemctl start

b)

systemctl enable

c)

systemctl mask

d)

systemctl disable

91.

What is cron used for in Unix-like operating systems?

a)

Enabling and disabling services

b)

Scheduling recurring tasks at fixed times, dates, or intervals

c)

Managing system stability

d)

Interacting with crontab files

92.

What does the Sleeping process state indicate?

a)

The process has completed its execution

b)

The process is actively executing instructions

c)

The process is in a state of dormancy, waiting for a specific event

d)

The process is halted or suspended

93.

What is the purpose of the pgrep command?

a)

To list open files

b)

To adjust process priorities

c)

Search for processes based on their name or attributes

d)

To send signals to processes based on their name

94.

Which command obtains the process ID of a running program based on its name?

a)

pidof

b)

pkill

c)

pls

d)

pq

95.

Which command within iproute2 is used to display or change the IPv4 and/or IPv6 address of a network interface?

a)

ip link

b)

ip address

c)

ip route

d)

ip rule

96.

Which file contains configuration information for the Domain Name System (DNS) resolver, specifying DNS servers to be used and other resolver settings?

a)

/etc/systemD.conf

b)

/etc/hosts

c)

/etc/nsswitch.conf

d)

/etc/resolv.conf

97.

Which utility, included in the Bind-utils package, is a command-line tool for querying DNS name servers and provides detailed information about DNS queries and responses?

a)

nslookup

b)

resolvectl

c)

dig (Domain Information Groper)

d)

host

98.

Which command-line tool is commonly used for querying DNS servers for information about domain names and IP addresses and is helpful for troubleshooting DNS-related issues?

a)

host

b)

nslookup

c)

dig

d)

resolvectl

99.

Which tool is a command-line packet analyzer used for capturing and displaying network traffic in real-time?

a)

A. Wireshark

b)

B. netstat

c)

C. traceroute

d)

D. tcpdump

100.

What is the graphical user interface (GUI) network protocol analyzer?

a)

A. tshark

b)

B. traceroute

c)

C. Wireshark

d)

D. mtr

101.

What is the primary function of the traceroute command in networking?

a)

Determines the availability of a network host

b)

Monitors and logs network traffic

c)

Provides detailed network configuration information

d)

Identifies the path packets take to reach a target host

102.

Which command-line tool is used to test the reachability of a host on a network and measure round-trip time for packets?

a)

tcpdump

b)

netstat

c)

ping

d)

traceroute

103.

What is the primary purpose of Secure Shell (SSH) when connecting to a remote server?

a)

To view data being sent and received

b)

To provide an unencrypted means for communication

c)

To encrypt communication for secure data transfer

d)

To resolve issues with network sniffers

104.

Which command-line tool allows you to retrieve files from remote servers using FTP, FTPS, HTTP, or HTTPS protocols?

a)

cURL

b)

Netcat

c)

rsync

d)

wget

105.

What is a key feature of cURL that makes it preferred for automation?

a)

Supports only HTTP protocol

b)

Requires user interaction for every transfer

c)

Can transfer multiple files at once

d)

Uses self-signed certificates for security

106.

Which command is used in Linux systems to copy files between servers securely and uses the same authentication and security as SSH?

a)

SFTP

b)

rsync

c)

netcat

d)

scp

107.

Which of the following adds security to FTP?

a)

FTPS

b)

SFTP

c)

STP

d)

FTSP

108.

What is rsync commonly used for?

a)

Managing user accounts

b)

Text editing

c)

Backups and remote file transfers

d)

Network configuration

109.

What is the primary purpose of the Nmap tool?

a)

Scanning remote systems, identifying open ports, and detecting services.

b)

Testing SSL/TLS connections.

c)

Troubleshooting interface errors.

d)

Allocating bandwidth based on organizational priorities.

110.

What problem might occur if DNS servers are down or unreachable?

a)

Incorrect IP address assignments.

b)

Issues with communication due to unresolved domain names.

c)

Network congestion.

d)

Expired security certificates.

111.

What can high latency in a network result in?

a)

Slow upload or download speeds.

b)

VLAN misconfigurations.

c)

Reduced overall network performance and slower response times.

d)

Communication failures due to inaccurate DNS configurations.

112.

What is the purpose of testing remote systems using Nmap and openssl s_client?

a)

Troubleshooting name resolution issues.

b)

Identifying open ports and detecting services.

c)

Resolving subnetting problems.

d)

Troubleshooting interface errors.

113.

What is the purpose of the hostnamectl command in systemd?

a)

Querying and changing the system hostname and related settings

b)

Configuring DNS resolver settings

c)

Querying DNS resource records

d)

Troubleshooting DNS-related issues

114.

Which command is used to create a new user group on a Linux system?

a)

sudo useradd

b)

sudo groupadd

c)

sudo userdel

d)

sudo groupdel

115.

What command is used to check if a user is currently logged in?

a)

id

b)

who

c)

uname

d)

w

116.

How can a user account be deleted, including its home directory?

a)

sudo userdel -r username

b)

sudo userdel username

c)

sudo userdel -h username

d)

sudo userremove -r username

117.

Which command is used to set a password for a user account in Linux?

a)

sudo passwd -u username

b)

sudo userpasswd username

c)

sudo passset username

d)

sudo usermod -p password username

118.

Where is account information stored for each user in Linux, including the username, user ID, group ID, and home directory?

a)

/etc/profile

b)

/etc/passwd

c)

/etc/shadow

d)

/etc/skel

119.

Which file contains securely stored credential information, including salted and hashed passwords?

a)

/etc/profile

b)

/etc/passwd

c)

/etc/shadow

d)

/etc/skel

120.

What file sets the global environment variables and paths common to all users' login sessions in Linux?

a)

/etc/passwd

b)

/etc/profile

c)

/etc/skel

d)

/etc/shadow

121.

Which command allows a user to switch to a different user and execute a command as that user?

a)

sudo

b)

su -

c)

pkexec

d)

visudo

122.

Which command is used to open and edit the "sudoers" file?

a)

visudo

b)

sudoedit

c)

nano /etc/sudoers

d)

editsudoers

123.

What are some typical challenges Linux users face during the login process?

a)
Excessive system memory usage
b)
Using outdated software versions
c)
Incorrect time zone settings
d)

Account lockouts due to multiple failed login attempts

124.

How can you view a user's password information, including expiration date, in Linux?

a)
Use the command 'passwd username' to reset a user's password.
b)
Run 'useradd username' to view password settings.
c)
Use the command 'chage -l username' to view a user's password information.
d)
Check the '/etc/shadow' file for password details.
125.

Which file is executed upon login to in Linux to customize the behavior and environment of the Bash shell for a specific user?

a)
.bash_profile
b)
.bashrc
c)
profile
d)
.bash_login
126.

Why is logging in as root on a Linux system a security threat?

a)
Root access is limited to specific directories only.
b)
Logging in as root is the only way to install software.
c)
Root access is necessary for regular system updates.
d)

Root grants unrestricted access to the entire system, increasing the risk of exploitation and damage.

127.

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

a)

Decrypting data

b)

Creating digital signatures

c)

Encrypting data

d)

Randomizing wildcards

128.

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

129.

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

130.

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

131.

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

132.

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

133.

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

134.

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

a)

firewalld

b)

UEFI

c)

PAM

d)

Lynis

135.

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

136.

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

137.

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

a)

showpermissions

b)

accesscontrol

c)

ls -l

d)

chmod

138.

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

139.

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

a)

chgrp

b)

chmod

c)

chown

d)

chuser

140.

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

a)

rw-

b)

r--

c)

r-x

d)

-w-

141.

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

142.

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

143.

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
144.

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

145.

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
146.

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
147.

What command is used to display the user manual of any command in Linux?

a)

info

b)

doc

c)

man

d)

help

148.

Which command lists files and directories in the current directory?

a)

list

b)

show

c)

dir

d)

ls

149.

Which command is used to create a new directory?

a)

createdir

b)

makedir

c)

newdir

d)

mkdir

150.

What does the 'cd' command do?

a)

Delete directory.

b)

Copy directory.

c)

Create directory.

d)

Change directory.

151.

Which command is used to remove files in Linux?

a)

delete

b)

erase

c)

rm

d)

remove

152.

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

a)

chown

b)

useradd

c)

usermod

d)

chmod

153.

What does the 'tar' command do?

a)

Compresses files.

b)

Deletes files.

c)

Creates and extracts archive files.

d)

Moves files.

154.

Which command is used to display the current working directory?

a)

cd

b)

ls

c)

dir

d)

pwd

155.

What does the 'top' command display?

a)

System processes and resource usage.

b)

Disk usage.

c)

File permissions.

d)

User accounts.