Q1. You want to create the new user account tux with the password penguin (password hash: TvqBFhQWgeSho) and a default home directory. Which command can be used to create the account with the above parameters?
A. useradd -m -p "penguin" tux
B. echo penguin | useradd-m-p - tux
C. useradd -m -p "TvqBFhQWgeSho" tux
D. echo -e "penguin/penguin" | passwd tux; useradd -m tux
Answer: C
Q2. What does the following sentence describe? "Multiple file names referencing to the same inode."
A. Hard Links
B. Sockets
C. Pipes
D. Character devices
E. Block devices
Answer: A
Q3. Next to SLES and SLED, which of the following products is also built on the SLE common code base?
A. SDK
B. YaST
C. SLEM
D. SLEC
Answer: A
Q4. What command disables the ssh service on a systemd system?
A. systemctl disable sshd
B. systemdctl disable sshd
C. systemd-stop sshd
D. systemctl sshd - -status=disabled
Answer: A
Q5. The useradd command is used to create new users.
Which file contains information on the primary group, shell, and other parameters to be used by useradd when not specified on the command line?
A. /etc/profile
B. /etc/passwd
C. /etc/shadow
D. /etc/default/useradd
Answer: D
Q6. Which protocol is used to send messages by the ping command?
A. NTP
B. FTP
C. TCP
D. ICMP
E. HTTP
F. LDAP
Answer: D
Q7. Which command will install the gvim package from a repository?
A. zyppergvim
B. zypper-igvim
C. zipper in gvim
D. zipper -install gvim
E. zipper addrepo gvim
Answer: D
Q8. You want to install the gvim RPM package that is available on the SUSE Linux Enterprise Server installation media. Which command installs the gvim package, and resolves dependencies as needed?
A. rpm -i gvim
B. yast-igvim
C. yast-lgvim
D. rpm-U gvim
Answer: A
Q9. From command mode in vi, what do you have to do to entertext?
A. Press e
B. Press i
C. Press k
D. Press w
Answer: B
Q10. Which option do you use to write the output of the 'hwinfo' command to a log file?
A. --dumpfile_name
B. -o file_name - -dump
C. . -log filejiame
D. --ofile_name
Answer: C
Q11. What does the command "vgcreate" do?
A. Create a new volume group for use with LVM.
B. Create a new virtual group for use with KVM.
C. Create a new virtual graphic device.
D. Create a new vector when printing in Postscript.
E. This command does not exist.
Answer: A
Q12. You would like to run command2 only if command1did not complete successfully. Which command accomplishes this task?
A. command1;; command2
B. command1|| command2
C. command1.command2
D. command1&& command2
Answer: B
Q13. What does the following line of the sudo configuration file mean? geeko ALL = /sbin/shutdown
A. All users are allowed to shut down the computer.
B. it allows the user geeko to shut down the computer.
C. All users (except geeko) are allowed to shut down the computer.
D. User geeko is allowed to shut down the computer with name ALL.
E. All users of the computer with the name geeko are allowed to shut down the computer.
Answer: B
Q14. To set up LVM from scratch, in which order you will execute the LVM commands?
A. pvcreate, vgcreate, Ivcreate
B. pvcreate, Ivcreate, vgcreate
C. vgcreate, Ivcreate, pvcreate
D. vgcreate, pvcreate, Ivcreate
E. Ivcreate, pvcreate, vgcreate
F. Ivcreate, vgcreate, pvcreate
Answer: A
Q15. How do you start a YaST module (for instance, the sw_single module used to install
software) directly from the command line? (Choose two.)
A. yastsw_single
B. yast2 sw_single
C. yast2-m sw_single
D. yast - -start sw_single
E. yast2 - -module sw_single
Answer: A,B
Q16. Which user authentication meth0ds can be used with SLES 12? (Choose four)
A. NIS
B. WEP
C. SSH
D. PAM
E. LDAP F. Handshake
G. Windows Domain
H. Local (/etc/passwd)
Answer: A,D,E,G
Q17. You have a file named filel and you want to create a symbolic link named link-to-file1 to the file. In a terminal window, which command accomplishes what you want? (Choose two.)
A. In file link-to-file1
B. inlink-to-file1 filel
C. In-sfile1link-to-file1
D. In-slink-to-file1 filel
E. cp-s file1link-to-file1
F. mv-sfile1link-to-file1
Answer: C
Q18. What are valid systemd unit types? (Choose three.)
A. Service
B. Targets
C. Device
D. Runlevel
E. Partition
F. Form
G. Pointer
H. Link I. Share
Answer: A,B,C
Q19. What is the following command doing: brct1delif br1 eth1
A. Remove an interface from a bridge
B. Remove a network bridge
C. Use eth1for broadcast
D. Change the name of eth1to br1
Answer: A
Q20. In a terminal window, which command displays the name of the directory you are currently in?
A. dir
B. pwd
C. where
D. current-dir
Answer: B
Q21. You want to redirect both output and error messages of the find command to the find-output file. Which command accomplishes this task?
A. find /etc -name!'*conf" 2>&find-output
B. find /etc-name "*conf 2<&1 > find-output
C. find /etc -name "*conf > find-output 2>
D. find /etc -name "*conf" > find-output 2> find-output
Answer: D