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:49] tempwininformatica:certificaciones:lpic:lpic-1:tests_examen [2022/05/18 20:07] (actual) tempwin
Línea 1261: 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 1269: 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 1281: 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 1294: 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 1306: 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 1318: 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 1330: 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 1338: 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 1351: 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 1361: 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 1373: 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 1381: 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 1389: 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 1397: 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 1410: 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 1418: 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 1426: 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 1434: 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 1442: 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 1450: 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 1458: 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 1470: Línea 1467:
 </WRAP> </WRAP>
  
-**Given the following input stream:**+**162. Given the following input stream:**
 <code> <code>
 txt1.txt txt1.txt
Línea 1489: 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 1497: 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 1505: 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 1513: 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 1521: 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 1540: 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 1551: 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 1558: 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 1569: 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 1580: 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 1588: 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 1599: 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 1616: 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 1627: 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 1638: 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 1646: 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 1653: 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 1664: 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 1672: 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 1683: 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 1695: 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 1703: 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 1711: 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 1719: 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 1727: 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 1735: 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 1743: 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 1750: 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 1762: 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 1774: 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 1785: 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 1797: 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 1805: 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 1816: 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 1828: 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 1836: 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 1844: 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 1856: 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 1864: 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 1871: 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 1879: 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 1887: 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 1904: 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 1912: 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 1919: 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 1927: 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 1935: 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 1943: 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 1951: 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 1959: 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 1966: 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 1978: 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 1986: 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 1997: 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 2005: 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 2013: 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 2025: 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 2033: 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 2040: 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 2048: 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 2060: 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 2068: 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 2076: 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 2084: 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 2096: 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 2104: 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 2116: 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 2124: 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 2133: 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 2145: 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 2157: 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 2169: 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 2190: 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 2198: 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 2206: 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 2218: 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 2226: 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 2254: 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 2266: 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 2274: 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 2286: 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 2294: 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 2306: 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 2314: 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 2326: 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 2334: 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 2355: 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 2367: 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 2379: 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 2387: 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 2395: 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 2403: 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 2415: 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 2428: 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 2436: 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 2444: 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 2452: 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 2465: 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 2473: 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 2481: 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 2489: 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 2497: 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 2509: 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 2521: 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 2533: 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 2545: 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 2553: 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 2561: 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 2573: 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 2581: 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 2593: 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 2604: 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 2631: 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 2639: 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 2647: 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 2655: 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 2667: 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 2675: 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 2683: 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 2691: 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 2703: 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 2711: 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 2735: 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 2747: 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 2759: 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 2771: 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 2779: 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 2791: 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 2803: 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 2811: 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 2819: 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 2827: 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 2835: 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.1652896157.txt.gz · Última modificación: por tempwin