Which file contains the ntp configuration?
Answer : B
The file that contains the ntp configuration is /etc/ntp.conf. This file specifies the ntp server or peer addresses, synchronization options, access restrictions, logging settings, and other parameters for the ntp daemon (ntpd) that provides time synchronization services on a Linux system. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-ntp-config.html
True or false: It is not possible to open more than one file in Vim without running a second instance.
Answer : B
It is false that it is not possible to open more than one file in Vim without running a second instance. Vim supports multiple buffers, windows, and tabs that allow you to work with multiple files within one Vim session. You can use various commands and options to open, switch, split, close, and manipulate files in different ways. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-vim.html#sec-vim-multiple-files
Which directory contains the initrd file?
Answer : E
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). Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-boot-initrd.html
If you have a service named tftp, which command and options would enable tftp to start automatically when the server starts?
Answer : B
If you have a service named tftp, the command and options that would enable tftp to start automatically when the server starts are systemctl enable tftp. This command will create symbolic links in the appropriate systemd target directories to enable the tftp service unit. To start the service immediately, you can also use systemctl start tftp or systemctl enable --now tftp. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-systemd-services.html#sec-systemd-enable
Which statement is true regarding VFS?
Answer : C
The statement that is true regarding VFS is that VFS is an abstraction layer in the kernel that provides the same interface to applications and users regardless of which file system format is used. VFS stands for Virtual File System or Virtual File System Switch. It allows different types of file systems (such as ext4, xfs, nfs, etc.) to be accessed through a common set of system calls and functions. VFS also provides caching and buffering mechanisms to improve performance and reliability. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-vfs.html
Which option for zypper will list the available patches?
Answer : C
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. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-zypper.html#sec-zypper-patches
Which Vim command will save the current file without exiting?
Answer : D
Save a File in Vim / Vi#
The command to save a file in Vim is:w.
To save the file without exiting the editor, switch back to normal mode by pressingEsc, type:wand hitEnter.
https://linuxize.com/post/how-to-save-file-in-vim-quit-editor/
The w command will save the current file without exiting Vim. It stands for write. The other commands are either invalid or will exit Vim after saving. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/cha-vim.html#sec-vim-save