option
Cuestiones
ayuda
daypo
buscar.php

LPI 010-160

COMENTARIOS ESTADÍSTICAS RÉCORDS
REALIZAR TEST
Título del Test:
LPI 010-160

Descripción:
Linux LPI

Fecha de Creación: 2023/08/11

Categoría: Otros

Número Preguntas: 40

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

Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?. zip *.txt > poems.zip. zcat *.txt poems.zip. zip poems.zip *.txt. zip cfz poems.zip *.txt. cat *.txt | zip poems.zip.

What is the preferred source for the installation of new applications in a Linux based operating system?. The vendor's version management system. A CD-ROM disk. The distribution's package repository. The vendor's website. A retail store.

What are the differences between a private web browser window and a regular web browser window? (Choose three.). Private web browser windows do not allow printing or storing websites. Private web browser windows do not store cookies persistently. Private web browser windows do not support logins into websites. Private web browser windows do not keep records in the browser history. Private web browser windows do not send regular stored cookies.

How is a new Linux computing instance provisioned in an laaS cloud?. The standard Linux installer has to be run through a remote console. After buying a Linux distribution, its vendor delivers it to a cloud instance. The installation has to be prepared in a local virtual machine which is then copied to the cloud. The cloud hosting organization provides a set of pre-prepared images of popular Linux distributions. A provider-specific configuration file describing the desired installation is uploaded to the cloud provider.

Which of the following statements is true about Free Software?. It is developed by volunteers only. It may be modified by anyone using it. It must always be available free of charge. It only runs on Linux. It is only distributed as a compiled binary.

Which of the following Linux Distributions is derived from Red Hat Enterprise Linux?. Raspbian. openSUSE. Debian. Ubuntu. CentOS.

Which of the following programs are web servers? (Choose two.). Apache HTTPD. Postfix. Curl. Dovecot. NGINX.

Which one of the following statements concerning Linux passwords is true?. All passwords can be decrypted using the system administrator's master password. Passwords may never start with a non-letter. Users cannot change their password once it has been set. Passwords are only stored in hashed form. Passwords may be at most six characters long.

Which of the following commands finds all lines in the file operating-systems.txt which contain the term linux, regardless of the case?. grep linux operating-systems.txt. less -i linux operating-systems.txt. grep -i linux operating-systems.txt. cut linux operating-systems.txt. cut [Ll] [Ii] [Nn] [Uu] [Xx] operating-systems.txt.

Which of the following commands extracts the contents of the compressed archive file1.tar.gz?. tar -czf file1.tar.gz. ztar file1.tar.gz. tar -xzf file1.tar.gz. tar --extract file1.tar.gz. detar file1.tar.gz.

Which of the following statements are true regarding a typical shell script? (Choose two.). It has the executable permission bit set. It starts with the two character sequence #!. It is located in /usr/local/scripts/. It is located in /etc/bash/scripts/. It is compiled into a binary file compatible with the current machine architecture.

What is the return value of a shell script after successful execution?. 1. 0. -1. -255. 255.

The file script.sh in the current directory contains the following content: #!/bin/bash echo $MYVAR The following commands are used to execute this script: MYVAR=value ./script.sh The result is an empty line instead of the content of the variable MYVAR. How should MYVAR be set in order to make script.sh display the content of MYVAR?. !MYVAR=value. env MYVAR=value. MYVAR=value. $MYVAR=value. export MYVAR=value.

Which operator in a regular expression matches the preceding character either zero or one time?. ?. *. +. %. $.

Which of the following examples shows the general structure of a for loop in a shell script?. for *.txt as file => echo $file. for *.txt ( echo $i ). for file in *.txt do echo $i done. for ls *.txt exec {} \;. foreach @{file} { echo $i }.

Which of the following commands puts the lines of the file data.csv into alphabetical order?. a..z data.csv. sort data.csv. abc data.csv. wc -s data.csv. grep --sort data.csv.

