option
Cuestiones
ayuda
daypo
buscar.php

[LPIC-102-500] Final Exam

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

Descripción:
Test para la certificación LPIC-102 v5

Fecha de Creación: 2021/08/19

Categoría: Informática

Número Preguntas: 60

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

How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?. unset -v FOOBAR;./myscript. set -a FOOBAR="";./myscript. env -u FOOBAR./myscript. env -i FOOBAR./myscript.

What output will the following command produce? seq 1 5 20. 1 6 11 16. 1 5 10 15. 1 2 3 4. 2 3 4 5. 5 10 15 20.

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 current shell. It is the exit value of the command executed immediately before echo. It is the exit value of the echo command.

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 current shell. It is the process ID of the last command executed. It is the process ID of the last command which has been placed in the background.

Which of the following commands lists all defined variables and functions within Bash?. env. set. echo $ENV. env -a.

Which of the following les, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers). ~/.bashconf. ~/.bashrc. ~/.bashdefaults. ~/.bash_etc. ~/.bash_pro.

What output is produced by the following command sequence? echo ‘1 2 3 4 5 6’ | while read a b c; do echo result $c $b $a; done. 6 5 4. 1 2 3 4 5 6. 3 4 5 6 2 1. 6 5 4 3 2 1.

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).

What command displays all aliases defined in the current shell? (Specify the command without any path information).

Which option in the /etc/ntp.conf file species an external NTP source to be queried for time information? (Specify only the option without any values or parameters).

For accessibility assistance, which of the following programs is an on-screen keyboard?. xkb. atkb. GOK. xOSK.

How is a display manager started?. It is started by a user using the command startx. It is started like any other system service by the init system. It is started by inetd when a remote hosts connects to the X11 port. It is started automatically when a X11 user logs in to the system console.

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 after an initial unindented Section "SectionName" and must be indented by exactly one tab character. It is placed between a line containing Section "SectionName" and a line containing EndSection. It is placed after the row [SectionName]. It is placed in curly brackets as in Section SectionName { ... }. It is placed between the tags <Section name="SectionName"> and </Section>.

What is the purpose of a screen reader?. It reads text displayed on the screen to blind or visually impaired people. It reads the parameters of the attached monitors and creates an appropriate X11 configuration. It displays lines and markers to help people use speed reading techniques. It manages and displays files that contain e-books.

Which file used by XDM specifies the default wallpaper?. /etc/X11/xdm/Xsetup. /etc/X11/xdm.conf. /etc/X11/xdm/Defaults. /etc/X11/defaults.conf.

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. Configure additional devices like new monitors or projectors when they are attached. Handle the login of a user. Lock the screen when the user was inactive for a configurable amount of time. 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?. xcd. xcdepth. xwininfo. cat /etc/X11.

What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path).

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).

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).

What is the purpose of the iconv command?. It converts bitmap images from one format to another such as PNG to JPEG. It veries that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS). It displays additional meta information from icon files ending in .ico. It changes the mode of an inode in the ext4 file system. It converts files from one character encoding to another.

What is true about the file /etc/localtime?. It is a plain text file containing a string such as Europe/Berlin. It is created and maintained by the NTP service based on the geolocation of the system's IP address. It is a symlink to /sys/device/clock/ltime and always contains the current local time. It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.

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. The user bob's home directory is removed. The locate database is updated to drop. All files owned by bob are remove from all mounted filesystems. 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). usermod. passwd. chattr. chage. chsh.

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. The home directory of the group. The name of the group. The description of the group. The password of the group.

Each entry in a crontab must end with what character?. Tab. Space. Backslash. Newline.

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 [deny] section in the /etc/atd.conf file. Add the specific user to /etc/at.deny file. Add the specific user to nojobs group. Run the following: atd --deny [user].

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. /var/log/messages | /dev/tty12. | /dev/tty12. syslog tty12. mail.* /dev/tty12.

What is NOT contained in the locale setting of the operating system?. currency symbol. language. timezone. thousands separator.

What is the purpose of the command mailq?. It fetches new emails from a remote server using POP3 or IMAP. It is a multi-user mailing list manager. It is a proprietary tool contained only in the qmail MTA. It queries the mail queue of the local MTA. It is a command-line based tool for reading and writing emails.

What is true about the ntpdate command?. It is the primary management command for the NTP time server. It updates the local system's date (i.e. day, month and year) but not the time (i.e. hours, minutes, seconds). It queries one or more NTP time servers and adjusts the system time accordingly. It sends the local system time to one or many remote NTP time servers for redistribution. It can be used by any user to set the user clock independently of the system clock.

