Herramientas de usuario

Herramientas del sitio


informatica:certificaciones:lpic:lpic-1:tests_examen

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
informatica:certificaciones:lpic:lpic-1:tests_examen [2022/05/18 19:24] tempwininformatica:certificaciones:lpic:lpic-1:tests_examen [2022/05/18 20:07] (actual) tempwin
Línea 3: Línea 3:
 Preguntas de repaso para la certificación [[informatica:certificaciones:lpic:lpic-1|LPIC-1]]. Preguntas de repaso para la certificación [[informatica:certificaciones:lpic:lpic-1|LPIC-1]].
  
-**Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel?+**1. Which file in the ''/proc'' filesystem lists parameters passed from the bootloader to the kernel?
 (Specify the file name only without any path.)** (Specify the file name only without any path.)**
  
Línea 12: Línea 12:
 </WRAP> </WRAP>
  
-**During a system boot cycle, what program is executed after the BIOS completes its tasks?+**2. During a system boot cycle, what program is executed after the BIOS completes its tasks?
 Seleccione una o más de una:** Seleccione una o más de una:**
  
Línea 20: Línea 20:
   * The kernel   * The kernel
  
- +**3. What information can the ''lspci'' command display about the system hardware? (Choose THREE correct answers.)**
-**What information can the lspci command display about the system hardware? (Choose THREE correct answers.)**+
  
   * Device IRQ settings (**Solución**)   * Device IRQ settings (**Solución**)
Línea 33: Línea 32:
 </WRAP> </WRAP>
  
-**What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?** Seleccione una o más de una:+**4. What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?** Seleccione una o más de una:
  
   * ''/lib/init.so''   * ''/lib/init.so''
Línea 41: Línea 40:
   * ''/boot/init''   * ''/boot/init''
  
-**What of the following statements are true regarding ''/dev/'' when using udev? (Choose TWO correct answers.)**+**5. 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.    * Entries for all possible devices get created on boot even if those devices are not connected. 
Línea 49: Línea 48:
   * The content of ''/dev/'' is stored in ''/etc/udev/dev'' and is restored 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? (Choose THREE correct answers.)**+**6. Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)**
  
   * startd   * startd
Línea 57: Línea 56:
   * SysV init (**Solución**)   * SysV init (**Solución**)
  
-**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.)**+**7. 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 -R 1 now''
Línea 65: Línea 64:
   * ''runlevel 1''   * ''runlevel 1''
  
-**Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)**+**8. Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)**
  
   * ''shutdown -r now'' (**Solución**)   * ''shutdown -r now'' (**Solución**)
Línea 73: Línea 72:
   * ''shutdown -k now "rebooting"''   * ''shutdown -k now "rebooting"''
  
-**Which of the following commands will write a message to the terminals of all logged in users?**+**9. Which of the following commands will write a message to the terminals of all logged in users?**
  
   * ''bcast''   * ''bcast''
Línea 81: Línea 80:
   * ''yell''   * ''yell''
  
-**Which of the following information is stored within the BIOS? (Choose TWO correct answers.)**+**10. Which of the following information is stored within the BIOS? (Choose TWO correct answers.)**
  
   * Boot device order (**Solución**)   * Boot device order (**Solución**)
Línea 89: Línea 88:
   * The system's hostname   * The system's hostname
  
-**Which of the following kernel parameters instructs the kernel to suppress most boot messages?**+**11. Which of the following kernel parameters instructs the kernel to suppress most boot messages?**
  
   * ''silent''   * ''silent''
Línea 96: Línea 95:
   * ''quiet'' (**Solución**)   * ''quiet'' (**Solución**)
  
-**Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?**+**12. 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.target=rescue.target''
Línea 104: Línea 103:
   * ''systemd.unit=rescue.target'' (**Solución**)   * ''systemd.unit=rescue.target'' (**Solución**)
  
-**Which of the following statements is correct when talking about ''/proc/''?**+**13. 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 changes to files in ''/proc/'' are stored in ''/etc/proc.d/'' and restored on reboot
Línea 111: Línea 110:
   * All files within ''/proc/'' are only readable by the root user.   * 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.)**+**14. Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)**
  
   * 0 (**Solución**)   * 0 (**Solución**)
Línea 119: Línea 118:
   * 6 (**Solución**)   * 6 (**Solución**)
  
-**Which SysV init configuration file should be modified to disable the ctrl-alt-delete key+**15. Which SysV init configuration file should be modified to disable the ctrl-alt-delete key
 combination? Seleccione una o más de una:** combination? Seleccione una o más de una:**
  
Línea 133: Línea 132:
  
  
-**After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect? Seleccione una o más de una:**+**16. After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect? Seleccione una o más de una:**
  
   * ''kill -HUP $(pidof grub)''   * ''kill -HUP $(pidof grub)''
Línea 140: Línea 139:
   * No action is required   * No action is required
  
-**What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)**+**17. What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)**
  
   * To create RAID 9 arrays.   * To create RAID 9 arrays.
Línea 148: Línea 147:
   * To dynamically create or delete logical volumes (**Solución**)   * To dynamically create or delete logical volumes (**Solución**)
  
-**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.)**+**18. 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 (**Solución**)   * Timestamps (**Solución**)
Línea 160: Línea 159:
 </WRAP> </WRAP>
  
-**Which file should be edited to select the network locations from which Debian installation package files are loaded?**+**19. Which file should be edited to select the network locations from which Debian installation package files are loaded?**
  
   * ''/etc/dpkg/dpkg.cfg''   * ''/etc/dpkg/dpkg.cfg''
Línea 168: Línea 167:
   * ''/etc/dpkg/dselect.cfg''   * ''/etc/dpkg/dselect.cfg''
  
-**Which of the following commands can be used to download the RPM package kernel without installing it?  **+**20. Which of the following commands can be used to download the RPM package kernel without installing it?  **
  
   * ''yum download --no-install kernel''   * ''yum download --no-install kernel''
Línea 179: Línea 178:
 </WRAP> </WRAP>
  
-**Which of the following commands is used to update the list of available packages when using dpkg based package management? Seleccione una o más de una:**+**21. Which of the following commands is used to update the list of available packages when using dpkg based package management? Seleccione una o más de una:**
  
   * ''apt-get update'' (**Solución**)   * ''apt-get update'' (**Solución**)
Línea 187: Línea 186:
   * ''apt-cache upgrade''   * ''apt-cache upgrade''
  
-**Which of the following commands lists all currently installed packages when using RPM package management?**+**22.Which of the following commands lists all currently installed packages when using RPM package management?**
  
   * ''yum %%--%%query %%--%%all''   * ''yum %%--%%query %%--%%all''
Línea 194: Línea 193:
   * ''rpm %%--%%list –installed''   * ''rpm %%--%%list –installed''
  
-**Which of the following commands lists the dependencies of a given dpkg package?**+**23. Which of the following commands lists the dependencies of a given dpkg package?**
  
   * ''apt-cache depends-on package''   * ''apt-cache depends-on package''
Línea 205: Línea 204:
 </WRAP> </WRAP>
  
-**Which of the following commands overwrites the bootloader located on ''/dev/sda'' without overwriting the partition table or any data following it? Seleccione una o más de una:**+**24. Which of the following commands overwrites the bootloader located on ''/dev/sda'' without overwriting the partition table or any data following it? Seleccione una o más de una:**
  
   * ''dd if=/dev/zero of=/dev/sda bs=512''   * ''dd if=/dev/zero of=/dev/sda bs=512''
Línea 216: Línea 215:
 </WRAP> </WRAP>
  
-**Which of the following commands updates the linker cache of shared libraries? Seleccione una o más de una:**+**25. Which of the following commands updates the linker cache of shared libraries? Seleccione una o más de una:**
  
   * ''mkcache''   * ''mkcache''
Línea 224: Línea 223:
   * ''ldconfig'' (**Solución**)   * ''ldconfig'' (**Solución**)
  
-**Which of the following environment variables overrides or extends the list of directories holding shared libraries? Seleccione una o más de una:**+**26. Which of the following environment variables overrides or extends the list of directories holding shared libraries? Seleccione una o más de una:**
  
   * ''LD_LOAD_PATH''   * ''LD_LOAD_PATH''
Línea 232: Línea 231:
   * ''LD_RUN_PATH''   * ''LD_RUN_PATH''
  
-**Which of the following is correct when talking about mount points?**+**27. Which of the following is correct when talking about mount points?**
  
   * Files within a directory are deleted when the directory is used as a mount point.   * Files within a directory are deleted when the directory is used as a mount point.
Línea 239: Línea 238:
   * Only empty directories can be used as a mount point.   * Only empty directories can be used as a mount point.
  
-**Which RPM command will output the name of the package which supplied the file ''/etc/exports''? Seleccione una o más de una:**+**28. Which RPM command will output the name of the package which supplied the file ''/etc/exports''? Seleccione una o más de una:**
  
   * ''rpm -F /etc/exports''   * ''rpm -F /etc/exports''
Línea 247: Línea 246:
   * ''rpm -qi /etc/exports''   * ''rpm -qi /etc/exports''
  
-**When removing a package, which of the following dpkg options will completely remove the files including configuration files? Seleccione una o más de una:**+**29. When removing a package, which of the following dpkg options will completely remove the files including configuration files? Seleccione una o más de una:**
  
   * ''%%--%%clean''   * ''%%--%%clean''
Línea 254: Línea 253:
   * ''–remove''   * ''–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? Seleccione una o más de una:**+**30. 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? Seleccione una o más de una:**
  
   * ''hidemenu''   * ''hidemenu''
Línea 261: Línea 260:
   * ''showmenu''   * ''showmenu''
  
-**In compliance with the FHS, in which of the directories are man pages found? Seleccione una o más de una:**+**31. In compliance with the FHS, in which of the directories are man pages found? Seleccione una o más de una:**
  
   * ''/usr/share/man'' (**Solución**)   * ''/usr/share/man'' (**Solución**)
Línea 270: Línea 269:
  
  
-**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? Seleccione una o más de una:**+**32. 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? Seleccione una o más de una:**
  
   * By using the command :repeat followed by the number and the command.   * By using the command :repeat followed by the number and the command.
Línea 277: Línea 276:
   * By issuing a command such as :set repetition=4 which repeats every subsequent command 4 times.   * 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? Seleccione una o más de una:**+**33. Regarding the command: ''nice -5 /usr/bin/prog'', Which of the following statements is correct? Seleccione una o más de una:**
  
   * ''/usr/bin/prog'' is executed with a nice level of -5.    * ''/usr/bin/prog'' is executed with a nice level of -5. 
Línea 285: Línea 284:
  
  
-**What command will generate a list of user names from ''/etc/passwd'' along with their login shell? Seleccione una o más de una:**+**34. What command will generate a list of user names from ''/etc/passwd'' along with their login shell? Seleccione una o más de una:**
  
   * ''column -s : 1,7 /etc/passwd''   * ''column -s : 1,7 /etc/passwd''
Línea 292: Línea 291:
   * ''cut -d: -f1,7 /etc/passwd'' (**Solución**)   * ''cut -d: -f1,7 /etc/passwd'' (**Solución**)
  
-**What is the default nice level when a process is started using the nice command? Seleccione una o más de una:**+**35. What is the default nice level when a process is started using the nice command? Seleccione una o más de una:**
  
   * -10   * -10
Línea 303: Línea 302:
 </WRAP> </WRAP>
  
-**What is the output of the following command? ''echo "Hello World" | tr -d aieou''. Seleccione una o más de una:**+**36. What is the output of the following command? ''echo "Hello World" | tr -d aieou''. Seleccione una o más de una:**
  
   * ''Hll Wrld'' (**Solución**)   * ''Hll Wrld'' (**Solución**)
Línea 314: Línea 313:
 </WRAP> </WRAP>
  
-**When running the command ''sed -e "s/a/b/" /tmp/file >/tmp/file'' While /tmp/file contains data, why is /tmp/file empty afterwards? Seleccione una o más de una:**+**37. When running the command ''sed -e "s/a/b/" /tmp/file >/tmp/file'' While /tmp/file contains data, why is /tmp/file empty afterwards? Seleccione una o más de una:**
  
   * The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.   * The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.
Línea 325: Línea 324:
 </WRAP> </WRAP>
  
-**When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process? Seleccione una o más de una:**+**38. When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process? Seleccione una o más de una:**
  
   * -10   * -10
Línea 336: Línea 335:
 </WRAP> </WRAP>
  
-**Which of the following commands displays the contents of a gzip compressed tar archive? Seleccione una o más de una:**+**39. Which of the following commands displays the contents of a gzip compressed tar archive? Seleccione una o más de una:**
  
   * ''gzip archive.tgz | tar xvf -''   * ''gzip archive.tgz | tar xvf -''
