SUSE certification · Exam sca_sles15

sca_sles15 Mock Exam

SUSE Certified Administrator in Enterprise Linux 15

Find out if you're ready for sca_sles15. Take the free timed mock exam and get your score in minutes, or study the free sca_sles15 questions below with answers and explanations.

20 questions · 33 minutes · free, no sign-up

Free sca_sles15 questions

1–10 of 21 free
Question 1 Choose 1
In the scripts subdirectory under your home directory there is a file named tstparse.sh. You want to set an Extended ACL so thejsmith user has all permissions to just this file. Which command will accomplish this?
Show answerHide answer

Correct answer: D setfacl -m u:jsmith:rwx -/scripts/tstparse.sh

Explanation

Explanation: The command that you would use to set an Extended ACL so that the jsmith user has all permissions to just the tstparse.sh file in your scripts subdirectory under your home directory is setfacl -m u:jsmith:rwx ~/scripts/tstparse.sh. This command will modify (or create if it does not exist) the Extended ACL for the specified file and add an entry for the jsmith user with read, write, and execute permissions. You can use getfacl ~/scripts/tstparse.sh to view the Extended ACL for the file.
Question 2 Choose 1
What does the following command allow you to do? alias endear"
Show answerHide answer

Correct answer: B You can type c to run the clear command.

Explanation

Explanation: The command that allows you to create an alias command is alias. The alias command can be used to define a short name or abbreviation for another command or sequence of commands. The syntax of the alias command is alias name=‘command’. For example, alias c=‘clear’ will create an alias named c for the clear command. You can then type c to run the clear command. To remove an alias, you can use unalias name.
Question 3 Choose 1
If the file1.txt file already exists in your home directory, what will the touch -7file1.txt command do if anything?
Show answerHide answer

Correct answer: B This changes the access and modification times of the existing file1.txt file.

Explanation

Explanation: If the file1.txt file already exists in your home directory, the touch -7file1.txt command will change the access and modification times of the existing file1.txt file. The touch command can be used to create new empty files or update the timestamps of existing files. The -7 option specifies that only one timestamp should be changed instead of both.
Question 4 Choose 1
Which Network Interface type supported by SLES is used for link aggregation?
Show answerHide answer

Correct answer: D Bond

Explanation

Explanation: The network interface type supported by SLES that is used for link aggregation is bond. Link aggregation is a technique that combines multiple physical network interfaces into one logical interface for increased bandwidth and redundancy. A bond interface can use different modes and options to balance traffic and handle failures.
Question 5 Choose 1
Which directory contains the initrd file?
Show answerHide answer

Correct answer: E /boot

Explanation

Explanation: The initrd file is an initial ramdisk image that contains the necessary drivers and tools to mount the root file system and start the boot process. It is usually located in the /boot directory along with the kernel image (vmlinuz).
Question 6 Choose 1
Which UID does the root user have?
Show answerHide answer

Correct answer: A 0

Explanation

Explanation: The UID that the root user has is 0. The UID (user ID) is a numeric value that uniquely identifies a user on the system. The root user is the superuser or administrator who has full privileges and access to all files and commands on the system. The root user always has the UID of 0, regardless of its name or password.
Question 7 Choose 2
Which statements about log file rotation are true? (Choose two)
Show answerHide answer

Correct answer: A, B Configuration files in the /etc/logrotate.d/ directory can override settings in /etc/logrotate.conf.The /etc/logrotate.conf file controls which log files will be compressed or deleted based on some regular interval or when the log file reaches a particular size.

Explanation

Explanation: Log file rotation is the process of compressing or deleting old log files to save disk space and improve performance. The /etc/logrotate.conf file controls the global settings for log file rotation, such as frequency, size limit, compression method, etc. The /etc/logrotate.d/ directory contains configuration files for specific log files that can override the global settings in /etc/logrotate.conf. The /usr/sbin/logrotate program is used to perform log file rotation according to the configuration files. It is usually invoked by a cron job in /etc/cron.daily/logrotate.
Question 8 Choose 1
What is the first file executed by a bash login shell?
Show answerHide answer

Correct answer: A /etc/profile

Explanation

Explanation: When Bash is invoked as an interactive login shell, or as a non-interactive shell with the -- login option, it first reads and executes commands from the file /etc/profile, if that file exists.
After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The -- noprofile option may be used when the shell is started to inhibit this behavior. The first file executed by a bash login shell is /etc/profile. This file sets global environment variables and aliases for all users. It may also source other files in /etc/profile.d/ directory.
Question 9 Choose 2
The openSUSE Leap version of Linux is designed for which types of user environments? (Choose two)
Show answerHide answer

Correct answer: B, E Desktop power usersDevelopers

Explanation

Explanation: The openSUSE Leap version of Linux is designed for desktop power users and developers. It is a community-driven distribution that offers a stable and reliable operating system with cutting-edge software and tools. It is suitable for personal use, development, testing, and experimentation. It is not intended for high-availability or data center environments that require enterprise-level support and security.
Question 10 Choose 1
Which process ID is assigned to systemd?
Show answerHide answer

Correct answer: B 1

Explanation

Explanation: The program systemd is the process with process ID 1. It is responsible for initializing the system in the required way. systemd is started directly by the kernel and resists signal 9, which normally terminates processes. All other programs are either started directly by systemd or by one of its child processes.
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.

Get full sca_sles15 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 70questions in the bank
  • Newmock on every attempt