Comptia Linux+ LX0-103 Certification Exam Practice Test Set 7

How should you configure a system that uses Yum to access an additional Yum software repository?


Options are :

  • Download a package from the repository site and install it with RPM, or place a configuration file from the repository site in the /etc/yum.repos.d directory. (Correct)
  • Edit the /etc/yum.conf file, locate the [repos] section, and add the URL to the repository after the existing repository URLs.
  • Edit the /etc/yum.conf file, locate the REPOSITORIES= line, and add the new repository to the colon-delimited list on that line.
  • Edit the /etc/apt/sources.list file to include the repository siteís URL, as detailed on the repositoryís Web site.
  • Use the add-repository subcommand to yum or the Add Repository option in the File menu in yumex, passing it the URL of the repository.

Answer : Download a package from the repository site and install it with RPM, or place a configuration file from the repository site in the /etc/yum.repos.d directory.

You run Linuxís fdisk and modify your partition layout. Before exiting the program, you realize that youíve been working on the wrong disk. What can you do to correct this problem?


Options are :

  • Type u repeatedly to undo the operations youíve made in error.
  • Type w to exit fdisk without saving changes to disk.
  • Nothing; the damage is done, so youíll have to recover data from a backup.
  • Type q to exit fdisk without saving changes to disk. (Correct)
  • Type t to undo all the changes and return to the original disk state.

Answer : Type q to exit fdisk without saving changes to disk.

JK0-802 CompTIA A+ Certification Exam Set 5

A user types kill -9 11287 at a bash prompt. What is the probable intent, assuming the user typed the correct command?


Options are :

  • To terminate a misbehaving or hung program with process ID 11287 (Correct)
  • To display the number of processes that have been killed with signal 11287 in the last nine days
  • To cut off a network connection using TCP port 11287
  • To cause a server with process ID 11287 to reload its configuration file
  • To increase the priority of the program running with process ID 11287

Answer : To terminate a misbehaving or hung program with process ID 11287

As root, you type apt-get update on a Debian system. What should be the effect of this command?


Options are :

  • The APT utilities update themselves, ensuring youíre using the latest version of APT.
  • The APT utilities download all available upgrades for your installed programs and install them on your system.
  • The APT utilities retrieve information about the latest packages available so that you may install them with subsequent apt-get commands. (Correct)
  • None; update is an invalid option to apt-get.
  • The APT utilities deliver information about the latest updates youíve made to the APT Internet repositories, enabling you to share your changes with others.

Answer : The APT utilities retrieve information about the latest packages available so that you may install them with subsequent apt-get commands.

What is the preferred method of adding a directory to the library path for all users?


Options are :

  • Type ldconfig /new/dir, where /new/dir is the directory you want to add.
  • Modify the LD_LIBRARY_PATH environment variable in a global shell script.
  • 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.
  • Add the directory to the /etc/ld.so.conf file, and then type ldconfig. (Correct)

Answer : Add the directory to the /etc/ld.so.conf file, and then type ldconfig.

CompTIA JK0-801 A+ Certification Practical Exam Set 2

Which of the following directories is most likely to be placed on its own hard disk partition?


Options are :

  • /home (Correct)
  • /sbin
  • /dev
  • /bin
  • /mnt

Answer : /home

What command would you type to obtain a list of all installed packages on a Debian system?


Options are :

  • dpkg Ėi
  • apt-cache showpkg
  • dpkg -r allpkgs
  • dpkg--get-selections (Correct)
  • apt-get showall

Answer : dpkg--get-selections

What tool would you use to disable a motherboardís sound hardware if you donít want to use it?


Options are :

  • The lspci program
  • The alsactl utility
  • The firmware (Correct)
  • The lsmod command
  • None of the above; onboard sound devices canít be disabled

Answer : The firmware

SY0-401 CompTIA Security+ Certification Practice Exam Set 5

Which two of the following commands are equivalent to one another?


Options are :

  • nice -10 crunch (Correct)
  • nice --value 10 crunch
  • nice 10 crunch
  • nice -n -10 crunch

Answer : nice -10 crunch

What is the purpose of udev?


Options are :

  • To store devicesí BIOS configurations in files
  • To aid in the development of software
  • To manage the /dev directory tree (Correct)
  • To load Linux device drivers
  • To unload Linux device drivers

Answer : To manage the /dev directory tree

Which files contain essential system information such as IRQs, direct memory access channels, and I/O addresses? 


Options are :

  • /proc/ioports (Correct)
  • /proc/hardware
  • /proc/ioaddresses

Answer : /proc/ioports

JK0-015 CompTIA E2C Security+ 2008 Edition Practice Exam Set 7

You prefer the look of GTK+ widgets to Qt widgets, so you want to substitute the GTK+ libraries for the Qt libraries on your system. How would you do this?