Which command copies the contents of the directory /etc/, including all sub-directories, to /root/?. copy /etc /root. cp -r /etc/* /root. cp -v /etc/* /root. rcp /etc/* /root. cp -R /etc/*.* /root.

What command displays manual pages? (Specify ONLY the command without any path or parameters.). man. dfgfhgfjfgtrjfrj.

Which of the following commands sets the variable USERNAME to the value bob?. set USERNAME bob. $USERNAME==bob. var USERNAME=bob. USERNAME<=bob. USERNAME=bob.

What is the purpose of the PATH environment variable?. It allows the execution of commands without the need to know the location of the executable. It increases security by preventing commands from running in certain locations. It specifies the location of a user's home directory. It indicates the location of the default shell to be used when a user logs in. It contains the absolute path to the current directory.

Which command displays file names only and no additional information?. ls -a. ls -lh. ls -l. ls -alh. ls -nl.

Which of the following commands output the content of the file Texts 2.txt? (Choose two.). cat 'Texts 2.txt'. cat -- Texts 2.txt. cat |Texts 2.txt|. cat 'Texts\ 2.txt'. cat Texts\ 2.txt.

Which of the following commands shows the absolute path to the current working directory?. who. cd .. pwd. ls -l. cd ~/home.

Most commands on Linux can display information on their usage. How can this information typically be displayed?. By running the command with the option /? or /??. By running the command with the option ?! or ?=!. By running the command with the option /doc or /documentation. By running the command with the option -h or --help. By running the command with the option -m or --manpage.

What parameter of ls prints a recursive listing of a directory's content? (Specify ONLY the option name without any values or parameters.). lsR. dfgngdfhdghdghdhhh.

What is true about the su command?. It is the default shell of the root account. It can only be used by the user root. It runs a shell or command as another user. It changes the name of the main administrator account. It locks the root account in specific time frames.

Which of the following tasks can the command passwd accomplish? (Choose two.). Change a user's username. Change a user's password. Create a new user account. Create a new user group. Lock a user account.

Which files are the source of the information in the following output? (Choose two.) uid=1000 (bob) gid=1000 (bob) groups=1000 (bob), 10 (wheel), 150 (docker), 1001 (libvirt) (wireshark), 989. /etc/id. /etc/passwd. /etc/group. /home/index. /var/db/users.

What is true about links in a Linux file system?. A symbolic link can only point to a file and not to a directory. A hard link can only point to a directory and never to a file. When the target of the symbolic link is moved, the link is automatically updated. A symbolic link can point to a file on another file system. Only the root user can create hard links.

Which statements about the directory /etc/skel are correct? (Choose two.). The personal user settings of root are stored in this directory. The files from the directory are copied to the home directory of the new user when starting the system. The files from the directory are copied to the home directory of a new user when the account is created. The directory contains a default set of configuration files used by the useradd command. The directory contains the global settings for the Linux system.

What happens to a file residing outside the home directory when the file owner's account is deleted? (Choose two.). During a file system check, the file is moved to /lost +found. The file is removed from the file system. The UID of the former owner is shown when listing the file's details. The user root is set as the new owner of the file. Ownership and permissions of the file remain unchanged.

The ownership of the file doku.odt should be changed. The new owner is named tux. Which command accomplishes this change?. chmod u=tux doku.odt. newuser doku.odt tux. chown tux doku.odt. transfer tux: doku.odt. passwd doku.odt:tux.

Which of the following directories must be mounted with read and write access if it resides on its own dedicated file system?. /opt. /lib. /etc. /var. /usr.

A new server needs to be installed to host services for a period of several years. Throughout this time, the server should receive important security updates from its Linux distribution. Which of the following Linux distributions meet these requirements? (Choose two.). Ubuntu Linux LTS. Fedora Linux. Debian GNU/Linux Unstable. Ubuntu Linux non-LTS. Red Hat Enterprise Linux.

What can be found in the /proc/ directory?. One directory per installed program. One device file per hardware device. One file per existing user account. One directory per running process. One log file per running service.

Which of the following statements regarding Linux hardware drivers is correct?. Drivers are regular Linux programs which have to be run by the user who wants to use a device. Drivers are not used by Linux because the BIOS handles all access to hardware on behalf of Linux. Drivers are stored on their devices and are copied by the Linux kernel when a new device is attached. Drivers are downloaded from the vendor's driver repository when a new device is attached. Drivers are either compiled into the Linux kernel or are loaded as kernel modules.

Which of the following devices represents a hard disk partition?. /dev/ttyS0. /dev/sata0. /dev/part0. /dev/sda2. /dev/sda/p2.

Which of the following is a protocol used for automatic IP address configuration?. NFS. LDAP. SMTP. DNS. DHCP.

Which of the following values could be a process ID on Linux?. /bin/bash. 60b503cd-019e-4300-a7be-922f074ef5ce. /sys/pid/9a14. fff3. 21398.

Which of the following DNS record types hold an IP address? (Choose two.). NS. AAAA. MX. A. CNAME.

Denunciar Test