EXAM WITH QUESTIONS AND VERIFIED
ANSWERS, PLUS DETAILED
RATIONALES/EXPERT VERIFIED FOR
GUARANTEED PASS 2026/LATEST
UPDATE/INSTANT DOWNLOAD PDF
Question 1
A Linux administrator needs to determine which kernel version and
architecture are currently running on a production server. Which
command provides the most direct information?
A. lsb_release -a
B. uname -a
C. hostnamectl --status
D. cat /etc/shells
Answer: B. uname -a
Rationale: uname -a displays comprehensive kernel and system
information, including the kernel name, hostname, kernel release,
kernel version, machine architecture, and other platform information.
lsb_release focuses primarily on distribution identification, while
hostnamectl provides system and hostname details but is not the most
direct kernel-information command.
Question 2
A Linux administrator wants to identify all currently listening TCP and
UDP sockets, including the processes associated with those sockets.
Which command is most appropriate?
1
,A. ps aux
B. ip addr show
C. ss -tulnp
D. route -n
Answer: C. ss -tulnp
Rationale: ss displays socket statistics. -t selects TCP sockets, -u selects
UDP sockets, -l limits results to listening sockets, -n prevents name
resolution, and -p displays the associated processes. ps shows
processes but does not directly map listening sockets to services.
Question 3
A Linux server has become nearly unusable because a filesystem is
reporting 100% utilization. The administrator needs to determine
filesystem-level disk usage rather than the size of individual files. Which
command should be used first?
A. du -sh *
B. df -h
C. free -h
D. lsblk -f
Answer: B. df -h
Rationale: df -h reports filesystem capacity, used space, available
space, and utilization in human-readable units. du examines file and
directory consumption, while lsblk displays block devices and
partitions rather than current filesystem utilization.
Question 4
An administrator needs to locate a configuration file named sshd_config
somewhere beneath /etc. Which command is most suitable?
2
,A. grep -r sshd_config /etc
B. find /etc -name sshd_config
C. locate /etc/sshd_config
D. which sshd_config
Answer: B. find /etc -name sshd_config
Rationale: find searches the filesystem according to criteria such as
filename, permissions, ownership, size, and timestamps. grep searches
file contents rather than filenames. which searches executable paths,
and locate depends on an indexed database that may not contain the
most recent files.
Question 5
A Linux administrator wants to change the permissions of
/opt/application/start.sh so that the owner can read, write, and execute it;
the group can read and execute it; and everyone else can only read it.
Which command accomplishes this?
A. chmod 754 /opt/application/start.sh
B. chmod 745 /opt/application/start.sh
C. chmod 754 /opt/application/start.sh
D. chmod 755 /opt/application/start.sh
Answer: A. chmod 754 /opt/application/start.sh
Rationale: The owner permissions are rwx = 7, the group permissions
are r-x = 5, and others have r-- = 4, producing 754. The resulting
symbolic permissions are -rwxr-xr--.
Question 6
A system administrator needs to ensure that a newly created file inside
/srv/data cannot be modified by users who are not members of the file's
3
, owning group. Which Linux security mechanism should be considered
when configuring the directory?
A. Sticky bit
B. SGID bit
C. SUID bit
D. Execute-only permission
Answer: B. SGID bit
Rationale: Setting the SGID bit on a directory causes newly created
files and subdirectories to inherit the directory's group ownership.
This is particularly useful for collaborative directories where users
share a common group. The sticky bit primarily controls deletion of
files, while SUID has a different purpose.
Question 7
A Linux administrator wants every file created within /shared/project to
inherit the directory's group ownership. Which permission should be
applied to the directory?
A. SUID
B. SGID
C. Sticky bit
D. World-writable permission only
Answer: B. SGID
Rationale: The SGID bit on a directory causes new files and
directories created within it to inherit the directory's group rather than
the creator's primary group. It is commonly used for shared project
directories.
Question 8
4