Examen 101 - LPI Chapter 3: Configuring Hardware

Beschreibung

Quiz am Examen 101 - LPI Chapter 3: Configuring Hardware, erstellt von Carlos Alberto Jara Alva am 10/01/2018.
Carlos Alberto Jara Alva
Quiz von Carlos Alberto Jara Alva, aktualisiert more than 1 year ago
Carlos Alberto Jara Alva
Erstellt von Carlos Alberto Jara Alva vor fast 7 Jahre
115
0

Zusammenfassung der Ressource

Frage 1

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

Frage 2

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

Frage 3

Frage
What is purpose of udev?
Antworten
  • 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

Frage 4

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

Frage 5

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

Frage 6

Frage
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?
Antworten
  • 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.

Frage 7

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

Frage 8

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

Frage 9

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

Frage 10

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

Frage 11

Frage
Which of the following pieces of information can df not report?
Antworten
  • 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

Frage 12

Frage
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?
Antworten
  • Ext2fs
  • FAT
  • HFS
  • ReiserFS
  • All of the above

Frage 13

Frage
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)
Antworten
  • user
  • users
  • owner
  • owners
  • uid=1000

Frage 14

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

Frage 15

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

Frage 16

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

Frage 17

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

Frage 18

Frage
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?
Antworten
  • hangup
  • detach
  • nohup
  • background
  • bg

Frage 19

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

Frage 20

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

Frage 21

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

Frage 22

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

Frage 23

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

Frage 24

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

Frage 25

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

Frage 26

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

Frage 27

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

Frage 28

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

Frage 29

Frage
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?
Antworten
  • 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

Frage 30

Frage
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?
Antworten
  • 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

Frage 31

Frage
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?
Antworten
  • *
  • +
  • &
  • -
  • .

Frage 32

Frage
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
Antworten
  • kill -9 4077
  • kill -1 4077
  • kill +9 4077
  • kill 4078
  • kill --die 4077

Frage 33

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

Frage 34

Frage
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.)
Antworten
  • ext3
  • JFS
  • ext2
  • XFS
  • procfs

Frage 35

Frage
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?
Antworten
  • 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

Frage 36

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

Frage 37

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

Frage 38

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

Frage 39

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

Frage 40

Frage
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
Antworten
  • 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
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

2. Weltkrieg: 1939-1945
JohannesK
Deutsch Einstufungstest Niveau A2.1
SprachschuleAktiv
1.2 Die Entwicklung der modernen Psychologie
achdrewes
Mediation
Antonia C
BM 20- Biographie und Lebensalter
Anna c.
Vetie - Innere Medzin 2018
Fioras Hu
Vetie Histopatho 2016
Alena Gesing
Vetie Pathohisto 2019
Kristin E
Vetie Reprospaß 3
Tropsi B
Vetie Repro 2020
Franziska Piepho
Vetie - Spezielle Pathologie 2016
Birte Schulz