Línea 347: Línea 346:
 </WRAP> </WRAP>
  
-**Which of the following commands is used to change options and positional parameters for a running Bash?+**40. Which of the following commands is used to change options and positional parameters for a running Bash?
 Seleccione una o más de una:** Seleccione una o más de una:**
  
Línea 360: Línea 359:
 </WRAP> </WRAP>
  
-**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.) **+**41. 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 /tmp -uid root -print''
Línea 366: Línea 365:
   * ''find /tmp -user root -print'' (**Solución**)   * ''find /tmp -user root -print'' (**Solución**)
   * ''find /tmp -user root'' (**Solución**)   * ''find /tmp -user root'' (**Solución**)
-  * ''find -path /tmp -user root print''+  * ''find -path /tmp -user root -print''
  
 <WRAP center round important 60%> <WRAP center round important 60%>
Línea 372: Línea 371:
 </WRAP> </WRAP>
  
-**Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log? Seleccione una o más de una:**+**42. Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log? Seleccione una o más de una:**
  
   * ''cat < myapp | cat > file1.log''   * ''cat < myapp | cat > file1.log''
Línea 384: Línea 383:
 </WRAP> </WRAP>
  
-**Which of the following shell redirections will write standard output and standard error output to a file named filename? Seleccione una o más de una:**+**43. Which of the following shell redirections will write standard output and standard error output to a file named filename? Seleccione una o más de una:**
  
   * ''2>&1 >filename''   * ''2>&1 >filename''
Línea 396: Línea 395:
 </WRAP> </WRAP>
  
-**Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard? Seleccione una o más de una:**+**44. Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard? Seleccione una o más de una:**
  
   * SIGTERM    * SIGTERM 
Línea 407: Línea 406:
 </WRAP> </WRAP>
  
-**Which of the following statements is correct regarding the command ''foo 1> bar''? Seleccione una o más de una:**+**45. Which of the following statements is correct regarding the command ''foo 1> bar''? Seleccione una o más de una:**
  
   * The stdout from the command foo is appended to the file bar.   * The stdout from the command foo is appended to the file bar.
Línea 415: Línea 414:
   * The stderr from the command foo is saved to the file 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.) Seleccione una o más de una:**+**46. 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.) Seleccione una o más de una:**
  
   * By creating an ACL redirection from the old to the new path of the data.   * By creating an ACL redirection from the old to the new path of the data.
Línea 424: Línea 423:
  
  
-**Creating a hard link to an ordinary file returns an error. What could be the reason for this? Seleccione una:**+**47. Creating a hard link to an ordinary file returns an error. What could be the reason for this? Seleccione una:**
  
   * The source file is hidden.   * The source file is hidden.
Línea 433: Línea 432:
  
  
-**What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command? Seleccione una:**+**48. What do the permissions ''-rwSr-xr-x'' mean for a binary file when it is executed as a command? Seleccione una:**
  
   * The command is SetUID and it will be executed with the effective rights of the owner.   * The command is SetUID and it will be executed with the effective rights of the owner.
Línea 440: Línea 439:
   * The command will be executed with the effective rights of the owner and group.   * The command will be executed with the effective rights of the owner and group.
  
-**What does the command ''mount -a'' do?**+**49. What does the command ''mount -a'' do?**
  
   * It ensures that all file systems listed with the option ''noauto'' in ''/etc/fstab'' are mounted.   * It ensures that all file systems listed with the option ''noauto'' in ''/etc/fstab'' are mounted.
Línea 448: Línea 447:
   * It ensures that all file systems listed in ''/etc/fstab'' are mounted regardless of their options.   * It ensures that all file systems listed in ''/etc/fstab'' are mounted regardless of their options.
  
-**What does the command ''mount -a'' do?**+**50. What does the command ''mount -a'' do?**
  
   * It mounts all available filesystems onto the current directory.   * It mounts all available filesystems onto the current directory.
Línea 460: Línea 459:
 </WRAP> </WRAP>
  
-**What is the purpose of the Filesystem Hierarchy Standard?**+**51. 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 is a security model used to ensure files are organized according to their permissions and accessibility.
Línea 467: Línea 466:
   * It is a distribution neutral description of locations of files and directories. (**Solución**)   * It is a distribution neutral description of locations of files and directories. (**Solución**)
  
-**Which of the following commands can be used to display the inode number of a given file?**+**52. Which of the following commands can be used to display the inode number of a given file?**
  
   * ''inode''   * ''inode''
Línea 474: Línea 473:
   * ''cp''   * ''cp''
  
-**Which of the following commands changes the ownership of file.txt to the user ''dan'' and the group ''staff''?**+**53. 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''
Línea 481: Línea 480:
   * ''chown 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.)**+**54. Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)**
  
   * ''/sbin/mke2fs -j /dev/sdb1'' (**Solución**)   * ''/sbin/mke2fs -j /dev/sdb1'' (**Solución**)
Línea 492: Línea 491:
 </WRAP> </WRAP>
  
-**Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?**+**55. Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?**
  
   * ''chmod u=rwx,go=rx /bin/foo'' (**Solución**)   * ''chmod u=rwx,go=rx /bin/foo'' (**Solución**)
Línea 499: Línea 498:
   * ''chmod 775 /bin/foo''   * ''chmod 775 /bin/foo''
  
-**Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)**+**56. Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)**
  
   * ''chmod +s /tmp''   * ''chmod +s /tmp''
Línea 507: Línea 506:
   * ''chmod 2775 /tmp''   * ''chmod 2775 /tmp''
  
-**Which of the following commands shows the definition of a given shell command?**+**57. Which of the following commands shows the definition of a given shell command?**
  
   * ''where''   * ''where''
Línea 514: Línea 513:
   * ''case''   * ''case''
  
-**Which of the following commands will change the quota for a specific user?**+**58. Which of the following commands will change the quota for a specific user?**
  
   * ''edquota'' (**Solución**)   * ''edquota'' (**Solución**)
Línea 525: Línea 524:
 </WRAP> </WRAP>
  
-**Which of the following file permissions belong to a symbolic link?**+**59. Which of the following file permissions belong to a symbolic link?**
  
   * ''-rwxrwxrwx''   * ''-rwxrwxrwx''
Línea 532: Línea 531:
   * ''srwxrwxrwx''   * ''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?**+**60. 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''   * ''mod2fs''
Línea 540: Línea 539:
   * ''fixe2fs''   * ''fixe2fs''
  
-**A backup software heavily uses hard links between files which have not been changed in between two backup runs. Which benefits are realized due to these hard links? (Choose TWO correct answers)**+**61. A backup software heavily uses hard links between files which have not been changed in between two backup runs. Which benefits are realized due to these hard links? (Choose TWO correct answers)**
  
   * The backup runs faster because, instead of copying the data of each file, hard links only change file system meta data (**Solución**)   * The backup runs faster because, instead of copying the data of each file, hard links only change file system meta data (**Solución**)
Línea 551: Línea 550:
 </WRAP> </WRAP>
  
-**A yum repository can declare sets of related packages. which yum installs all packages belonging to the group //admintools//?**+**62. A yum repository can declare sets of related packages. which yum installs all packages belonging to the group //admintools//?**
  
   * yum collection install admintools   * yum collection install admintools
Línea 559: Línea 558:
   * yum pkgsel -- install admintools   * yum pkgsel -- install admintools
  
-**After a power outage, the XFS file system of /dev/sda3 is inconsistent. How can the existing file system errors be fixed?**+**63. After a power outage, the XFS file system of /dev/sda3 is inconsistent. How can the existing file system errors be fixed?**
  
   * By mounting the filesystem with the option ''xfs_repair''   * By mounting the filesystem with the option ''xfs_repair''
Línea 571: Línea 570:
 </WRAP> </WRAP>
  
-**Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers)**+**64. Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers)**
  
   * ID   * ID
Línea 579: Línea 578:
   * LABEL (**Solución**)   * LABEL (**Solución**)
  
-**The installation of a local Debian package failed due to unsatisfied dependencies. Which of the following comands installs missing dependencies and completes the interrupted package installation?**+**65. The installation of a local Debian package failed due to unsatisfied dependencies. Which of the following comands installs missing dependencies and completes the interrupted package installation?**
  
   * ''apt-get install -f'' (**Solución**)   * ''apt-get install -f'' (**Solución**)
Línea 587: Línea 586:
   * ''apt-fix all''   * ''apt-fix all''
  
-**What are the main diferences between GPT and MBR partition tables regarding maximum number and size of partitions? ( Choose TWO correct answers)** +**66. What are the main diferences between GPT and MBR partition tables regarding maximum number and size of partitions? ( Choose TWO correct answers)** 
  
   * MBR can handle partition sizes up to 4 TB, whereas GPT supports partition sizes up to 128 ZB    * MBR can handle partition sizes up to 4 TB, whereas GPT supports partition sizes up to 128 ZB 
Línea 595: Línea 594:
   * By default, GPT can manage up to 128 partitions while MBR only supports four primary partitions (**Solución**)   * By default, GPT can manage up to 128 partitions while MBR only supports four primary partitions (**Solución**)
  
-**What is the purpose of the ldd command?**+**67. What is the purpose of the ldd command?**
  
   * It defines which version of a library should be used by default.   * It defines which version of a library should be used by default.
Línea 603: Línea 602:
   * It turns a dynamically linked binary into a static binary.   * It turns a dynamically linked binary into a static binary.
  
-**Which of the following commands are valid in the GRUB 2 configuration file? ( Choose TWO correct answers)**+**68. Which of the following commands are valid in the GRUB 2 configuration file? ( Choose TWO correct answers)**
  
   * ''kpartx''   * ''kpartx''
Línea 615: Línea 614:
 </WRAP> </WRAP>
  
-**Which of the following commands installs the GRUB boot files into the currenty active filesystem and the boot loader into the first partition of the first disk?**+**69. Which of the following commands installs the GRUB boot files into the currenty active filesystem and the boot loader into the first partition of the first disk?**
  
   * ''grub-install /dev/sda1'' (**Solución**)   * ''grub-install /dev/sda1'' (**Solución**)
Línea 623: Línea 622:
   * ''grub-install /dev/sda''    * ''grub-install /dev/sda'' 
  
-**Which of the following commands sets the SetUID permission on the executable /bin/foo?**+**70. Which of the following commands sets the SetUID permission on the executable /bin/foo?**
  
   * ''chmod 1755 /bin/foo''   * ''chmod 1755 /bin/foo''
Línea 631: Línea 630:
   * ''chmod 755+s /bin/foo''   * ''chmod 755+s /bin/foo''
  
-**Which of the following files are found in the /boot/ filesystem?(Choose TWO correct answers)**+**71. Which of the following files are found in the /boot/ filesystem?(Choose TWO correct answers)**
  
   * fsck binaries   * fsck binaries
Línea 643: Línea 642:
 </WRAP> </WRAP>
  
-**Which of the following Linux filesystems preallocate a fixed number of inodes when creating a new filesystem instead of generating them as needed? (Choose TWO correct answers)**+**72. Which of the following Linux filesystems preallocate a fixed number of inodes when creating a new filesystem instead of generating them as needed? (Choose TWO correct answers)**
  
   * XFS   * XFS
Línea 651: Línea 650:
   * JFS   * JFS
  
-**Which of the following setting for umask ensures that new files have the default permissions ''-rw-r-%%----%%''?**+**73. Which of the following setting for umask ensures that new files have the default permissions ''-rw-r-%%----%%''?**
  
   * 0640   * 0640
Línea 659: Línea 658:
   * 0027 (**Solución**)   * 0027 (**Solución**)
  
-**Which of the following settings for umask ensures that new files have the default permissions ''-rwr-%%----%%''**?+**74. Which of the following settings for umask ensures that new files have the default permissions ''-rwr-%%----%%''**?
  
   * 0017   * 0017
Línea 668: Línea 667:
  
  
-**Which of the following statements are correct when comparing linux containers with traditional virtual machines (e.g. LXC vs KVM)? (Choose THREE correct answers)**+**75. Which of the following statements are correct when comparing linux containers with traditional virtual machines (e.g. LXC vs KVM)? (Choose THREE correct answers)**
  
   * Containers are a lightweight virtualization method where the kernel controls process isolation and resource management. (**Solución**)   * Containers are a lightweight virtualization method where the kernel controls process isolation and resource management. (**Solución**)
Línea 680: Línea 679:
 </WRAP> </WRAP>
  
