sca_sles15_2025 Sample Questions

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.

  1. 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 balance command is used to rebalance data across devices in a Btrfs filesystem. Running btrfs balance start /data without 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.

  2. 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 /etc directory 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 find command uses the -perm option to search for files with specific permissions. The SUID bit corresponds to the octal value 4000. Using a forward slash (/4000) tells find to 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.

  3. 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/sdb and /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.

  4. 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 command zypper addrepo new_repo. After running zypper 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 command zypper modifyrepo --enable new_repo (or -e). Until it is enabled, zypper will not use it to search for or install packages.

  5. Question 5Intermediate

    Process and System Management · Process Priority

    A process named data-crunch is 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 renice command 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 command renice 10 25123 sets 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).

  6. Question 6Intermediate

    Storage Management · LVM Snapshots

    You are tasked with creating a new LVM snapshot of a logical volume named lv-webdata in volume group vg-web. The snapshot must be named web-backup-q1 and have a fixed size of 5 Gigabytes. Which is the correct command to accomplish this?

    Show answer & explanation

    Correct answer: B

    The lvcreate command is used to create LVM snapshots. The correct syntax uses -L or --size to specify the size of the snapshot volume (which stores the changes), -n or --name to give the snapshot a name, and -s or --snapshot followed by the path to the original logical volume.

  7. 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_research spanning all four disks. From this volume group, two logical volumes will be carved out: lv_data for the resilient storage and lv_scratch for the temporary, high-performance storage.

    Which LVM configuration for the logical volumes lv_data and lv_scratch would 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 end
    Show 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.

  8. Question 8Intermediate

    Network Management · Network Management Using Wicked

    A SLES 15 server's network interface eth0 is managed by wicked. The administrator needs to change its IP address from DHCP to a static configuration: IP 192.168.1.50, netmask 255.255.255.0, and gateway 192.168.1.1. After modifying the /etc/sysconfig/network/ifcfg-eth0 file, what is the proper wicked command to apply these changes without rebooting?

    Show answer & explanation

    Correct answer: B

    The wicked ifreload command is designed to reread the configuration files for network interfaces and apply any changes. Specifying the interface name (eth0) or using the --all flag will trigger wicked to reconfigure the interface according to the updated ifcfg-eth0 file. This is the correct method to apply persistent network changes without a full reboot or service restart.

  9. 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 -l output) 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.

  10. 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 zypper command achieves this specific goal?

    Show answer & explanation

    Correct answer: C

    The zypper patch command is used to install official patches from SUSE. To filter these patches by a specific type, the --category flag is used. Specifying --category security instructs 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.