option
Cuestiones
ayuda
daypo
buscar.php

[LPIC-101-500] Final Exam

COMENTARIOS ESTADÍSTICAS RÉCORDS
REALIZAR TEST
Título del Test:
[LPIC-101-500] Final Exam

Descripción:
Test final para la certificación LPIC-101 v5

Fecha de Creación: 2021/08/17

Categoría: Informática

Número Preguntas: 60

Valoración:(5)
COMPARTE EL TEST
Nuevo ComentarioNuevo Comentario
Comentarios
NO HAY REGISTROS
Temario:

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path).

During a system boot cycle, what program is executed after the BIOS completesits tasks?. The bootloader. The inetd program. The init program. The kernel.

What information can the lspci command display about the system hardware? (Choose THREE correct answers). Device IRQ settings. PCI bus speed. System battery type. Device vendor identi􀂦cation. Ethernet MAC address.

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?. /lib/init.so. /sbin/init. /etc/rc.d/rcinit. /proc/sys/kernel/init. /boot/init.

What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers). Entries for all possible devices get created on boot even if those devices are not connected. Additional rules for udev can be created by adding them to /etc/udev/rules.d/. When using udev, it is not possible to create block or character devices in /dev/ using mknod. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup. The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.

Which of the following are init systems used within Linux systems? (ChooseTHREE correct answers). startd. systemd. Upstart. SysInit. SysV init.

Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers). shutdown -R 1 now. shutdown -single now. init 1. telinit 1. runlevel 1.

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers). shutdown -r now. shutdown -r "rebooting". telinit 6. telinit 0. shutdown -k now "rebooting".

Which of the following commands will write a message to the terminals of all logged in users?. bcast. mesg. print. wall. yell.

Which of the following information is stored within the BIOS? (Choose TWO correct answers). Boot device order. Linux kernel version. Timezone. Hardware con􀂦guration. The system's hostname.

Which of the following kernel parameters instructs the kernel to suppress most boot messages?. silent. verbose=0. nomesg. quiet.

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?. systemd.target=rescue.target. systemd.runlevel=rescue.target. systemd.service=rescue.target. systemd.default=rescue.target. systemd.unit=rescue.target.

Which of the following statements is correct when talking about /proc/?. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot. All files within /proc/ are read-only and their contents cannot be changed. All changes to files in /proc/ are immediately recognized by the kernel. All files within /proc/ are only readable by the root user.

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers). 0. 1. 3. 5. 6.

Which SysV init configuration file should be modified to disable the ctrl-alt-deletekey combination?. /etc/keys. /proc/keys. /etc/inittab. /proc/inittab. /etc/reboot.

After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?. kill -HUP $(pidof grub). grub-install. grub-update. No action is required.

What can the Logical Volume Manager (LVM) be used for? (Choose THREEcorrect answers). To create RAID 9 arrays. To dynamically change the size of logical volumes. To encrypt logical volumes. To create snapshots. To dynamically create or delete logical volumes.

When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers). Timestamps. MD5 checksums. Inodes. File sizes. GnuPG signatures.

Which file should be edited to select the network locations from which Debian installation package files are loaded?. /etc/dpkg/dpkg.cfg. /etc/apt/apt.conf. /etc/apt/apt.conf.d. /etc/apt/sources.list. /etc/dpkg/dselect.cfg.

Which of the following commands can be used to download the RPM package kernel without installing it?. yum download --no-install kernel. yumdownloader kernel. rpm --download --package kernel. rpmdownload kernel.

Which of the following commands is used to update the list of available packages when using dpkg based package management?. apt-get update. apt-get upgrade. apt-cache update. apt-get refresh. apt-cache upgrade.

Which of the following commands lists all currently installed packages when using RPM package management?. yum --query --all. yum --list --installed. rpm --query --all. rpm --list –installed.

Which of the following commands lists the dependencies of a given dpkg package?. apt-cache depends-on package. apt-cache dependencies package. apt-cache depends package. apt-cache requires package.

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?. dd if=/dev/zero of=/dev/sda bs=512. dd if=/dev/zero of=/dev/sda bs=512 count=1. dd if=/dev/zero of=/dev/sda bs=440 count=1. dd if=/dev/zero of=/dev/sda bs=440.

Which of the following commands updates the linker cache of shared libraries?. mkcache. mkcache. mkldconfig. lddconfig. ldconfig.

Which of the following environment variables overrides or extends the list of directories holding shared libraries?. LD_LOAD_PATH. LD_LIB_PATH. LD_LIBRARY_PATH. LD_SHARE_PATH. LD_RUN_PATH.

Which of the following is correct when talking about mount points?. Only empty directories can be used as a mount point. Files within a directory are deleted when the directory is used as a mount point. Directories need to have the SetUID flag set to be used as a mount point. Every existing directory can be used as a mount point.

Which RPM command will output the name of the package which supplied the file /etc/exports?. rpm -F /etc/exports. rpm -qf /etc/exports. rpm -Kl /etc/exports. rpm -qp /etc/exports. rpm -qi /etc/exports.

When removing a package, which of the following dpkg options will completely remove the files including configuration files?. --clean. --delete. --purge. -remove.

Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?. hidemenu. splash. timeout. showmenu.

In compliance with the FHS, in which of the directories are man pages found?. /usr/share/man. /opt/man. /usr/doc/. /var/pkg/man. /var/man.