-**What directory contains configuration files for additional yum repositories? (Specify the full path to the directory.)**+**76. What directory contains configuration files for additional yum repositories? (Specify the full path to the directory.)**
  
   * ''/etc/yum.repos.d''   * ''/etc/yum.repos.d''
  
-**Which file from the /proc/ filesystem contains a list of all currently mounted devices? (specify the full name of the file, including path)**+**77. Which file from the /proc/ filesystem contains a list of all currently mounted devices? (specify the full name of the file, including path)**
  
   * ''/proc/self/mounts''   * ''/proc/self/mounts''
  
-**How many fields are in a syntactically correct line of ''/etc/fstab''?**+**78. How many fields are in a syntactically correct line of ''/etc/fstab''?**
  
   * 4   * 4
Línea 696: Línea 695:
   * 7   * 7
  
-**If the gzip compressed tar archive texts.tgz contains the files a.txt and b.txt, which files will be present in the current directory after running gunzip texts.tgz**+**79. If the gzip compressed tar archive texts.tgz contains the files a.txt and b.txt, which files will be present in the current directory after running gunzip texts.tgz**
  
   * Only ''texts.tar'' (**Solución**)   * Only ''texts.tar'' (**Solución**)
Línea 704: Línea 703:
   * Only ''a.txt'', ''b.txt'' and ''texts.tgz''   * Only ''a.txt'', ''b.txt'' and ''texts.tgz''
  
-**In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?**+**80. In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?**
  
   * ''-maxlevels''   * ''-maxlevels''
Línea 712: Línea 711:
   * ''-maxdepth'' (**Solución**)   * ''-maxdepth'' (**Solución**)
  
-**in Bash, inserting 1>&2 after a command redirects...**+**81. In Bash, inserting 1>&2 after a command redirects...**
  
   * ...standard error to standard input   * ...standard error to standard input
Línea 720: Línea 719:
   * ...standard error to standard output   * ...standard error to standard output
  
-**Running chmod 640 files.txt as a regular user doesn't update files.txt's permissions. what might be a reason why chmod cannot modify permissions? (Choose TWO correct answers)**+**82. Running chmod 640 files.txt as a regular user doesn't update files.txt's permissions. what might be a reason why chmod cannot modify permissions? (Choose TWO correct answers)**
  
   * files.txt has the SetUID bit set which imposes the restriction that only the root user can make changes to the file   * files.txt has the SetUID bit set which imposes the restriction that only the root user can make changes to the file
Línea 728: Línea 727:
   * files.txt is a hard link whose permissions are inherited from the target and cannot be set directly    * files.txt is a hard link whose permissions are inherited from the target and cannot be set directly 
  
-**What is the effect of the ''-v'' option for the ''grep'' command?**+**83. What is the effect of the ''-v'' option for the ''grep'' command?**
  
   * it changes the output order showing the last matching line first   * it changes the output order showing the last matching line first
Línea 736: Línea 735:
   * it shows the command's version information   * it shows the command's version information
  
-**When in Normal mode in ''vi'', which character can be used to begin a reverse search of the text?**+**84. When in Normal mode in ''vi'', which character can be used to begin a reverse search of the text?**
  
   * <key>%%s%%</key>   * <key>%%s%%</key>
Línea 744: Línea 743:
   * <key>/</key>   * <key>/</key>
  
-**Which of the following commands determines a file's format by using a definition database file which contains information about all common file types?**+**85. Which of the following commands determines a file's format by using a definition database file which contains information about all common file types?**
  
   * ''magic''   * ''magic''
Línea 752: Línea 751:
   * ''file'' (**Solución**)   * ''file'' (**Solución**)
  
-**Which of the following commands can be used to display the inode number of a given file? (Choose TWO correct answers)**+**86. Which of the following commands can be used to display the inode number of a given file? (Choose TWO correct answers)**
  
   * ''inode''   * ''inode''
Línea 760: Línea 759:
   * ''ln''   * ''ln''
  
-**Which of the following commands creates or in case it already exists, overwrites a file called data with the output of ''ls''?**+**87. Which of the following commands creates or in case it already exists, overwrites a file called data with the output of ''ls''?**
  
    * ''ls %%>>>%% data''    * ''ls %%>>>%% data''
Línea 768: Línea 767:
    * ''ls >& data''    * ''ls >& data''
  
-**Which of the following commands display the IDs of all processes owned by root? (Choose TWO correct answers)**+**88. Which of the following commands display the IDs of all processes owned by root? (Choose TWO correct answers)**
  
   * ''pgrep -c root''   * ''pgrep -c root''
Línea 780: Línea 779:
 </WRAP> </WRAP>
  
-**Which of the following commands reads a file and creates separate chunks of a given size from the file's contents?**+**89. Which of the following commands reads a file and creates separate chunks of a given size from the file's contents?**
  
   * ''break''   * ''break''
Línea 788: Línea 787:
   * ''cat''   * ''cat''
  
-**Which of the following commands generates a list of user names from ''/etc/passwd'' along with their login shell?**+**90. Which of the following commands generates a list of user names from ''/etc/passwd'' along with their login shell?**
  
   * ''colrm 1,7 /etc/passwd''   * ''colrm 1,7 /etc/passwd''
Línea 796: Línea 795:
   * ''chop -c : 1,7 /etc/passwd''   * ''chop -c : 1,7 /etc/passwd''
  
-**Which of the following commands print the current working directory when using a Bash shell? (Choose TWO correct answers)**+**91. Which of the following commands print the current working directory when using a Bash shell? (Choose TWO correct answers)**
  
   * ''pwd'' (**Solución**)   * ''pwd'' (**Solución**)
Línea 808: Línea 807:
 </WRAP> </WRAP>
  
-**Which of the following commands shows how the shell handles a specific command?**+**92. Which of the following commands shows how the shell handles a specific command?**
  
   * ''type''  (**Solución**)   * ''type''  (**Solución**)
Línea 816: Línea 815:
   * ''fileinfo''   * ''fileinfo''
  
-**Which of the following properties of an existing file changes when a hard link pointing to that file is created?**+**93. Which of the following properties of an existing file changes when a hard link pointing to that file is created?**
  
   * Permissions   * Permissions
Línea 824: Línea 823:
   * File size   * File size
  
-**Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers)**+**94. Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers)**
  
   * Ctrl :w   * Ctrl :w
Línea 832: Línea 831:
   * Esc ZZ (**Solución**)   * Esc ZZ (**Solución**)
  
-**Which of the following tools can show complete path of an executable file that the current shell would execute when starting a command without specifying its complete path? (Choose TWO correct answers)**+**95. Which of the following tools can show complete path of an executable file that the current shell would execute when starting a command without specifying its complete path? (Choose TWO correct answers)**
  
   * ''which'' (**Solución**)   * ''which'' (**Solución**)
Línea 840: Línea 839:
   * ''type'' (**Solución**)   * ''type'' (**Solución**)
  
-**Following the Filesystem Hierarchy Standard (FHS), where should binares that have been compiled by the system administrator be placed in order to be made available to all users on the system? (Specify the full path to the directory.)**+**96. Following the Filesystem Hierarchy Standard (FHS), where should binares that have been compiled by the system administrator be placed in order to be made available to all users on the system? (Specify the full path to the directory.)**
  
   * ''/usr/local/bin/''   * ''/usr/local/bin/''
Línea 849: Línea 848:
  
  
-**Which command displays a list of all backgroud tasks running in the current shell? (Specify ONLY the command without any path or parameters)**+**97. Which command displays a list of all backgroud tasks running in the current shell? (Specify ONLY the command without any path or parameters)**
  
   * ''jobs''   * ''jobs''
  
-**A user accidentally created the subdirectory ''\dir'' in his home directory. Which of the following commands will remove that directory?**+**98. A user accidentally created the subdirectory ''\dir'' in his home directory. Which of the following commands will remove that directory?**
  
   * ''rmdir ~/'dir'''   * ''rmdir ~/'dir'''
Línea 861: Línea 860:
   * ''rmdir ~/\\dir'' (**Solución**)   * ''rmdir ~/\\dir'' (**Solución**)
  
-**Given the following two symbolic links in a System V init configuration: ''/etc/rc1.d/K01apache2'' and ''/etc/rc2.d/S02apache2'', When are the scripts executed that are referenced by these links? (Choose TWO correct answers)**+**99. Given the following two symbolic links in a System V init configuration: ''/etc/rc1.d/K01apache2'' and ''/etc/rc2.d/S02apache2'', When are the scripts executed that are referenced by these links? (Choose TWO correct answers)**
  
   * Both S02apache2 and K01apache2 are run during a system shutdown   * Both S02apache2 and K01apache2 are run during a system shutdown
Línea 869: Línea 868:
   * K01apache2 is run when runlevel 1 is entered (**Solución**)   * K01apache2 is run when runlevel 1 is entered (**Solución**)
  
-**What is the correct way to set the default systemd boot target to multi-user?**+**100. What is the correct way to set the default systemd boot target to multi-user?**
  
   * ''systemctl set-default multi-user.target'' (**Solución**)   * ''systemctl set-default multi-user.target'' (**Solución**)
   * ''systemctl boot -p multi-user.target''   * ''systemctl boot -p multi-user.target''
   * ''systemctl set-boot multi-user.target''   * ''systemctl set-boot multi-user.target''
-  * ''systemctl  set-runlevel multi-user.target''+  * ''systemctl set-runlevel multi-user.target''
   * ''systemctl isolate multi-user.target''   * ''systemctl isolate multi-user.target''
  
-**What is the output when the regular espression ''s/[ABC][abc]/xx/'' is applied to the following string? ''ABCabc''**+**101. What is the output when the regular espression ''s/[ABC][abc]/xx/'' is applied to the following string? ''ABCabc''**
  
   * ABxxbc (**Solución**)   * ABxxbc (**Solución**)
Línea 889: Línea 888:
 </WRAP> </WRAP>
  
-**What is the purpose of the xargs command?**+**102. What is the purpose of the xargs command?**
  
   * It reads standard input and builds up commands to execute (**Solución**)   * It reads standard input and builds up commands to execute (**Solución**)
Línea 901: Línea 900:
 </WRAP> </WRAP>
  
-**When booting from the hard disk, a computer successfully loads the linux kernel and initramfs but hangs during the subsequent startup tasks. The system is booted using a linux based rescue CD to investigate the problem. Which of the following methods helps to identify the root cause of the problem?**+**103. When booting from the hard disk, a computer successfully loads the linux kernel and initramfs but hangs during the subsequent startup tasks. The system is booted using a linux based rescue CD to investigate the problem. Which of the following methods helps to identify the root cause of the problem?**
  
   * Rebooting again from the hard drive since the system successfully booted from the rescue CD   * Rebooting again from the hard drive since the system successfully booted from the rescue CD
Línea 912: Línea 911:
 </WRAP> </WRAP>
  
-**Where is the bootloader stored on the hard disk of a UEFI system?**+**104. Where is the bootloader stored on the hard disk of a UEFI system?**
  
   * On the partition number 127   * On the partition number 127
Línea 924: Línea 923:
 </WRAP> </WRAP>
  
-**Which of the following commands can perform searches on file contents using regular expressions?**+**105. Which of the following commands can perform searches on file contents using regular expressions?**
  
   * ''find''   * ''find''
Línea 932: Línea 931:
   * ''grep'' (**Solución**)   * ''grep'' (**Solución**)
  
-**Which of the following commands loads a kernel module along with any required dependency modules?**+**106. Which of the following commands loads a kernel module along with any required dependency modules?**
  
   * ''depmod''   * ''depmod''
Línea 940: Línea 939:
   * ''insmod''   * ''insmod''
  
-**Which of the following commands outputs "test" to the shell?**+**107. Which of the following commands outputs "test" to the shell?**
  
 <code> <code>
Línea 977: Línea 976:
 </WRAP> </WRAP>
  
-**Which of the following displays the manual page command from section 1?**+**108. Which of the following displays the manual page command from section 1?**
  
   * ''man command (1)''   * ''man command (1)''
Línea 985: Línea 984:
   * ''man 1.command''   * ''man 1.command''
  
-**Which of the following signals is sent to a process when the key combination Ctrl+Z is pressed on the keyboard?**+**109. Which of the following signals is sent to a process when the key combination Ctrl+Z is pressed on the keyboard?**
  
   * SIGCONT   * SIGCONT
Línea 997: Línea 996:
 </WRAP> </WRAP>
  
-**Which of the following statements are correct about the initial RAM disk involved in the boot process of Linux? ( Choose TWO correct answers)**+**110. Which of the following statements are correct about the initial RAM disk involved in the boot process of Linux? ( Choose TWO correct answers)**
  
   * An initramfs is a compressed file system archive, which can be unpacked to examine its contents (**Solución**)   * An initramfs is a compressed file system archive, which can be unpacked to examine its contents (**Solución**)