What is true regarding the command sendmail?. With any MTA, the sendmail command must be run periodicallyby the cron daemon. All MTAs, including Postfix and Exim, provide a sendmail command. The sendmail command prints the MTAs queue history of which mails have been sent successfully. It is only available when the sendmail MTA is installed.

Which file inside the CUPS configuration directory contains the denition of the printers?. cups-devices.conf. snmp.conf. printcap.conf. printers.conf. cupsd.conf.

Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers). Postfix. Procmail. Sendmail. Exim. SMTPd.

Which of the following are syslog facilities? (Choose TWO correct answers). local7. mail. advanced. postmaster. 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)?. export LANGUAGE="pt". export MESSAGE="pt". export UI_MESSAGES="pt". export LC_MESSAGES="pt". export ALL_MESSAGES="pt".

Which of the following files assigns a user to its primary group?. /etc/pgroup. /etc/shadow. /etc/group. /etc/passwd. /etc/gshadow.

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 reference clock. Changes in the time zone of the current computer's location. 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). --from=. --since=. --until=. --upto=. --date=.

Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers). Synchronize the hardware and system clocks. Output date and time in different formats. Set the system clock. Set the hardware clock. Update the time via NTP.

Given the following routing table: How would an outgoing packet to the destination 192.168.2.150 be handled?. It would be passed to the default router 192.168.178.1 on wlan0. It would be directly transmitted on the device eth0. It would be passed to the default router 255.255.255.0 on eth0. It would be directly transmitted on the device wlan0. It would be passed to the router 192.168.1.1 on eth0.

What is the command to delete the default gateway from the system IP routingtable? (Choose TWO correct answers). route del default. ifconfig unset default. netstat -r default. ip route del default. sysctl ipv4.default_gw=0.

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. When a default route is set, all other routes are disabled until the default route is deleted. The default route is only used if there is not a more specific route to a destination host or network. Without a default route, no network communication even in directly attached networks is possible.

What is the purpose of TCP wrapper?. Add SSL support to plain text TCP services. Limit access to a network service. Manage and adjust bandwidth used by TCP services. Bind a network service to a TCP port. Encapsulate TCP messages in IP packets.

What of the following can be done by the command ifconfig? (Choose TWO correct answers). Set a network interface active or inactive. Specify the kernel module to be used with a network interface. Allow regular users to change the network configuration of a network interface. Change the netmask used 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). 127.0.0.0/8. 10.0.0.0/8. 169.255.0.0/16. 172.16.0.0/12. 192.168.0.0/16.

Which of the following is a valid IPv6 address?. 2001:db8:3241::1. 2001::db8:4581::1. 2001:db8:0g41::1. 2001%db8%9990%%1. 2001.db8.819f..1.

Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers). substitute. nameserver. search. lookup. method.

Which of the following programs can be used to determine the routing path to agiven destination?. dig. netstat. ping. route. traceroute.

Which of the following statements is valid in the file /etc/nsswitch.conf?. multi on. 192.168.168.4 dns-server. hosts: files dns. include /etc/nsswitch.d/.

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 provides the server's identity information to connecting SSH clients. It is the root key by which all user SSH keys must be signed. It authenticates any user that logs into a remote machine from the key's host. It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.

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. lsof. nessus. strace. traceroute.

Which command is used to set restrictions on the size of a core file that iscreated for a user when a program crashes?. core. edquota. ulimit. quota.

Which configuration file would be edited to change default options for the OpenSSH server?. /etc/ssh/sshd_config. /etc/ssh/ssh. /etc/ssh/server. /etc/ssh/ssh_con. /etc/ssh/ssh_server.

Which conguration le would be edited to change the default options for outbound SSH sessions?. /etc/ssh/sshd_config. /etc/ssh/ssh. /etc/ssh/client. /etc/ssh/ssh_config. /etc/ssh/ssh_client.

Which of the following commands can be used to limit the amount of memory auser may use?. umask. usermod. ulimit. passwd. chage.

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 -p 2222 example.com. ssh -o Port=2222 example.com. ssh -o GatewayPort=2222 example.com. 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?. sshd. ssh-agent. ssh-keygen. 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?. find /usr -uid 0 -perm -4000. find -user root +mode +s /usr. find -type suid -username root -d /usr. find /usr -ls \*s\* -u root. 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).

Denunciar Test