Questions
ayuda
option
My Daypo

ERASED TEST, YOU MAY BE INTERESTED ONLPIC 1.1

COMMENTS STATISTICS RECORDS
TAKE THE TEST
Title of test:
LPIC 1.1

Description:
LPIC parte 1 de 3

Author:
AVATAR

Creation Date:
24/02/2024

Category:
Others

Number of questions: 40
Share the Test:
Facebook
Twitter
Whatsapp
Share the Test:
Facebook
Twitter
Whatsapp
Last comments
No comments about this test.
Content:
Which type of file system is created by mfs when it is executed with the block device name only and without any additional parameters? ext4 ext2 VFAT XFS ext3.
Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else? 0750 7640 0029 0027 0036.
Which is the default percentage of reserved space for the root user on new ext filesystems? 5% 0% 10% 15% 3%.
Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually? The command systemctl mountsync can be used to create a mount unit based on the existing mount Unless a systemd mount unit is created, systemd unmounts the file system after a short period of time systemd automatically generates a mount unit and monitors the mount point without changing it systemd ignores any manual mounts which are not done using the systemct mount command systemctl unmount must be used to remove the mount because system opens a file descriptor on the mount point.
Which program updates the database that is used by the locate command? (Specify ONLY the command without any path or parameters).
What does the command mount --bind do? It mounts all file systems listed in /etc/stab which have the option userbind set It mounts all available filesystems to the current directory It permanently mounts a regular file to a directory It mounts all user mountable filesystems to the user's home directory It makes the contents of one directory available in another directory.
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose two.) free mount cat /proc/filesystems cat /proc/self/mounts Ismounts.
Which command displays the current disk space usage for all mounted file systems? (Specify ONLY the command without any path or parameters.).
Which chown command changes the ownership to dave and the group to staff on a file named data.txt? chown dave+staff data.txt chown --user dave --group staff data.txt hown dave:staff data.txt chown dave/staff data.txt chown ""u dave ""g staff data.txt.
When considering the use of hard links, what are valid reasons not to use hard links? Hard links are specific to one filesystem and cannot point to files on another filesystem If users other than root should be able to create hard links, suln has to be installed and configured When a hard linked file is changed, a copy of the file is created and consumes additional space Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them Each hard link has individual ownership, permissions and ACLs which can lead to unintended disclosure of file content.
In compliance with the FHS, in which of the directories are man pages found? /usr/doc/ /usr/share/man/ /var/pkg/man /var/man/ /opt/man/.
What is the process ID number of the init process on a System V init based system? 1 It is different with each reboot -1 It is set to the current run level 0.
Which daemon handles power management events on a Linux system? pwrmgntd inetd psd batteryd acpid.
Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.) The BIOS initiates the boot process after turning the computer on Linux does not require the assistance of the BIOS to boot a computer The BIOS is started by loading hardware drivers from secondary storage, such as the hard disk The BIOS boot process starts only if secondary storage, such as the hard disk, is functional Some parts of the boot process can be configured from the BIOS.
What is true regarding UEFI firmware? (Choose two.) It can use and read certain file systems It is loaded from a fixed boot disk position It can read and interpret partition tables It is stored in a special area within the GPT metadata It stores its entire configuration on the /boot/ partition.
When is the content of the kernel ring buffer reset? (Choose two.) When the kernel loads a previously unloaded kernel module When the system is shut down or rebooted When the ring buffer is explicitly reset using the command dmesg --clear When the ring buffer is read using dmesg without any additional parameters When a configurable amount of time, 15 minutes by default, has passed.
What is the first program the Linux kernel starts at boot time when using System V init? /sbin/init /proc/sys/kernel/init /boot/init /etc/rc.d/rcinit /lib/init.so.
A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version? apt-get search / etc/debian_version apt-file /etc/debian_version find /etc/debian_version -dpkg dpkg -S /etc/debian_version apt -r /etc/debian_version.
Which of the following directories on a 64 bit Linux system typically contain shared libraries? (Choose two.) /var/lib64/ ~/.ib64/ /opt/lib64/ /lib64/ /usr/lib64/.
Which of the following files exist in a standard GRUB 2 installation? (Choose two.) /boot/grub/grub.cfg /boot/grub/fstab /boot/grub/i386-pc/lvm.mod /boot/grub/linux/vmlinuz /boot/grub/stages/stage.
Which of the following commands installs all packages with a name ending with the string foo? zypper update "foo?" zypper force "foo*" zypper add "*foo" zypper get "*foo" zypper install "*foo".
Which of the following properties of a Linux system should be changed when a virtual machine is cloned? (Choose two.) The permissions of / root/ The D-Bus Machine ID The SSH host keys The partitioning scheme The file system.
Which of the following commands installs GRUB 2 into the master boot record on the third hard disk? grub-mbrinstall / dev/sdc grub-mkrescue /dev/sdc grub2 install / dev/sdc grub-install / dev/sdc grub-setup / dev/sdc.
Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives? 82 8e 7 fd 83.
What is true regarding the configuration of yum? (Choose two.) The configuration of package repositories can be divided into multiple files In case /etc/yum.repos.d/ contains files, /etc/yum.conf is ignored Repository configurations can include variables such as $basearch or $releasever Changes to the yum configuration become active after restarting the yumd service Changes to the repository configuration become active after running yum confupdate.
Which command uninstalls a package but keeps its configuration files in case the package is re-installed? dpkg -v pkgname dpkg -L pkgname dpkg -r pkgname dpkg -P pkgname dpkg -s pkgname.
Which of the following commands lists the dependencies of the RPM package file foo.rpm? rpm -pD foo rpm -R foo.rpm грт -qpR foo.rpm rpm -Id foo.rpm rpm -dep foo.
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process? 99 19 9 15 49.
Which of the following commands list all files and directories within the /tmp/ directory and its subdirectories which are owned by the user root? (Choose two.) find -path /tmp -uid root find /tmp -user root -print find /tmp -user root find -path /tmp -user root -print find /tmp -uid root -print.
Which of the following are valid stream redirection operators within Bash? (Choose two.) #> %> < 2>&1 >>>.
Which of the following vi commands deletes two lines, the current and the following line? 2dd d2 2d dd2 de12.
From a Bash shell, which of the following commands directly execute the instructions from the file /us/local/bin/runme.sh without starting a subshell?(Choose two.) run /us/local/bin/runme.sh /bin/bash /usr/local/bin/runme.sh /us/local/bin/runme.sh . /usr/local/bin/runme.sh source /usr/local/bin/runme.sh.
Which program runs a command in specific intervals and refreshes the display of the program's output? (Specify ONLY the command without any path or parameters.).
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line? U (uppercase) P (uppercase) i (lowercase) p (lowercase) u (lowercase).
Which of the following commands changes all CR-LF line breaks in the text file userlist. txt to Linux standard LF line breaks and stores the result in newlist.txt? tr -d "~\r' < userlist.txt > newlist.txt tr "~\r\n' "~' <userlist.txt> newlist.txt tr -c"~\n\r' "~' <newlist.txt> userlist.txt tr-s "~/^M/^J/' userlist.txt newlist, txt tr"~\r' "~\n' userlist.txt newlist. txt.
Which command must be entered before exiting vi to save the current file as filea.txt? :w filea.txt %w filea.txt :save filea.txt %s filea.txt :s filea.txt.
Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata? foo | tee /tmp/foodata foo | cp /tmp/foodata foo > /tmp/foodata foo > stdout >> /tmp/foodata foo | less /tmp/foodata.
What output will be displayed when the user fred executes the following command? echo "~fred $USER' fred $USER "~ fred $USER' red /home/fred/ "~fred fred' fred fred.
Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked? locate foo Isattr foo apropos foo which foo whatis foo.
When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces? -nospace "'"print0 ""ignore-space ""rep-space printnul.
Report abuse Consent Terms of use