Línea 1005: Línea 1004:
   * The kernel uses the initramfs temporarily before accessing the real root file system (**Solución**)   * The kernel uses the initramfs temporarily before accessing the real root file system (**Solución**)
  
-**Which of the following statements is correct for a command ending with an & character?**+**111. Which of the following statements is correct for a command ending with an & character?**
  
   * The command is run as a direct child of the init process   * The command is run as a direct child of the init process
Línea 1013: Línea 1012:
   * The command's input is read from ''/dev/null''   * The command's input is read from ''/dev/null''
  
-**Which command used to change the priority of an already running process? (Specify ONLY the command without any path or parameters?**+**112. Which command used to change the priority of an already running process? (Specify ONLY the command without any path or parameters?**
  
   * ''renice''   * ''renice''
  
-**Which System V init  configuration file is commonly used to set the default runlevel?  ( Specify the full name of the file, including path)**+**113. Which System V init  configuration file is commonly used to set the default runlevel?  ( Specify the full name of the file, including path)**
  
   * ''/etc/inittab''   * ''/etc/inittab''
  
-**Which type of file system is created by ''mkfs'' when it is executed with the block device name only and+**114. Which type of file system is created by ''mkfs'' when it is executed with the block device name only and
 without any additional parameters?** without any additional parameters?**
  
Línea 1034: Línea 1033:
 </WRAP> </WRAP>
  
-**In order to display all currently mounted filesystems, which of the following commands could be used?+**115. In order to display all currently mounted filesystems, which of the following commands could be used?
 (Choose two.)** (Choose two.)**
  
Línea 1043: Línea 1042:
   * ''cat /proc/filesystems''   * ''cat /proc/filesystems''
  
-**When considering the use of hard links, what are valid reasons not to use hard links?**+**116. 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 (**Solución**)   * Hard links are specific to one filesystem and cannot point to files on another filesystem (**Solución**)
Línea 1051: Línea 1050:
   * Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them   * Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them
  
-**What is the process ID number of the init process on a System V init based system?**+**117. What is the process ID number of the init process on a System V init based system?**
  
   * 1 (**Solución**)   * 1 (**Solución**)
Línea 1059: Línea 1058:
   * It is set to the current run level   * It is set to the current run level
  
-**Which daemon handles power management events on a Linux system?**+**118. Which daemon handles power management events on a Linux system?**
  
   * ''batteryd''   * ''batteryd''
Línea 1071: Línea 1070:
 </WRAP> </WRAP>
  
-**Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)**+**119. Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)**
  
   * Some parts of the boot process can be configured from the BIOS (**Solución**)   * Some parts of the boot process can be configured from the BIOS (**Solución**)
Línea 1079: Línea 1078:
   * The BIOS boot process starts only if secondary storage, such as the hard disk, is functional   * The BIOS boot process starts only if secondary storage, such as the hard disk, is functional
  
-**What is true regarding UEFI firmware? (Choose two.)**+**120. What is true regarding UEFI firmware? (Choose two.)**
  
   * It can use and read certain file systems (**Solución**)   * It can use and read certain file systems (**Solución**)
Línea 1091: Línea 1090:
 </WRAP> </WRAP>
  
-**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?**+**121. 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?**
  
   * 7640   * 7640
Línea 1099: Línea 1098:
   * 0750   * 0750
  
-**A faulty kernel module is causing issues with a network interface card. Which of the following actions ensures that this module is not loaded automatically when the system boots?**+**122. A faulty kernel module is causing issues with a network interface card. Which of the following actions ensures that this module is not loaded automatically when the system boots?**
  
   * Using ''lsmod %%--%%remove %%--%%autoclean'' without specifying the name of a specific module   * Using ''lsmod %%--%%remove %%--%%autoclean'' without specifying the name of a specific module
Línea 1111: Línea 1110:
 </WRAP> </WRAP>
  
-**Which of the following commands changes the number of days before the ext3 filesystem on ''/dev/sda1'' has to run through a full filesystem check while booting?**+**123. Which of the following commands changes the number of days before the ext3 filesystem on ''/dev/sda1'' has to run through a full filesystem check while booting?**
  
   * ''tune2fs –i 200 /dev/sda1'' (**Solución**)   * ''tune2fs –i 200 /dev/sda1'' (**Solución**)
Línea 1119: Línea 1118:
   * ''tune2fs –c 200 /dev/sda1''   * ''tune2fs –c 200 /dev/sda1''
  
-**Which is the default percentage of reserved space for the root user on new ext4 filesystems?**+**124. Which is the default percentage of reserved space for the root user on new ext4 filesystems?**
  
   * 5% (**Solución**)   * 5% (**Solución**)
Línea 1131: Línea 1130:
 </WRAP> </WRAP>
  
-**Which of the following is true when a file system, which is neither listed in ''/etc/fstab'' nor known to system, is mounted manually?**+**125. 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 (**Solución**)   * The command ''systemctl mountsync'' can be used to create a mount unit based on the existing mount (**Solución**)
Línea 1143: Línea 1142:
 </WRAP> </WRAP>
  
-**What does the command ''mount %%--%%bind'' do?**+**126. What does the command ''mount %%--%%bind'' do?**
  
   * It mounts all file systems listed in ''/etc/fstab'' which have the option userbind set   * It mounts all file systems listed in ''/etc/fstab'' which have the option userbind set
Línea 1151: Línea 1150:
   * It mounts all available filesystems to the current directory   * It mounts all available filesystems to the current directory
  
-**Consider the following output from the command ''ls –i''**:+**127. Consider the following output from the command ''ls –i''**:
 <code> <code>
 525385 -rw-rw-r-- 2 1000 1000 0 Feb 12 19:44 a.txt 525385 -rw-rw-r-- 2 1000 1000 0 Feb 12 19:44 a.txt
Línea 1164: Línea 1163:
   * ''ln c.txt a.txt''   * ''ln c.txt a.txt''
  
-**Consider the following directory**:+**128. Consider the following directory**:
  
 <code> <code>
Línea 1177: Línea 1176:
   * ''chown --persistent *.sales sales''   * ''chown --persistent *.sales sales''
  
-**Which command displays the current disk space usage for all mounted file systems? (Specify ONLY the+**129. Which command displays the current disk space usage for all mounted file systems? (Specify ONLY the
 command without any path or parameters.)** command without any path or parameters.)**
  
   ** ''df''   ** ''df''
  
-**Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)**+**130. Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)**
  
   * ''cmdline''   * ''cmdline''
  
-**Which program updates the database that is used by the locate command? (Specify ONLY the command without any path or parameters).**+**131. Which program updates the database that is used by the locate command? (Specify ONLY the command without any path or parameters).**
  
   * ''updatedb''   * ''updatedb''
  
-**When is the content of the kernel ring buffer reset? (Choose two.)**+**132. When is the content of the kernel ring buffer reset? (Choose two.)**
  
   * When a configurable amount of time, 15 minutes by default, has passed   * When a configurable amount of time, 15 minutes by default, has passed
Línea 1198: Línea 1197:
   * When the system is shut down or rebooted (**Solución**)   * When the system is shut down or rebooted (**Solución**)
  
-**Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?**+**133. Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?**
  
   * 82 (**Solución**)   * 82 (**Solución**)
Línea 1206: Línea 1205:
   * 83   * 83
  
-**What is true regarding the configuration of yum? (Choose two.)**+**134. What is true regarding the configuration of yum? (Choose two.)**
  
   * Changes to the repository configuration become active after running ''yum confupdate''   * Changes to the repository configuration become active after running ''yum confupdate''
Línea 1214: Línea 1213:
   * The configuration of package repositories can be divided into multiple files (**Solución**)   * The configuration of package repositories can be divided into multiple files (**Solución**)
  
-**Which of the following ''apt-get'' subcommands installs the newest versions of all currently installed packages?**+**135. Which of the following ''apt-get'' subcommands installs the newest versions of all currently installed packages?**
  
   * ''dist-upgrade'' (**Solución**)   * ''dist-upgrade'' (**Solución**)
Línea 1222: Línea 1221:
   * ''install''   * ''install''
  
-**Which command uninstalls a package but keeps its configuration files in case the package is re-installed?**+**136. Which command uninstalls a package but keeps its configuration files in case the package is re-installed?**
  
   * ''dpkg –v pkgname''   * ''dpkg –v pkgname''
Línea 1230: Línea 1229:
   * ''dpkg –s pkgname''   * ''dpkg –s pkgname''
  
-**Which of the following commands lists the dependencies of the RPM package file ''foo.rpm''?**+**137. Which of the following commands lists the dependencies of the RPM package file ''foo.rpm''?**
  
   * ''rpm –R foo.rpm''   * ''rpm –R foo.rpm''
Línea 1238: Línea 1237:
   * ''rpm –qpR foo.rpm'' (**Solución**)   * ''rpm –qpR foo.rpm'' (**Solución**)
  
-**What is the maximum niceness value that a regular user can assign to a process with the ''nice'' command when executing a new process?**+**138. What is the maximum niceness value that a regular user can assign to a process with the ''nice'' command when executing a new process?**
  
   * 49   * 49
Línea 1246: Línea 1245:
   * 9   * 9
  
-**Which of the following are valid stream redirection operators within Bash? (Choose two.)**+**139. Which of the following are valid stream redirection operators within Bash? (Choose two.)**
  
   * ''%%>>>%%''   * ''%%>>>%%''
Línea 1254: Línea 1253:
   * ''%>''   * ''%>''
  
-**Which of the following vi commands deletes two lines, the current and the following line?**+**140. Which of the following vi commands deletes two lines, the current and the following line?**
  
   * d2   * d2
Línea 1262: Línea 1261:
   * 2d    * 2d 
  
-**The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?**+**141. The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?**
  
   * ''nohup dbmaint &'' (**Solución**)   * ''nohup dbmaint &'' (**Solución**)
Línea 1270: Línea 1269:
   * ''dbmaint &>/dev/pts/null''   * ''dbmaint &>/dev/pts/null''
  
-**From a Bash shell, which of the following commands directly execute the instructions from the file /usr/local/bin/runme.sh without starting a subshell? (Choose two.)**+**142. From a Bash shell, which of the following commands directly execute the instructions from the file /usr/local/bin/runme.sh without starting a subshell? (Choose two.)**
  
   * ''/bin/bash /usr/local/bin/runme.sh''   * ''/bin/bash /usr/local/bin/runme.sh''
Línea 1282: Línea 1281:
 </WRAP> </WRAP>
  
-**A Debian package creates several files during its installation. Which of the following commands searches+**143. A Debian package creates several files during its installation. Which of the following commands searches
 for packages owning the file ''/etc/debian_version''?** for packages owning the file ''/etc/debian_version''?**
  
Línea 1295: Línea 1294:
 </WRAP> </WRAP>
  
-**What is contained on the EFI System Partition?**+**144. What is contained on the EFI System Partition?**
  
   * The default swap space file   * The default swap space file
Línea 1307: Línea 1306:
 </WRAP> </WRAP>
  
-**Which of the following directories on a 64 bit Linux system typically contain shared libraries? (Choose two.)**+**145. Which of the following directories on a 64 bit Linux system typically contain shared libraries? (Choose two.)**
  
   * ''~/.lib64/''   * ''~/.lib64/''
Línea 1319: Línea 1318:
 </WRAP> </WRAP>
  
-**Which of the following files exist in a standard GRUB 2 installation? (Choose two.)**+**146. Which of the following files exist in a standard GRUB 2 installation? (Choose two.)**
  
   * ''/boot/grub/i386-pc/lvm.mod'' (**Solución**)   * ''/boot/grub/i386-pc/lvm.mod'' (**Solución**)
Línea 1331: Línea 1330:
 </WRAP> </WRAP>
  
-**Which of the following commands installs all packages with a name ending with the string foo?**+**147. Which of the following commands installs all packages with a name ending with the string foo?**
  
   * zypper add ".*foo"   * zypper add ".*foo"
Línea 1339: Línea 1338:
   * zypper install "*foo" (**Solución**)   * zypper install "*foo" (**Solución**)
  
-**Which of the following properties of a Linux system should be changed when a virtual machine is cloned? +**148. Which of the following properties of a Linux system should be changed when a virtual machine is cloned? (Choose two.)**
-(Choose two.)**+
  
   * The permissions of ''/root/''   * The permissions of ''/root/''
Línea 1352: Línea 1350:
 </WRAP> </WRAP>
  
-Retroalimentación +**149. Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?**
- +
-**Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?**+
  
   * ''grub2 install /dev/sdc''   * ''grub2 install /dev/sdc''