Options are :

  • You must note the filenames of the Qt libraries, uninstall the packages, and create symbolic links from the Qt libraries to the GTK+ libraries.
  • You canít easily do this; libraries canít be arbitrarily exchanged for one another. You would need to rewrite all the Qt-using programs to use GTK+. (Correct)
  • You must type ldconfig --makesubs=qt,gtk. This command substitutes the GTK+ libraries for the Qt libraries at load time.
  • You must reboot the computer and pass the subst=qt,gtk option to the kernel. This causes the kernel to make the appropriate substitutions.
  • You must uninstall the Qt library packages and re-install the GTK+ packages with the --substitute=qt option to rpm or the --replace=qt option to dpkg.

Answer : You canít easily do this; libraries canít be arbitrarily exchanged for one another. You would need to rewrite all the Qt-using programs to use GTK+.

You use top to examine the CPU time being consumed by various processes on your system. You discover that one process, dfcomp, is consuming more than 90 percent of your systemís CPU time. What can you conclude?


Options are :

  • Very little; dfcomp could be legitimately consuming that much CPU time, or it could be an unauthorized or malfunctioning program. (Correct)
  • This is normal; dfcomp is the kernelís main scheduling process, and it consumes any unused CPU time.
  • No program should consume 90 percent of available CPU time; dfcomp is clearly malfunctioning and should be terminated.
  • This behavior is normal if your CPU has at least four cores, but on systems with fewer cores than this, no program should consume 90 percent of CPU time.
  • This behavior is normal if your CPU is less powerful than a 2.5GHz EM64T Pentium, but on newer systems, no program should consume 90 percent of CPU time.

Answer : Very little; dfcomp could be legitimately consuming that much CPU time, or it could be an unauthorized or malfunctioning program.

Youíve just installed Linux on a new computer with a single SATA hard disk. What device identifier will refer to the disk?


Options are :

  • /dev/mapper/disk1
  • /dev/hda
  • C:
  • /dev/sda or /dev/hda (Correct)
  • /dev/sda

Answer : /dev/sda or /dev/hda

CA1-001 CompTIA Advanced Security Practitioner Practice Exam Set 7

A new Linux administrator plans to create a system with separate /home, /usr/local, and /etc partitions, in addition to the root (/) partition. Which of the following best describes this configuration?


Options are :

  • The system wonít boot because /etc contains configuration files necessary to mount non-root partitions. (Correct)
  • The system will boot, but /usr/local wonít be available because mounted partitions must be mounted directly off their parent partition, not in a subdirectory.
  • The system wonít boot because critical boot-time files reside in /home.
  • The system will boot only if the /home partition is on a separate physical disk from the /usr/local partition.
  • The system will boot and operate correctly, provided each partition is large enough for its intended use.

Answer : The system wonít boot because /etc contains configuration files necessary to mount non-root partitions.

You type jobs at a bash command prompt and receive a new command prompt with no intervening output. What can you conclude?


Options are :

  • The jobs shell is installed and working correctly on the system.
  • The total CPU time used by your processes is negligible (below 0.1).
  • The system has crashed; jobs normally returns a large number of running processes.
  • No processes are running under your username except the shell youíre using.
  • No background processes are running that were launched from the shell youíre using. (Correct)

Answer : No background processes are running that were launched from the shell youíre using.

What are common IRQs for RS-232 serial ports?


Options are :

  • 16
  • 1
  • 8
  • 3 (Correct)

Answer : 3

JK0-019 CompTIA E2C Network + Certification Exam Set 11

You discover that an MBR hard disk has partitions with type codes of 0x0f, 0x82, and 0x83. Assuming these type codes are accurate, what can you conclude about the disk?


Options are :

  • route host gw 192.168.0.1
  • The disk is corrupt; those partition type codes are incompatible.
  • The disk holds a partial or complete Linux system. (Correct)
  • The disk holds DOS or Windows 9x/Me and Windows NT/200x/XP installations.
  • The disk holds a FreeBSD installation.

Answer : The disk holds a partial or complete Linux system.

Which of the following commands creates a display of processes, showing the parent-child relationships through links between their names?


Options are :

  • ps --tree
  • ps aux
  • All of the above
  • ps -e
  • ps --forest (Correct)

Answer : ps --forest

To use dpkg to remove a package called theprogram, including its configuration files, which of the following commands would you issue?


Options are :

  • dpkg -p theprogram
  • dpkg -r theprogram-1.2.3-4.deb
  • dpkg -P theprogram (Correct)
  • dpkg -e theprogram
  • dpkg -r theprogram

Answer : dpkg -P theprogram

FC0-U41 CompTIA Strata IT Fundamentals Practice Exam Set 3

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions