Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free SUSE Certified Administrator in SUSE Linux Enterprise Server 15 SCA_SLES15 Exam Questions

Last updated: · 12 practice questions with answers and explanations

Page: 1 / 7 Total 70 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Overview of SUSE Linux Enterprise

Skill tested: Select an appropriate SLE maintenance approach for systems with different lifecycle requirements.

A company runs SLES 15 servers for two purposes. Its database hosts require a stable service pack with security fixes but must not receive frequent feature changes; a separate test environment needs to evaluate newer SLES capabilities before production adoption. Both environments must remain within SUSE's supported product lifecycle. Which approach best meets these requirements?

Correct Answer: D. Keep production on a supported SLES service pack and use the appropriate SLES 15 update channel for the test environment, planning service-pack updates within the maintenance lifecycle.
Explanation:

SLES service packs provide a stable, maintained release level, while the SLES 15 maintenance model requires administrators to plan supported service-pack transitions rather than remain indefinitely on an old level. A test environment can use a newer supported update level to assess capabilities before production. SLES for SAP Applications is a workload-focused product and does not, by itself, promise an absence of feature changes. Deferring all updates or selectively installing RPMs without repository and dependency management undermines security and supportability.

Question 2

New Single answer

Topic: The Linux Filesystem

Skill tested: Apply FHS locations and file-type distinctions when diagnosing filesystem behavior.

An administrator investigates a service whose executable is under `/usr`, whose configuration is under `/etc`, and whose changing state is under `/var`. A vendor deployment script places a compiled helper in `/opt/acme/bin`, but the script later fails when the administrator tries to execute a path reported by `ls -l` as a symbolic link. The link points to a location that was removed during cleanup. The deployment must preserve FHS conventions and make the helper executable without duplicating it. What is the best corrective action?

Correct Answer: A. Restore or recreate the symbolic link so it points to the valid executable under `/opt/acme/bin`, then verify the target's execute permissions.
Explanation:

A symbolic link is a distinct file type whose pathname refers to another path; execution ultimately depends on the target existing and being executable. Repairing the broken link preserves the intended single copy. Changing a symlink's mode does not repair a missing target, and symlink permissions are generally not used to grant access to the target. `/var` is for variable data, while `/etc` is for host-specific configuration, not application executables. `/opt` is an appropriate location for add-on application software.

Question 3

New Multiple answers

Topic: Work with the Command Line

Skill tested: Use shell expansion and quoting to safely filter command output without altering arguments.

A support engineer needs to list regular files in `/var/log` whose names end in `.log`, including names containing spaces, and pass the resulting paths to a command that accepts one pathname per argument. The directory may contain many files, so the command must avoid an unquoted wildcard being expanded in an unintended location. Which two shell approaches meet the requirement? Select TWO.

Correct Answer: A. Run `find /var/log -maxdepth 1 -type f -name '*.log' -exec command {} +`.; E. Run `find /var/log -maxdepth 1 -type f -name '*.log' -print0 | xargs -0 command`.
Explanation:

Both `-exec ... {} +` and the NUL-delimited `find`/`xargs` pipeline pass pathnames as arguments without splitting names containing spaces or interpreting wildcard characters in those names. Quoting the pattern in `-name '*.log'` ensures the shell leaves it for `find`. Command substitution in B splits on whitespace and corrupts names with spaces. D leaves selection behavior to the target command and does not handle every filename robustly. In E, the shell may expand `*.log` before `find` receives it.

Question 4

New Single answer

Topic: The Vim Editor

Skill tested: Use Vim search-and-replace scope controls to safely update repeated configuration values.

During a controlled maintenance window, an administrator must change every occurrence of `old.example.net` to `new.example.net` in a configuration file open in Vim. The replacement must apply throughout the whole buffer, including multiple occurrences on the same line, and the administrator wants Vim to prompt before each change so an accidental match can be skipped. Which command should be used?

Correct Answer: D. `:%s/old.example.net/new.example.net/gc`
Explanation:

The `%` range applies the substitution to every line in the buffer, `g` replaces all matches on each line, and `c` requests confirmation for each replacement. A has no whole-buffer range and therefore affects only the current line. C applies across the buffer but replaces only the first match per line and does not ask for confirmation. D deletes matching lines rather than replacing the text. In Vim's substitute pattern, dots are regular-expression metacharacters; if literal dots are required, they can be escaped, but the scope and confirmation controls are expressed by this command.

Question 5

New Single answer

Topic: Remote Administration

Skill tested: Configure OpenSSH public-key access while preventing password-based remote login.

A team administers SLES servers over a management network. Administrators must authenticate with their individual SSH keys, and the organization prohibits SSH password authentication. The servers must remain reachable by SSH, and administrators should not share a single account password. Which implementation best satisfies the requirement?

Correct Answer: B. Install each administrator's public key in the appropriate account's `~/.ssh/authorized_keys`, configure the SSH server to disable password authentication, validate the configuration, and reload or restart the SSH service.
Explanation:

OpenSSH public-key authentication uses the client's private key and the matching public key in the server account's `authorized_keys` file. Disabling password authentication enforces the stated policy while retaining SSH access; validating the server configuration before applying it reduces the risk of locking out administrators. Private keys must remain with their owners, so B reverses the key placement and violates the policy. `scp` relies on SSH transport and does not eliminate the need for an SSH server. A non-login shell prevents the required interactive administration.

Question 6

New Single answer

Topic: System Initialization

Skill tested: Diagnose systemd boot failures using unit dependencies and journal evidence.

After a SLES server update, the host reaches the emergency shell instead of its normal multi-user state. The administrator suspects a newly added custom mount unit is preventing the boot target from completing. The systemd journal is available, and the root filesystem is healthy. Which action is the best first diagnostic step before changing boot configuration?

Correct Answer: D. Use `systemctl list-dependencies multi-user.target` and inspect the relevant failed unit with `systemctl status` and `journalctl -b`.
Explanation:

Systemd target dependencies and the boot journal identify which units failed and why. Inspecting the dependency path, unit status, and current-boot log is a focused first step, particularly when a custom mount is suspected. GRUB2 hands control to the kernel and is not implicated merely because systemd fails to reach a target. Making rescue mode permanent masks the fault rather than diagnosing it, while deleting unit files can remove essential local configuration and create additional failures.

Question 7

New Single answer

Topic: Process Management

Skill tested: Control process priorities and scheduling behavior for latency-sensitive workloads.

A SLES server runs a batch compression job that consumes CPU while an interactive service experiences latency. The compression job may continue running, but it should receive less CPU scheduling priority than normal processes. The administrator must avoid changing the service's priority or killing the batch job. What is the most appropriate action?

Correct Answer: B. Increase the compression process's nice value with `renice` after identifying its PID.
Explanation:

A higher nice value gives a process a lower scheduling priority under the normal time-sharing scheduler, allowing the interactive workload to receive more CPU when there is contention. `renice` can adjust an existing process after its PID is identified. A negative nice value raises priority, the opposite of the requirement. Real-time scheduling can starve ordinary tasks and is not appropriate for reducing batch priority. `SIGSTOP` suspends the job rather than allowing it to continue at reduced priority.

Question 8

New Multiple answers

Topic: Identity and Security

Skill tested: Apply least privilege with POSIX permissions, groups, and sudo delegation.

A small operations team maintains application logs in `/srv/app/logs`. Members of the `appops` group need to read the logs, while only the service account should write them. Team members may run one approved maintenance command as root, but must not receive a general root shell. Which two changes best satisfy these controls? Select TWO.

Correct Answer: B. Set the directory's group to `appops` and grant group read and directory traversal permissions without granting group write.; C. Add a narrowly scoped sudoers rule permitting the maintenance command, using `visudo` to validate the rule.
Explanation:

Group ownership plus read and execute permissions on the directory allows `appops` members to list and traverse it without granting them write access. The service account can retain ownership and write privileges. A narrowly constrained sudoers entry grants only the required privileged command, and `visudo` checks syntax before installation. World-writable permissions expose integrity to all local users. Root-group membership does not provide a safe command-specific delegation model, and unrestricted sudo violates least privilege.