Línea 1362: Línea 1358:
   * ''grub-install /dev/sdc'' (**Solución**)   * ''grub-install /dev/sdc'' (**Solución**)
  
-**When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?**+**150. When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?**
  
   * ''-nospace ''   * ''-nospace ''
Línea 1374: Línea 1370:
 </WRAP> </WRAP>
  
-**Which of the following commands can be used to determine how long the system has been running? (Choose two.)**+**151. Which of the following commands can be used to determine how long the system has been running? (Choose two.)**
  
   * ''uptime'' (**Solución**)   * ''uptime'' (**Solución**)
Línea 1382: Línea 1378:
   * ''time --up''   * ''time --up''
  
-**What is true regarding the command ''ls > files'' if files does not exist?**+**152. What is true regarding the command ''ls > files'' if files does not exist?**
  
   * files is created and contains the output of ''ls'' (**Solución**)   * files is created and contains the output of ''ls'' (**Solución**)
Línea 1390: Línea 1386:
   * The output of ''ls'' is printed to the terminal   * The output of ''ls'' is printed to the terminal
  
-**Which of the following files, located in a user’s home directory, contains the Bash history?**+**153. Which of the following files, located in a user’s home directory, contains the Bash history?**
  
   * ''.bash_histfile''   * ''.bash_histfile''
Línea 1398: Línea 1394:
   * ''.bash_history'' (**Solución**)   * ''.bash_history'' (**Solución**)
  
-**Which wildcards will match the following filenames? (Choose two.)**+**154. Which wildcards will match the following filenames? (Choose two.)**
 <code> <code>
 ttyS0 ttyS0
Línea 1411: Línea 1407:
   * ''tty[A-Z][012]'' (**Solución**)   * ''tty[A-Z][012]'' (**Solución**)
  
-**Which of the following commands redirects the output of ls to standard error?**+**155. Which of the following commands redirects the output of ls to standard error?**
  
   * ''ls >&2'' (**Solución**)   * ''ls >&2'' (**Solución**)
Línea 1419: Línea 1415:
   * ''ls >-1''   * ''ls >-1''
  
-**Which of the following commands displays the contents of a gzip compressed tar archive?**+**156. Which of the following commands displays the contents of a gzip compressed tar archive?**
  
   * ''gzip archive.tgz | tar xvf -''   * ''gzip archive.tgz | tar xvf -''
Línea 1427: Línea 1423:
   * ''tar –fzt archive.tgz''   * ''tar –fzt archive.tgz''
  
-**Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the ''/etc/passwd'' file?**+**157. Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the ''/etc/passwd'' file?**
  
   * ''cut –d : -f 1,4 /etc/passwd'' (**Solución**)   * ''cut –d : -f 1,4 /etc/passwd'' (**Solución**)
Línea 1435: Línea 1431:
   * ''fmt –f 1,4 /etc/passwd''   * ''fmt –f 1,4 /etc/passwd''
  
-**Which of the following regular expressions represents a single upper-case letter?**+**158. Which of the following regular expressions represents a single upper-case letter?**
  
   * ''!a-z''   * ''!a-z''
Línea 1443: Línea 1439:
   * ''{AZ}''   * ''{AZ}''
  
-**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?**+**159. 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?**
  
   * p (lowercase) (**Solución**)   * p (lowercase) (**Solución**)
Línea 1451: Línea 1447:
   * i (lowercase)   * i (lowercase)
  
-**Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command filters out all log entries in the time period between 8:00 am and 8:59 am?**+**160. Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command filters out all log entries in the time period between 8:00 am and 8:59 am?**
  
   * '' grep loga.log ':08:[0-9]:[0-9]'''   * '' grep loga.log ':08:[0-9]:[0-9]'''
Línea 1459: Línea 1455:
   * ''grep –E ':08:[0-9]+:[0-9]+' loga.log'' (**Solución**)   * ''grep –E ':08:[0-9]+:[0-9]+' loga.log'' (**Solución**)
  
-**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?**+**161. 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 –s ‘/^M/^J/’ userlist.txt newlist.txt''   * ''tr –s ‘/^M/^J/’ userlist.txt newlist.txt''
Línea 1471: Línea 1467:
 </WRAP> </WRAP>
  
-**Given the following input stream:**+**162. Given the following input stream:**
 <code> <code>
 txt1.txt txt1.txt
Línea 1490: Línea 1486:
   * ''s/^txt$/.bak^/''   * ''s/^txt$/.bak^/''
  
-**Which command must be entered before exiting vi to save the current file as filea.txt?**+**163. Which command must be entered before exiting vi to save the current file as filea.txt?**
  
   * %s filea.txt   * %s filea.txt
Línea 1498: Línea 1494:
   * :save filea.txt   * :save 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?**+**164. 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'' (**Solución**)   * ''foo | tee /tmp/foodata'' (**Solución**)
Línea 1506: Línea 1502:
   * ''foo > /tmp/foodata''   * ''foo > /tmp/foodata''
  
-**What output will be displayed when the user fred executes the following command? ''echo 'fred $USER'''**+**165. What output will be displayed when the user fred executes the following command? ''echo 'fred $USER'''**
  
   * ''fred fred''   * ''fred fred''
Línea 1514: Línea 1510:
   * ''‘fred $USER’''   * ''‘fred $USER’''
  
-**Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?**+**166. Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?**
  
   * ''whatis foo''   * ''whatis foo''
Línea 1522: Línea 1518:
   * ''locate foo''   * ''locate foo''
  
-**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.)**+**167. 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.)**
  
   * ''watch''   * ''watch''
  
-**Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)**+**168. Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)**
  
   * ''nice''   * ''nice''
  
-**How can the existing environment variable ''FOOBAR'' be suppressed for the execution of the script ''./myscript'' only?**+**169. How can the existing environment variable ''FOOBAR'' be suppressed for the execution of the script ''./myscript'' only?**
  
   * ''unset -v FOOBAR;./myscript''    * ''unset -v FOOBAR;./myscript'' 
Línea 1541: Línea 1537:
 </WRAP> </WRAP>
  
-**What output will the following command produce? ''seq 1 5 20''**+**170. What output will the following command produce? ''seq 1 5 20''**
  
   * 1 6 11 16 (**Solución**)   * 1 6 11 16 (**Solución**)
Línea 1552: Línea 1548:
 </WRAP> </WRAP>
  
-**When the command ''echo $'' outputs 1, which of the following statements is true?**+**171. When the command ''echo $'' outputs 1, which of the following statements is true?**
  
   * It is the process ID of the echo command.   * It is the process ID of the echo command.
Línea 1559: Línea 1555:
   * It is the exit value of the echo command.    * It is the exit value of the echo command. 
  
-**When the command ''echo $$'' outputs 12942, what is the meaning of 12942?**+**172. When the command ''echo $$'' outputs 12942, what is the meaning of 12942?**
  
   * It is the process ID of the echo command.   * It is the process ID of the echo command.
Línea 1570: Línea 1566:
 </WRAP> </WRAP>
  
-**Which of the following commands lists all defined variables and functions within Bash?**+**173. Which of the following commands lists all defined variables and functions within Bash?**
    
   * ''env -a''   * ''env -a''
Línea 1581: Línea 1577:
 </WRAP> </WRAP>
  
-**Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)**+**174. Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)**
  
   * ''~/.bashconf''   * ''~/.bashconf''
Línea 1589: Línea 1585:
   * ''~/.bash_profile'' (**Solución**)   * ''~/.bash_profile'' (**Solución**)
  
-**Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?**+**175. Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?**
  
   * CASE   * CASE
Línea 1600: Línea 1596:
 </WRAP> </WRAP>
  
-**By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)**+**176. By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)**
  
   * ''/etc/skel''   * ''/etc/skel''
  
-**What command displays all aliases defined in the current shell? (Specify the command without any path information)**+**177. What command displays all aliases defined in the current shell? (Specify the command without any path information)**
  
   * ''alias''   * ''alias''
  
-**What word is missing from the following SQL statement? ''XXXXXX+**178. What word is missing from the following SQL statement? ''XXXXXX
 count(*) from tablename''** count(*) from tablename''**
  
Línea 1617: Línea 1613:
 </WRAP> </WRAP>
  
-**For accessibility assistance, which of the following programs is an on-screen keyboard?**+**179. For accessibility assistance, which of the following programs is an on-screen keyboard?**
  
   * xkb   * xkb
Línea 1628: Línea 1624:
 </WRAP> </WRAP>
  
-**How is a display manager started?**+**180. How is a display manager started?**
  
   * It is started by a user using the command startx.   * It is started by a user using the command startx.
Línea 1639: Línea 1635:
 </WRAP> </WRAP>
  
-**The X11 configuration file ''xorg.conf'' is grouped into sections. How is the content of the section SectionName associated with that section?**+**181. The X11 configuration file ''xorg.conf'' is grouped into sections. How is the content of the section SectionName associated with that section?**
  
   * It is placed between a line containing Section "SectionName" and a line containing EndSection. (**Solución**)   * It is placed between a line containing Section "SectionName" and a line containing EndSection. (**Solución**)
Línea 1647: Línea 1643:
   * It is placed after the row [SectionName].    * It is placed after the row [SectionName]. 
  
-**What is the purpose of a screen reader?**+**182. What is the purpose of a screen reader?**
  
   * It reads text displayed on the screen to blind or visually impaired people. (**Solución**)   * It reads text displayed on the screen to blind or visually impaired people. (**Solución**)
Línea 1654: Línea 1650:
   * It manages and displays files that contain e-books    * It manages and displays files that contain e-books 
  
-**Which file used by XDM specifies the default wallpaper?**+**183. Which file used by XDM specifies the default wallpaper?**
  
   * ''/etc/X11/xdm/Xsetup'' (**Solución**)   * ''/etc/X11/xdm/Xsetup'' (**Solución**)
Línea 1665: Línea 1661:
 </WRAP> </WRAP>
  
-**Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)**+**184. Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)**
  
   * Start and prepare the desktop environment for the user. (**Solución**)   * Start and prepare the desktop environment for the user. (**Solución**)
Línea 1673: Línea 1669:
   * Create an X11 configuration file for the current graphic devices and monitors.   * Create an X11 configuration file for the current graphic devices and monitors.
  
-**Which of the following commands shows the current color depth of the X Server?**+**185. Which of the following commands shows the current color depth of the X Server?**
  
   * ''xcd''   * ''xcd''
Línea 1684: Línea 1680:
 </WRAP> </WRAP>
  
-**What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)**+**186. What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)**
  
   * ''xorg.conf''   * ''xorg.conf''
  
-**What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)**+**187. What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)**
  
   * xdm   * xdm
Línea 1696: Línea 1692:
 </WRAP> </WRAP>
  
-**Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)**+**188. Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)**
  
   * ''xwininfo''   * ''xwininfo''
Línea 1704: Línea 1700:
 </WRAP> </WRAP>
  
-**What is the purpose of the ''iconv'' command?**+**189. What is the purpose of the ''iconv'' command?**
  
   * It converts bitmap images from one format to another such as PNG to JPEG   * It converts bitmap images from one format to another such as PNG to JPEG
Línea 1712: Línea 1708:
   * It converts files from one character encoding to another (**Solución**)   * It converts files from one character encoding to another (**Solución**)
  
-**What is true about the file ''/etc/localtime''?**+**190. What is true about the file ''/etc/localtime''?**
  
   * It is a plain text file containing a string such as Europe/Berlin   * It is a plain text file containing a string such as Europe/Berlin
Línea 1720: Línea 1716:
 ''/usr/share/zoneinfo/Europe/Berlin''. (**Solución**) ''/usr/share/zoneinfo/Europe/Berlin''. (**Solución**)
  
-**What is true regarding the command ''userdel %%--%%force %%--%%remove bob''? (Choose TWO correct answers.)**+**191. What is true regarding the command ''userdel %%--%%force %%--%%remove bob''? (Choose TWO correct answers.)**
  
   * The user bob is removed from the system's user database (**Solución**)   * The user bob is removed from the system's user database (**Solución**)
Línea 1728: Línea 1724:
   * In case bob was the last member of a group, that group is deleted   * In case bob was the last member of a group, that group is deleted
  
-**Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)**+**192. Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)**
  
   * ''usermod'' (**Solución**)   * ''usermod'' (**Solución**)
Línea 1736: Línea 1732:
   * ''chsh''   * ''chsh''
  
-**Which of the following fields can be found in the ''/etc/group'' file? (Choose THREE correct answers.)**+**193. Which of the following fields can be found in the ''/etc/group'' file? (Choose THREE correct answers.)**
  
   * The list of users that belong to the group. (**Solución**)   * The list of users that belong to the group. (**Solución**)
