Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

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

Page: 1 / 7 Total 70 questions

Want more questions? Get Premium Access.

Question 1

You want to add two new custom items to the GRUB2 boot menu. Which file should you modify to accomplish this?

Correct Answer: E. /boot/grub2/custom.cfg
Explanation:

https://documentation.suse.com/sles/12-SP4/html/SLES-all/cha-grub2.html

To add two new custom items to the GRUB2 boot menu, you should modify the /boot/grub2/custom.cfg file. This file can contain custom menu entries that will be added to the end of the GRUB2 menu. The syntax and format of this file are similar to /boot/grub2/grub.cfg file. You do not need to run grub2-mkconfig after modifying this file. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-grub2-custom.html


Question 2

Which command will take a foreground process and suspend it. and then place it in the background as a stopped job?

Correct Answer: C. Ctrl+Z
Explanation:

The command that will take a foreground process and suspend it, and then place it in the background as a stopped job is Ctrl+Z. This keyboard shortcut will send a SIGTSTP signal to the foreground process group, which will stop its execution and return control to the shell. The shell will then display the job number and status of the stopped process. To resume the process in the background, you can use the bg command with the job number or % sign. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-cli-jobs.html


Question 3

Which statements about log file rotation are true? (Choose two)

Correct Answer: A. Configuration files in the /etc/logrotate.d/ directory can override settings in /etc/logrotate.conf.; B. 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:

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. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-logrotate.html


Question 4

The openSUSE Leap version of Linux is designed for which types of user environments? (Choose two)

Correct Answer: B. Desktop power users; E. Developers
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. Reference: https://en.opensuse.org/Portal:Leap


Question 5

Which of the following configuration files have a format that is compatible with the system logging facility in SUSE Linux Enterprise? (Choose two)

Correct Answer: A. /etc/syslog.conf; D. /etc/rsyslog.conf
Explanation:

The configuration files that have a format that is compatible with the system logging facility in SUSE Linux Enterprise are /etc/syslog.conf and /etc/rsyslog.conf. These files contain rules that specify how to filter and process log messages from different sources and destinations. The /etc/syslog.conf file is used by the traditional syslogd daemon, while the /etc/rsyslog.conf file is used by the more advanced rsyslogd daemon. SUSE Linux Enterprise uses rsyslogd by default, but it can also read /etc/syslog.conf for backward compatibility. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-syslog.html#sec-syslog-config


Question 6

What command would be used to add new physical volumes to an existing volume group?

Correct Answer: A. vgextend
Explanation:

To add additional physical volumes to an existing volume group, use the vgextend command. The vgextend command increases a volume group's capacity by adding one or more free physical volumes.

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/cluster_logical_volume_manager/vg_grow#:~:text=To%20add%20additional%20physical%20volumes,or%20more%20free%20physical%20volumes.

The command that is used to add new physical volumes to an existing volume group is vgextend. This command will extend a volume group by adding one or more physical volumes to it. The physical volumes must be initialized with pvcreate before they can be added to a volume group. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-lvm-vgs.html#sec-lvm-vgs-add-pv


Question 7

What two commands will you use if you are going to compile and install from source code? (Choose two)

Correct Answer: B. make install; D. ./configure
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. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-software-install-source.html


Question 8

What does the following command allow you to do? alias endear"

Correct Answer: B. You can type c to run the clear command.
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. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-bash.html#sec-bash-alias


Question 9

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?

Correct Answer: D. setfacl -m u:jsmith:rwx -/scripts/tstparse.sh
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. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-acl.html#sec-acl-set


Question 10

Which commands can display the groups of which a user is a member? (Choose two)

Correct Answer: A. groups; E. id
Explanation:

The commands that can display the groups of which a user is a member are groups and id. The groups command will print the names of all primary and secondary groups that a user belongs to. If no user name is specified, it will print the groups for the current user. The id command will print various information about a user's identity, such as user ID (UID), group ID (GID), primary group name, secondary group names, etc. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-user-group.html#sec-user-group-display