SUSE Certified Administrator in SUSE Linux Enterprise Server 15 SCA_SLES15 Exam Practice Test

Page: 1 / 14
Total 70 questions
Question 1

Which bash commands result in a valid arithmetic expansion? (Choose three)



Answer : B, E, F

The bash commands that result in a valid arithmetic expansion are:

TOTAL=$[8/2]

TOTAL=$((5+2))

((TOTAL++))

Arithmetic expansion is a bash feature that allows you to perform integer calculations and assign or use the result in a command or expression. There are two syntaxes for arithmetic expansion: [expression]and((expression)). The expression can contain variables, operators, parentheses, etc. The ((expression)) syntax can also be used without the $ sign for assignments or conditional tests. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-bash.html#sec-bash-arithmetic


Question 2

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?



Question 3

You have just added a new directory to be exported via NFS. what command should you run next to make that directory available?



Answer : D

You have just added a new directory to be exported via NFS. To make that directory available, you should run systemctl restart nfsserver.service. This command will restart the NFS server service and reload the /etc/exports file that contains the export definitions. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-nfs-server.html#sec-nfs-server-export


Question 4
Question 5

Which system initialization system is used in SLES 15?



Answer : D

The programsystemdis the process with process ID 1. It is responsible for initializing the system in the required way.systemdis started directly by the kernel and resists signal9, which normally terminates processes. All other programs are either started directly by systemd or by one of its child processes.

The system initialization system used in SLES 15 is systemd. It is a modern and powerful system and service manager that replaces the traditional init system. It provides faster boot times, better dependency handling, parallelization, and more features and capabilities. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-systemd-basics.html


Question 6

Which statements about using the -U option and the -F option when running the rpm command are true? (Choose two)



Question 7

Which Vim command will save the current file without exiting?



Page:    1 / 14   
Total 70 questions