Which option for zypper will list the available patches?
Show answerHide answer
Correct answer: Czypper Ip
Explanation
Explanation: The option for zypper that will list the available patches is zypper lp. This
command will display a table of patches that are applicable to your system but not yet
installed. It will show the patch name, category, severity, summary, and status for each
patch. You can use zypper patch to install all available patches or zypper patch-info to get
more details about a specific patch.
Question 12Choose 2
For programs to leverage PolKit they are split into two separate processes. Which
statements below are true regarding these two PolKit processes? {Choose two)
Show answerHide answer
Correct answer: A, CThe Policy Agent process runs in the System Context.The Mechanism process runs in the System Context.
Explanation
Explanation: For programs to leverage PolKit they are split into two separate processes.
The statements below that are true regarding these two PolKit processes are:
The Mechanism process runs in the System Context.
The Policy Agent process runs in the User Session.
The Mechanism process is responsible for performing privileged actions on behalf of
unprivileged users. It runs as root in the System Context and communicates with PolKit via
D-Bus. The Policy Agent process is responsible for requesting authorization from users
when they attempt to perform privileged actions. It runs as a normal user in the User
Session and communicates with PolKit via D-Bus.
Question 13Choose 2
What two commands will you use if you are going to compile and install from source code?
(Choose two)
Show answerHide answer
Correct answer: B, Dmake install./configure
Explanation
Explanation: The two commands that are commonly used to compile and install from
source code are ./configure and make install. The ./configure command will check the
system for dependencies, set variables, and generate a Makefile. The make install
command will use the Makefile to compile the source code and copy the binaries and files
to the appropriate locations.
Question 14Choose 1
What does the term "action* mean when referring to system logging in SUSE Linux
Enterprise?
Show answerHide answer
Correct answer: AAn action defines where a log message ends up such as in a regular file or database
table.
Explanation
Explanation: The term “action” means an action that defines where a log message ends
up such as in a regular file or database table when referring to system logging in SUSE
Linux Enterprise. An action is part of a rule that specifies how to process a log message
based on its properties. An action can be one of the following types: file, pipe, shell,
template, discard, stop, call, omusrmsg, ommysql, ompgsql, etc.
Question 15Choose 1
What does the file /etc/hosts provide?
Show answerHide answer
Correct answer: ALocal name resolution
Explanation
Explanation: The file that provides local name resolution is /etc/hosts. This file contains mappings of
hostnames to IP addresses for hosts on the local network or hosts that are frequently
accessed. The system will consult this file before querying DNS servers when resolving
hostnames. This can improve performance and security, as well as provide fallback in case
DNS servers are unavailable.
Question 16Choose 1
What is required to access updates for SLE?
Show answerHide answer
Correct answer: EAn account with SUSE Customer Center and a SLE Product Key
Explanation
Explanation: To access updates for SLE, you need an account with SUSE Customer
Center and a SLE Product Key. SUSE Customer Center is a web portal that allows you to
manage your subscriptions, products, and services from SUSE. A SLE Product Key is a
unique code that activates your subscription and entitles you to receive updates and
support for your SLE product. You can register your product key with your SUSE Customer
Center account and assign it to your system.
Question 17Choose 1
What is the default port a VNC Client uses to connect?
Show answerHide answer
Correct answer: ATCP 5901
Explanation
Explanation: VNC by default uses TCP port 5900+N,[6][7] where N is the display number (usually :0 for
a physical display). Several implementations also start a basic HTTP server on port 5800+
N to provide a VNC viewer as a Java applet, allowing easy connection through any Javaenabled
web-browser. Differentport assignments can be used as long as both client and
server are configured accordingly. A HTML5 VNC client implementation for modern
browsers (no plugins required) exists too.[8]
The default port a VNC Client uses to connect is TCP 5901. This port corresponds to the
first display number (:1) of the VNC server. Each display number has its own port number,
starting from 5900. For example, display :2 uses port 5902, display :3 uses port 5903, and
so on. The user can specify a different port number if needed.
Question 18Choose 1
You want to restrict access to your server via SSH to just a few specific users. What will
you need to do to accomplish this?
Show answerHide answer
Correct answer: DModify the AllowUsers option in the /etc/ssh/sshd_config file.
Explanation
Explanation: To restrict access to your server via SSH to just a few specific users, you
need to modify the AllowUsers option in the /etc/ssh/sshd_config file. This option specifies
a list of user names or patterns that are allowed to log in via SSH. Any user name that does
not match the list will be denied access. You need to restart the sshd service for the
changes to take effect.
Question 19Choose 1
Which file lists each user's home directory and login shell?
Show answerHide answer
Correct answer: F/etc/passwd
Explanation
Explanation: The file that lists each user’s home directory and login shell is /etc/passwd.
This file contains information about each user account on the system, such as user name,
password (or an x if using shadow passwords), UID, GID, full name or comment field,
home directory path, login shell path, etc. Each line in this file corresponds to one user
account and has seven fields separated by colons.
Question 20Choose 2
Which commands and options will display the routing table? (Choose two)
Show answerHide answer
Correct answer: B, Cip route showip r s
Explanation
Explanation: The ip route show or ip r s commands will display the routing table on a Linux
system. The routing table contains information about how to reach different network
destinations. The cat /etc/sysconfig/routes command will display the static routes
configuration file, which may not reflect the current routing table. The other commands are
either invalid or unrelated to routing.
Full mock exam
Sit the sca_sles15 exam before exam day
Full-length mocks with the same number of questions and the same time limit as the real sca_sles15 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.