Examen 101 - LPI Chapter 3: Configuring Hardware

Descrição

Quiz sobre Examen 101 - LPI Chapter 3: Configuring Hardware, criado por Carlos Alberto Jara Alva em 10-01-2018.
Carlos Alberto Jara Alva
Quiz por Carlos Alberto Jara Alva, atualizado more than 1 year ago
Carlos Alberto Jara Alva
Criado por Carlos Alberto Jara Alva mais de 6 anos atrás
110
0

Resumo de Recurso

Questão 1

Questão
What are common IRQs for RS-232 serial ports? (Select two)
Responda
  • 1
  • 3
  • 4
  • 8
  • 16

Questão 2

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

Questão 3

Questão
What is purpose of udev?
Responda
  • 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

Questão 4

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

Questão 5

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

Questão 6

Questão
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?
Responda
  • 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.

Questão 7

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

Questão 8

Questão
What mount point should you associate with swap partitions?
Responda
  • /
  • /swap
  • /boot
  • /mem
  • None of the above

Questão 9

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

Questão 10

Questão
What does the following command accomplish? #mkfs -t ext2 /dev/sda4
Responda
  • 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.

Questão 11

Questão
Which of the following pieces of information can df not report?
Responda
  • 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

Questão 12

Questão
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?
Responda
  • Ext2fs
  • FAT
  • HFS
  • ReiserFS
  • All of the above

Questão 13

Questão
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)
Responda
  • user
  • users
  • owner
  • owners
  • uid=1000

Questão 14

Questão
What is the preferred method of adding a directory to the library path for all users?
Responda
  • 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.

Questão 15

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

Questão 16

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

Questão 17

Questão
Which of the following commands are equivalent to one another? (Select two)
Responda
  • nice --value 10 crunch
  • nice -n -10 crunch
  • nice -10 crunch
  • nice 10 crunch
  • nice crunch

Questão 18

Questão
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?
Responda
  • hangup
  • detach
  • nohup
  • background
  • bg

Questão 19

Questão
What command will display a full-screen, updated list of all running processes?
Responda
  • kill
  • ps
  • list
  • top
  • free

Questão 20

Questão
What command can be used to kill processes by name, rather than process ID?
Responda
  • killproc
  • killname
  • killall
  • kill -name
  • killpath

Questão 21

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

Questão 22

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

Questão 23

Questão
Which of the following are examples of journaling filesystems? (Select three)
Responda
  • ext2
  • ext3
  • xfs
  • reiserfs
  • vfat

Questão 24

Questão
Which file defines what partitions are mounted at boot time?
Responda
  • /etc/partitions
  • /etc/mount
  • /etc/mtab
  • /etc/fstab
  • /etc/filesystems

Questão 25

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

Questão 26

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

Questão 27

Questão
What two commands display the status of processes on a Linux system?
Responda
  • ls and df
  • ps and top
  • ps and df
  • df and top
  • du and df

Questão 28

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

Questão 29

Questão
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?
Responda
  • 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

Questão 30

Questão
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?
Responda
  • 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

Questão 31

Questão
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?
Responda
  • *
  • +
  • &
  • -
  • .

Questão 32

Questão
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
Responda
  • kill -9 4077
  • kill -1 4077
  • kill +9 4077
  • kill 4078
  • kill --die 4077

Questão 33

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

Questão 34

Questão
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.)
Responda
  • ext3
  • JFS
  • ext2
  • XFS
  • procfs

Questão 35

Questão
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?
Responda
  • 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

Questão 36

Questão
Creating a hard link to an ordinary file returns an error. What could be the reason for this?
Responda
  • 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.

Questão 37

Questão
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
Responda
  • LD_LOAD_PATH
  • LD_LIB_PATH
  • LD_LIBRARY_PATH
  • LD_SHARE_PATH
  • LD_RUN_PATH

Questão 38

Questão
Which of the following is the device file name for the second partition on the only SCSI drive?
Responda
  • /dev/hda1
  • /dev/sda2
  • /dev/sd0a2
  • /dev/sd1p2

Questão 39

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

Questão 40

Questão
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
Responda
  • 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

Semelhante

ESTRUTURA DAS PALAVRAS - Morfologia
Viviana Veloso
Figuras de linguagem
Roberta Souza
Exame Nacional de Portugues
Sandra Franco
RESUMOS EXAME GEOGRAFIA A
beatriizcunha
Revisão Para o ENEM em 20 dias
GoConqr suporte .
Estrutura das palavras e Processo de formação das palavras
Juliane Antoniel
Avaliação de Alunos
Alessandra S.
Introdução Administração Pública
Carolina Fernanda Silva
A Era Vargas (1930-45)
Alice Sousa
SIMULADO 1 - CTFL - AT
Jorge Ricardo
Y2 - Week 1
Natalia André