Línea 1744: Línea 1740:
   * The password of the group. (**Solución**)   * The password of the group. (**Solución**)
  
-**Each entry in a crontab must end with what character?**+**194. Each entry in a crontab must end with what character?**
  
   * Tab   * Tab
Línea 1751: Línea 1747:
   * Newline (**Solución**)   * Newline (**Solución**)
  
-**To prevent a specific user from scheduling tasks with at, what should the administrator do?**+**195. To prevent a specific user from scheduling tasks with at, what should the administrator do?**
  
   * Add the specific user to ''/etc/at.allow'' file.   * Add the specific user to ''/etc/at.allow'' file.
Línea 1763: Línea 1759:
 </WRAP> </WRAP>
  
-**What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?**+**196. What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?**
  
   * ''*.* /dev/tty12'' (**Solución**)   * ''*.* /dev/tty12'' (**Solución**)
Línea 1775: Línea 1771:
 </WRAP> </WRAP>
  
-**What is NOT contained in the locale setting of the operating system?**+**197. What is NOT contained in the locale setting of the operating system?**
  
   * currency symbol    * currency symbol 
Línea 1786: Línea 1782:
 </WRAP> </WRAP>
  
-**What is the purpose of the command ''mailq''?**+**198. What is the purpose of the command ''mailq''?**
  
   * It fetches new emails from a remote server using POP3 or IMAP.   * It fetches new emails from a remote server using POP3 or IMAP.
Línea 1798: Línea 1794:
 </WRAP> </WRAP>
  
-**What is true about the ''ntpdate'' command?**+**199. What is true about the ''ntpdate'' command?**
  
   * It is the primary management command for the NTP time server.   * It is the primary management command for the NTP time server.
Línea 1806: Línea 1802:
   * It can be used by any user to set the user clock independently of the system clock.   * It can be used by any user to set the user clock independently of the system clock.
  
-**What is true regarding the command ''sendmail''?**+**200. What is true regarding the command ''sendmail''?**
  
   * With any MTA, the sendmail command must be run periodically by the cron daemon.   * With any MTA, the sendmail command must be run periodically by the cron daemon.
Línea 1817: Línea 1813:
 </WRAP> </WRAP>
  
-**Which file inside the CUPS configuration directory contains the definition of the printers?**+**201. Which file inside the CUPS configuration directory contains the definition of the printers?**
  
   * ''cups-devices.conf''    * ''cups-devices.conf'' 
Línea 1829: Línea 1825:
 </WRAP> </WRAP>
  
-**Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)**+**202. Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)**
  
   * Postfix (**Solución**)   * Postfix (**Solución**)
Línea 1837: Línea 1833:
   * SMTPd   * SMTPd
  
-**Which of the following are syslog facilities? (Choose TWO correct answers.)**+**203. Which of the following are syslog facilities? (Choose TWO correct answers.)**
  
   * local7 (**Solución**)   * local7 (**Solución**)
Línea 1845: Línea 1841:
   * remote   * remote
  
-**Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?**+**204. Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?**
    
   * ''export LANGUAGE=%%"%%pt%%"%%''   * ''export LANGUAGE=%%"%%pt%%"%%''
Línea 1857: Línea 1853:
 </WRAP> </WRAP>
  
-**Which of the following files assigns a user to its primary group?**+**205. Which of the following files assigns a user to its primary group?**
  
   * ''/etc/pgroup''   * ''/etc/pgroup''
Línea 1865: Línea 1861:
   * ''/etc/gshadow''   * ''/etc/gshadow''
  
-**Which of the following is observed and corrected by a NTP client?**+**206. Which of the following is observed and corrected by a NTP client?**
  
   * The skew in time between the system clock and the hardware clock.   * The skew in time between the system clock and the hardware clock.
Línea 1872: Línea 1868:
   * Adjustments needed to support Daylight Saving Time.   * Adjustments needed to support Daylight Saving Time.
  
-**Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)**+**207. Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)**
  
   * ''%%--%%from=''   * ''%%--%%from=''
Línea 1880: Línea 1876:
   * ''%%--%%date=''   * ''%%--%%date=''
  
-**Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)**+**208. Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)**
  
   * Synchronize the hardware and system clocks.   * Synchronize the hardware and system clocks.
Línea 1888: Línea 1884:
   * Update the time via NTP.   * Update the time via NTP.
  
-**Given the following routing table:**+**209. Given the following routing table:**
 <code> <code>
 Kernel IP routing table Kernel IP routing table
Línea 1905: Línea 1901:
   * It would be passed to the router 192.168.1.1 on eth0 (**Solución**)   * It would be passed to the router 192.168.1.1 on eth0 (**Solución**)
  
-**What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)**+**210. What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)**
  
   * ''route del default'' (**Solución**)   * ''route del default'' (**Solución**)
Línea 1913: Línea 1909:
   * ''sysctl ipv4.default_gw=0''   * ''sysctl ipv4.default_gw=0''
  
-**What is true regarding a default route?**+**211. What is true regarding a default route?**
  
   * The default route is always used first. When the default route is not available more specific routes are tried.    * The default route is always used first. When the default route is not available more specific routes are tried. 
Línea 1920: Línea 1916:
   * Without a default route, no network communication even in directly attached networks is possible.    * Without a default route, no network communication even in directly attached networks is possible. 
  
-**What of the following can be done by the command ifconfig? (Choose TWO correct answers.)**+**212. What of the following can be done by the command ifconfig? (Choose TWO correct answers.)**
    
   * Set a network interface active or inactive (**Solución**)   * Set a network interface active or inactive (**Solución**)
Línea 1928: Línea 1924:
   * Specify which network services are available on a network interface   * Specify which network services are available on a network interface
  
-**Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)**+**213. Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)**
  
   * 127.0.0.0/   * 127.0.0.0/
Línea 1936: Línea 1932:
   * 192.168.0.0/16 (**Solución**)   * 192.168.0.0/16 (**Solución**)
  
-**Which of the following is a valid IPv6 address?**+**214. Which of the following is a valid IPv6 address?**
  
   * ''2001:db8:3241::1'' (**Solución**)   * ''2001:db8:3241::1'' (**Solución**)
Línea 1944: Línea 1940:
   * ''2001.db8.819f..1''   * ''2001.db8.819f..1''
  
-**Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)**+**215. Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)**
  
   * substitute   * substitute
Línea 1952: Línea 1948:
   * method   * method
  
-**Which of the following programs can be used to determine the routing path to a given destination?**+**216. Which of the following programs can be used to determine the routing path to a given destination?**
  
   * ''dig''   * ''dig''
Línea 1960: Línea 1956:
   * ''traceroute'' (**Solución**)   * ''traceroute'' (**Solución**)
  
-**Which of the following statements is valid in the file ''/etc/nsswitch.conf''?**+**217. Which of the following statements is valid in the file ''/etc/nsswitch.conf''?**
  
   * multi on   * multi on
Línea 1967: Línea 1963:
   * include /etc/nsswitch.d/   * include /etc/nsswitch.d/
  
-**What is a purpose of an SSH host key?**+**218. What is a purpose of an SSH host key?**
  
   * It must be sent by any SSH client in addition to a user key in order to identify the client's host.   * It must be sent by any SSH client in addition to a user key in order to identify the client's host.
Línea 1979: Línea 1975:
 </WRAP> </WRAP>
  
-**When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?**+**219. When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?**
  
   * debug   * debug
Línea 1987: Línea 1983:
   * traceroute   * traceroute
  
-**Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?**+**220. Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?**
  
   * core   * core
Línea 1998: Línea 1994:
 </WRAP> </WRAP>
  
-**Which configuration file would be edited to change default options for the OpenSSH server?**+**221. Which configuration file would be edited to change default options for the OpenSSH server?**
  
   * ''/etc/ssh/sshd_config'' (**Solución**)   * ''/etc/ssh/sshd_config'' (**Solución**)
Línea 2006: Línea 2002:
   * ''/etc/ssh/ssh_server''   * ''/etc/ssh/ssh_server''
  
-**Which configuration file would be edited to change the default options for outbound SSH sessions?**+**222. Which configuration file would be edited to change the default options for outbound SSH sessions?**
  
   * ''/etc/ssh/sshd_config''   * ''/etc/ssh/sshd_config''
Línea 2014: Línea 2010:
   * ''/etc/ssh/ssh_client''   * ''/etc/ssh/ssh_client''
  
-**Which of the following commands can be used to limit the amount of memory a user may use?**+**223. Which of the following commands can be used to limit the amount of memory a user may use?**
  
   * umask   * umask
Línea 2026: Línea 2022:
 </WRAP> </WRAP>
  
-**Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)**+**224. Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)**
  
   * ''ssh %%--%%port 2222 example.com''   * ''ssh %%--%%port 2222 example.com''
Línea 2034: Línea 2030:
   * ''ssh example.com:2222''   * ''ssh example.com:2222''
  
-**Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?**+**225. Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?**
  
   * sshd   * sshd
Línea 2041: Línea 2037:
   * ssh-add   * ssh-add
  
-**Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?**+**226. Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?**
  
   * ''find /usr -uid 0 -perm +4000'' (**Solución**)   * ''find /usr -uid 0 -perm +4000'' (**Solución**)
Línea 2049: Línea 2045:
   * ''find /usr -suid -perm +4000''   * ''find /usr -suid -perm +4000''
  
-**On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)**+**227. On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)**
  
   * ''/etc/shadow''   * ''/etc/shadow''
  
-**Which of the following nmcli subcommands exist? (Choose two.)**+**228. Which of the following nmcli subcommands exist? (Choose two.)**
  
   * ''nmcli ethernet''   * ''nmcli ethernet''
Línea 2061: Línea 2057:
   * ''nmcli connection'' (**Solución**)   * ''nmcli connection'' (**Solución**)
  
-**Which of the following changes may occur as a consequence of using the command ''ip''? (Choose three.)**+**229. Which of the following changes may occur as a consequence of using the command ''ip''? (Choose three.)**
  
   * Network interfaces may become active or inactive. (**Solución**)   * Network interfaces may become active or inactive. (**Solución**)
Línea 2069: Línea 2065:
   * The routing table may change.    * The routing table may change. 
  
-**How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/26?**+**230. How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/26?**
  
   * 14   * 14
Línea 2077: Línea 2073:
   * 62 (**Solución**)   * 62 (**Solución**)
  
-**Which of the following commands configure network interfaces based on the system’s existing distributionspecific configuration files? (Choose two.)**+**231. Which of the following commands configure network interfaces based on the system’s existing distributionspecific configuration files? (Choose two.)**
  
   * ''ifpause''   * ''ifpause''
Línea 2085: Línea 2081:
   * ''ifstart''   * ''ifstart''
  
-**Which of the following statements is true if the UID of a regular user is identical to the GID of a group?**+**232. Which of the following statements is true if the UID of a regular user is identical to the GID of a group?**
  
   * UIDs and GIDs are independent of each other, therefore the user as well as the group are still available. (**Solución**)   * UIDs and GIDs are independent of each other, therefore the user as well as the group are still available. (**Solución**)
Línea 2097: Línea 2093:
 </WRAP> </WRAP>
  
-**Which of the following information is stored in /etc/shadow for each user?**+**233. Which of the following information is stored in /etc/shadow for each user?**
  
   * The numerical user ID (UID)   * The numerical user ID (UID)
Línea 2105: Línea 2101:
   * The hashed password of the user (**Solución**)   * The hashed password of the user (**Solución**)
  
-**Which of the following commands shows all active systemd timers?**+**234. Which of the following commands shows all active systemd timers?**
  
   * ''systemctl list-timers'' (**Solución**)   * ''systemctl list-timers'' (**Solución**)
Línea 2117: Línea 2113:
 </WRAP> </WRAP>
  
-**What can be specified with useradd? (Choose two.)**+**235. What can be specified with useradd? (Choose two.)**
  
   * The absolute path to the user’s home directory. (**Solución**)   * The absolute path to the user’s home directory. (**Solución**)
Línea 2125: Línea 2121:
   * Commands the user can run using sudo.   * Commands the user can run using sudo.
  
-**Which if the following tools, used for DNS debugging, reports not only the response from the name sever +**236. Which if the following tools, used for DNS debugging, reports not only the response from the name sever but also details about the query?**
-but also details about the query?**+
  
   * ''zoneinfo''   * ''zoneinfo''
Línea 2134: Línea 2129:
   * ''hostname''   * ''hostname''
  
-**Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? (Choose three.)**+**237. Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? (Choose three.)**
  
   * ipv6   * ipv6
Línea 2146: Línea 2141:
 </WRAP> </WRAP>
  