In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?. By using the command :repeat followed by the number and the command. By specifying the number right in front of a command such as 4l or 2yj. By selecting all affected lines using the shift and cursor keys before applying the command. By issuing a command such as :set repetition=4 which repeats every subsequent command 4 times.

Regarding the command: nice -5 /usr/bin/prog Which of the following statements is correct?. /usr/bin/prog is executed with a nice level of -5. /usr/bin/prog is executed with a nice level of 5. /usr/bin/prog is executed with a priority of -5. /usr/bin/prog is executed with a priority of 5.

What command will generate a list of user names from /etc/passwd along with their login shell?. column -s : 1,7 /etc/passwd. chop -c 1,7 /etc/passwd. colrm 1,7 /etc/passwd. cut -d: -f1,7 /etc/passwd.

What is the default nice level when a process is started using the nice command?. -10. 10. 20. 0.

What is the output of the following command? echo "Hello World" | tr -d aieou. eoo Hll Wrld. Hll Wrld. eoo. Hello World.

When running the command: sed -e "s/a/b/" /tmp/file >/tmp/file While /tmp/file contains data, why is /tmp/file empty afterwards?. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection. The command sed did not match anything in that file therefore the output is empty. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading. Redirection for shell commands do not work using the > character. It only works using the | character instead.

When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?. -10. 0. 10. 20.

Which of the following commands displays the contents of a gzip compressed tar archive?. gzip archive.tgz | tar xvf -. tar ztf archive.tgz. gzip -d archive.tgz | tar tvf -. tar cf archive.tgz.

Which of the following commands is used to change options and positional parameters for a running Bash?. history. set. bashconf. setsh. envsetup.

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers). find /tmp -uid root -print. find -path /tmp -uid root. find /tmp -user root -print. find /tmp -user root. find -path /tmp -user root –print.

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?. cat < myapp | cat > file1.log. myapp 0>&1 | cat > file1.log. myapp | cat > file1.log. myapp | tee file1.log. tee myapp file1.log.

Which of the following shell redirections will write standard output and standard error output to a file named filename?. 2>&1 >filename. >filename 2>&1. 1>&2>filename. >>filename. 1&2>filename.

Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?. SIGTERM. SIGINT. SIGSTOP. SIGKILL.

Which of the following statements is correct regarding the command foo 1> bar?. The stdout from the command foo is appended to the file bar. The stdout from the command foo overwrites the file bar. The command foo receives its stdin from the file bar. The command foo receives its stdin from the stdout of the command bar. The stderr from the command foo is saved to the file bar.

After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers). By creating an ACL redirection from the old to the new path of the data. By creating a hard link from the old to the new path of the data. By creating a symbolic link from the old to the new path of the data. By running the command touch on the old path. By mounting the new filesystem on the original path of the data.

Creating a hard link to an ordinary file returns an error. What could be the reason for this?. The source file is hidden. The source file is read-only. The source file is a shell script. The source file is already a hard link. The source and the target are on different filesystems.

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?. The command is SetUID and it will be executed with the effective rights of the owner. The command will be executed with the effective rights of the group instead of the owner. The execute flag is not set for the owner. Therefore the SetUID flag is ignored. The command will be executed with the effective rights of the owner and group.

What does the command mount -a do?. It ensures that all file systems listed with the option noauto in /etc/fstab are mounted. It shows all mounted file systems that have been automatically mounted. It opens an editor with root privileges and loads /etc/fstab for editing. It ensures that all file systems listed with the option auto in /etc/fstab are mounted. It ensures that all file systems listed in /etc/fstab are mounted regardless of their options.

What does the command mount -a do?. It mounts all available filesystems onto the current directory. It shows all mounted filesystems. It mounts all user mountable filesystems for the current user. It mounts all filesystems listed in /etc/fstab which have the option auto set. It mounts all filesystems listed in /etc/fstab which have the option noauto not set.

What is the purpose of the Filesystem Hierarchy Standard?. It is a security model used to ensure files are organized according to their permissions and accessibility. It provides unified tools to create, maintain and manage multiple filesystems in a common way. It defines a common internal structure of inodes for all compliant filesystems. It is a distribution neutral description of locations of files and directories.

Which of the following commands can be used to display the inode number of a given file?. inode. ls. ln. cp.

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?. chown dan/staff file.txt. chown dan:staff file.txt. chown -u dan -g staff file.txt. chown dan -g staff file.txt.

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers). /sbin/mke2fs -j /dev/sdb1. /sbin/mkfs -t ext3 /dev/sdb1. /sbin/mkfs -c ext3 /dev/sdb1. /sbin/mke3fs -j /dev/sdb1.

Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?. chmod u=rwx,go=rx /bin/foo. chmod o+rwx,a+rx /bin/foo. chmod 577 /bin/foo. chmod 775 /bin/foo.

Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers). chmod +s /tmp. chmod +t /tmp. chmod 1775 /tmp. chmod 4775 /tmp. chmod 2775 /tmp.

Which of the following commands shows the definition of a given shell command?. where. stat. type. case.

Which of the following commands will change the quota for a specific user?. edquota. repquota. quota -e. quota.

Which of the following file permissions belong to a symbolic link?. -rwxrwxrwx. +rwxrwxrwx. lrwxrwxrwx. srwxrwxrwx.

Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?. mod2fs. fsck. tune2fs. mke2fs. fixe2fs.

Denunciar Test