Examen 101 - LPI Chapter 3: Configuring Hardware

Descripción

Test sobre Examen 101 - LPI Chapter 3: Configuring Hardware, creado por Carlos Alberto Jara Alva el 10/01/2018.
Carlos Alberto Jara Alva
Test por Carlos Alberto Jara Alva, actualizado hace más de 1 año
Carlos Alberto Jara Alva
Creado por Carlos Alberto Jara Alva hace más de 6 años
110
0

Resumen del Recurso

Pregunta 1

Pregunta
What are common IRQs for RS-232 serial ports? (Select two)
Respuesta
  • 1
  • 3
  • 4
  • 8
  • 16

Pregunta 2

Pregunta
What tool would you use to disable a motherboard's sound hardware if you don't want to use it?
Respuesta
  • The firmware
  • The alsactl utility
  • The lsmod command
  • The lspci program
  • None of the above; onboard sound devices can't be disabled

Pregunta 3

Pregunta
What is purpose of udev?
Respuesta
  • To aid in the development of software
  • To unload Linux device drivers
  • To load Linux device drivers
  • To store devices' BIOS configurations in files
  • To manage the /dev directory tree

Pregunta 4

Pregunta
You've just installed Linux on a new computer with a single SATA hard disk. What device identifier will refer to the disk?
Respuesta
  • /dev/sda
  • /dev/mapper/disk1
  • /dev/hda
  • C:
  • /dev/sda or /dev/hda

Pregunta 5

Pregunta
Which files contain essential system information such as IRQs, direct-memory access channels, and I/O addresses? (Select three).
Respuesta
  • /proc/ioports
  • /proc/ioaddresses
  • /proc/dma
  • /proc/interrupts
  • /proc/hardware

Pregunta 6

Pregunta
The fdisk -l /dev/sda on a Linux computer with an MBR disk produces a listing of four partitions: /dev/sda1, /dev/sda2, /dev/sda5 and /dev/sda6. which of the following true?
Respuesta
  • The disk contains two primary partitions and two extended partitions.
  • Either /dev/sda1 or /dev/sda2 is an extended partition.
  • The partition table is corrupted; there should be a /dev/sda3 and a /dev/sda4 before /dev/sda5
  • If you add a /dev/sda3 with fdisk, /dev/sda5 will become /dev/sda6, and /dev/sda6 will become /dev/sda7
  • Both /dev/sda1 and /dev/sda2 are logical partitions.

Pregunta 7

Pregunta
Which of the following directories is most likely to be placed on its own hard disk partition?
Respuesta
  • /bin
  • /sbin
  • /mnt
  • /home
  • /dev

Pregunta 8

Pregunta
What mount point should you associate with swap partitions?
Respuesta
  • /
  • /swap
  • /boot
  • /mem
  • None of the above

Pregunta 9

Pregunta
Which of the folllowing options is used with fsck to force it to use a particular filesystem type?
Respuesta
  • -A
  • -N
  • -t
  • -C
  • -f

Pregunta 10

Pregunta
What does the following command accomplish? #mkfs -t ext2 /dev/sda4
Respuesta
  • It sets the partition table type code for /dev/sda4 to ext2
  • It converts FAT partition into an ext2fs partition without damaging the partition's existing files.
  • Nothing; the -t option isn't valid, and so it causes mkfs to abort its operation.
  • It converts an ext2 filesystem to an ext4 filesystem
  • It creates a new ext2 filesystem on /dev/sda4, overwriting any existing filesystem and data.

Pregunta 11

Pregunta
Which of the following pieces of information can df not report?
Respuesta
  • How long the filesystem has been mounted
  • The number of inodes used on an ext3fs partition
  • The filesystem type of a partition
  • The percentage of available disk space used on a partition.
  • The mount point associated with a filesystem

Pregunta 12

Pregunta
To access file on a USB flash drive, you type mount /dev/sdc1 /media/flash as root. Which types of filesystems will this command mount?
Respuesta
  • Ext2fs
  • FAT
  • HFS
  • ReiserFS
  • All of the above

Pregunta 13

Pregunta
What filesystem options might you specify in /etc/fstab to make a removable disk (such as a USB flash drive) mountable by an ordinary user with a UID of 1000? (Select three)
Respuesta
  • user
  • users
  • owner
  • owners
  • uid=1000

Pregunta 14

Pregunta
What is the preferred method of adding a directory to the library path for all users?
Respuesta
  • Modify the LD_LIBRARY_PATH environment variable in a global shell script.
  • Add the directory to the /etc/ld.so.conf file, and then type ldconfig.
  • Type ldconfig /new/dir, where /new/dir is the directory you want to add.
  • Create a symbolic link from that directory to one that's already on the library path.
  • Type ldd /new/dir, where /new/dir is the directory you want to add.

Pregunta 15

Pregunta
What programs might you use to learn what your system's load average is? (Select two)
Respuesta
  • ld
  • load
  • top
  • uptime
  • la

Pregunta 16

Pregunta
Which of the following commands creates a display of processes, showing the parent-child relationships through links between their names?
Respuesta
  • ps --forest
  • ps aux
  • ps -e
  • ps --tree
  • All of the above

Pregunta 17

Pregunta
Which of the following commands are equivalent to one another? (Select two)
Respuesta
  • nice --value 10 crunch
  • nice -n -10 crunch
  • nice -10 crunch
  • nice 10 crunch
  • nice crunch

Pregunta 18

Pregunta
What command is used at the beginning of a command line to detach tha process from a terminal, allowing it to continue running after the user has logged out?
Respuesta
  • hangup
  • detach
  • nohup
  • background
  • bg

Pregunta 19