-**On a Linux workstation, the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?**+**238. On a Linux workstation, the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?**
  
   * The Linux Kernel Routing Daemon (LKRD) is not running and should be started using its init script or systemd unit.   * The Linux Kernel Routing Daemon (LKRD) is not running and should be started using its init script or systemd unit.
Línea 2158: Línea 2153:
 </WRAP> </WRAP>
  
-**What is true about the Hop Limit field in the IPv6 header?**+**239. What is true about the Hop Limit field in the IPv6 header?**
  
   * The field is transmitted within a hop-by-hop extension header.   * The field is transmitted within a hop-by-hop extension header.
Línea 2170: Línea 2165:
 </WRAP> </WRAP>
  
-**Which command is used to set the hostname of the local system? (Specify only the command without any+**240. Which command is used to set the hostname of the local system? (Specify only the command without any
 path or parameters.)** path or parameters.)**
  
   * ''hostnamectl''   * ''hostnamectl''
  
-**Which file, if present, must contain all users that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)**+**241. Which file, if present, must contain all users that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)**
  
   * ''/etc/cron.allow''   * ''/etc/cron.allow''
  
-**What command, depending on its options, can display the open TCP connections, the routing tables, as well as network interface statistics? (Specify only the command without any path or parameters.)**+**242. What command, depending on its options, can display the open TCP connections, the routing tables, as well as network interface statistics? (Specify only the command without any path or parameters.)**
  
   * ''netstat''   * ''netstat''
  
-**Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)**+**243. Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)**
  
   * ''nmtui''   * ''nmtui''
Línea 2191: Línea 2186:
 </WRAP> </WRAP>
  
-**Which option in the chrony configuration file changes the initial interval of polls to a NTP server in order to speed up the initial synchronization?**+**244. Which option in the chrony configuration file changes the initial interval of polls to a NTP server in order to speed up the initial synchronization?**
  
   * fsync   * fsync
Línea 2199: Línea 2194:
   * flood   * flood
  
-**Which of the following commands is used to rotate, compress, and mail system logs?**+**245. Which of the following commands is used to rotate, compress, and mail system logs?**
  
   * ''syslogd –-rotate''   * ''syslogd –-rotate''
Línea 2207: Línea 2202:
   * ''logger''   * ''logger''
  
-**Why is the correct configuration of a system’s time zone important?**+**246. Why is the correct configuration of a system’s time zone important?**
  
   * Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.   * Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.
Línea 2219: Línea 2214:
 </WRAP> </WRAP>
  
-**Which of the following commands lists all queued print jobs?**+**247. Which of the following commands lists all queued print jobs?**
  
   * ''lp''   * ''lp''
Línea 2227: Línea 2222:
   * ''lpr''   * ''lpr''
  
-**Which of the following entries in ''/etc/syslog.conf'' writes all mail related events to the file ''/var/log/maillog'' and sends all critical events to the remote server logger.example.com?**+**248. Which of the following entries in ''/etc/syslog.conf'' writes all mail related events to the file ''/var/log/maillog'' and sends all critical events to the remote server logger.example.com?**
  
 <code> <code>
Línea 2255: Línea 2250:
 </code> </code>
  
-**Which of the following protocols is related to the term open relay?**+**249. Which of the following protocols is related to the term open relay?**
  
   * NTP   * NTP
Línea 2267: Línea 2262:
 </WRAP> </WRAP>
  
-**Which of the following commands displays all environment and shell variables?**+**250. Which of the following commands displays all environment and shell variables?**
  
   * ''lsshell''   * ''lsshell''
Línea 2275: Línea 2270:
   * ''getargs''   * ''getargs''
  
-**Which of the following statements is true regarding systemd timer units?**+**251. Which of the following statements is true regarding systemd timer units?**
  
   * A dedicated system service, systemd-cron, handles the execution of timer units.   * A dedicated system service, systemd-cron, handles the execution of timer units.
Línea 2287: Línea 2282:
 </WRAP> </WRAP>
  
-**Which of the following comparison operators for test work on elements in the file system? (Choose two.)**+**252. Which of the following comparison operators for test work on elements in the file system? (Choose two.)**
  
   * ''–lt''   * ''–lt''
Línea 2295: Línea 2290:
   * ''–eq''   * ''–eq''
  
-**Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontab files? (Choose two.)**+**253. Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontab files? (Choose two.)**
  
   * Username   * Username
Línea 2307: Línea 2302:
 </WRAP> </WRAP>
  
-**Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to Portuguese (pt)?**+**254. Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to Portuguese (pt)?**
  
   * export UI_MESSAGES=“pt”   * export UI_MESSAGES=“pt”
Línea 2315: Línea 2310:
   * export LC_MESSAGES=“pt” (**Solución**) ¿?¿?¿?¿?¿?   * export LC_MESSAGES=“pt” (**Solución**) ¿?¿?¿?¿?¿?
  
-**Which of the following steps prevents a user from obtaining an interactive login session?**+**255. Which of the following steps prevents a user from obtaining an interactive login session?**
  
   * Removing the user from the group staff.   * Removing the user from the group staff.
Línea 2327: Línea 2322:
 </WRAP> </WRAP>
  
-**Which of the following statements about systemd-journald are true? (Choose three.)**+**256. Which of the following statements about systemd-journald are true? (Choose three.)**
  
   * It is incompatible with syslog and cannot be installed on a system using regular syslog.   * It is incompatible with syslog and cannot be installed on a system using regular syslog.
Línea 2335: Línea 2330:
   * It maintains metadata such as _UID or _PID for each message. (**Solución**)   * It maintains metadata such as _UID or _PID for each message. (**Solución**)
  
-**What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)**+**257. What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)**
  
   * ''/etc/cups''   * ''/etc/cups''
  
  
-**Which option in the ''/etc/ntp.conf'' file specifies an external NTP source to be queried for time information? (Specify only the option without any values or parameters.)**+**258. Which option in the ''/etc/ntp.conf'' file specifies an external NTP source to be queried for time information? (Specify only the option without any values or parameters.)**
  
   * server   * server
  
-**Which command included in systemd supports selecting messages from the systemd journal by criteria such as time or unit name? (Specify only the command without any path or parameters.)**+**259. Which command included in systemd supports selecting messages from the systemd journal by criteria such as time or unit name? (Specify only the command without any path or parameters.)**
  
   * ''journalctl''   * ''journalctl''
  
-**Which command must be run after adding a new email alias to the configuration in order to make this change effective? (Specify the command without any path but including all required parameters.)**+**260. Which command must be run after adding a new email alias to the configuration in order to make this change effective? (Specify the command without any path but including all required parameters.)**
  
   * ''newaliases''   * ''newaliases''
Línea 2356: Línea 2351:
 </WRAP> </WRAP>
  
-**Given the following excerpt of the sudo configuration:**+**261. Given the following excerpt of the sudo configuration:**
 <code> <code>
 jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk
Línea 2368: Línea 2363:
   * Jane can run /bin/id without specifying her password. (**Solución**)   * Jane can run /bin/id without specifying her password. (**Solución**)
  
-**Depending on a system’s configuration, which of the following files can be used to enable and disable network services running on this host?**+**262. Depending on a system’s configuration, which of the following files can be used to enable and disable network services running on this host?**
  
   * ''/etc/host.conf''   * ''/etc/host.conf''
Línea 2380: Línea 2375:
 </WRAP> </WRAP>
  
-**Which of the following commands can identify the PID of a process which opened a TCP port?**+**263. Which of the following commands can identify the PID of a process which opened a TCP port?**
  
   * ''lsof'' (**Solución**)   * ''lsof'' (**Solución**)
Línea 2388: Línea 2383:
   * ''debug''   * ''debug''
  
-**On a machine running several X servers, how do programs identify the different instances of the X11 server?**+**264. On a machine running several X servers, how do programs identify the different instances of the X11 server?**
  
   * By the name of the user that runs the X server like x11:bob.   * By the name of the user that runs the X server like x11:bob.
Línea 2396: Línea 2391:
   * By a unique IPv6 address from the fe80::/64 subnet.   * By a unique IPv6 address from the fe80::/64 subnet.
  
-**Which command makes the shell variable named VARIABLE visible to subshells?**+**265. Which command makes the shell variable named VARIABLE visible to subshells?**
  
   * ''set VARIABLE''   * ''set VARIABLE''
Línea 2404: Línea 2399:
   * ''export VARIABLE'' (**Solución**)   * ''export VARIABLE'' (**Solución**)
  
-**Which of the following features are provided by SPICE? (Choose two.)**+**266. Which of the following features are provided by SPICE? (Choose two.)**
  
   * Uploading and running a binary program on a remote machine.    * Uploading and running a binary program on a remote machine. 
Línea 2416: Línea 2411:
 </WRAP> </WRAP>
  
-**What output is produced by the following command sequence?**+**267. What output is produced by the following command sequence?**
 <code> <code>
 echo ‘1 2 3 4 5 6’ | while read a b c; do echo ‘1 2 3 4 5 6’ | while read a b c; do
Línea 2429: Línea 2424:
   * result: 3 4 5 6 2 1 (**Solución**)   * result: 3 4 5 6 2 1 (**Solución**)
  
-**Which of the following configuration files should be modified to globally set shell variables for all users?**+**268. Which of the following configuration files should be modified to globally set shell variables for all users?**
  
   * ''/etc/bashrc''   * ''/etc/bashrc''
Línea 2437: Línea 2432:
   * ''~/.bash_profile''   * ''~/.bash_profile''
  
-**What output does the command seq 10 produce?**+**269. What output does the command seq 10 produce?**
  
   * It creates no output because a second parameter is missing.   * It creates no output because a second parameter is missing.
Línea 2445: Línea 2440:
   * The number 0 through 9 with one number per line.   * The number 0 through 9 with one number per line.
  
-**What is the purpose of TCP wrapper?**+**270. What is the purpose of TCP wrapper?**
  
   * Bind a network service to a TCP port.   * Bind a network service to a TCP port.
Línea 2453: Línea 2448:
   * Encapsulate TCP messages in IP packets.   * Encapsulate TCP messages in IP packets.
  
-**When using X11 forwarding in SSH, what environment variable is automatically set in the remote shell in +**271. When using X11 forwarding in SSH, what environment variable is automatically set in the remote shell in order to help applications to connect to the correct X11 server? (Specify only the environment variable without any additional commands or values.)**
-order to help applications to connect to the correct X11 server? (Specify only the environment variable without any additional commands or values.)**+
  
   * ''DISPLAY''   * ''DISPLAY''
  
-**The presence of what file will temporarily prevent all users except root from logging into a system? (Specify the full name of the file, including path.)**+**272. The presence of what file will temporarily prevent all users except root from logging into a system? (Specify the full name of the file, including path.)**
  
   * ''/etc/nologin''   * ''/etc/nologin''
Línea 2466: Línea 2460:
 </WRAP> </WRAP>
  
-**Where is the systemd journal stored?**+**273. Where is the systemd journal stored?**
  
   * ''/proc/log/'' and ''/proc/klog/''   * ''/proc/log/'' and ''/proc/klog/''
Línea 2474: Línea 2468:
   * ''/var/log/syslog.bin'' or ''/var/log/syslog.jrn''   * ''/var/log/syslog.bin'' or ''/var/log/syslog.jrn''
  
-**Which of the following options in the chrony configuration file define remote time sources? (Choose two.)**+**274. Which of the following options in the chrony configuration file define remote time sources? (Choose two.)**
  
   * clock   * clock
Línea 2482: Línea 2476:
   * pool (**Solución**)   * pool (**Solución**)
  
-**If an alias ls exists, which of the following commands updates the alias to point to the command ls -l instead of the alias’s current target?**+**275. If an alias ls exists, which of the following commands updates the alias to point to the command ls -l instead of the alias’s current target?**
  
   * ''realias ls=’ls -l’''   * ''realias ls=’ls -l’''
Línea 2490: Línea 2484:
   * ''alias ls=’ls -l’''  (**Solución**)   * ''alias ls=’ls -l’''  (**Solución**)
  
-**Which of the following commands puts the output of the command date into the shell variable ''mydate''?**+**276. Which of the following commands puts the output of the command date into the shell variable ''mydate''?**
  
   * ''mydate=%%"%%$(%%(%%date%%)%%)%%"%%''   * ''mydate=%%"%%$(%%(%%date%%)%%)%%"%%''
Línea 2498: Línea 2492:
   * ''mydate=%%"%%${date}%%"%%''   * ''mydate=%%"%%${date}%%"%%''
  
-**Which of the following files is not read directly by a Bash login shell?**+**277. Which of the following files is not read directly by a Bash login shell?**
  
   * ''~/.profile''    * ''~/.profile'' 
