sca_sles15_2025 Sample Questions & Answers
From everyday command-line use and file-handling tasks to setting up users and permissions, you'll handle process and service scheduling, delegate admin privileges, build LVM volumes alongside Btrfs, and manage networking plus software logging.
Launch the full sca_sles15_2025 simulator →Showing 10 of 20 free samples.
- Question 1Advanced
Storage Management · Creating and Managing Btrfs File Systems from the Command Line
A system administrator is managing a multi-disk Btrfs filesystem. Over time, data has become unevenly distributed across the devices. To re-stripe the data and metadata evenly across all available disks in the filesystem mounted at
/data, which command should be used?Show answer & explanation
Correct answer: D
The
btrfs balancecommand is used to rebalance data across devices in a Btrfs filesystem. Runningbtrfs balance start /datawithout any filters will re-stripe all data and metadata chunks across the available devices, leading to a more even distribution. This is particularly useful after adding or removing devices. - Question 2Intermediate
User and Permission Management · Special File and Directory Modes
An administrator is hardening a SLES 15 server. They need to find all files in the
/etcdirectory that have the SUID bit set, as these can pose a security risk. Which command will correctly locate only these specific files?Show answer & explanation
Correct answer: B
The
findcommand uses the-permoption to search for files with specific permissions. The SUID bit corresponds to the octal value 4000. Using a forward slash (/4000) tellsfindto match files where any of the specified permission bits are set. This is the correct way to find all files with the SUID bit, regardless of their other permissions. - Question 3Advanced
Storage Management · Btrfs Management
A financial services company needs to deploy a new SLES 15 server with a highly resilient storage backend for their transaction logs. The requirements are: data must be mirrored across two separate disks (
/dev/sdband/dev/sdc), and they need the ability to create near-instantaneous, space-efficient snapshots for backup purposes before running end-of-day reports. Which storage technology combination on SLES 15 best meets all these requirements?Show answer & explanation
Correct answer: B
Btrfs natively integrates volume management and filesystem capabilities. Creating a Btrfs filesystem with RAID1 profile (
mkfs.btrfs -d raid1 -m raid1 /dev/sdb /dev/sdc) directly meets the mirroring requirement. Furthermore, Btrfs provides built-in, highly efficient Copy-on-Write snapshots, which perfectly satisfies the need for instantaneous, space-efficient backups. This single technology elegantly solves both requirements. - Question 4Beginner
Software and System Management · Zypper Repository Management
A junior administrator is trying to add a new software repository from a URL to a SLES 15 system using
zypper. They use the commandzypper addrepo new_repo. After runningzypper refresh, they notice packages from the new repository are not being considered during updates. What is the most likely cause of this issue?Show answer & explanation
Correct answer: A
When adding a new repository with
zypper addrepo, it is often added in a disabled state by default as a safety measure. The administrator must explicitly enable it using the commandzypper modifyrepo --enable new_repo(or-e). Until it is enabled, zypper will not use it to search for or install packages. - Question 5Intermediate
Process and System Management · Process Priority
A process named
data-crunchis consuming 100% of a CPU core, impacting the performance of other critical services. The administrator wants to lower its priority without terminating it. The process has a PID of 25123 and a current nice value of 0. Which command will successfully decrease the process's scheduling priority, making it 'less nice' to other processes?Show answer & explanation
Correct answer: C
The
renicecommand is used to alter the scheduling priority of a running process. A higher nice value (from -20 to 19) means a lower priority. To decrease the priority of the process, you must provide a positive nice value. The commandrenice 10 25123sets the nice value of PID 25123 to 10, making it yield CPU time more readily to other processes. A regular user can only increase the nice value (decrease priority), while root can also decrease the nice value (increase priority). - Question 6Intermediate
Storage Management · LVM Snapshots
You are tasked with creating a new LVM snapshot of a logical volume named
lv-webdatain volume groupvg-web. The snapshot must be namedweb-backup-q1and have a fixed size of 5 Gigabytes. Which is the correct command to accomplish this?Show answer & explanation
Correct answer: B
The
lvcreatecommand is used to create LVM snapshots. The correct syntax uses-Lor--sizeto specify the size of the snapshot volume (which stores the changes),-nor--nameto give the snapshot a name, and-sor--snapshotfollowed by the path to the original logical volume. - Question 7Advanced
Storage Management · LVM Configuration from the Command Line
Case Study
A research institute is deploying a new SLES 15 server to process large datasets. The server has four identical 2TB disks (
/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde). The primary requirement is to create a single, large 6TB storage volume with protection against a single disk failure. A secondary requirement is to have a separate, high-performance 2TB volume for temporary data processing that does not require redundancy.The systems architect has decided to use LVM for managing the storage. The plan is to create one volume group named
vg_researchspanning all four disks. From this volume group, two logical volumes will be carved out:lv_datafor the resilient storage andlv_scratchfor the temporary, high-performance storage.Which LVM configuration for the logical volumes
lv_dataandlv_scratchwould best satisfy all the stated requirements?graph TD subgraph Server disk1[/dev/sdb 2TB] --> vg_research disk2[/dev/sdc 2TB] --> vg_research disk3[/dev/sdd 2TB] --> vg_research disk4[/dev/sde 2TB] --> vg_research subgraph vg_research [Volume Group: vg_research] lv_data((lv_data: 6TB, ?)) lv_scratch((lv_scratch: 2TB, ?)) end endShow answer & explanation
Correct answer: B
This solution meets all requirements. A RAID5 logical volume created across all four 2TB disks provides a total usable capacity of (4-1) * 2TB = 6TB and can tolerate the failure of one disk. A striped (RAID0) logical volume provides the best performance by writing data across multiple disks simultaneously, which is ideal for a temporary scratch space where redundancy is not required.
- Question 8Intermediate
Network Management · Network Management Using Wicked
A SLES 15 server's network interface
eth0is managed bywicked. The administrator needs to change its IP address from DHCP to a static configuration: IP192.168.1.50, netmask255.255.255.0, and gateway192.168.1.1. After modifying the/etc/sysconfig/network/ifcfg-eth0file, what is the properwickedcommand to apply these changes without rebooting?Show answer & explanation
Correct answer: B
The
wicked ifreloadcommand is designed to reread the configuration files for network interfaces and apply any changes. Specifying the interface name (eth0) or using the--allflag will trigger wicked to reconfigure the interface according to the updatedifcfg-eth0file. This is the correct method to apply persistent network changes without a full reboot or service restart. - Question 9Beginner
User and Permission Management · Special File and Directory Modes
What is the primary purpose of the 'sticky bit' permission when set on a directory in a SLES 15 system?
Show answer & explanation
Correct answer: C
The sticky bit (octal 1000, shown as 't' in
ls -loutput) is primarily used on world-writable directories like/tmp. When set, it restricts file deletion. A user can create files, but can only delete or rename the files that they themselves own, regardless of the directory's write permissions. This prevents users from interfering with each other's files in a shared space. - Question 10Intermediate
Software and System Management · Zypper Package Management
A system administrator needs to apply all available security patches to a SLES 15 server but wants to avoid installing any optional or recommended patches at this time. Which
zyppercommand achieves this specific goal?Show answer & explanation
Correct answer: C
The
zypper patchcommand is used to install official patches from SUSE. To filter these patches by a specific type, the--categoryflag is used. Specifying--category securityinstructs zypper to install only those patches that have been classified as 'security' updates, ignoring other categories like 'recommended' or 'optional'.
Ready for the real thing?
The full sca_sles15_2025 simulator has every exam-style question, timed mode, and instant scoring.