Pregunta
What command will display a full-screen, updated list of all running processes?
Respuesta
  • kill
  • ps
  • list
  • top
  • free

Pregunta 20

Pregunta
What command can be used to kill processes by name, rather than process ID?
Respuesta
  • killproc
  • killname
  • killall
  • kill -name
  • killpath

Pregunta 21

Pregunta
What command is used to display the number of free inodes on an ext2 or ext3 partition?
Respuesta
  • tune2fs
  • dumpe2fs
  • showe2fs
  • fsck
  • fdisk

Pregunta 22

Pregunta
What command is used to convert an existing ext2 partition (/dev/sda1) to an ext3 (journaled) partition?
Respuesta
  • tune2f -j /dev/sda1
  • dumpe2fs -j /dev/sda1
  • fsck -j /dev/sda1
  • mkfs.ext2 -j /dev/sda1
  • None of the above

Pregunta 23

Pregunta
Which of the following are examples of journaling filesystems? (Select three)
Respuesta
  • ext2
  • ext3
  • xfs
  • reiserfs
  • vfat

Pregunta 24

Pregunta
Which file defines what partitions are mounted at boot time?
Respuesta
  • /etc/partitions
  • /etc/mount
  • /etc/mtab
  • /etc/fstab
  • /etc/filesystems

Pregunta 25

Pregunta
Which of the following is a reasonable size for a swap partition for a Linux workstation with 128 MB RAM? Select one
Respuesta
  • 1 KB
  • 0.5 MB
  • 100 MB
  • 5 GB
  • 10 GB

Pregunta 26

Pregunta
Which of the following is the text file that contains directories where the dynamic linker should look for libraries? Select one.
Respuesta
  • ld.so.conf
  • conf.ld.so
  • ld.so.cache
  • so.config
  • configld

Pregunta 27

Pregunta
What two commands display the status of processes on a Linux system?
Respuesta
  • ls and df
  • ps and top
  • ps and df
  • df and top
  • du and df

Pregunta 28

Pregunta
Which of the following commands can be used to check an ext2 filesystem? Select three that apply.
Respuesta
  • fsck -ext2 /dev/hda5
  • fsck /dev/hda5
  • e2fsck /dev/hda5
  • fsck.ext2 /dev/hda5
  • fsck.linux /dev/hda5

Pregunta 29

Pregunta
In response to fhe df command, the system reports a use% of 98% for the filesystem mounted on /home. Which one of the following best describes the significance of this information?
Respuesta
  • Files on /home are consuming 90% of the physical disk.
  • File read/write activity on /home is consuming 98% of system I/O capacity
  • Files on /home are consuming 98% of the /home filesystem
  • Inodes on /home are nearly exhausted
  • Inodes on /home are 98% free

Pregunta 30

Pregunta
Which one of the following commands would be best suited to mount a CD-ROM containing a Linux distribution, without depending on any configuration files?
Respuesta
  • mount /dev/cdrom /dev/hdc
  • mount -f linux /dev/hdc /mnt/cdrom
  • mount -t iso9660 /dev/cdrom /mnt/cdrom
  • mount -t linux /dev/cdrom /mnt/cdrom
  • mount -t iso9660 /mnt/cdrom /dev/cdrom

Pregunta 31

Pregunta
What character is used after a command line to indicate that tha command should run in the background and return shell control to the user?
Respuesta
  • *
  • +
  • &
  • -
  • .

Pregunta 32

Pregunta
A process with PID 4077 is misbehaving on your system. As superuset, you enter the following command: #kill 4077 However, nothing changes as a result. What can you do to terminate the process? Select one
Respuesta
  • kill -9 4077
  • kill -1 4077
  • kill +9 4077
  • kill 4078
  • kill --die 4077

Pregunta 33

Pregunta
How many IDE devices can be installed and simultaneously used in a typical Intel-Based system? Select one
Respuesta
  • 1
  • 2
  • 3
  • 4
  • 5

Pregunta 34

Pregunta
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/ creation time and does NOT generate them as needed? (Choose TWO correct answers.)
Respuesta
  • ext3
  • JFS
  • ext2
  • XFS
  • procfs

Pregunta 35

Pregunta
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?
Respuesta
  • tune2fs -d 200 /dev/sda1
  • tune2fs -c 200 /dev/sda1
  • tune2fs -i 200 /dev/sda1
  • tune2fs -n 200 /dev/sda1
  • tune2fs --days 200 /dev/sda1

Pregunta 36

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

Pregunta 37

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

Pregunta 38

Pregunta
Which of the following is the device file name for the second partition on the only SCSI drive?
Respuesta
  • /dev/hda1
  • /dev/sda2
  • /dev/sd0a2
  • /dev/sd1p2

Pregunta 39

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

Pregunta 40

Pregunta
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
Respuesta
  • dd if=/dev/zero of=/dev/sda bs=512
  • dd if=/dev/zero of=/dev/sda bs=512 count=1
  • dd if=/dev/zero of=/dev/sda bs=440 count=1
  • dd if=/dev/zero of=/dev/sda bs=440
Mostrar resumen completo Ocultar resumen completo

Similar

Gramática Inglés
Diego Santos
ÁRBOL DE PROBLEMAS
hsanchezron
Compás de 4/4
mariajesus camino
Cadena de Valor
gustavo.meneses.
3 Tipos de Interacciones para la Participación de los Alumnos
Diego Santos
Abreviaciones comunes en programación web
Diego Santos
Ciclo de vida de un producto
Mariana Jaqueline Perez Navarro
ECUACIÓN CONTABLE
Sonia Lyvy BARCO CORREA
Mapa de navegación UNIMINUTO
Alejandro Dueñas