Examen 101 - LPI Chapter 3: Configuring Hardware

Description

Quiz on Examen 101 - LPI Chapter 3: Configuring Hardware, created by Carlos Alberto Jara Alva on 10/01/2018.
Carlos Alberto Jara Alva
Quiz by Carlos Alberto Jara Alva, updated more than 1 year ago
Carlos Alberto Jara Alva
Created by Carlos Alberto Jara Alva almost 7 years ago
115
0

Resource summary

Question 1

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

Question 2

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

Question 3

Question
What is purpose of udev?
Answer
  • 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

Question 4

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

Question 5

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

Question 6

Question
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?
Answer
  • 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.

Question 7

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

Question 8

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

Question 9

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

Question 10

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

Question 11

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

Question 12

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

Question 13

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

Question 14

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

Question 15

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

Question 16

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

Question 17

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

Question 18

Question
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?
Answer
  • hangup
  • detach
  • nohup
  • background
  • bg

Question 19

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

Question 20

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

Question 21

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

Question 22

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

Question 23

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

Question 24

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

Question 25

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

Question 26

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

Question 27

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

Question 28

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

Question 29

Question
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?
Answer
  • 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

Question 30

Question
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?
Answer
  • 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

Question 31

Question
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?
Answer
  • *
  • +
  • &
  • -
  • .

Question 32

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

Question 33

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

Question 34

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

Question 35

Question
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?
Answer
  • 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

Question 36

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

Question 37

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

Question 38

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

Question 39

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

Question 40

Question
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
Answer
  • 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
Show full summary Hide full summary

Similar

Bayonet Charge flashcards
katiehumphrey
GRE Test - Overview
SAT Prep Group
Key Shakespeare Facts
Andrea Leyden
Science Additional B3 - Animal and Plant Cells Flashcards
Stirling v
Mapas mentales con ExamTime
julii.perci
History- Medicine through time key figures
gemma.bell
AQA Business Unit 1
lauren_binney
An Timpeallacht (Foclóir)
Sarah Egan
The Lymphatic System
james liew
Salesforce Admin 201 Exam Chunk 3 (66-90)
Brianne Wright
Music Therapy - CBMT practice exam #2
Jessica H.