Línea 2510: Línea 2504:
 </WRAP> </WRAP>
  
-**What is true about the file ''.profile'' in a user’s home directory?**+**278. What is true about the file ''.profile'' in a user’s home directory?**
  
   * It must use a valid shell script syntax.    * It must use a valid shell script syntax. 
Línea 2522: Línea 2516:
 </WRAP> </WRAP>
  
-**What is true regarding the statement beginning with #! that is found in the first line of script? (Choose two.)**+**279. What is true regarding the statement beginning with #! that is found in the first line of script? (Choose two.)**
  
   * It is a comment that is ignored by the script interpreter.    * It is a comment that is ignored by the script interpreter. 
Línea 2534: Línea 2528:
 </WRAP> </WRAP>
  
-**What is true regarding the file ~/.forward?**+**280. What is true regarding the file ~/.forward?**
  
   * As ~/.forward is owned by the MTA and not writable by the user, it must be edited using the editaliases command.   * As ~/.forward is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
Línea 2546: Línea 2540:
 </WRAP> </WRAP>
  
-**Which of the following commands display a list of jobs in the print queue? (Choose two.)**+**281. Which of the following commands display a list of jobs in the print queue? (Choose two.)**
  
   * ''lpq'' (**Solución**)   * ''lpq'' (**Solución**)
Línea 2554: Línea 2548:
   * ''lpstat'' (**Solución**)   * ''lpstat'' (**Solución**)
  
-**On a system using systemd-journald, which of the following commands add the message Howdy to the system log?**+**282. On a system using systemd-journald, which of the following commands add the message Howdy to the system log?**
  
   * ''echo Howdy > /dev/journal''   * ''echo Howdy > /dev/journal''
Línea 2562: Línea 2556:
   * ''systemd-cat echo Howdy'' (**Solución**)   * ''systemd-cat echo Howdy'' (**Solución**)
  
-**Which command is used to sync the hardware clock to the system clock? (Specify only the command without any path or parameters.)**+**283. Which command is used to sync the hardware clock to the system clock? (Specify only the command without any path or parameters.)**
  
   * ''hwclock''   * ''hwclock''
  
-**Which file is processed by newaliases? (Specify the full name of the file, including path.)**+**284. Which file is processed by newaliases? (Specify the full name of the file, including path.)**
  
   * ''/etc/aliases''   * ''/etc/aliases''
Línea 2574: Línea 2568:
 </WRAP> </WRAP>
  
-**What information related to a user account is modified using the chage command?**+**285. What information related to a user account is modified using the chage command?**
  
   * Group membership   * Group membership
Línea 2582: Línea 2576:
   * Set of commands available to the user   * Set of commands available to the user
  
-**Which of the following is true about IPv6?**+**286. Which of the following is true about IPv6?**
  
   * IPv6 no longer supports multicast addresses.   * IPv6 no longer supports multicast addresses.
Línea 2594: Línea 2588:
 </WRAP> </WRAP>
  
-**What is true about the following command?**+**287. What is true about the following command?**
 <code> <code>
 nmcli device wifi connect WIFIoI nmcli device wifi connect WIFIoI
Línea 2605: Línea 2599:
   * NetworkManager opens a new public hotspot with the SSID WIFIoI.   * NetworkManager opens a new public hotspot with the SSID WIFIoI.
  
-**Which of the commands below might have produced the following output?**+**288. Which of the commands below might have produced the following output?**
 <code> <code>
 ;; global options: +cmd ;; global options: +cmd
Línea 2632: Línea 2626:
   * ''dig -t a www.example.org''   * ''dig -t a www.example.org''
  
-**Which of the following states can NetworkManager show regarding the system’s network connectivity?(Choose two.)**+**289. Which of the following states can NetworkManager show regarding the system’s network connectivity?(Choose two.)**
  
   * full (**Solución**)   * full (**Solución**)
Línea 2640: Línea 2634:
   * firewalled   * firewalled
  
-**Which of the following are valid host addresses for the subnet 203.0.113.64/28? (Choose two.)**+**290. Which of the following are valid host addresses for the subnet 203.0.113.64/28? (Choose two.)**
  
   * 203.0.113.65 (**Solución**)   * 203.0.113.65 (**Solución**)
Línea 2648: Línea 2642:
   * 203.0.113.80   * 203.0.113.80
  
-**How does the ping command work by default?**  +**219. How does the ping command work by default?**  
  
   * It sends a UDP packet to port 0 of the remote host and waits to receive a UDP error response in return.   * It sends a UDP packet to port 0 of the remote host and waits to receive a UDP error response in return.
Línea 2656: Línea 2650:
   * Is sends an ICMP Echo Request to a remote host and waits to receive an ICMP Echo Response in return. (**Solución**)   * Is sends an ICMP Echo Request to a remote host and waits to receive an ICMP Echo Response in return. (**Solución**)
  
-**Which of the following commands display the number of bytes transmitted and received via the eth0 network interface? (Choose two.)**+**292. Which of the following commands display the number of bytes transmitted and received via the eth0 network interface? (Choose two.)**
  
   * ''ip stats show dev eth0''   * ''ip stats show dev eth0''
Línea 2668: Línea 2662:
 </WRAP> </WRAP>
  
-**How do shadow passwords improve the password security in comparison to standard no-shadow password?**+**293. How do shadow passwords improve the password security in comparison to standard no-shadow password?**
  
   * The system’s host key is used to encrypt all shadow passwords.   * The system’s host key is used to encrypt all shadow passwords.
Línea 2676: Línea 2670:
   * Shadow passwords are always combined with a public key that has to match the user’s private key.   * Shadow passwords are always combined with a public key that has to match the user’s private key.
  
-**After editing the TCP wrapper configuration to grant specific hosts access to a service, when do these changes become effective?**+**294. After editing the TCP wrapper configuration to grant specific hosts access to a service, when do these changes become effective?**
  
   * The new configuration becomes effective after restarting the tcpd service.   * The new configuration becomes effective after restarting the tcpd service.
Línea 2684: Línea 2678:
   * The new configuration becomes effective when the last established connection to the service is closed.   * The new configuration becomes effective when the last established connection to the service is closed.
  
-**What is true regarding public and private SSH keys? (Choose two.)**+**295. What is true regarding public and private SSH keys? (Choose two.)**
  
   * To maintain the private key’s confidentiality, the SSH key pair must be created by its owner. (**Solución**)   * To maintain the private key’s confidentiality, the SSH key pair must be created by its owner. (**Solución**)
Línea 2692: Línea 2686:
   * To allow remote logins, the user’s private key must be copied to the remote server.   * To allow remote logins, the user’s private key must be copied to the remote server.
  
-**Which mechanism does ssh use to interact with the SSH agent?**+**296. Which mechanism does ssh use to interact with the SSH agent?**
  
   * Starting ssh-agent as a child process for each ssh invocation.    * Starting ssh-agent as a child process for each ssh invocation. 
Línea 2704: Línea 2698:
 </WRAP> </WRAP>
  
-**Which of the following commands finds all files owned by root that have the SetUID bit set?**+**297. Which of the following commands finds all files owned by root that have the SetUID bit set?**
  
   * ''find / -user root -perm -4000'' (**Solución**)   * ''find / -user root -perm -4000'' (**Solución**)
Línea 2712: Línea 2706:
   * ''find / -owner 0 -permbits 0x100000000''   * ''find / -owner 0 -permbits 0x100000000''
  
-**Which parameter of the ssh command specifies the location of the private key used for login attempts?(Specify only the option name without any values or parameters.)**+**298. Which parameter of the ssh command specifies the location of the private key used for login attempts?(Specify only the option name without any values or parameters.)**
  
   * ''-i''   * ''-i''
  
-**Which parameter is missing in the command ''ip link set XXXXXXXXXX dev eth0'' to activate the previously inactive network interface eth0? (Specify the parameter only without any command, path or additional options.)**+**299. Which parameter is missing in the command ''ip link set XXXXXXXXXX dev eth0'' to activate the previously inactive network interface eth0? (Specify the parameter only without any command, path or additional options.)**
  
   * ''up''   * ''up''
  
-**What command is used to add OpenSSH private keys to a running ssh-agent instance? (Specify the command name only without any path.)**+**300. What command is used to add OpenSSH private keys to a running ssh-agent instance? (Specify the command name only without any path.)**
  
   * ''ssh-add''   * ''ssh-add''
  
-**Which directory holds configuration files for xinetd services? (Specify the full path to the directory.)**+**301. Which directory holds configuration files for xinetd services? (Specify the full path to the directory.)**
  
   * ''/etc/xinetd.d/''   * ''/etc/xinetd.d/''
  
-**Which of the following sections exists in a systemd timer unit?**+**302. Which of the following sections exists in a systemd timer unit?**
  
   * [cron]   * [cron]
Línea 2736: Línea 2730:
   * [Timer] (**Solución**)   * [Timer] (**Solución**)
  
-**Which of the following getent invocations lists all existing users?**+**303. Which of the following getent invocations lists all existing users?**
  
   * ''getent passwd'' (**Solución**)   * ''getent passwd'' (**Solución**)
Línea 2748: Línea 2742:
 </WRAP> </WRAP>
  
-**Given the following user’s crontab entry:**+**304. Given the following user’s crontab entry:**
 <code> <code>
 15 14 * * 1-5 /usr/local/bin/example.sh 15 14 * * 1-5 /usr/local/bin/example.sh
Línea 2760: Línea 2754:
   * At 14:15 local time, February till June.   * At 14:15 local time, February till June.
  
-**If neither ''cron.allow'' nor ''cron.deny'' exist in ''/etc'', which of the following is true?**+**305. If neither ''cron.allow'' nor ''cron.deny'' exist in ''/etc'', which of the following is true?**
  
   * When a user creates a user specific crontab the system administrator must approve it explicitly.   * When a user creates a user specific crontab the system administrator must approve it explicitly.
Línea 2772: Línea 2766:
 </WRAP> </WRAP>
  
-**Which character in the password field of ''/etc/passwd'' is used to indicate that the encrypted password is stored in /etc/shadow?**+**306. Which character in the password field of ''/etc/passwd'' is used to indicate that the encrypted password is stored in /etc/shadow?**
  
   * s   * s
Línea 2780: Línea 2774:
   * #   * #
  
-**Which of the following protocols is designed to access the video card output of a virtual machine?**+**307. Which of the following protocols is designed to access the video card output of a virtual machine?**
  
   * XDMCP   * XDMCP
Línea 2792: Línea 2786:
 </WRAP> </WRAP>
  
-**What is true about NetworkManager on a Linux system that uses its distribution’s mechanisms to configure network interfaces? (Choose two.)**+**308. What is true about NetworkManager on a Linux system that uses its distribution’s mechanisms to configure network interfaces? (Choose two.)**
  
   * NetworkManager reconfigures all network interfaces to use DHCP unless they are specifically managed by  NetworkManager.   * NetworkManager reconfigures all network interfaces to use DHCP unless they are specifically managed by  NetworkManager.
Línea 2804: Línea 2798:
 </WRAP> </WRAP>
  
-**Which standardized TCP port is used by HTTPS services?**+**309. Which standardized TCP port is used by HTTPS services?**
  
   * 80   * 80
Línea 2812: Línea 2806:
   * 8080   * 8080
  
-**Which of the following environment variables can be defined in locale.conf? (Choose two.)**+**310. Which of the following environment variables can be defined in locale.conf? (Choose two.)**
  
   * LC_GEOGRAPHY   * LC_GEOGRAPHY
Línea 2820: Línea 2814:
   * LC_UTF8   * LC_UTF8
  
-**Which of the following commands sets the system’s time zone to the Canadian Eastern Time?**+**311. Which of the following commands sets the system’s time zone to the Canadian Eastern Time?**
  
   * ''sysctl -w clock.tz=’Canada/Eastern’''   * ''sysctl -w clock.tz=’Canada/Eastern’''
Línea 2828: Línea 2822:
   * ''modprobe tz_ca_est''   * ''modprobe tz_ca_est''
  
-**Which file contains the data of the last change of a user’s password?**+**312. Which file contains the data of the last change of a user’s password?**
  
   * ''/etc/passwd''   * ''/etc/passwd''
Línea 2836: Línea 2830:
   * ''/etc/pwdlog''   * ''/etc/pwdlog''
  
-**What option to useradd creates a new user’s home directory and provisions it with a set of standard files?**+**313. What option to useradd creates a new user’s home directory and provisions it with a set of standard files?**
  
   * ''-m''   * ''-m''
informatica/certificaciones/lpic/lpic-1/tests_examen.1652894684.txt.gz · Última modificación: por tempwin