Question 9

New Single answer

Topic: Software Management

Skill tested: Use Libzypp repository metadata to resolve and install SLES software packages.

An administrator needs to install a package from an enabled SLES repository, but the package does not appear in a search. The system was recently registered and its repositories are configured; the administrator must preserve dependency resolution and avoid downloading an unrelated RPM from an untrusted source. What should be done next?

Correct Answer: A. Refresh Libzypp repository metadata, search the enabled repositories again, and install the package with Zypper if it is available.
Explanation:

Refreshing repository metadata updates the local package index so Zypper can search current package information and resolve dependencies from configured repositories. The administrator should then verify availability and install through the managed repository workflow. Installing an untrusted RPM with dependency checks disabled creates security and consistency risks. Compiling from source is unnecessary when the package may be provided by a repository and introduces manual dependency and lifecycle management. Removing valid repositories eliminates the intended package-management source rather than correcting stale metadata.

Question 10

New Multiple answers

Topic: Network Management

Skill tested: Configure Wicked-managed network settings and firewalld access for a required service.

A SLES 15 server uses Wicked to manage a static management interface. A monitoring system on a defined internal network must reach the server's HTTPS service, while unrelated inbound services remain blocked. The network configuration must survive reboot, and the administrator must not replace Wicked with NetworkManager. Which two actions are appropriate? Select TWO.

Correct Answer: B. Use firewalld to permit HTTPS in the relevant active zone, limiting the source to the monitoring network where the rule mechanism supports that restriction.; C. Configure the static address and route using the Wicked-supported configuration for the interface, then apply and verify the settings with Wicked tools.
Explanation:

Wicked provides persistent network configuration on SLES systems configured to use it; a one-time `ip` change is not a durable configuration. Firewalld should allow only the required HTTPS traffic in the applicable zone, with source restriction where appropriate, rather than disabling the firewall. NetworkManager is an alternative network-management stack, but the scenario explicitly requires retaining Wicked. Exposing all ports violates the least-exposure requirement and is not necessary for monitoring HTTPS.

Question 11

New Single answer

Topic: Storage Management

Skill tested: Design LVM capacity changes using physical volumes, volume groups, and logical volumes.

A SLES application server has an LVM logical volume mounted at `/data`, backed by a volume group with no free extents. A new virtual disk has been attached and appears as an unused block device. The application requires additional capacity without moving existing data, and the mounted filesystem must remain intact. Which sequence is the best approach?

Correct Answer: D. Create a physical volume on the new disk, extend the existing volume group with it, extend the logical volume, and grow the filesystem using a method supported by that filesystem.
Explanation:

LVM capacity is added in layers: initialize the block device as a physical volume, add it to the volume group, extend the logical volume, then grow the filesystem with the appropriate supported tool. This preserves the existing logical-volume-backed filesystem while using the new capacity. Mounting a new filesystem over `/data` hides the existing contents rather than extending them. A disk cannot be added directly to a mounted filesystem with `mount`, and RAID conversion is unrelated and does not automatically provide the requested LVM expansion.

Question 12

New Single answer

Topic: Administration and Monitoring

Skill tested: Collect and interpret Supportconfig data for a structured SLES support case.

A production SLES system has an intermittent boot and service-start problem. The support team requests diagnostic data, but the administrator must not send a manually assembled archive that omits relevant system configuration or logs. The host is currently running and local disk space is sufficient. What is the most appropriate action?

Correct Answer: C. Run `supportconfig` to generate the system diagnostic archive, review the collected information for sensitive data, and provide the archive through the approved support channel.
Explanation:

Supportconfig collects a broad set of system configuration, logs, and diagnostic information useful for support investigations. Reviewing the resulting archive for sensitive information before transmission follows sound operational practice, and the approved channel protects the data in transit and at rest. Vacuuming the journal destroys potentially relevant evidence and provides only a partial data set. Rebooting or deleting logs is unnecessary and may remove evidence. `/etc` alone omits runtime state, service logs, and other useful diagnostics.