<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1245876237505758205</id><updated>2011-10-03T02:40:41.200-07:00</updated><category term='linux Question Bank'/><category term='linux'/><category term='ITSM'/><category term='Unix'/><category term='Networking Cables'/><category term='ITIL foundation'/><category term='Shell Questions'/><category term='Linux Questions'/><category term='operating systems'/><category term='Questions'/><category term='Networking questions'/><category term='Quiz'/><title type='text'>Quiz n Questions</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-1752920748008059006</id><published>2009-12-30T10:42:00.000-08:00</published><updated>2009-12-30T10:43:06.525-08:00</updated><title type='text'>Red Hat Linux System Administration Pre-assessment Questionnaire</title><content type='html'>Red Hat Linux System Administration Pre-assessment Questionnaire&lt;br /&gt;Topic #1: Supported Hardware&lt;br /&gt;&lt;br /&gt;1) Which statement is false?&lt;br /&gt;   The master drive on the primary IDE controller is /dev/hda.&lt;br /&gt;   USB and PCMCIA devices are supported by Red Hat, but only USB is hot swappable.&lt;br /&gt;   Both SCSI and IDE are supported by Red Hat.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) Block and character special devices, used to address hardware, do not display size in a long ls listing. Instead, they display&lt;br /&gt;   the amount of addressable space on the device&lt;br /&gt;   bus and device numbers&lt;br /&gt;   major and minor device numbers&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) Which statement is false?&lt;br /&gt;   The i686 and athlon kernels can map up to 4 GB of RAM, but using the bigmem kernel, more than 4 GB of RAM can be mapped if your hardware supports Physical Address Extentions (PAE).&lt;br /&gt;   Support for virtual CPUs using hyperthreading technology is only available when using smp or bigmem kernels.&lt;br /&gt;   Architectures supported by Red Hat Enterprise Linux products include IA-32, IA-64, Alpha, S/390, z-Series, pSeries, and Sparc.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Topic #2: Installation&lt;br /&gt;&lt;br /&gt;1) When selecting packages to install,&lt;br /&gt;   you may make your selection by individual package or by package group; no further level of refinement is possible.&lt;br /&gt;   you may make your selection by individual package or by package group; if you choose the latter method, you can refine your choice by selected the related "Details" item.&lt;br /&gt;   the installer does not track how much disk space the requested installation will take.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) Which statement about installation is false?&lt;br /&gt;   It is not possible to set up logical volume management at install time.&lt;br /&gt;   It is possible to set up additional non-privileged user accounts at install time.&lt;br /&gt;   Kickstart installations allows system administrators to install an operating system in a virtually hands-free manner, often requiring no human intervention, other than starting the kickstart process.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) Setting up software RAID partitions&lt;br /&gt;   is not possible during the install.&lt;br /&gt;   is a simple one step process of designating a partition as a software RAID partition and declaring the mount point.&lt;br /&gt;   is a multi-step process: declare various partitions to be software RAID partitions and then RAID them together.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #3: Creating and maintaining filesystems&lt;br /&gt;&lt;br /&gt;1) What is the default filesystem type under the current version of Red Hat?&lt;br /&gt;   ext2, the second extended Linux filesystem.&lt;br /&gt;   ext3, the third extended Linux filesystem.&lt;br /&gt;   reiserfs, the Reiser filesystem.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) How many partitions are allowed on an IDE drive?&lt;br /&gt;   63 total partitions are allowed, but this number is only possible if you use an extended partition, which will limit the number primary partitions to three.&lt;br /&gt;   15 total partitions are allowed.&lt;br /&gt;   Four primary partitions are allowed, plus an extended partition. Logical partitions reside within the extended partition. Up to 15 logical partitions are allowed.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) Explain filesystem remounts.&lt;br /&gt;   remount is an option to mount command allowing the system administrator to change the options on a currently mounted filesystem; these changes will take effect immediately.&lt;br /&gt;   remount is a command that forces an unmount (umount) and a mount of a filesystem, typically an NFS filesystem, to clear a stale file handle.&lt;br /&gt;   remount is a process that occurs when changing runlevels, effectively reapplying options from the /etc/fstab file.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #4: X Window System Administration&lt;br /&gt;&lt;br /&gt;1) Which statement is true about the configuration of the X server?&lt;br /&gt;   The redhat-config-xfree86 command will not create an /etc/X11/XF86Config file.&lt;br /&gt;   You cannot create an /etc/X11/XF86Config file at install time.&lt;br /&gt;   The redhat-config-xfree86 command will probe your hardware to determine values for the /etc/X11/XF86Config file.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) Which statement is true about the relationship between display managers and desktop environments?&lt;br /&gt;   To use the KDE desktop, you must use the kdm display manager.&lt;br /&gt;   Regardless of the display manager you use, you may start up either the KDE desktop or the GNOME desktop.&lt;br /&gt;   When you use switchdesk to select a desktop environment, you also select a display manager.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) Which of the following statements about using the Xauthority security mechanism with ssh is false?&lt;br /&gt;   An MIT magic cookie must be manually created before the Xauthority mechanism can be used with ssh.&lt;br /&gt;   To use the Xauthority mechanism with ssh, log into the remote computer using ssh from an xterm-type application running on the X server system and run the application.&lt;br /&gt;   When using the Xauthority security mechanism through ssh, all data passing between the remote client and the local X server will be encrypted.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Topic #5: System initialization&lt;br /&gt;&lt;br /&gt;1) Which item below best represents the boot sequence?&lt;br /&gt;   The BIOS loads the boot loader; the boot loader loads the kernel; the kernel runs the initial process.&lt;br /&gt;   The BIOS loads the kernel; the kernel loads the boot loader; the boot loader loads the initial process.&lt;br /&gt;   The BIOS loads the initial process; the initial process loads the boot loader; the boot loader loads the kernel.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) On a default Red Hat system, what is the first program run by /sbin/init?&lt;br /&gt;   /etc/rc.d/rc.sysinit&lt;br /&gt;   /etc/rc.d/rc&lt;br /&gt;   /sbin/initdefault&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) How does runlevel S differ from runlevel 1?&lt;br /&gt;   There is no difference; they are exactly the same.&lt;br /&gt;   Runlevel 1 runs the /etc/rc.d/rc1.d scripts, but runlevel S does not.&lt;br /&gt;   Runlevel S runs rc.sysinit, but runlevel 1 does not.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #6: User and group administration&lt;br /&gt;&lt;br /&gt;1) How can a system administrator change the password of a non-privileged user?&lt;br /&gt;   If using shadow passwords, run shadow username. If using an integrated /etc/passwd file, run passwd username. Either version will prompt the superuser for the new password.&lt;br /&gt;   Run passwd username. This will prompt the superuser for the new password.&lt;br /&gt;   It is necessary to know the non-privileged user's password in order to change it. The system administrator can run passwd username. This will prompt the superuser for the user's current password and the new password.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) The /etc/shadow file:&lt;br /&gt;   must be used to hold the encrypted password; the second field of the /etc/passwd file is no longer valid.&lt;br /&gt;   is optional; a system administrator can choose to use it or not.&lt;br /&gt;   is considered less secure than using an integrated /etc/passwd file.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) What is the net effect of running the following commands:&lt;br /&gt;usermod -G sysadmns digby&lt;br /&gt;usermod -G websters digby&lt;br /&gt;   digby is a member of the websters group.&lt;br /&gt;   digby is a member of the sysadmns and websters groups.&lt;br /&gt;   digby's primary group (as specified in the /etc/passwd file) is websters.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #7: Client-side network authentication&lt;br /&gt;&lt;br /&gt;1) Which of the following is not a common network authentication scheme?&lt;br /&gt;   NIS&lt;br /&gt;   LDAP&lt;br /&gt;   autofs&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) What is the name of the tool that configures a network authentication scheme?&lt;br /&gt;   systemauth&lt;br /&gt;   userconfig&lt;br /&gt;   authconfig&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) Where is the NISDOMAIN variable set and stored?&lt;br /&gt;   /etc/sysconfig/network&lt;br /&gt;   /etc/sysconfig/network-scripts/ifcfg-interface, where interface is an interface name, such as eth0.&lt;br /&gt;   /var/yp/securenets&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #8: Network setup and troubleshooting&lt;br /&gt;&lt;br /&gt;1) The configuration file for the first ethernet interface is:&lt;br /&gt;   /etc/sysconfig/ifcfg-eth0&lt;br /&gt;   /etc/sysconfig/ifcfg-eth1&lt;br /&gt;   /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) Which command does not modify the configuration file for the first ethernet interface?&lt;br /&gt;   ifconfig&lt;br /&gt;   netconfig&lt;br /&gt;   redhat-config-network&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) Where can the default route be specified?&lt;br /&gt;   In the global network default file, /etc/sysconfig/network, only.&lt;br /&gt;   In the network interface configuration files only.&lt;br /&gt;   In either the global network default file, /etc/sysconfig/network, or the network interface configuration files.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #9: Printing&lt;br /&gt;&lt;br /&gt;1) Which printing subsystem is available under current versions of Red Hat:&lt;br /&gt;   printcap&lt;br /&gt;   CUPS&lt;br /&gt;   BSD&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) From the user's perspective, which printing user interfaces are available on Red Hat:&lt;br /&gt;   LPRng and CUPS&lt;br /&gt;   BSD and LPRng&lt;br /&gt;   BSD and System V&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) What is the name of a valid print daemon under Red Hat?&lt;br /&gt;   printd&lt;br /&gt;   cupsd&lt;br /&gt;   spoold&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #10: System Logging and Monitoring&lt;br /&gt;&lt;br /&gt;1) Most daemon log messages get logged to:&lt;br /&gt;   /var/log/daemonname, where daemonname is the name of the daemon.&lt;br /&gt;   /var/log/messages&lt;br /&gt;   /var/log/dmesg&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) Which statement about system logging is false?&lt;br /&gt;   klogd logs kernel messages; syslogd logs some other log messages.&lt;br /&gt;   The system logging subsystem can send messages over the network to a log host.&lt;br /&gt;   The following line in the /etc/syslog.conf file means that no messages will be logged through the mail facility:&lt;br /&gt;mail.* /var/log/maillog&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) The load average is a measure of how busy your CPU is. What does it measure?&lt;br /&gt;   The number of non-timer interrupts divided by the number of minutes over which the average is taken, divided by 1000 (or 1024, depending on the version of Linux or Unix being used).&lt;br /&gt;   The average number of processes in the process table over an increment of time.&lt;br /&gt;   The average number of processes in the runnable state over an increment of time.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #11: System-wide task automation&lt;br /&gt;&lt;br /&gt;1) How many fields does an entry in the /etc/crontab file have?&lt;br /&gt;   6: five time specifications and a command, the same number as users' crontab files.&lt;br /&gt;   7: five time specifications, a user under whose authority the command should be run, a command; this is one more than users' crontab files.&lt;br /&gt;   7: five time specifications, an email address to receive unredirected standard output and standard error, and a command; this is one more than users' crontab files.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) By default, the /etc/crontab file is populated with:&lt;br /&gt;   A series of commands such as makewhatis, tmpwatch, and logrotate that perform system maintenance on a regular basis.&lt;br /&gt;   A series of runparts commands that, in turn, run a series of other commands, such as makewhatis, tmpwatch, and logrotate, that perform system maintenance on a regular basis.&lt;br /&gt;   By default, the file contains no commands, allowing individual system administrators to populate the file.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) To prevent some users from using the at command:&lt;br /&gt;   add the users to the atdeny group in the /etc/group file.&lt;br /&gt;   put the usernames of those users in the /etc/at.deny file.&lt;br /&gt;   as there is no /etc/at.deny file, you must put the names of the users permitted to use the at command in the /etc/at.allow file.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #12: RPM&lt;br /&gt;&lt;br /&gt;1) What is not one of the functions of the rpm command?&lt;br /&gt;   Install software.&lt;br /&gt;   Query the database of installed software.&lt;br /&gt;   Optionally, interactively configure newly installed software packages, asking the system administrator a series of questions about the install, such as whether or not the files have been relocated to a different directory.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) What is the difference between these two rpm commands?&lt;br /&gt;rpm -Uhv mypkg.1.0-2.noarch.rpm&lt;br /&gt;rpm -Fhv mypkg.1.0-2.noarch.rpm&lt;br /&gt;   The -U version of the command uninstalls the package, whereas the -F version will upgrade the package if a previous version is already installed.&lt;br /&gt;   Both will upgrade the mypkg package if it is already installed, but if the mypkg package is not installed, the -U version will install it, whereas the -F version will not.&lt;br /&gt;   The -U version will uninstall the package, whereas the -F version will do a test install, reporting any install errors without actually installing it.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) In the query command below, what is being queried?&lt;br /&gt;rpm -qp mypkg.1.0-0.noarch.rpm&lt;br /&gt;   The package file.&lt;br /&gt;   The RPM database on the current system.&lt;br /&gt;   Nothing. This is not a valid query.&lt;br /&gt; Do not know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-1752920748008059006?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/1752920748008059006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/12/red-hat-linux-system-administration-pre.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/1752920748008059006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/1752920748008059006'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/12/red-hat-linux-system-administration-pre.html' title='Red Hat Linux System Administration Pre-assessment Questionnaire'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-7440249618046421342</id><published>2009-12-30T10:30:00.001-08:00</published><updated>2009-12-30T10:30:57.747-08:00</updated><title type='text'>Linux Questions (Redhat Linux Essentials)</title><content type='html'>Red Hat Enterprise Linux Essentials Pre-assessment Questionnaire&lt;br /&gt;Topic #1: Basic Filesystem and File Commands&lt;br /&gt;&lt;br /&gt;1) If the file newdir/file2 does not exist but the directory newdir does exist, what is the effect of the following command?&lt;br /&gt;mv file1 newdir/file2&lt;br /&gt;   file1 will be moved to newdir and renamed file2.&lt;br /&gt;   file1 will be copied to newdir and named file2.&lt;br /&gt;   An error will be reported, as this is an invalid command.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) What will this command return?&lt;br /&gt;ls -F&lt;br /&gt;   A listing of items in the current directory unsorted.&lt;br /&gt;   A listing of items in the current directory with file type indicators after some files.&lt;br /&gt;   A listing of items in the current directory separated by commas on a single line instead of presented in columns.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) Considering the command below, which of the following statements is true?&lt;br /&gt;ln file1 file2&lt;br /&gt;   file2 will be symbolically linked to file1.&lt;br /&gt;   Regardless of the size of file1, file2 will have a size of 5 bytes.&lt;br /&gt;   file1 and file2 have the same inode number.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Topic #2: The Linux Filesystem Layout&lt;br /&gt;&lt;br /&gt;1) What type of files are typically in the /etc directory?&lt;br /&gt;   Configuration files.&lt;br /&gt;   Miscellaneous files.&lt;br /&gt;   Standard Linux commands.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) In what directory are email inboxes stored by default?&lt;br /&gt;   /var/spool/mail&lt;br /&gt;   The mail directory in the user's home directory.&lt;br /&gt;   /usr/mail&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) The /lib directory contains:&lt;br /&gt;   Libraries of documentation.&lt;br /&gt;   Configuration files.&lt;br /&gt;   Shared objects.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #3: Permissions and Attributes&lt;br /&gt;&lt;br /&gt;1) What command lists file permissions?&lt;br /&gt;   a. chmod&lt;br /&gt;   b. ls -l&lt;br /&gt;   c. perms&lt;br /&gt; d. Do not know.&lt;br /&gt;&lt;br /&gt;2) What are the numeric permissions on a file with permissions of -rwxr-x--- after you run the command:&lt;br /&gt;chmod g+s file&lt;br /&gt;   a. 2750&lt;br /&gt;   b. 750&lt;br /&gt;   c. 751&lt;br /&gt; d. Do not know.&lt;br /&gt;&lt;br /&gt;3) What is the effect of the following command?&lt;br /&gt;chattr +i file&lt;br /&gt;   a. Changes of any kind are forbidden; in effect, the file is immutable.&lt;br /&gt;   b. The file will be compressed when saved to the disk, but be uncompressed when read.&lt;br /&gt;   c. The file can only be opened in insert mode only: data can be added, but data in the file cannot be changed or removed.&lt;br /&gt; d. Do not know.&lt;br /&gt;&lt;br /&gt;Ans : a&lt;br /&gt;&lt;br /&gt;Topic #4: Text Processing Tools&lt;br /&gt;&lt;br /&gt;1) Which of the following is best suited for viewing text one page at a time?&lt;br /&gt;   a. cut&lt;br /&gt;   b. less&lt;br /&gt;   c. grep&lt;br /&gt; d. Do not know.&lt;br /&gt;Ans : b&lt;br /&gt;&lt;br /&gt;2) Which of the following is best suited for extracting columns of text?&lt;br /&gt;   cut&lt;br /&gt;   less&lt;br /&gt;   grep&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Ans : a&lt;br /&gt;&lt;br /&gt;3) For the file reports.txt, which of the following commands would, ignoring case, extract every line containing the word "expense", the lines before and after each match, and print the relevant line numbers?&lt;br /&gt;   grep -i expense reports.txt&lt;br /&gt;   grep -A1 -B1 -n -i expense report.txt&lt;br /&gt;   grep --context=1 -N -i expense report.txt&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Ans : b&lt;br /&gt;&lt;br /&gt;Topic #5: The vi and vim Editors&lt;br /&gt;&lt;br /&gt;1) When using the vi editor, which of the following is true?&lt;br /&gt;   In command mode, the capital letter "O" opens a line below the current line, placing you in insert mode.&lt;br /&gt;   In command mode, the lower case letter "a" places you in insert mode, appending after the cursor.&lt;br /&gt;   In command mode, "dd4" deletes four lines.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;ans : b&lt;br /&gt;&lt;br /&gt;2) When using the vi editor, in command mode, which of the following sequences will delete four words?&lt;br /&gt;   4xw&lt;br /&gt;   wwww&lt;br /&gt;   4dw&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;ans : c&lt;br /&gt;&lt;br /&gt;3) In vim, you search for a string of characters and the characters are highlighted. How do you turn off the highlighting?&lt;br /&gt;   :set nohighlight&lt;br /&gt;   :set nohl&lt;br /&gt;   :nohl&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;ans :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Topic #6: System Configuration Tools&lt;br /&gt;&lt;br /&gt;1) Which of the following might you use to configure the network?&lt;br /&gt;   redhat-config-network&lt;br /&gt;   system-config-network&lt;br /&gt;   ipconfig&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Where is the configuration information for network interface eth0 stored?&lt;br /&gt;   /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;   /etc/sysconfig/eth0.conf&lt;br /&gt;   /etc/network/eth0.cfg&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) Which of the following commands could be used to configure a system's date and time?&lt;br /&gt;   datetime&lt;br /&gt;   date&lt;br /&gt;   timeconf&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Topic #7: Standard Input and Output System&lt;br /&gt;&lt;br /&gt;1) What will the following command do?&lt;br /&gt;ls -l /etc &gt; /tmp/etc.ls&lt;br /&gt;   Display a long listing of the /etc directory and the /tmp/etc.ls file.&lt;br /&gt;   Display a long listing of the /etc directory, redirecting the output into the /tmp/etc.ls file.&lt;br /&gt;   Report an error message, as this is a poorly constructed command.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;ans : b&lt;br /&gt;&lt;br /&gt;2) Which command below will merge the standard output and standard error of the ls command and then place the merged data into two separate files?&lt;br /&gt;   ls -lR /data &gt; mylist1 &gt; mylist2 2&gt;&amp;1&lt;br /&gt;   ls -lR /data 2&gt;&amp;1 | tee mylist1 &gt; mylist2&lt;br /&gt;   ls -lR /data | tee mylist 1 &gt; mylist2 2&gt;&amp;1&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Ans : b&lt;br /&gt;&lt;br /&gt;3) What happens to standard output and standard error when running the following command?&lt;br /&gt;ls -lR /data 2&gt;&amp;1 &gt; /tmp/output&lt;br /&gt;   stdout and stderr go to the /tmp/output file.&lt;br /&gt;   stdout goes to the /tmp/output file and stderr is displayed on the screen as standard output.&lt;br /&gt;   stderr goes to the /tmp/output file and stdout is displayed on the screen.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;ans : b&lt;br /&gt;&lt;br /&gt;Topic #8: Process Control&lt;br /&gt;&lt;br /&gt;1) What command diplays a list of processes currently running on your system?&lt;br /&gt;   ps ax&lt;br /&gt;   proc -a&lt;br /&gt;   stat&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) For a job running in the foreground, how can you run it in the background?&lt;br /&gt;   This is not possible.&lt;br /&gt;   Suspend the job by typing Control-c and then place it in the background by sending kill -TSTP PID, where PID is the process ID number.&lt;br /&gt;   Suspend the job by typing Control-z and then place it in the background by executing the bg command.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) In a process listing, what does a T indicate in the STAT column?&lt;br /&gt;   The process execution has been suspended.&lt;br /&gt;   The process is defunct.&lt;br /&gt;   The process has no resident pages.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;Topic #9: Client-side Encrypted Communications&lt;br /&gt;&lt;br /&gt;1) Which of the following will allow you to log into another computer using an encrypted tunnel?&lt;br /&gt;   telnet&lt;br /&gt;   ssh&lt;br /&gt;   rlogin&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) In order to allow an encrypted ftp connection to your box, which service or services must you provide?&lt;br /&gt;   sshd&lt;br /&gt;   vsftpd&lt;br /&gt;   both vsftpd (or some other FTP daemon) and sshd&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) You wish to automatically log into computer1 from computer2. To accomplish this, you place a key from computer2 in a file in the proper hidden directory of computer1. In which file do you place this key?&lt;br /&gt;   authorized_keys&lt;br /&gt;   known_hosts&lt;br /&gt;   id_dsa.pub&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Topic #10: bash Command Line Shortcuts&lt;br /&gt;&lt;br /&gt;1) Your present working directory contains the following files:&lt;br /&gt;&lt;br /&gt;     parrot &lt;br /&gt;&lt;br /&gt;     pelican &lt;br /&gt;&lt;br /&gt;     penguin &lt;br /&gt;&lt;br /&gt;You type:&lt;br /&gt;ls -l pa&lt;br /&gt;and then hit the tab key. You are using the bash shell as your interactive shell. What happens?&lt;br /&gt;   "pa" will be expanded to "parrot".&lt;br /&gt;   Nothing.&lt;br /&gt;   "pa" will be expanded to "parrot" and then the ls command will be executed.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) The following command returns a list of files. What best describes the files listed?&lt;br /&gt;ls *.*&lt;br /&gt;   A list of all files in the present working directory.&lt;br /&gt;   A list of all non-hidden files in the present working directory.&lt;br /&gt;   A list of all files in the present working directory that have a dot in the name, but not as a first character.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) What command will be run by this sequence?&lt;br /&gt;!?cat&lt;br /&gt;   The most recent cat command.&lt;br /&gt;   The most recent command that has cat in the command name.&lt;br /&gt;   The most recent command that has cat somewhere on the command line.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Topic #11: Shell Scripting&lt;br /&gt;&lt;br /&gt;1) In the following shell script, how many times will the date command run?&lt;br /&gt;for i in a b; do date; done&lt;br /&gt;   0&lt;br /&gt;   1&lt;br /&gt;   2&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) Under what condition is hello echo'ed in the following shell script?&lt;br /&gt;if [ -d newitem ]; then echo hello; fi&lt;br /&gt;   If newitem is a directory.&lt;br /&gt;   Always.&lt;br /&gt;   Never, as newitem is a non-zero length string.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) In a shell script in a while/do loop, what does the continue statement do?&lt;br /&gt;   Pause for one second and then continue to execute.&lt;br /&gt;   Interrupt that particular time through the do loop and jump to the while statement to reevaluate the conditional statement.&lt;br /&gt;   Jump past the done statement and continue executing.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Topic #12: Task Automation&lt;br /&gt;&lt;br /&gt;1) What is the proper way to call the at command to submit a job to run sometime in the future?&lt;br /&gt;   at&lt;br /&gt;&lt;br /&gt;This will prompt you for the command you wish to run and the time you wish to run it.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;   at timespec&lt;br /&gt;&lt;br /&gt;timespec is the time that you want the command to run. You will be prompted for the command that you wish to run.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;   at timespec command&lt;br /&gt;&lt;br /&gt;This will run the command at the time timespec.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;2) Considering this entry in a user's crontab file, how often will the command in this line run?&lt;br /&gt;30 4 * * 3 mycmd&lt;br /&gt;   Hourly.&lt;br /&gt;   Weekly.&lt;br /&gt;   Hourly in the month of March.&lt;br /&gt; Do not know.&lt;br /&gt;&lt;br /&gt;3) Considering this entry in a user's crontab file, how often will the command in this line run?&lt;br /&gt;*/5 * * * * mycmd&lt;br /&gt;   Every five minutes.&lt;br /&gt;   Five minutes past the hour every hour.&lt;br /&gt;   This will not run, as the format is invalid.&lt;br /&gt; Do not know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-7440249618046421342?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/7440249618046421342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/12/linux-questions-redhat-linux-essentials.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/7440249618046421342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/7440249618046421342'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/12/linux-questions-redhat-linux-essentials.html' title='Linux Questions (Redhat Linux Essentials)'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-7778277529571504690</id><published>2009-12-16T02:41:00.000-08:00</published><updated>2009-12-16T02:42:20.991-08:00</updated><title type='text'>Some Linux Questions</title><content type='html'>Linux Questions :&lt;br /&gt;&lt;br /&gt;1.  Using bash, what will be the current working directory after these commands:&lt;br /&gt;&lt;br /&gt;cd /&lt;br /&gt;cd /tmp&lt;br /&gt;ls /etc&lt;br /&gt;cd $_&lt;br /&gt;&lt;br /&gt;    a. /&lt;br /&gt;    b. /tmp&lt;br /&gt;    c. /etc&lt;br /&gt;    d. /home&lt;br /&gt;&lt;br /&gt;ans : c&lt;br /&gt;&lt;br /&gt;2. "kudzu" is:&lt;br /&gt;&lt;br /&gt;    a. A pallete mixer&lt;br /&gt;    b. A sound mixer&lt;br /&gt;    c. The program that probes for new or missing hardware&lt;br /&gt;    d. a device driver for Mouse&lt;br /&gt;&lt;br /&gt;and :  c&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. The following messages are observed in a logfile:&lt;br /&gt;&lt;br /&gt;Aug 11 10:14:58 linbox -- MARK --&lt;br /&gt;Aug 11 10:34:58 linbox -- MARK --&lt;br /&gt;Aug 11 10:54:58 linbox -- MARK --&lt;br /&gt;Aug 11 11:14:59 linbox -- MARK --&lt;br /&gt;&lt;br /&gt;4. What program is most likely to be responsible for these?&lt;br /&gt;&lt;br /&gt;    a. syslogd&lt;br /&gt;    b. sendmail&lt;br /&gt;    c. cron&lt;br /&gt;    d. init&lt;br /&gt;&lt;br /&gt;ans : a&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-7778277529571504690?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/7778277529571504690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/12/some-linux-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/7778277529571504690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/7778277529571504690'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/12/some-linux-questions.html' title='Some Linux Questions'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-4332478878336869754</id><published>2009-11-29T21:28:00.000-08:00</published><updated>2009-11-29T21:34:51.969-08:00</updated><title type='text'>CompTIA Security+ Practice Test Answers</title><content type='html'>Question 1&lt;br /&gt;(corresponding objective: 1.3)&lt;br /&gt;&lt;br /&gt;Creating a basic standard for application settings, security settings, and active services on every company laptop would be considered...&lt;br /&gt;&lt;br /&gt;A. group policy&lt;br /&gt;B. baseline configuration&lt;br /&gt;C. patch management&lt;br /&gt;*D. a security template&lt;br /&gt;&lt;br /&gt;Question 2&lt;br /&gt;(corresponding objective: 3.7)&lt;br /&gt;&lt;br /&gt;All of the following are correct about LDAP EXCEPT:&lt;br /&gt;&lt;br /&gt;A. some implementations use x.509 certificates for securing communications&lt;br /&gt;B. some of the implementations use default TCP ports 389 and 636&lt;br /&gt;* C. all attributes will be encrypted&lt;br /&gt;D. most of the implementations use the x.500 directory model&lt;br /&gt;&lt;br /&gt;Question 3&lt;br /&gt;(corresponding objective: 1.6)&lt;br /&gt;&lt;br /&gt;Which of the following is a key reason for using virtual machines in a test lab where attackers or malware may compromise a machine?&lt;br /&gt;&lt;br /&gt;A. Easier for the attacker to compromise the machine&lt;br /&gt;B. Harder for the attacker to compromise the machine&lt;br /&gt;* C. Easier to restore the system to the original state&lt;br /&gt;D. Harder to restore the system to the original state&lt;br /&gt;&lt;br /&gt;Question 4&lt;br /&gt;(corresponding objective: 1.1)&lt;br /&gt;&lt;br /&gt;Which of the following is more of an irritation than a security threat?&lt;br /&gt;&lt;br /&gt;A. Rootkit&lt;br /&gt;* B. Adware&lt;br /&gt;C. Spyware&lt;br /&gt;D. Trojan&lt;br /&gt;&lt;br /&gt;Question 5&lt;br /&gt;(corresponding objective: 3.1)&lt;br /&gt;&lt;br /&gt;Least privilege is defined as giving access to information:&lt;br /&gt;&lt;br /&gt;A. based on tenure at the company&lt;br /&gt;B. based on sense of urgency from management&lt;br /&gt;C. that may be revealed to the public&lt;br /&gt;* D. needed to complete the task&lt;br /&gt;&lt;br /&gt;Question 6&lt;br /&gt;(corresponding objective: 1.1)&lt;br /&gt;&lt;br /&gt;Which of the following describes a piece of malicious code that is activated when specified conditions are met?&lt;br /&gt;&lt;br /&gt;A. Trojan&lt;br /&gt;B. Spyware&lt;br /&gt;* C. Logic Bomb&lt;br /&gt;D. Virus&lt;br /&gt;&lt;br /&gt;Question 7&lt;br /&gt;(corresponding objective: 4.6)&lt;br /&gt;&lt;br /&gt;An administrator wishes to enable network auditing policies. Which of the following should the security administrator log?&lt;br /&gt;&lt;br /&gt;A. Only logon failures&lt;br /&gt;B. Only logon success&lt;br /&gt;*C. Both logon successes and logon failures&lt;br /&gt;D. Only logon failures for non-existent users&lt;br /&gt;&lt;br /&gt;Question 8&lt;br /&gt;(corresponding objective: 4.4)&lt;br /&gt;&lt;br /&gt;From a security perspective a performance baseline is MOST useful for:&lt;br /&gt;&lt;br /&gt;* A. detecting performance anomalies that may be due to security breaches&lt;br /&gt;B. assuring that systems are working to their optimal capacity&lt;br /&gt;C. knowing when security scans are going to finish&lt;br /&gt;D. predicting the end of useful life for the firewall&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Question 9&lt;br /&gt;(corresponding objective: 2.5)&lt;br /&gt;&lt;br /&gt;A company creates its own application that accesses the company databases and requires a unique login, based on the user’s domain account. The developer has an undocumented login for testing that does not need to be authenticated against the domain. Which of the following is a security issue regarding this scenario?&lt;br /&gt;&lt;br /&gt;A. The login should be the same as the domain account for authentication purposes&lt;br /&gt;* B. It can be used as a backdoor into the company’s databases&lt;br /&gt;C. The application should not be deployed if it is not fully tested&lt;br /&gt;D. It is not considered best practice to have a user remember multiple logins&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Question 10&lt;br /&gt;(corresponding objective: 2.1)&lt;br /&gt;&lt;br /&gt;In order to perform a TCP hijacking attack, an attacker would be required to:&lt;br /&gt;&lt;br /&gt;A. have a protocol analyzer intercept traffic between two hosts&lt;br /&gt;* B. know the IP addresses of both hosts and sequence numbers of the TCP/IP packets&lt;br /&gt;C. perform a man-in-the-middle attack and communicate directly with two hosts&lt;br /&gt;D. obtain the MAC address of the both hosts&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-4332478878336869754?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/4332478878336869754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/comptia-security-practice-test-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/4332478878336869754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/4332478878336869754'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/comptia-security-practice-test-answers.html' title='CompTIA Security+ Practice Test Answers'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-3784597310020400343</id><published>2009-11-29T21:24:00.000-08:00</published><updated>2009-11-29T21:25:31.412-08:00</updated><title type='text'>Linux+ Quesions</title><content type='html'>1. customer wants internal office information to be accessible by employees through a Web browser. Which of the following Linux services should be used?&lt;br /&gt;&lt;br /&gt;A. Squid&lt;br /&gt;B. MySQL&lt;br /&gt;C. Apache&lt;br /&gt;D. sendmail&lt;br /&gt;&lt;br /&gt;Ans : C&lt;br /&gt;&lt;br /&gt;2 : Which of the following should be done before installing Linux on a home computer?&lt;br /&gt;&lt;br /&gt;A. Upgrade the computer's memory to at least 64 MB&lt;br /&gt;B. Create ext2 and swap partitions on the hard drive&lt;br /&gt;C. Verify the hardware on the Linux hardware compatibility list&lt;br /&gt;D. Defragment the drive using the computer's current operating system&lt;br /&gt;&lt;br /&gt;Ans : C&lt;br /&gt;&lt;br /&gt;3. Which of the following packages is usually more important for a "workstation" installation than a "server" installation?&lt;br /&gt;&lt;br /&gt;A. DNS Server&lt;br /&gt;B. DHCP Server&lt;br /&gt;C. Proxy Server&lt;br /&gt;D. XFree86 Server&lt;br /&gt;&lt;br /&gt;Ans : D&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. A new employee having a problem with account login has the following entry in the /etc/passwd file:&lt;br /&gt;user1:*:51:501:John Doe:/home/user1:/bin/bash&lt;br /&gt;What is wrong with this entry in the /etc/passwd file?&lt;br /&gt;&lt;br /&gt;A. The UID is not valid.&lt;br /&gt;B. The account is locked.&lt;br /&gt;C. The UID and GID must match.&lt;br /&gt;D. Spaces are not permitted between the first and last name.&lt;br /&gt;&lt;br /&gt;Ans : B&lt;br /&gt;&lt;br /&gt;5. After having worked for several months, a PC fails to boot and indicates that the HDD has bad sectors. Which is the first action to take?&lt;br /&gt;&lt;br /&gt;A. Reboot the system to remove the message.&lt;br /&gt;B. Run the manufacturer's Diagnostic Utility.&lt;br /&gt;C. Replace the defective HDD and reload the system.&lt;br /&gt;D. Run Scandisk and Defrag to repair the damaged sectors.&lt;br /&gt;&lt;br /&gt;Ans:  B&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. A customer wants to determine which TCP ports are in use on his Linux server. Which of the following commands should be used?&lt;br /&gt;&lt;br /&gt;A. tftp&lt;br /&gt;B. lsport&lt;br /&gt;C. minicom&lt;br /&gt;D. netstat&lt;br /&gt;&lt;br /&gt;Ans : D&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. A Linux superuser is unable to delete a file. The user is also unable to change permission for the file. What is the problem?&lt;br /&gt;&lt;br /&gt;A. The file is actually a hard link.&lt;br /&gt;B. The file has the immutable flag set.&lt;br /&gt;C. The file has been fragmented across directories.&lt;br /&gt;D. The superuser does not have permission to access the file.&lt;br /&gt;&lt;br /&gt;Ans : B&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8. Which of the following commands can be used to save and resume editing the file in the vi editor?&lt;br /&gt;&lt;br /&gt;A. :w&lt;br /&gt;B. :x&lt;br /&gt;C. :v&lt;br /&gt;D. :s!&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;9. A system technician needs to determine which hardware modules are loaded on a particular Linux server. Which of the following commands will perform this task?&lt;br /&gt;&lt;br /&gt;A. lsmod&lt;br /&gt;B. modules&lt;br /&gt;C. insmod -list&lt;br /&gt;D. modprobe -list&lt;br /&gt;&lt;br /&gt;Ans : lsmod&lt;br /&gt;&lt;br /&gt;10. What is the first step in troubleshooting a system problem?&lt;br /&gt;&lt;br /&gt;A. Collect information&lt;br /&gt;B. Test a possible solution&lt;br /&gt;C. Make a hypothesis about a solution&lt;br /&gt;D. Try to modify the configuration files&lt;br /&gt;&lt;br /&gt;Ans : A&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-3784597310020400343?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/3784597310020400343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/linux-quesions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3784597310020400343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3784597310020400343'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/linux-quesions.html' title='Linux+ Quesions'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-1998612056691821766</id><published>2009-11-12T01:21:00.000-08:00</published><updated>2009-11-12T01:23:05.574-08:00</updated><title type='text'>FresherQuestionPaper</title><content type='html'>001. In Linux, how can you only see the first 14 lines of a file?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;002. In Linux, what can you type at a command line to determine which shell you are using?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;003. In Linux, what is the command to list ALL (hidden also) files of current directory &amp; it’s subdirectories? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;004. List out some popular linux distributions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;005.  What is an ip address and what is the use of it?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;006. What are the 7 layers of OSI model ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;007. What does HTML stand for?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;008. What does CSS stand for?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;009. What does PHP stand for?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;010. What does SQL stand for?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;011. What does PERL stand for ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;012. Which SQL statement is used to extract data from a database?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;013.  Explain about cache memory and virtual memory. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;014. What is a compiler and give an example for compiler?        &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;015. Diffrence between Stack and Queue?         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;016. What is union and structure?         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;017. Diffrence between pass by value and pass ny reference?        &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;018. What is the difference between "calloc(...)" and "malloc(...)"?        &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;019. What is the difference between "printf(...)" and "sprintf(...)"?        &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;020. What is the difference between an Interface and an Abstract class?        &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;021. What is the purpose of garbage collection in Java, and when is it used? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;022. Explain differences between Swing and Awt.&lt;br /&gt;&lt;br /&gt;       &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;023.  Explain about  Overriding, Encapsulation and Inheritence.       &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;024. What is serialization?         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;025. List out different types of JDBC drivers.  Briefly explain about each type.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        &lt;br /&gt;&lt;br /&gt;026. Explain the life cycle methods of a Servlet.?        &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;027. What is the difference between servlets and JSP?   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;028. What is Throughput, Turnaround time?         &lt;br /&gt;&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;        &lt;br /&gt;&lt;br /&gt;029. Explain about the paging systems?         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;030. What is Deadlock?         &lt;br /&gt;     &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;031. Explain the meaning of the expression ACID transaction?        &lt;br /&gt;&lt;br /&gt;      &lt;br /&gt;&lt;br /&gt;         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;032. In SQL a statement, How can you compare a part of the name rather than the entire name?  &lt;br /&gt;      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;033. How do you delete a record from a database?        &lt;br /&gt;&lt;br /&gt;034. How do you delete a table from a database?         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;035. In SQL, Explain usage of "GROUP BY" clause ?        &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;036. In SQL, Differenciate between a "where" clause and a "having" clause ?    &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;037.  What's the difference between a primary key and a unique key?      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;038.  Explain about cursors.         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;039. Explain about triggers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;040.  &lt;br /&gt;What is a self join?         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;041. Explain about  normalization.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;       &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;042. How do we find ip address in Windows and Linux?       &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;043. Diffrence between WAN and LAN?         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;044. What is protocol?         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;045. Diffrence between HTTP and HTTPS? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;046. What are the ports associated with the following Applications/Services?&lt;br /&gt;FTP&lt;br /&gt;Telnet&lt;br /&gt;http&lt;br /&gt;ssh&lt;br /&gt;smtp&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                                                                                             &lt;br /&gt;047.  Explain about configuration management and list out some configuration management tools.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;048. What is Remote Procedure Call (RPC)?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;049. Explain about Symmetric and Asymmetric Encryptions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;050.  Explain about following terms.&lt;br /&gt;Bug&lt;br /&gt;Testcase&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-1998612056691821766?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/1998612056691821766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/fresherquestionpaper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/1998612056691821766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/1998612056691821766'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/fresherquestionpaper.html' title='FresherQuestionPaper'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-2741045707874839770</id><published>2009-11-11T08:06:00.000-08:00</published><updated>2009-11-11T08:07:52.049-08:00</updated><title type='text'>System Admin Interview Questions</title><content type='html'>1. What port does telnet use?&lt;br /&gt;2. What is SMTP?&lt;br /&gt;3. How would you troubleshoot a printer?&lt;br /&gt;4. How does traceroute work?&lt;br /&gt;5. Walk me through everything that happens in the network from the moment you punch in www.google.com in the address bar to when the browser displays the page?&lt;br /&gt;6. Can you work this weekend?&lt;br /&gt;7. What kind of people are your current users? Do you like them?&lt;br /&gt;8. What role do you think computer support analysts should play in the company?&lt;br /&gt;9. Assuming you have to work for a living and all jobs pay the same, how would you describe the job you want?&lt;br /&gt;10. When conflict arises on your team, how do you handle it?&lt;br /&gt;&lt;br /&gt;11. How do you stay current?&lt;br /&gt;12. What operating system do you prefer and why?&lt;br /&gt;13. What part of the project life cycle have you worked on?&lt;br /&gt;14. Describe the project or situation that best demonstrates your coding (or analytical) skills.&lt;br /&gt;15. What is the differece between local, global and universal groups?&lt;br /&gt;16. What is the major difference between FAT and NTFS?&lt;br /&gt;17. Name the FMSO roles and their functions.&lt;br /&gt;18. You’ve just been asked to create 20 new Users and update 2 GPOs, ASAP! You go to the Administrative Tools, and discover they are all gone. What do you do? What do you suspect happened?&lt;br /&gt;19. What is a Global Catalog?&lt;br /&gt;20. Explain the function of DNS.&lt;br /&gt;21. Explain a “Two-Way Transitive” trust.&lt;br /&gt;22. In speaking about trusts, what does “Non-transitive” mean?&lt;br /&gt;23. Describe the lease process of DHCP.&lt;br /&gt;24. Explain NTP.&lt;br /&gt;25. What is the 568B wiring scheme?&lt;br /&gt;26. What us your highest achievement while working in the IT field?&lt;br /&gt;27. What are your short term goals to achieve?&lt;br /&gt;28. You have a user call for support for the 5th time on the same issue. How would you handle the call and what would you do differently?&lt;br /&gt;29. List as many ways you can think of to move a file from a Windows machine to a Linux machine.&lt;br /&gt;30. Demonstrate recursiveness by implementing a factorial function.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-2741045707874839770?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/2741045707874839770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/system-admin-interview-questions.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/2741045707874839770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/2741045707874839770'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/system-admin-interview-questions.html' title='System Admin Interview Questions'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-8203276998199517957</id><published>2009-11-11T08:04:00.000-08:00</published><updated>2009-11-11T08:05:12.223-08:00</updated><title type='text'>Important Unix Shell Questions</title><content type='html'>1. There can be multiple Kernels and shells running on your system. True or False?&lt;br /&gt;   2. Why shell is called Command Interpreter?&lt;br /&gt;   3. Two UNIX systems may or may not use the same system calls. True or False?&lt;br /&gt;   4. To obtain help on any feature of the system, what are the possible help sources available?&lt;br /&gt;   5. Why are the directories /bin and /usr/bin usually found first in the output of echo $PATH?&lt;br /&gt;   6. If two commands with the same filename exist in two directories in PATH, how can they be executed.&lt;br /&gt;   7. How is the Current directory is indicated in the value of the PATH?&lt;br /&gt;   8. Use the type command with the following arguments—cd, date, pwd and ls. Which are the internal commands in the list?&lt;br /&gt;   9. What is the difference between an argument and an option?&lt;br /&gt;  10. if the command ls –all works on your system, which flavor of UNIX could you be using?&lt;br /&gt;  11. What does the secondary prompt look like and when does it appear?&lt;br /&gt;  12. You located the string crontab in a man page by searching with /crontab [Enter]. How do you find out the other occurrences of this string in the page?&lt;br /&gt;  13. What is a pager? Name the two standard pagers used by man.&lt;br /&gt;  14. If a command doesn’t seem to complete, which key will you press to interrupt it?&lt;br /&gt;  15. Do you need to wait for a command to finish before entering the next one?&lt;br /&gt;  16. What do the | and the three dots in the SYNOPSIS section of these man pages indicate as shown below?&lt;br /&gt;      /usr/xpg4/bin/tail [ -f | -r ]&lt;br /&gt;      /usr/bin/ls [ -aAbcCdfFgilLmnopqrRstux1 ] [file .. ]&lt;br /&gt;  17. How do you direct man to use a specific pager, say less?&lt;br /&gt;  18. What is a whitespace? Explain the treatment the shell metes out to a command that contains a lot of whitespace.&lt;br /&gt;  19. A Program file named foo exists in the current directory, but when we try to execute it by entering foo, we see the message foo: command not found. Explain how that can happen?&lt;br /&gt;  20. What do multiprogramming, multiuser and multitasking mean?&lt;br /&gt;  21. Why are many UNIX commands designed to perform simple rather than complex tasks?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-8203276998199517957?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/8203276998199517957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/important-unix-shell-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/8203276998199517957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/8203276998199517957'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/important-unix-shell-questions.html' title='Important Unix Shell Questions'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-5377139791165492889</id><published>2009-11-11T08:02:00.000-08:00</published><updated>2009-11-11T08:03:43.125-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shell Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><title type='text'>Linux/Unix Shell related questions</title><content type='html'>1. How do you find out what’s your shell? - echo $SHELL&lt;br /&gt;2. What’s the command to find out today’s date? - date&lt;br /&gt;3. What’s the command to find out users on the system? - who&lt;br /&gt;4. How do you find out the current directory you’re in? - pwd&lt;br /&gt;5. How do you remove a file? - rm&lt;br /&gt;6. How do you remove a directory and its subdirectories - rm -rf&lt;br /&gt;7. How do you find out your own username? - whoami&lt;br /&gt;8. How do you send a mail message to somebody? - mail somebody@techinterviews.com -s ‘Your subject’ -c ‘cc@techinterviews.com‘&lt;br /&gt;&lt;br /&gt;9. How do you count words, lines and characters in a file? - wc&lt;br /&gt;10. How do you search for a string inside a given file? - grep string filename&lt;br /&gt;11. How do you search for a string inside a directory? - grep string *&lt;br /&gt;12. How do you search for a string in a directory with the subdirectories recursed? - grep -r string *&lt;br /&gt;13. What are PIDs? - They are process IDs given to processes. A PID can vary from 0 to 65535.&lt;br /&gt;14. How do you list currently running process? - ps&lt;br /&gt;15. How do you stop a process? - kill pid&lt;br /&gt;16. How do you find out about all running processes? - ps -ag&lt;br /&gt;17. How do you stop all the processes, except the shell window? - kill 0&lt;br /&gt;18. How do you fire a process in the background? - ./process-name &amp;&lt;br /&gt;19. How do you refer to the arguments passed to a shell script? - $1, $2 and so on. $0 is your script name.&lt;br /&gt;20. What’s the conditional statement in shell scripting? - if {condition} then … fi&lt;br /&gt;21. How do you do number comparison in shell scripts? - -eq, -ne, -lt, -le, -gt, -ge&lt;br /&gt;22. How do you test for file properties in shell scripts? - -s filename tells you if the file is not empty, -f filename tells you whether the argument is a file, and not a directory, -d filename tests if the argument is a directory, and not a file, -w filename tests for writeability, -r filename tests for readability, -x filename tests for executability&lt;br /&gt;23. How do you do Boolean logic operators in shell scripting? - ! tests for logical not, -a tests for logical and, and -o tests for logical or.&lt;br /&gt;24. How do you find out the number of arguments passed to the shell script? - $#&lt;br /&gt;25. What’s a way to do multilevel if-else’s in shell scripting? - if {condition} then {statement} elif {condition} {statement} fi&lt;br /&gt;26. How do you write a for loop in shell? - for {variable name} in {list} do {statement} done&lt;br /&gt;27. How do you write a while loop in shell? - while {condition} do {statement} done&lt;br /&gt;28. How does a case statement look in shell scripts? - case {variable} in {possible-value-1}) {statement};; {possible-value-2}) {statement};; esac&lt;br /&gt;29. How do you read keyboard input in shell scripts? - read {variable-name}&lt;br /&gt;30. How do you define a function in a shell script? - function-name() { #some code here return }&lt;br /&gt;31. How does getopts command work? - The parameters to your script can be passed as -n 15 -x 20. Inside the script, you can iterate through the getopts array as while getopts n:x option, and the variable $option contains the value of the entered option.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-5377139791165492889?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/5377139791165492889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/linuxunix-shell-related-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/5377139791165492889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/5377139791165492889'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/linuxunix-shell-related-questions.html' title='Linux/Unix Shell related questions'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-4463295795359802673</id><published>2009-11-11T07:59:00.000-08:00</published><updated>2009-11-11T08:00:21.000-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='operating systems'/><title type='text'>Operating system questions</title><content type='html'>What is MUTEX ?&lt;br /&gt;What isthe difference between a ‘thread’ and a ‘process’?&lt;br /&gt;What is INODE?&lt;br /&gt;Explain the working of Virtual Memory.&lt;br /&gt;How does Windows NT supports Multitasking?&lt;br /&gt;&lt;br /&gt;Explain the Unix Kernel.&lt;br /&gt;What is Concurrency? Expain with example Deadlock and Starvation.&lt;br /&gt;What are your solution strategies for “Dining Philosophers Problem” ?&lt;br /&gt;Explain Memory Partitioning, Paging, Segmentation.&lt;br /&gt;Explain Scheduling.&lt;br /&gt;Operating System Security.&lt;br /&gt;What is Semaphore?&lt;br /&gt;Explain the following file systems : NTFS, Macintosh(HPFS), FAT .&lt;br /&gt;What are the different process states?&lt;br /&gt;What is Marshalling?&lt;br /&gt;Define and explain COM?&lt;br /&gt;What is Marshalling?&lt;br /&gt;Difference - Loading and Linking ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-4463295795359802673?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/4463295795359802673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/operating-system-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/4463295795359802673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/4463295795359802673'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/operating-system-questions.html' title='Operating system questions'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-4919803390481205635</id><published>2009-11-11T07:58:00.001-08:00</published><updated>2009-11-11T07:58:57.727-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking questions'/><title type='text'>Basic Computer Networks Questions</title><content type='html'>Some of the Top Basic Computer Networks Questions, that must be Answered and known if you even think of attending any Networks/Network Admin Interviews.&lt;br /&gt;&lt;br /&gt;   1. Virtual meetings on Internet are called………….&lt;br /&gt;   2. LAN can be connected by devices called………..&lt;br /&gt;   3. The bit pattern …………… is the preamble of 802.3 frame format.&lt;br /&gt;   4. Basic SONET frame is a block of ……………. bytes.&lt;br /&gt;   5. The amount of thermal noise is measured by ………………..&lt;br /&gt;   6. Explain the Frequency Modulation.&lt;br /&gt;   7. What is WAN and where it is used? how it is different from LAN and MAN.&lt;br /&gt;   8. Explain single error detecting code with example.&lt;br /&gt;   9. What is Flow control? Explain.&lt;br /&gt;  10. Explain CSMA/CD Protocol.&lt;br /&gt;  11. Describe Multitasking.&lt;br /&gt;  12. Describe Service Primitives.&lt;br /&gt;  13. Explain briefly PCM and its requirements.&lt;br /&gt;  14. What is Concession Control describe i) Load shedding ii) Jitter Control. Under it.&lt;br /&gt;  15. What is QoS?&lt;br /&gt;  16. Token Bucket Algorithm is employed to prevent congestion. The capacity of the bucket is 250k byes Arriving rate of the token is 2MB/sec. if the maximum output rate is 25MB/sec, calculate the burst length in time.&lt;br /&gt;  17. Describe principles considered in the design of network layer in the internet.&lt;br /&gt;  18. Describe Address format used in Internet. [ With figure ]&lt;br /&gt;  19. A Network on the Internet has a Subnet mask of 255.255.240.0. What is the maximum No. of hosts it can handle?&lt;br /&gt;  20. What are basic difference between IPV4 and IPV6?&lt;br /&gt;  21. Describe Address Resolution Protocol, use diagram if required.&lt;br /&gt;  22. What is the difference between Interior gateway protocol and Exterior gateway protocol.&lt;br /&gt;  23. What is the function of ATM adaptation layer.&lt;br /&gt;  24. Illustrate the phenomenon of Silly Window Syndrome in TCP.&lt;br /&gt;  25. What is delayed duplicate problem?&lt;br /&gt;  26. Explain Unicast addresses, Multicast adresses, and broadcast address.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-4919803390481205635?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/4919803390481205635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/basic-computer-networks-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/4919803390481205635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/4919803390481205635'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/basic-computer-networks-questions.html' title='Basic Computer Networks Questions'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-2310382093406474340</id><published>2009-11-11T07:56:00.001-08:00</published><updated>2009-11-11T07:56:46.469-08:00</updated><title type='text'>Networking Interview Questions and Answers</title><content type='html'>Networking Interview Questions and Answers :&lt;br /&gt;&lt;br /&gt;1. What is an Object server?&lt;br /&gt;&lt;br /&gt;With an object server, the Client/Server application is written as a set of communicating objects. Client object communicate with server objects using an Object Request Broker (ORB). The client invokes a method on a remote object. The ORB locates an instance of that object server class, invokes the requested method and returns the results to the client object. Server objects must provide support for concurrency and sharing. The ORB brings it all together.&lt;br /&gt;&lt;br /&gt;2. What is a Transaction server?&lt;br /&gt;&lt;br /&gt;With a transaction server, the client invokes remote procedures that reside on the server with an SQL database engine. These remote procedures on the server execute a group of SQL statements. The network exchange consists of a single request/reply message. The SQL statements either all succeed or fail as a unit.&lt;br /&gt;&lt;br /&gt;3. What is a Database Server?&lt;br /&gt;&lt;br /&gt;With a database server, the client passes SQL requests as messages to the database server. The results of each SQL command are returned over the network. The server uses its own processing power to find the request data instead of passing all the records back to the client and then getting it find its own data. The result is a much more efficient use of distributed processing power. It is also known as SQL engine.&lt;br /&gt;&lt;br /&gt;4. What are the most typical functional units of the Client/Server applications?&lt;br /&gt;&lt;br /&gt;    * User interface&lt;br /&gt;    * Business Logic and&lt;br /&gt;    * Shared data.&lt;br /&gt;&lt;br /&gt;5. What are all the Extended services provided by the OS?&lt;br /&gt;&lt;br /&gt;    * Ubiquitous communications&lt;br /&gt;    * Network OS extension&lt;br /&gt;    * Binary large objects (BLOBs)&lt;br /&gt;    * Global directories and Network yellow pages&lt;br /&gt;    * Authentication and Authorization services&lt;br /&gt;    * System management&lt;br /&gt;    * Network time&lt;br /&gt;    * Database and transaction services&lt;br /&gt;    * Internet services&lt;br /&gt;    * Object- oriented services&lt;br /&gt;&lt;br /&gt;6. What are Triggers and Rules?&lt;br /&gt;&lt;br /&gt;Triggers are special user defined actions usually in the form of stored procedures, that are automatically invoked by the server based on data related events. It can perform complex actions and can use the full power of procedural languages.&lt;br /&gt;A rule is a special type of trigger that is used to perform simple checks on data.&lt;br /&gt;&lt;br /&gt;7. What is meant by Transparency?&lt;br /&gt;&lt;br /&gt;Transparency really means hiding the network and its servers from the users and even the application programmers.&lt;br /&gt;&lt;br /&gt;8. What are TP-Lite and TP-Heavy Monitors?&lt;br /&gt;&lt;br /&gt;TP-Lite is simply the integration of TP Monitor functions in the database engines. TP-Heavy are TP Monitors which supports the Client/Server architecture and allow PC to initiate some very complex multiserver transaction from the desktop.&lt;br /&gt;&lt;br /&gt;9. What are the two types of OLTP?&lt;br /&gt;&lt;br /&gt;TP lite, based on stored procedures. TP heavy, based on the TP monitors.&lt;br /&gt;&lt;br /&gt;10. What is a Web server?&lt;br /&gt;&lt;br /&gt;This new model of Client/Server consists of thin, protable, "universal" clients that talk to superfat servers. In the simplet form, a web server returns documents when clients ask for them by name. The clients and server communicate using an RPC-like protocol called HTTP.&lt;br /&gt;11. What are Super servers?&lt;br /&gt;&lt;br /&gt;These are fully-loaded machines which includes multiprocessors, high-speed disk arrays for intervive I/O and fault tolerant features.&lt;br /&gt;&lt;br /&gt;12. What is a TP Monitor?&lt;br /&gt;&lt;br /&gt;There is no commonly accepted definition for a TP monitor. According to Jeri Edwards' a TP Monitor is "an OS for transaction processing".&lt;br /&gt;&lt;br /&gt;13. TP Monitor does mainly two things extremely well. They are Process management and Transaction management.?&lt;br /&gt;&lt;br /&gt;They were originally introduced to run classes of applications that could service hundreds and sometimes thousands of clients. TP Monitors provide an OS - on top of existing OS - that connects in real time these thousands of humans with a pool of shared server processes.&lt;br /&gt;&lt;br /&gt;14. What is meant by Asymmetrical protocols?&lt;br /&gt;&lt;br /&gt;There is a many-to-one relationship between clients and server. Clients always initiate the dialog by requesting a service. Servers are passively awaiting for requests from clients.&lt;br /&gt;&lt;br /&gt;15. What are the types of Transparencies?&lt;br /&gt;&lt;br /&gt;The types of transparencies the NOS middleware is expected to provide are:-&lt;br /&gt;&lt;br /&gt;    * Location transparency&lt;br /&gt;    * Namespace transparency&lt;br /&gt;    * Logon transparency&lt;br /&gt;    * Replication transparency&lt;br /&gt;    * Local/Remote access transparency&lt;br /&gt;    * Distributed time transparency&lt;br /&gt;    * Failure transparency and&lt;br /&gt;    * Administration transparency.&lt;br /&gt;&lt;br /&gt;16. What is the difference between trigger and rule?&lt;br /&gt;&lt;br /&gt;The triggers are called implicitly by database generated events, while stored procedures are called explicitly by client applications.&lt;br /&gt;&lt;br /&gt;17. What are called Transactions?&lt;br /&gt;&lt;br /&gt;The grouped SQL statements are called Transactions (or) A transaction is a collection of actions embused with ACID properties.&lt;br /&gt;&lt;br /&gt;18. What are the building blocks of Client/Server?&lt;br /&gt;&lt;br /&gt;    * The client&lt;br /&gt;    * The server and&lt;br /&gt;    * Middleware.&lt;br /&gt;&lt;br /&gt;19. Explain the building blocks of Client/Server?&lt;br /&gt;&lt;br /&gt;The client side building block runs the client side of the application.&lt;br /&gt;The server side building block runs the server side of the application.&lt;br /&gt;&lt;br /&gt;20. The middleware buliding block runs on both the client and server sides of an application. It is broken into three categories:-&lt;br /&gt;&lt;br /&gt;    * Transport stack&lt;br /&gt;    * Network OS&lt;br /&gt;    * Service-specific middleware.&lt;br /&gt;&lt;br /&gt;21. What are all the Base services provided by the OS?&lt;br /&gt;&lt;br /&gt;    * Task preemption&lt;br /&gt;    * Task priority&lt;br /&gt;    * Semaphores&lt;br /&gt;    * Interprocess communications (IPC)&lt;br /&gt;    * Local/Remote Interprocess communication&lt;br /&gt;    * Threads&lt;br /&gt;    * Intertask protection&lt;br /&gt;    * Multiuser&lt;br /&gt;    * High performance file system&lt;br /&gt;    * Efficient memory management and&lt;br /&gt;    * Dynamically linked Run-time extensions.&lt;br /&gt;&lt;br /&gt;22. What are the roles of SQL?&lt;br /&gt;&lt;br /&gt;    * SQL is an interactive query language for ad hoc database queries.&lt;br /&gt;    * SQL is a database programming language.&lt;br /&gt;    * SQL is a data definition and data administration language.&lt;br /&gt;    * SQL is the language of networked database servers&lt;br /&gt;    * SQL helps protect the data in a multi-user networked environment.&lt;br /&gt;    * Because of these multifacted roles it plays, physicists might call SQL as "The grand unified theory of database".&lt;br /&gt;&lt;br /&gt;23. What is Structured Query Langauge (SQL)?&lt;br /&gt;&lt;br /&gt;SQL is a powerful set-oriented language which was developed by IBM research for the databases that adhere to the relational model. It consists of a short list of powerful, yet highly flexible, commands that can be used to manipulate information collected in tables. Through SQL, we can manipulate and control sets of records at a time.&lt;br /&gt;&lt;br /&gt;24. What are the characteristics of Client/Server?&lt;br /&gt;&lt;br /&gt;    * Service&lt;br /&gt;    * Shared resources&lt;br /&gt;    * Asymmentrical protocols&lt;br /&gt;    * Transparency of location&lt;br /&gt;    * Mix-and-match&lt;br /&gt;    * Message based exchanges&lt;br /&gt;    * Encapsulation of services&lt;br /&gt;    * Scalability&lt;br /&gt;    * Integrity&lt;br /&gt;&lt;br /&gt;Client/Server computing is the ultimate "Open platform". It gives the freedom to mix-and-match components of almost any level. Clients and servers are loosely coupled systems that interact through a message-passing mechanism.&lt;br /&gt;&lt;br /&gt;25. What is Remote Procedure Call (RPC)?&lt;br /&gt;&lt;br /&gt;RPC hides the intricacies of the network by using the ordinary procedure call mechanism familiar to every programmer. A client process calls a function on a remote server and suspends itself until it gets back the results. Parameters are passed like in any ordinary procedure. The RPC, like an ordinary procedure, is synchoronous. The process that issues the call waits until it gets the results.&lt;br /&gt;&lt;br /&gt;Under the covers, the RPC run-time software collects values for the parameters, forms a message, and sends it to the remote server. The server receives the request, unpack the parameters, calls the procedures, and sends the reply back to the client. It is a telephone-like metaphor.&lt;br /&gt;&lt;br /&gt;26. What are the main components of Transaction-based Systems?&lt;br /&gt;&lt;br /&gt;    * Resource Manager&lt;br /&gt;    * Transaction Manager and&lt;br /&gt;    * Application Program.&lt;br /&gt;&lt;br /&gt;27. What are the three types of SQL database server architecture?&lt;br /&gt;&lt;br /&gt;    * Process-per-client Architecture. (Example: Oracle 6, Informix )&lt;br /&gt;    * Multithreaded Architecture. (Example: Sybase, SQL server)&lt;br /&gt;    * Hybrid Architecture (Example: Oracle 7)&lt;br /&gt;&lt;br /&gt;28. What are the Classification of clients?&lt;br /&gt;&lt;br /&gt;Non-GUI clients - Two types are:-&lt;br /&gt;&lt;br /&gt;   1. Non-GUI clients that do not need multi-tasking&lt;br /&gt;      (Example: Automatic Teller Machines (ATM), Cell phone)&lt;br /&gt;   2. Non-GUI clients that need multi-tasking&lt;br /&gt;      (Example: ROBOTs)&lt;br /&gt;      GUI clients&lt;br /&gt;      OOUI clients&lt;br /&gt;&lt;br /&gt;29. What are called Non-GUI clients, GUI Clients and OOUI Clients?&lt;br /&gt;&lt;br /&gt;Non-GUI Client: These are applications, generate server requests with a minimal amount of human interaction.&lt;br /&gt;GUI Clients: These are applicatoins, where occassional requests to the server result from a human interacting with a GUI&lt;br /&gt;(Example: Windows 3.x, NT 3.5)&lt;br /&gt;OOUI clients : These are applications, which are highly-iconic, object-oriented user interface that provides seamless access to information in very visual formats.&lt;br /&gt;(Example: MAC OS, Windows 95, NT 4.0)&lt;br /&gt;&lt;br /&gt;30. What is Message Oriented Middleware (MOM)?&lt;br /&gt;&lt;br /&gt;MOM allows general purpose messages to be exchanged in a Client/Server system using message queues. Applications communicate over networks by simply putting messages in the queues and getting messages from queues. It typically provides a very simple high level APIs to its services.&lt;br /&gt;MOM's messaging and queuing allow clients and servers to communicate across a network without being linked by a private, dedicated, logical connection. The clients and server can run at different times. It is a post-office like metaphor.&lt;br /&gt;&lt;br /&gt;31. What is meant by Middleware?&lt;br /&gt;&lt;br /&gt;Middleware is a distributed software needed to support interaction between clients and servers. In short, it is the software that is in the middle of the Client/Server systems and it acts as a bridge between the clients and servers. It starts with the API set on the client side that is used to invoke a service and it covers the transmission of the request over the network and the resulting response.&lt;br /&gt;It neither includes the software that provides the actual service - that is in the servers domain nor the user interface or the application login - that's in clients domain.&lt;br /&gt;&lt;br /&gt;32. What are the functions of the typical server program?&lt;br /&gt;&lt;br /&gt;It waits for client-initiated requests. Executes many requests at the same time. Takes care of VIP clients first. Initiates and runs background task activity. Keeps running. Grown bigger and faster.&lt;br /&gt;&lt;br /&gt;33. What is meant by Symmentric Multiprocessing (SMP)?&lt;br /&gt;&lt;br /&gt;It treats all processors as equal. Any processor can do the work of any other processor. Applications are divided into threads that can run concurrently on any available processor. Any processor in the pool can run the OS kernel and execute user-written threads.&lt;br /&gt;&lt;br /&gt;34. What are Service-specific middleware?&lt;br /&gt;&lt;br /&gt;It is needed to accomplish a particular Client/Server type of services which includes:-&lt;br /&gt;&lt;br /&gt;    * Database specific middleware&lt;br /&gt;    * OLTP specific middleware&lt;br /&gt;    * Groupware specific middleware&lt;br /&gt;    * Object specific middleware&lt;br /&gt;    * Internet specific middleware and&lt;br /&gt;    * System management specific middleware.&lt;br /&gt;&lt;br /&gt;35. What are General Middleware?&lt;br /&gt;&lt;br /&gt;It includes the communication stacks, distributed directories, authentication services, network time, RPC, Queuing services along with the network OS extensions such as the distributed file and print services.&lt;br /&gt;&lt;br /&gt;36. What is meant by Asymmetric Multiprocessing (AMP)?&lt;br /&gt;&lt;br /&gt;It imposses hierarchy and a division of labour among processors. Only one designated processor, the master, controls (in a tightly coupled arrangement) slave processors dedicated to specific functions.&lt;br /&gt;&lt;br /&gt;37. What is OLTP?&lt;br /&gt;&lt;br /&gt;In the transaction server, the client component usually includes GUI and the server components usually consists of SQL transactions against a database. These applications are called OLTP (Online Transaction Processing) OLTP Applications typically,&lt;br /&gt;Receive a fixed set of inputs from remote clients. Perform multiple pre-compiled SQL comments against a local database. Commit the work and Return a fixed set of results.&lt;br /&gt;&lt;br /&gt;38. What is meant by 3-Tier architecture?&lt;br /&gt;&lt;br /&gt;In 3-tier Client/Server systems, the application logic (or process) lives in the middle tier and it is separated from the data and the user interface. In theory, the 3-tier Client/Server systems are more scalable, robust and flexible.&lt;br /&gt;Example: TP monitor, Web.&lt;br /&gt;&lt;br /&gt;39. What is meant by 2-Tier architecture?&lt;br /&gt;&lt;br /&gt;In 2-tier Client/Server systems, the application logic is either burried inside the user interface on the client or within the database on the server.&lt;br /&gt;Example: File servers and Database servers with stored procedures.&lt;br /&gt;&lt;br /&gt;40. What is Load balancing?&lt;br /&gt;&lt;br /&gt;If the number of incoming clients requests exceeds the number of processes in a server class, the TP Monitor may dynamically start new ones and this is called Load balancing.&lt;br /&gt;&lt;br /&gt;41. What are called Fat clients and Fat servers?&lt;br /&gt;&lt;br /&gt;If the bulk of the application runs on the Client side, then it is Fat clients. It is used for decision support and personal software.&lt;br /&gt;If the bulk of the application runs on the Server side, then it is Fat servers. It tries to minimize network interchanges by creating more abstract levels of services.&lt;br /&gt;&lt;br /&gt;42. What is meant by Horizontal scaling and Vertical scaling?&lt;br /&gt;&lt;br /&gt;Horizontal scaling means adding or removing client workstations with only a slight performance impact. Vertical scaling means migrating to a larger and faster server machine or multiservers.&lt;br /&gt;&lt;br /&gt;43. What is Groupware server?&lt;br /&gt;&lt;br /&gt;Groupware addresses the management of semi-structured information such as text, image, mail, bulletin boards and the flow of work. These Client/Server systems have people in direct contact with other people.&lt;br /&gt;&lt;br /&gt;44. What are the two broad classes of middleware?&lt;br /&gt;&lt;br /&gt;    * General middleware&lt;br /&gt;    * Service-specific middleware.&lt;br /&gt;&lt;br /&gt;45. What are the types of Servers?&lt;br /&gt;&lt;br /&gt;    * File servers&lt;br /&gt;    * Database servers Transaction servers Groupware servers&lt;br /&gt;    * Object servers Web servers.&lt;br /&gt;&lt;br /&gt;46. What is a File server?&lt;br /&gt;&lt;br /&gt;File servers are useful for sharing files across a network. With a file server, the client passes requests for file records over nerwork to file server.&lt;br /&gt;&lt;br /&gt;47. What are the five major technologies that can be used to create Client/Server applications?&lt;br /&gt;&lt;br /&gt;    * Database Servers&lt;br /&gt;    * TP Monitors&lt;br /&gt;    * Groupware&lt;br /&gt;    * Distributed Objects&lt;br /&gt;    * Intranets.&lt;br /&gt;&lt;br /&gt;48. What is Client/Server?&lt;br /&gt;&lt;br /&gt;Clients and Servers are separate logical entities that work together over a network to accomplish a task. Many systems with very different architectures that are connected together are also called Client/Server.&lt;br /&gt;&lt;br /&gt;49. List out the benefits obtained by using the Client/Server oriented TP Monitors?&lt;br /&gt;&lt;br /&gt;    * Client/Server applications development framework.&lt;br /&gt;    * Firewalls of protection.&lt;br /&gt;    * High availability.&lt;br /&gt;    * Load balancing.&lt;br /&gt;    * MOM integration.&lt;br /&gt;    * Scalability of functions.&lt;br /&gt;    * Reduced system cost.&lt;br /&gt;&lt;br /&gt;50. What are the services provided by the Operating System?&lt;br /&gt;&lt;br /&gt;Extended services - These are add-on modular software components that are layered on top of base service.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-2310382093406474340?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/2310382093406474340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/networking-interview-questions-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/2310382093406474340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/2310382093406474340'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/networking-interview-questions-and.html' title='Networking Interview Questions and Answers'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-3023333806166791782</id><published>2009-11-11T07:50:00.000-08:00</published><updated>2009-11-11T07:52:45.938-08:00</updated><title type='text'></title><content type='html'>&lt;h3&gt;UNIX - LINUX Interview Questions and Answers :&lt;br /&gt;        &lt;/h3&gt;   &lt;br /&gt;         &lt;p&gt;&lt;strong&gt;1. How are devices represented in UNIX? &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; All devices are represented by files called special files that are located in/dev directory. Thus, device files and other files are named and accessed in the same way. A 'regular file' is just an ordinary data file in the disk. A 'block special file' represents a device with characteristics similar to a disk (data transfer in terms of blocks). A 'character special file' represents a device with characteristics similar to a keyboard (data transfer is by stream of bits in sequential order).&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 2. What is 'inode'? &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; All UNIX files have its description stored in a structure called 'inode'. The inode contains info about the file-size, its location, time of last access, time of last modification, permission and so on. Directories are also represented as files and have an associated inode. In addition to descriptions about the file, the inode contains pointers to the data blocks of the file. If the file is large, inode has indirect pointer to a block of pointers to additional data blocks (this further aggregates for larger files). A block is typically 8k.&lt;br /&gt;          Inode consists of the following fields:&lt;/p&gt;         &lt;ul&gt;&lt;li&gt; File owner identifier&lt;/li&gt;&lt;li&gt; File type&lt;/li&gt;&lt;li&gt; File access permissions&lt;/li&gt;&lt;li&gt; File access times&lt;/li&gt;&lt;li&gt; Number of links&lt;/li&gt;&lt;li&gt; File size&lt;/li&gt;&lt;li&gt; Location of the file data&lt;/li&gt;&lt;/ul&gt;         &lt;p&gt;&lt;strong&gt; 3. Brief about the directory representation in UNIX &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; A Unix directory is a file containing a correspondence between filenames and inodes. A directory is a special file that the kernel maintains. Only kernel modifies directories, but processes can read directories. The contents of a directory are a list of filename and inode number pairs. When new directories are created, kernel makes two entries named '.' (refers to the directory itself) and '..' (refers to parent directory).&lt;br /&gt;          System call for creating directory is mkdir (pathname, mode).&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;4&lt;/span&gt;&lt;strong&gt;. What are the Unix system calls for I/O? &lt;/strong&gt;&lt;/p&gt;         &lt;ul&gt;&lt;li&gt; open(pathname,flag,mode) - open file&lt;/li&gt;&lt;li&gt; creat(pathname,mode) - create file&lt;/li&gt;&lt;li&gt; close(filedes) - close an open file&lt;/li&gt;&lt;li&gt; read(filedes,buffer,bytes) - read data from an open file&lt;/li&gt;&lt;li&gt; write(filedes,buffer,bytes) - write data to an open file&lt;/li&gt;&lt;li&gt; lseek(filedes,offset,from) - position an open file&lt;/li&gt;&lt;li&gt; dup(filedes) - duplicate an existing file descriptor&lt;/li&gt;&lt;li&gt; dup2(oldfd,newfd) - duplicate to a desired file descriptor&lt;/li&gt;&lt;li&gt; fcntl(filedes,cmd,arg) - change properties of an open file&lt;/li&gt;&lt;li&gt; ioctl(filedes,request,arg) - change the behaviour of an open file&lt;/li&gt;&lt;/ul&gt;         &lt;p&gt; The difference between fcntl anf ioctl is that the former is intended for any open file, while the latter is for device-specific operations.&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 5. How do you change File Access Permissions? &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; Every file has following attributes:&lt;br /&gt;          owner's user ID ( 16 bit integer )&lt;br /&gt;          owner's group ID ( 16 bit integer )&lt;br /&gt;          File access mode word&lt;br /&gt;        &lt;/p&gt;         &lt;div class="fragment"&gt;'r w x -r w x- r w x' &lt;/div&gt;         &lt;p&gt;&lt;br /&gt;          (user permission-group permission-others permission)&lt;br /&gt;          r-read, w-write, x-execute&lt;br /&gt;          To change the access mode, we use chmod(filename,mode).&lt;br /&gt;          Example 1:&lt;br /&gt;To change mode of myfile to 'rw-rw-r–' (ie. read, write permission for user - read,write permission for group - only read permission for others) we give the args as:&lt;br /&gt;          chmod(myfile,0664) .&lt;br /&gt;          Each operation is represented by discrete values&lt;br /&gt;        &lt;/p&gt;         &lt;div class="fragment"&gt;'r' is 4&lt;br /&gt;          'w' is 2&lt;br /&gt;          'x' is 1 &lt;/div&gt;         &lt;p&gt;&lt;br /&gt;          Therefore, for 'rw' the value is 6(4+2).&lt;br /&gt;          Example 2:&lt;br /&gt;          To change mode of myfile to 'rwxr–r–' we give the args as:&lt;br /&gt;        &lt;/p&gt;         &lt;div class="fragment"&gt;chmod(myfile,0744). &lt;/div&gt;         &lt;p&gt;  &lt;/p&gt;         &lt;p&gt;&lt;strong&gt;6. What are links and symbolic links in UNIX file system? &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; A link is a second name (not a file) for a file. Links can be used to assign more than one name to a file, but cannot be used to assign a directory more than one name or link filenames on different computers.&lt;br /&gt;Symbolic link 'is' a file that only contains the name of another file.Operation on the symbolic link is directed to the file pointed by the it.Both the limitations of links are eliminated in symbolic links.&lt;br /&gt;          Commands for linking files are:&lt;br /&gt;        &lt;/p&gt;         &lt;div class="fragment"&gt;Link ln filename1 filename2&lt;br /&gt;          Symbolic link ln -s filename1 filename2 &lt;/div&gt;         &lt;p&gt;&lt;br /&gt;          &lt;strong&gt;7. What is a FIFO? &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; FIFO are otherwise called as 'named pipes'. FIFO (first-in-first-out) is a special file which is said to be data transient. Once data is read from named pipe, it cannot be read again. Also, data can be read only in the order written. It is used in interprocess communication where a process writes to one end of the pipe (producer) and the other reads from the other end (consumer).&lt;/p&gt;         &lt;p&gt; 8. How do you create special files like named pipes and device files? &lt;/p&gt;         &lt;p&gt; The system call mknod creates special files in the following sequence.&lt;br /&gt;          1. kernel assigns new inode,&lt;br /&gt;          2. sets the file type to indicate that the file is a pipe, directory or special file,&lt;br /&gt;          3. If it is a device file, it makes the other entries like major, minor device numbers.&lt;br /&gt;          For example:&lt;br /&gt;          If the device is a disk, major device number refers to the disk controller and minor device number is the disk.&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 9. Discuss the mount and unmount system calls &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; The privileged mount system call is used to attach a file system to a directory of another file system; the unmount system call detaches a file system. When you mount another file system on to your directory, you are essentially splicing one directory tree onto a branch in another directory tree. The first argument to mount call is the mount point, that is , a directory in the current file naming system. The second argument is the file system to mount to that point. When you insert a cdrom to your unix system's drive, the file system in the cdrom automatically mounts to /dev/cdrom in your system.&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 10. How does the inode map to data block of a file? &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; Inode has 13 block addresses. The first 10 are direct block addresses of the first 10 data blocks in the file. The 11th address points to a one-level index block. The 12th address points to a two-level (double in-direction) index block. The 13th address points to a three-level(triple in-direction)index block. This provides a very large maximum file size with efficient access to large files, but also small files are accessed directly in one disk read.&lt;/p&gt;   &lt;p&gt;&lt;strong&gt; 11. What is a shell? &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; A shell is an interactive user interface to an &lt;a itxtdid="8365863" target="_blank" href="http://faq.programmerworld.net/networking/unix-interview-questions-answers.html#" style="border-bottom: 0.2em dotted rgb(43, 101, 176) ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: none ! important; padding-bottom: 0px ! important; color: rgb(43, 101, 176) ! important; background-color: transparent ! important; background-image: none; padding-top: 0pt; padding-right: 0pt; padding-left: 0pt;" classname="iAs" class="iAs"&gt;operating &lt;nobr style="font-weight: normal; font-size: 100%; color: rgb(43, 101, 176);" id="itxt_nobr_33_0"&gt;system&lt;img style="border: 0pt none ; margin: 0pt; padding: 0pt; display: inline ! important; height: 10px; width: 10px; position: relative; top: 1px; left: 1px; float: none;" name="itxt-icon-0" src="http://images.intellitxt.com/ast/adTypes/mag-glass_10x10.gif" /&gt;&lt;/nobr&gt;&lt;/a&gt; services that allows an user to enter commands as character strings or through a graphical user interface. The shell converts them to system calls to the OS or forks off a process to execute the command. System call results and other information from the OS are presented to the user through an interactive interface. Commonly used shells are sh,csh,ks etc.&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 12. Brief about the initial process sequence while the system boots up. &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; While booting, special process called the 'swapper' or 'scheduler' is created with Process-ID 0. The swapper manages memory allocation for processes and influences CPU allocation. The swapper inturn creates 3 children:&lt;/p&gt;         &lt;ul&gt;&lt;li&gt; the process dispatcher,&lt;/li&gt;&lt;li&gt; vhand and&lt;/li&gt;&lt;li&gt; dbflush&lt;/li&gt;&lt;/ul&gt;         &lt;p&gt; with IDs 1,2 and 3 respectively.&lt;br /&gt;This is done by executing the file /etc/init. Process dispatcher gives birth to the shell. Unix keeps track of all the processes in an internal data structure called the Process Table (listing command is ps -el).&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 13. What are various IDs associated with a process? &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; Unix identifies each process with a unique integer called ProcessID. The process that executes the request for creation of a process is called the 'parent process' whose PID is 'Parent Process ID'. Every process is associated with a particular user called the 'owner' who has privileges over the process. The identification for the user is 'UserID'. Owner is the user who executes the process. Process also has 'Effective User ID' which determines the access privileges for accessing resources like files.&lt;/p&gt;         &lt;ul&gt;&lt;li&gt; getpid() -process id&lt;/li&gt;&lt;li&gt; getppid() -parent process id&lt;/li&gt;&lt;li&gt; getuid() -user id&lt;/li&gt;&lt;li&gt; geteuid() -effective user id &lt;/li&gt;&lt;/ul&gt;         &lt;p&gt;&lt;strong&gt; 14. Explain fork() system call. &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; The `fork()' used to create a new process from an existing process. The new process is called the child process, and the existing process is called the parent. We can tell which is which by checking the return value from `fork()'. The parent gets the child's pid returned to him, but the child gets 0 returned to him.&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 15. Predict the output of the following program code &lt;/strong&gt;&lt;/p&gt;         &lt;div class="fragment"&gt;main()&lt;br /&gt;          {&lt;br /&gt;            fork();&lt;br /&gt;            printf("Hello World!");&lt;br /&gt;          } &lt;/div&gt;         &lt;p&gt;&lt;br /&gt;          Answer:&lt;br /&gt;        &lt;/p&gt;         &lt;div class="fragment"&gt;Hello World!Hello World! &lt;/div&gt;         &lt;p&gt;&lt;strong&gt;&lt;br /&gt;          Explanation:&lt;/strong&gt;&lt;br /&gt;The fork creates a child that is a duplicate of the parent process. The child begins from the fork().All the statements after the call to fork() will be executed twice.(once by the parent process and other by child). The statement before fork() is executed only by the parent process.&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 16. Predict the output of the following program code&lt;/strong&gt; &lt;/p&gt;         &lt;div class="fragment"&gt;main()&lt;br /&gt;          {&lt;br /&gt;          fork(); fork(); fork();&lt;br /&gt;          printf("Hello World!");&lt;br /&gt;          } &lt;/div&gt;         &lt;p&gt;&lt;br /&gt;          Answer:&lt;br /&gt;          "Hello World" will be printed 8 times.&lt;br /&gt;          &lt;strong&gt;Explanation:&lt;/strong&gt;&lt;br /&gt;          2^n times where n is the number of calls to fork() &lt;/p&gt;         &lt;p&gt;&lt;strong&gt;17. List the system calls used for process management:&lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; System calls Description&lt;/p&gt;         &lt;ul&gt;&lt;li&gt; fork() To create a new process&lt;/li&gt;&lt;li&gt; exec() To execute a new program in a process&lt;/li&gt;&lt;li&gt; wait() To wait until a created process completes its execution&lt;/li&gt;&lt;li&gt; exit() To exit from a process execution&lt;/li&gt;&lt;li&gt; getpid() To get a process identifier of the current process&lt;/li&gt;&lt;li&gt; getppid() To get parent process identifier&lt;/li&gt;&lt;li&gt; nice() To bias the existing priority of a process&lt;/li&gt;&lt;li&gt; brk() To increase/decrease the data segment size of a process.&lt;/li&gt;&lt;/ul&gt;         &lt;p&gt;&lt;strong&gt; 18. How can you get/set an environment variable from a program?&lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; Getting the value of an environment variable is done by using `getenv()'. Setting the value of an environment variable is done by using `putenv()'.&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 19. How can a parent and child process communicate?&lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; A parent and child can communicate through any of the normal inter-process communication schemes (pipes, sockets, message queues, shared memory), but also have some special ways to communicate that take advantage of their relationship as a parent and child. One of the most obvious is that the parent can get the exit status of the child.&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 20. What is a zombie?&lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; When a program forks and the child finishes before the parent, the kernel still keeps some of its information about the child in case the parent might need it - for example, the parent may need to check the child's exit status. To be able to get this information, the parent calls `wait()'; In the interval between the child terminating and the parent calling `wait()', the child is said to be a `zombie' (If you do `ps', the child will have a `Z' in its status field to indicate this.)&lt;/p&gt;         &lt;p&gt;&lt;strong&gt; 21. What are the process states in Unix? &lt;/strong&gt;&lt;/p&gt;         &lt;p&gt; As a process executes it changes state according to its circumstances. Unix processes have the following states:&lt;br /&gt;          &lt;strong&gt;Running&lt;/strong&gt; : The process is either running or it is ready to run .&lt;br /&gt;          &lt;strong&gt;Waiting&lt;/strong&gt; : The process is waiting for an event or for a resource.&lt;br /&gt;          &lt;strong&gt;Stopped&lt;/strong&gt; : The process has been stopped, usually by receiving a signal.&lt;br /&gt;          &lt;strong&gt;Zombie&lt;/strong&gt; : The process is dead but have not been removed from the process table.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-3023333806166791782?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/3023333806166791782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/unix-linux-interview-questions-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3023333806166791782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3023333806166791782'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/unix-linux-interview-questions-and.html' title=''/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-8266017244212999537</id><published>2009-11-11T07:42:00.000-08:00</published><updated>2009-11-11T07:43:58.147-08:00</updated><title type='text'>CISCO       (October, 2004)</title><content type='html'>&lt;strong&gt;CISCO&lt;/strong&gt;       (October, 2004)&lt;br /&gt;&lt;br /&gt;1. In order to find out stack fault of a three input nand gate how many necessary input vectors&lt;br /&gt;are needed ?&lt;br /&gt;&lt;br /&gt;2. What is parity generation ?&lt;br /&gt;&lt;br /&gt;3. A nand gate becomes ___ gate when used with negative logic ?&lt;br /&gt;&lt;br /&gt;4. What is the advantage of cmos over nmos ?&lt;br /&gt;&lt;br /&gt;5. What is the advantage of synchronous circuits over asynchronous circuits ?&lt;br /&gt;&lt;br /&gt;6. What is the function of ALE in 8085 ?&lt;br /&gt;&lt;br /&gt;7. A voice signal sample is stored as one byte. Frequency range is 16 Hz to 20 Hz. What is the&lt;br /&gt;memory size required to store 4 minutes voice signal?&lt;br /&gt;&lt;br /&gt;8. What will the controller do before interrupting CPU?&lt;br /&gt;&lt;br /&gt;9. In a normalized floating point representation, mantissa is represented using 24 bits and exponent&lt;br /&gt;with 8 bits using signed representation. What is range ?&lt;br /&gt;&lt;br /&gt;10. The stack uses which policy out of the following-- LIFO, FIFO, Round Robin or none of these ?&lt;br /&gt;&lt;br /&gt;11. Where will be the actual address of the subroutine is placed for vectored interrupts?&lt;br /&gt;&lt;br /&gt;12. Give the equivalent Gray code representation of AC2H.&lt;br /&gt;&lt;br /&gt;13.What is the memory space required if two unsigned 8 bit numbers are multiplied ?&lt;br /&gt;&lt;br /&gt;14. The vector address of RST 7.5 in 8085 processor is _______.&lt;br /&gt;Ans. 003C (multiply 7.5 by 8 and convert to hex)&lt;br /&gt;&lt;br /&gt;15. Subtract the following hexadecimal numbers--- 8416 - 2A16&lt;br /&gt;&lt;br /&gt;16. Add the following BCD numbers--- 1001 and 0100&lt;br /&gt;&lt;br /&gt;17. How much time does a serial link of 64 Kbps take to transmit a picture with 540 pixels.&lt;br /&gt;&lt;br /&gt;18. Give the output when the input of a D-flip flop is tied to the output through the XOR gate.&lt;br /&gt;&lt;br /&gt;19. Simplify the ex-pression AB + A( B + C ) + B ( B + C )&lt;br /&gt;&lt;br /&gt;20. Determine the logic gate to implement the following terms--ABC, A+B+C&lt;br /&gt;&lt;br /&gt;21. Implement the NOR gate as an inverter.&lt;br /&gt;&lt;br /&gt;22. What is the effect of temperature on the Icb in a transistor&lt;br /&gt;&lt;br /&gt;23. What is the bit storage capacity of a ROM with a 512*4 organization?&lt;br /&gt;&lt;br /&gt;24. What is the reason of the refresh operation in dynamic RAM's ?&lt;br /&gt;&lt;br /&gt;25. Suppose that the D input of a flip flop changes from low to high in the middle of a clock pulse.&lt;br /&gt;Describe what happens if the flip flop is a positive edge triggered type?&lt;br /&gt;&lt;br /&gt;26. How many flip flops are required to produce a divide by 32 device ?&lt;br /&gt;&lt;br /&gt;27. An active HIGH input S-R latch has a 1 on the S input and a 0 on the R input. What state is the&lt;br /&gt;latch in?&lt;br /&gt;&lt;br /&gt;28. Implement the logic equation Y = C^BA^ + CB^A + CBA with a multiplexer.&lt;br /&gt;(where C^ stands for C complement)&lt;br /&gt;&lt;br /&gt;29. Equivalent Gray code representation of AC2H.&lt;br /&gt;&lt;br /&gt;30. What does a PLL consist of ?&lt;br /&gt;&lt;br /&gt;We advice you to know the design of PLL as questions pertaining to this may be asked&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;II - Software Section&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. The starting location of an array is 1000. If the array[1..5/...4] is stored in row major order,&lt;br /&gt;what is the location of element [4,3]. Each word occupies 4 bytes.&lt;br /&gt;&lt;br /&gt;2. In a tertiary tree, which has three childs for every node, if the number of internal nodes are N,&lt;br /&gt;then the total number of leaf nodes are&lt;br /&gt;&lt;br /&gt;3. Explain the term "locality of reference" ?&lt;br /&gt;&lt;br /&gt;4. What is the language used for Artificial Intelligence&lt;br /&gt;Ans: lisp&lt;br /&gt;&lt;br /&gt;5. What is the character set used in JAVA 2.0 ?&lt;br /&gt;Ans: Unicode&lt;br /&gt;6. char a =0xAA ;&lt;br /&gt;int b ;&lt;br /&gt;b = (int) a ;&lt;br /&gt;b = b &gt;&gt; 4 ;&lt;br /&gt;printf("%x",b);&lt;br /&gt;What is the output of the above program segment ?&lt;br /&gt;&lt;br /&gt;7. struct s1 { struct { struct { int x; } s2 } s3 }y; How does one access x in the above given structure&lt;br /&gt;definition ?&lt;br /&gt;&lt;br /&gt;8. Why there is no recursion in Fortran ?&lt;br /&gt;Ans. There is no dynamic allocation.&lt;br /&gt;&lt;br /&gt;9. What is the worst case complexity of Quick sort?&lt;br /&gt;Ans. O(n2)&lt;br /&gt;&lt;br /&gt;10. What will be sequence of operating system activities when an interrupt occurs ?&lt;br /&gt;&lt;br /&gt;11. In a sequential search, what is the average number of comparisons it takes to search through n&lt;br /&gt;elements ?&lt;br /&gt;Ans: (n+1)/2.&lt;br /&gt;&lt;br /&gt;12. What is the size of the array declared as double * X[5] ?&lt;br /&gt;Ans. 5 * sizeof ( double * )&lt;br /&gt;&lt;br /&gt;13. A binary search tree with node information as 1,2,3,4,5,6,7,8 is given. Write the result obtained&lt;br /&gt;on preorder traversal of the binary search tree ?&lt;br /&gt;Ans : 53124768&lt;br /&gt;&lt;br /&gt;14. If size of the physical memory is 232-1, then what is the size of the virtual memory ?&lt;br /&gt;&lt;br /&gt;15. S -&gt; A0B A-&gt; BB|0 B-&gt; AA|1&lt;br /&gt;How many strings of length 5 are possible with the above productions?&lt;br /&gt;&lt;br /&gt;16. (3*4096+15*256+3*16+3). How many 1's are there in the binary representation of the result ?&lt;br /&gt;Ans. 10&lt;br /&gt;&lt;br /&gt;17. In memory mapped I/O how is I/O is accessed ?&lt;br /&gt;&lt;br /&gt;18. What is the use of ALE in 8085 ?&lt;br /&gt;Ans. To latch the lower byte of the address.&lt;br /&gt;&lt;br /&gt;19. If the logical memory of 8 X 1024 is mapped into 32 frames, then the number of bits for the logical&lt;br /&gt;address are____ ?&lt;br /&gt;Ans. 13&lt;br /&gt;&lt;br /&gt;20. Context free grammar is useful for which purpose ?&lt;br /&gt;&lt;br /&gt;21. In ternary number representation, numbers are represented as 0,1,-1.(Here -1 is represented&lt;br /&gt;as 1 bar.) How is 352/9 represented in ternary number representation?&lt;br /&gt;&lt;br /&gt;22. There are processes which take 4,1,8,1 machine cycles respectively. If these are executed in round&lt;br /&gt;robin fashion with a time quantum of 1, what is the time it take for process 4 to complete ?&lt;br /&gt;Ans. 9&lt;br /&gt;&lt;br /&gt;23. The minimum frequency of operation is specified for every processor because......&lt;br /&gt;a) for interfacing slow peripherals&lt;br /&gt;b) dynamic memory refreshing.&lt;br /&gt;c) to make compatible with other processor.&lt;br /&gt;&lt;br /&gt;24. For linked list implementation , which search is not applicable ?&lt;br /&gt;Ans: Binary search.&lt;br /&gt;&lt;br /&gt;25. Each character is represented by 7 bits, 1 bit is used to represent error bit and another bit for parity.&lt;br /&gt;If total number of bits transmitted is 1200 bits, then what is the number of symbols that can be transmitted ?&lt;br /&gt;Ans: 133&lt;br /&gt;&lt;br /&gt;26. Explain set associatively of cache ?&lt;br /&gt;&lt;br /&gt;27. Write the postfix form of the following ex-pression : A+[[(B+C)+( D+E)*F]/G]&lt;br /&gt;&lt;br /&gt;28. What is the function of the linker?&lt;br /&gt;&lt;br /&gt;29. void f(int y)&lt;br /&gt;{&lt;br /&gt;struct s *ptr;&lt;br /&gt;ptr = malloc (sizeof (struct)+99*sizeof(int));&lt;br /&gt;}&lt;br /&gt;struct s&lt;br /&gt;{&lt;br /&gt;int i;&lt;br /&gt;float p;&lt;br /&gt;};&lt;br /&gt;when free (ptr) is executed, what will happen?&lt;br /&gt;&lt;br /&gt;30. To concatenate two linked lists strings, the order is O(1) is obtained for what kind of list&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-8266017244212999537?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/8266017244212999537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/cisco-october-2004.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/8266017244212999537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/8266017244212999537'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/cisco-october-2004.html' title='CISCO       (October, 2004)'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-4032401464941075487</id><published>2009-11-11T07:32:00.000-08:00</published><updated>2009-12-16T02:40:46.545-08:00</updated><title type='text'>FAQ : OS concepts</title><content type='html'>&lt;span style=";font-family:Arial;font-size:10;"  &gt;Following are a few basic questions that cover the essentials of OS:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;1. Explain the concept of Reentrancy.&lt;/span&gt;&lt;br /&gt;It is a useful, memory-saving technique for multiprogrammed timesharing systems. A Reentrant Procedure is one in which multiple users can share a single copy of a program during the same period. Reentrancy has 2 key aspects: The program code cannot modify itself, and the local data for each user process must be stored separately. Thus, the permanent part is the code, and the temporary part is the pointer back to the calling program and local variables used by that program. Each execution instance is called activation. It executes the code in the permanent part, but has its own copy of local variables/parameters. The temporary part associated with each activation is the activation record. Generally, the activation record is kept on the stack.&lt;br /&gt;Note: A reentrant procedure can be interrupted and called by an interrupting program, and still execute correctly on returning to the procedure.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;2. Explain Belady's Anomaly.&lt;/span&gt;&lt;br /&gt;Also called FIFO anomaly. Usually, on increasing the number of frames allocated to a process' virtual memory, the process execution is faster, because fewer page faults occur. Sometimes, the reverse happens, i.e., the execution time increases even when more frames are allocated to the process. This is Belady's Anomaly. This is true for certain page reference patterns.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;3. What is a binary semaphore? What is its use?&lt;/span&gt;&lt;br /&gt;A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;4. What is thrashing?&lt;/span&gt;&lt;br /&gt;It is a phenomenon in virtual memory schemes when the processor spends most of its time swapping pages, rather than executing instructions. This is due to an inordinate number of page faults.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;5. List the Coffman's conditions that lead to a deadlock.&lt;/span&gt;&lt;br /&gt; Mutual Exclusion: Only one process may use a critical resource at a time.&lt;br /&gt; Hold &amp;amp; Wait: A process may be allocated some resources while waiting for others.&lt;br /&gt; No Pre-emption: No resource can be forcible removed from a process holding it.&lt;br /&gt; Circular Wait: A closed chain of processes exist such that each process holds at least one resource needed by another process in the chain.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;6. What are short-, long- and medium-term scheduling?&lt;/span&gt;&lt;br /&gt;Long term scheduler determines which programs are admitted to the system for processing. It controls the degree of multiprogramming. Once admitted, a job becomes a process.&lt;br /&gt;Medium term scheduling is part of the swapping function. This relates to processes that are in a blocked or suspended state. They are swapped out of real-memory until they are ready to execute. The swapping-in decision is based on memory-management criteria.&lt;br /&gt;Short term scheduler, also know as a dispatcher executes most frequently, and makes the finest-grained decision of which process should execute next. This scheduler is invoked whenever an event occurs. It may lead to interruption of one process by preemption.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;7. What are turnaround time and response time?&lt;/span&gt;&lt;br /&gt;Turnaround time is the interval between the submission of a job and its completion. Response time is the interval between submission of a request, and the first response to that request.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;8. What are the typical elements of a process image?&lt;/span&gt;&lt;br /&gt;*User data: Modifiable part of user space. May include program data, user stack area, and programs that may be modified.&lt;br /&gt;* User program: The instructions to be executed.&lt;br /&gt;* System Stack: Each process has one or more LIFO stacks associated with it. Used to store parameters and calling addresses for procedure and system calls.&lt;br /&gt;* Process control Block (PCB): Info needed by the OS to control processes.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;9. What is the Translation Lookaside Buffer (TLB)?&lt;/span&gt;&lt;br /&gt;In a cached system, the base addresses of the last few referenced pages is maintained in registers called the TLB that aids in faster lookup. TLB contains those page-table entries that have been most recently used. Normally, each virtual memory reference causes 2 physical memory accesses-- one to fetch appropriate page-table entry, and one to fetch the desired data. Using TLB in-between, this is reduced to just one physical memory access in cases of TLB-hit.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;10. What is the resident set and working set of a process?&lt;/span&gt;&lt;br /&gt;Resident set is that portion of the process image that is actually in real-memory at a particular instant. Working set is that subset of resident set that is actually needed for execution. (Relate this to the variable-window size method for swapping techniques.)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:Arial;font-size:10;"  &gt;&lt;span style="color: rgb(153, 0, 0);"&gt;11. When is a system in safe state?&lt;/span&gt;&lt;br /&gt;The set of dispatchable processes is in a safe state if there exists at least one temporal order in which all processes can be run to completion without resulting in a deadlock.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;12. What is cycle stealing?&lt;/span&gt;&lt;br /&gt;We encounter cycle stealing in the context of Direct Memory Access (DMA). Either the DMA controller can use the data bus when the CPU does not need it, or it may force the CPU to temporarily suspend operation. The latter technique is called cycle stealing. Note that cycle stealing can be done only at specific break points in an instruction cycle.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;13. What is meant by arm-stickiness?&lt;/span&gt;&lt;br /&gt;If one or a few processes have a high access rate to data on one track of a storage disk, then they may monopolize the device by repeated requests to that track. This generally happens with most common device scheduling algorithms (LIFO, SSTF, C-SCAN, etc). High-density multisurface disks are more likely to be affected by this than low density ones.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;14. What are the stipulations of C2 level security?&lt;/span&gt;&lt;br /&gt;C2 level security provides for:&lt;br /&gt; Discretionary Access Control&lt;br /&gt; Identification and Authentication&lt;br /&gt; Auditing&lt;br /&gt; Resource reuse&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;15. What is busy waiting?&lt;/span&gt;&lt;br /&gt;The repeated execution of a loop of code while waiting for an event to occur is called busy-waiting. The CPU is not engaged in any real productive activity during this period, and the process does not progress toward completion.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;16. Explain the popular multiprocessor thread-scheduling strategies.&lt;/span&gt;&lt;br /&gt; Load Sharing: Processes are not assigned to a particular processor. A global queue of threads is maintained. Each processor, when idle, selects a thread from this queue. Note that load balancing refers to a scheme where work is allocated to processors on a more permanent basis.&lt;br /&gt; Gang Scheduling: A set of related threads is scheduled to run on a set of processors at the same time, on a 1-to-1 basis. Closely related threads / processes may be scheduled this way to reduce synchronization blocking, and minimize process switching. Group scheduling predated this strategy.&lt;br /&gt; Dedicated processor assignment: Provides implicit scheduling defined by assignment of threads to processors. For the duration of program execution, each program is allocated a set of processors equal in number to the number of threads in the program. Processors are chosen from the available pool.&lt;br /&gt; Dynamic scheduling: The number of thread in a program can be altered during the course of execution.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;17. When does the condition 'rendezvous' arise?&lt;/span&gt;&lt;br /&gt;In message passing, it is the condition in which, both, the sender and receiver are blocked until the message is delivered.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;18. What is a trap and trapdoor?&lt;/span&gt;&lt;br /&gt;Trapdoor is a secret undocumented entry point into a program used to grant access without normal methods of access authentication. A trap is a software interrupt, usually the result of an error condition.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;19. What are local and global page replacements?&lt;/span&gt;&lt;br /&gt;Local replacement means that an incoming page is brought in only to the relevant process' address space. Global replacement policy allows any page frame from any process to be replaced. The latter is applicable to variable partitions model only.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;20. Define latency, transfer and seek time with respect to disk I/O.&lt;/span&gt;&lt;br /&gt;Seek time is the time required to move the disk arm to the required track. Rotational delay or latency is the time it takes for the beginning of the required sector to reach the head. Sum of seek time (if any) and latency is the access time. Time taken to actually transfer a span of data is transfer time.&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;&lt;span style="color: rgb(153, 0, 0);"&gt;22. What is time-stamping?&lt;/span&gt;&lt;br /&gt;It is a technique proposed by Lamport, used to order events in a distributed system without the use of clocks. This scheme is intended to order events consisting of the transmission of messages. Each system 'i' in the network maintains a counter Ci. Every time a system transmits a message, it increments its counter by 1 and attaches the time-stamp Ti to the message. When a message is received, the receiving system 'j' sets its counter Cj to 1 more than the maximum of its current value and the incoming time-stamp Ti. At each site, the ordering of messages is determined by the following rules: For messages x from site i and y from site j, x precedes y if one of the following conditions holds....(a) if Ti&amp;lt;Tj or  (b) if Ti=Tj and i&amp;lt;j.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;23. How are the wait/signal operations for monitor different from those for semaphores?&lt;/span&gt;&lt;br /&gt;If a process in a monitor signal and no task is waiting on the condition variable, the signal is lost. So this allows easier program design. Whereas in semaphores, every operation affects the value of the semaphore, so the wait and signal operations should be perfectly balanced in the program.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;24. In the context of memory management, what are placement and replacement algorithms?&lt;/span&gt;&lt;br /&gt;Placement algorithms determine where in available real-memory to load a program. Common methods are first-fit, next-fit, best-fit. Replacement algorithms are used when memory is full, and one process (or part of a process) needs to be swapped out to accommodate a new program. The replacement algorithm determines which are the partitions to be swapped out.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;25. In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?&lt;/span&gt;&lt;br /&gt;For load-time dynamic linking: Load module to be loaded is read into memory. Any reference to a target external module causes that module to be loaded and the references are updated to a relative address from the start base address of the application module.&lt;br /&gt;With run-time dynamic loading: Some of the linking is postponed until actual reference during execution. Then the correct module is loaded and linked.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;26. What are demand- and pre-paging?&lt;/span&gt;&lt;br /&gt;With demand paging, a page is brought into memory only when a location on that page is actually referenced during execution. With pre-paging, pages other than the one demanded by a page fault are brought in. The selection of such pages is done based on common access patterns, especially for secondary memory devices.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;27. Paging a memory management function, while multiprogramming a processor management function, are the two interdependent?&lt;/span&gt;&lt;br /&gt;Yes.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;28. What is page cannibalizing?&lt;/span&gt;&lt;br /&gt;Page swapping or page replacements are called page cannibalizing.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;29. What has triggered the need for multitasking in PCs?&lt;/span&gt;&lt;br /&gt;Increased speed and memory capacity of microprocessors together with the support fir virtual memory and&lt;br /&gt;Growth  of client server computing&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;30. What are the four layers that Windows NT have in order to achieve independence?&lt;/span&gt;&lt;br /&gt;Hardware abstraction layer&lt;br /&gt;Kernel&lt;br /&gt;Subsystems&lt;br /&gt;System Services.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;31. What is SMP?&lt;/span&gt;&lt;br /&gt;To achieve maximum efficiency and reliability a mode of operation known as symmetric multiprocessing is used. In essence, with SMP any process or threads can be assigned to any processor.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;32. What are the key object oriented concepts used by Windows NT?&lt;/span&gt;&lt;br /&gt;Encapsulation&lt;br /&gt;Object class and instance&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;33. Is Windows NT a full blown object oriented operating system? Give reasons.&lt;/span&gt;&lt;br /&gt;No Windows NT is not so, because its not implemented in object oriented language and the data structures reside within one executive component and are not represented as objects and it does not support object oriented capabilities .&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;34. What is a drawback of MVT?&lt;/span&gt;&lt;br /&gt;It does not have the features like&lt;br /&gt;ability to support multiple processors&lt;br /&gt;virtual storage&lt;br /&gt;source level debugging&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;35. What is process spawning?&lt;/span&gt;&lt;br /&gt;When the OS at the explicit request of another process creates a process, this action is called process spawning.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;36. How many jobs can be run concurrently on MVT?&lt;/span&gt;&lt;br /&gt;15 jobs&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;37. List out some reasons for process termination.&lt;/span&gt;&lt;br /&gt;Normal completion&lt;br /&gt;Time limit exceeded&lt;br /&gt;Memory unavailable&lt;br /&gt;Bounds violation&lt;br /&gt;Protection error&lt;br /&gt;Arithmetic error&lt;br /&gt;Time overrun&lt;br /&gt;I/O failure&lt;br /&gt;Invalid instruction&lt;br /&gt;Privileged instruction&lt;br /&gt;Data misuse&lt;br /&gt;Operator or OS intervention&lt;br /&gt;Parent termination.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;38. What are the reasons for process suspension?&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;swapping&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; interactive user request&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; timing&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; parent process request&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;div class="tplvar-content-content BodyContent"&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;39. What is process migration?&lt;/span&gt;&lt;br /&gt;It is the transfer of sufficient amount of the state of process from one machine to the target machine&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;40. What is mutant?&lt;/span&gt;&lt;br /&gt;In Windows NT a mutant provides kernel mode or user mode mutual exclusion with the notion of ownership.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;41. What is an idle thread?&lt;/span&gt;&lt;br /&gt;The special thread a dispatcher will execute when no ready thread is found.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;42. What is FtDisk?&lt;/span&gt;&lt;br /&gt;It is a fault tolerance disk driver for Windows NT.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;43. What are the possible threads a thread can have?&lt;/span&gt;&lt;br /&gt; Ready&lt;br /&gt; Standby&lt;br /&gt; Running&lt;br /&gt; Waiting&lt;br /&gt; Transition&lt;br /&gt; Terminated.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;44. What are rings in Windows NT?&lt;/span&gt;&lt;br /&gt;    Windows NT uses protection mechanism called rings provides by the process to implement separation between the user mode and kernel mode.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;45. What is Executive in Windows NT?&lt;/span&gt;&lt;br /&gt;In Windows NT, executive refers to the operating system code that runs in kernel mode.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;46. What are the sub-components of I/O manager in Windows NT?&lt;/span&gt;&lt;br /&gt; Network redirector/ Server&lt;br /&gt; Cache manager.&lt;br /&gt; File systems&lt;br /&gt; Network driver&lt;br /&gt; Device driver&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;47. What are DDks? Name an operating system that includes this feature.&lt;/span&gt;&lt;br /&gt;    DDks are device driver kits, which are equivalent to SDKs for writing device drivers. Windows NT includes DDks.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;48. What level of security does Windows NT meets?&lt;/span&gt;&lt;br /&gt;    C2 level security. &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-4032401464941075487?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/4032401464941075487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/faq-os-concepts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/4032401464941075487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/4032401464941075487'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/faq-os-concepts.html' title='FAQ : OS concepts'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-5952024170010972374</id><published>2009-11-11T07:29:00.000-08:00</published><updated>2009-11-11T07:30:22.922-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Questions'/><title type='text'>Linux 100 Questions</title><content type='html'>&lt;ol type="1"&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You attempt to use shadow passwords but are unsuccessful. What characteristic of the /etc/passwd file may cause this? Choose one: a. The login command is missing. b. The username is too long. c. The password field is blank. d. The password field is prefaced by an asterick. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You create a new user account by adding the following line to your /etc/passwd file. bobm:baddog:501:501:Bob Morris:/home/bobm:/bin/bash Bob calls you and tells you that he cannot logon. You verify that he is using the correct username and password. What is the problem? Choose one: a. The UID and GID cannot be identical. b. You cannot have spaces in the line unless they are surrounded with double quotes. c. You cannot directly enter the password; rather you have to use the passwd command to assign a password to the user. d. The username is too short, it must be at least six characters long. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which of the following tasks is not necessary when creating a new user by editing the /etc/passwd file? Choose one: a. Create a link from the user’s home directory to the shell the user will use. b. Create the user’s home directory c. Use the passwd command to assign a password to the account. d. Add the user to the specified group. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You create a new user by adding the following line to the /etc/passwd file bobm::501:501:Bob Morris:/home/bobm:/bin/bash You then create the user’s home directory and use the passwd command to set his password. However, the user calls you and says that he cannot log on. What is the problem? Choose one: a. The user did not change his password. b. bobm does not have permission to /home/bobm. c. The user did not type his username in all caps. d. You cannot leave the password field blank when creating a new user. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;When using useradd to create a new user account, which of the following tasks is not done automatically. Choose one: a. Assign a UID. b. Assign a default shell. c. Create the user’s home directory. d. Define the user’s home directory. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You issue the following command useradd -m bobm But the user cannot logon. What is the problem? Choose one: a. You need to assign a password to bobm’s account using the passwd command. b. You need to create bobm’s home directory and set the appropriate permissions. c. You need to edit the /etc/passwd file and assign a shell for bobm’s account. d. The username must be at least five characters long. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have created special configuration files that you want copied to each user’s home directories when creating new user accounts. You copy the files to /etc/skel. Which of the following commands will make this happen? Choose one: a. useradd -m username b. useradd -mk username c. useradd -k username d. useradd -Dk username &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Mary has recently gotten married and wants to change her username from mstone to mknight. Which of the following commands should you run to accomplish this? Choose one: a. usermod -l mknight mstone b. usermod -l mstone mknight c. usermod -u mknight mstone d. usermod -u mstone mknight &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;After bob leaves the company you issue the command userdel bob. Although his entry in the /etc/passwd file has been deleted, his home directory is still there. What command could you have used to make sure that his home directory was also deleted? Choose one: a. userdel -m bob b. userdel -u bob c. userdel -l bob d. userdel -r bob &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;All groups are defined in the /etc/group file. Each entry contains four fields in the following order. Choose one: a. groupname, password, GID, member list b. GID, groupname, password, member list c. groupname, GID, password, member list d. GID, member list, groupname, password &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You need to create a new group called sales with Bob, Mary and Joe as members. Which of the following would accomplish this? Choose one: a. Add the following line to the /etc/group file: sales:44:bob,mary,joe b. Issue the command groupadd sales. c. Issue the command groupadd -a sales bob,mary,joe d. Add the following line to the /etc/group file: sales::44:bob,mary,joe &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What command is used to remove the password assigned to a group? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You changed the GID of the sales group by editing the /etc/group file. All of the members can change to the group without any problem except for Joe. He cannot even login to the system. What is the problem? Choose one: a. Joe forgot the password for the group. b. You need to add Joe to the group again. c. Joe had the original GID specified as his default group in the /etc/passwd file. d. You need to delete Joe’s account and recreate it. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You need to delete the group dataproject. Which two of the following tasks should you do first before deleting the group? A. Check the /etc/passwd file to make sure no one has this group as his default group. B. Change the members of the dataproject group to another group besides users. C. Make sure that the members listed in the /etc/group file are given new login names. D. Verify that no file or directory has this group listed as its owner. Choose one: a. A and C b. A and D c. B and C d. B and D &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;When you look at the /etc/group file you see the group kmem listed. Since it does not own any files and no one is using it as a default group, can you delete this group? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;When looking at the /etc/passwd file, you notice that all the password fields contain ‘x’. What does this mean? Choose one: a. That the password is encrypted. b. That you are using shadow passwords. c. That all passwords are blank. d. That all passwords have expired. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;In order to improve your system’s security you decide to implement shadow passwords. What command should you use? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What file contains the default environment variables when using the bash shell? Choose one: a. ~/.profile b. /bash c. /etc/profile d. ~/bash &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have created a subdirectory of your home directory containing your scripts. Since you use the bash shell, what file would you edit to put this directory on your path? Choose one: a. ~/.profile b. /etc/profile c. /etc/bash d. ~/.bash &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which of the following interprets your actions when typing at the command line for the operating system? Choose One a. Utility b. Application c. Shell d. Command &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What can you type at a command line to determine which shell you are using? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You want to enter a series of commands from the command-line. What would be the quickest way to do this? Choose One a. Press enter after entering each command and its arguments b. Put them in a script and execute the script c. Separate each command with a semi-colon (;) and press enter after the last command d. Separate each command with a / and press enter after the last command &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You are entering a long, complex command line and you reach the right side of your screen before you have finished typing. You want to finish typing the necessary commands but have the display wrap around to the left. Which of the following key combinations would achieve this? Choose One a. Esc, /, Enter b. /, Enter c. ctrl-d, enter d. esc, /, ctrl-d &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;After typing in a new command and pressing enter, you receive an error message indicating incorrect syntax. This error message originated from.. Choose one a. The shell b. The operating system c. The command d. The kernel &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;When typing at the command line, the default editor is the _____________ library. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You typed the following at the command line ls -al /home/ hadden. What key strokes would you enter to remove the space between the ‘/’ and ‘hadden’ without having to retype the entire line? Choose one a. &lt;/span&gt;&lt;place&gt;&lt;city&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Ctrl-B&lt;/span&gt;&lt;/city&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;, &lt;/span&gt;&lt;state&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Del&lt;/span&gt;&lt;/state&gt;&lt;/place&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; b. &lt;/span&gt;&lt;place&gt;&lt;city&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Esc-b&lt;/span&gt;&lt;/city&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;, &lt;/span&gt;&lt;state&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Del&lt;/span&gt;&lt;/state&gt;&lt;/place&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; c. &lt;/span&gt;&lt;place&gt;&lt;city&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Esc-Del&lt;/span&gt;&lt;/city&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;, &lt;/span&gt;&lt;state&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Del&lt;/span&gt;&lt;/state&gt;&lt;/place&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; d. &lt;/span&gt;&lt;place&gt;&lt;city&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Ctrl-b&lt;/span&gt;&lt;/city&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;, &lt;/span&gt;&lt;state&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Del&lt;/span&gt;&lt;/state&gt;&lt;/place&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You would like to temporarily change your command line editor to be vi. What command should you type to change it? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;After experimenting with vi as your command line editor, you decide that you want to have vi your default editor every time you log in. What would be the appropriate way to do this? Choose one a. Change the /etc/inputrc file b. Change the /etc/profile file c. Change the ~/.inputrc file d. Change the ~/.profile file &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have to type your name and title frequently throughout the day and would like to decrease the number of key strokes you use to type this. Which one of your configuration files would you edit to bind this information to one of the function keys? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;In your present working directory, you have the files maryletter memo1 MyTelephoneandAddressBook What is the fewest number of keys you can type to open the file MyTelephoneandAddressBook with vi? Choose one a. 6 b. 28 c. 25 d. 4 &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;A variable that you can name and assign a value to is called a _____________ variable. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have installed a new application but when you type in the command to start it you get the error message Command not found. What do you need to do to fix this problem? Choose one a. Add the directory containing the application to your path b. Specify the directory’s name whenever you run the application c. Verify that the execute permission has been applied to the command. d. Give everyone read, write and execute permission to the application’s directory. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You telnet into several of your servers simultaneously. During the day, you sometimes get confused as to which telnet session is connected to which server. Which of the following commands in your .profile file would make it obvious to which server you are attached? Choose one a. PS1=’\h: \w&gt;’ b. PS1=’\s: \W&gt;’ c. PS1=’\!: \t&gt;’ d. PS1=’\a: \n&gt;’ &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which of the following environment variables determines your working directory at the completion of a successful login? Choose one a. HOME b. BASH_ENV c. PWD d. BLENDERDIR &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Every time you attempt to delete a file using the rm utility, the operating system prompts you for confirmation. You know that this is not the customary behavior for the rm command. What is wrong? Choose one a. rm has been aliased as rm -i b. The version of rm installed on your system is incorrect. c. This is the normal behavior of the newest version of rm. d. There is an incorrect link on your system. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You are running out of space in your home directory. While looking for files to delete or compress you find a large file called .bash_history and delete it. A few days later, it is back and as large as before. What do you need to do to ensure that its size is smaller? Choose one a. Set the HISTFILESIZE variable to a smaller number. b. Set the HISTSIZE to a smaller number. c. Set the NOHISTFILE variable to true. d. Set the HISTAPPEND variable to true. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;In order to display the last five commands you have entered using the history command, you would type ___________. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;In order to display the last five commands you have entered using the fc command, you would type ___________. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You previously ran the find command to locate a particular file. You want to run that command again. What would be the quickest way to do this? Choose one a. fc -l find fc n b. history -l find history n c. Retype the command d. fc -n find &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Using command substitution, how would you display the value of the present working directory? Choose one a. echo $(pwd) b. echo pwd c. $pwd d. pwd | echo &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You need to search the entire directory structure to locate a specific file. How could you do this and still be able to run other commands while the find command is still searching for your file? Choose one a. find / -name filename &amp;amp; b. find / -name filename c. bg find / -name filename d. &amp;amp;find / -name filename &amp;amp; &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;In order to create a file called DirContents containing the contents of the /etc directory you would type ____________. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What would be displayed as the result of issuing the command ps ef? Choose one a. A listing of the user’s running processes formatted as a tree. b. A listing of the stopped processes c. A listing of all the running processes formatted as a tree. d. A listing of all system processes formatted as a tree. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What utility can you use to show a dynamic listing of running processes? __________ &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;The top utility can be used to change the priority of a running process? Another utility that can also be used to change priority is ___________? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What key combination can you press to suspend a running job and place it in the background? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You issue the command jobs and receive the following output: [1]- Stopped (tty output) pine [2]+ Stopped (tty output) MyScript How would you bring the MyScript process to the foreground? Choose one: a. fg %2 b. ctrl-c c. fg MyScript d. ctrl-z &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You enter the command cat MyFile | sort &gt; DirList &amp;amp; and the operating system displays [4] 3499 What does this mean? Choose one a. This is job number 4 and the PID of the sort command is 3499. b. This is job number 4 and the PID of the job is 3499. c. This is job number 3499 and the PID of the cat command is 4. d. This is job number 4 and the PID of the cat command is 3499. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You attempt to log out but receive an error message that you cannot. When you issue the jobs command, you see a process that is running in the background. How can you fix this so that you can logout? Choose one a. Issue the kill command with the PID of each running command of the pipeline as an argument. b. Issue the kill command with the job number as an argument. c. Issue the kill command with the PID of the last command as an argument. d. Issue the kill command without any arguments. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have been given the job of administering a new server. It houses a database used by the sales people. This information is changed frequently and is not duplicated anywhere else. What should you do to ensure that this information is not lost? Choose one a. Create a backup strategy that includes backing up this information at least daily. b. Prepare a proposal to purchase a backup server c. Recommend that the server be made part of a cluster. d. Install an additional hard drive in the server. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;When planning your backup strategy you need to consider how often you will perform a backup, how much time the backup takes and what media you will use. What other factor must you consider when planning your backup strategy? _________ &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Many factors are taken into account when planning a backup strategy. The one most important one is how often does the file ____________. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which one of the following factors does not play a role in choosing the type of backup media to use? Choose one: a. How frequently a file changes b. How long you need to retain the backup c. How much data needs to be backed up d. How frequently the backed up data needs to be accessed &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;When you only back up one partition, this is called a ______ backup. Choose one a. Differential b. Full c. Partial d. Copy &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;When you back up only the files that have changed since the last backup, this is called a ______ backup. Choose one a. Partial b. Differential c. Full d. Copy &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;The easiest, most basic form of backing up a file is to _____ it to another location. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;When is the most important time to restore a file from your backup? Choose one a. On a regular scheduled basis to verify that the data is available. b. When the system crashes. c. When a user inadvertently loses a file. d. When your boss asks to see how restoring a file works. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;As a system administrator, you are instructed to backup all the users’ home directories. Which of the following commands would accomplish this? Choose one a. tar rf usersbkup home/* b. tar cf usersbkup home/* c. tar cbf usersbkup home/* d. tar rvf usersbkup home/* &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What is wrong with the following command? tar cvfb / /dev/tape 20 Choose one a. You cannot use the c option with the b option. b. The correct line should be tar -cvfb / /dev/tape20. c. The arguments are not in the same order as the corresponding modifiers. d. The files to be backed up have not been specified. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You need to view the contents of the tarfile called MyBackup.tar. What command would you use? __________ &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;After creating a backup of the users’ home directories called backup.cpio you are asked to restore a file called memo.ben. What command should you type? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You want to create a compressed backup of the users’ home directories so you issue the command gzip /home/* backup.gz but it fails. The reason that it failed is that gzip will only compress one _______ at a time. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You want to create a compressed backup of the users’ home directories. What utility should you use? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You routinely compress old log files. You now need to examine a log from two months ago. In order to view its contents without first having to decompress it, use the _________ utility. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which two utilities can you use to set up a job to run at a specified time? Choose one: a. at and crond b. atrun and crontab c. at and crontab d. atd and crond &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have written a script called usrs to parse the passwd file and create a list of usernames. You want to have this run at &lt;/span&gt;&lt;time hour="5" minute="0"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;5 am&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; tomorrow so you can see the results when you get to work. Which of the following commands will work? Choose one: a. at &lt;/span&gt;&lt;time hour="17" minute="0"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;5:00&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; wed usrs b. at &lt;/span&gt;&lt;time hour="17" minute="0"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;5:00&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; wed -b usrs c. at &lt;/span&gt;&lt;time hour="17" minute="0"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;5:00&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; wed -l usrs d. at &lt;/span&gt;&lt;time hour="17" minute="0"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;5:00&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; wed -d usrs &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Several of your users have been scheduling large at jobs to run during peak load times. How can you prevent anyone from scheduling an at job? Choose one: a. delete the file /etc/at.deny b. create an empty file called /etc/at.deny c. create two empty files: /etc/at.deny and /etc/at.allow file d. create an empty file called /etc/at.allow &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;How can you determine who has scheduled at jobs? Choose one: a. at -l b. at -q c. at -d d. atwho &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;When defining a cronjob, there are five fields used to specify when the job will run. What are these fields and what is the correct order? Choose one: a. minute, hour, day of week, day of month, month b. minute, hour, month, day of month, day of week c. minute, hour, day of month, month, day of week d. hour, minute, day of month, month, day of week &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have entered the following cronjob. When will it run? 15 * * * 1,3,5 myscript Choose one: a. at 15 minutes after every hour on the 1st, 3rd and 5th of each month. b. at &lt;/span&gt;&lt;time hour="1" minute="15"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;1:15 am&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;, 3:15 am, and &lt;/span&gt;&lt;time hour="5" minute="15"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;5:15 am&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; every day c. at &lt;/span&gt;&lt;time hour="15" minute="0"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;3:00 pm&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; on the 1st, 3rd, and 5th of each month d. at 15 minutes after every hour every Monday, Wednesday, and Friday &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;As the system administrator you need to review Bob’s cronjobs. What command would you use? Choose one: a. crontab -lu bob b. crontab -u bob c. crontab -l d. cronq -lu bob &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;In order to schedule a cronjob, the first task is to create a text file containing the jobs to be run along with the time they are to run. Which of the following commands will run the script MyScript every day at &lt;/span&gt;&lt;time hour="23" minute="45"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;11:45 pm&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;? Choose one: a. * 23 45 * * MyScript b. 23 45 * * * MyScript c. 45 23 * * * MyScript d. * * * 23 45 MyScript &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which daemon must be running in order to have any scheduled jobs run as scheduled? Choose one: a. crond b. atd c. atrun d. crontab &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You want to ensure that your system is not overloaded with users running multiple scheduled jobs. A policy has been established that only the system administrators can create any scheduled jobs. It is your job to implement this policy. How are you going to do this? Choose one: a. create an empty file called /etc/cron.deny b. create a file called /etc/cron.allow which contains the names of those allowed to schedule jobs. c. create a file called /etc/cron.deny containing all regular usernames. d. create two empty files called /etc/cron.allow and /etc/cron.deny &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You notice that your server load is exceptionally high during the hours of &lt;/span&gt;&lt;time hour="10" minute="0"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;10 am&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt; to 2 &lt;/span&gt;&lt;time hour="12" minute="0"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;noon&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;. When investigating the cause, you suspect that it may be a cron job scheduled by one of your users. What command can you use to determine if your suspicions are correct? Choose one: a. crontab -u b. crond -u c. crontab -l d. crond -l &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;One of your users, Bob, has created a script to reindex his database. Now he has it scheduled to run every day at &lt;/span&gt;&lt;time hour="10" minute="30"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;10:30 am&lt;/span&gt;&lt;/time&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;. What command should you use to delete this job. Choose one: a. crontab -ru bob b. crontab -u bob c. crontab -du bob d. crontab -lu bob &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What daemon is responsible for tracking events on your system? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What is the name and path of the default configuration file used by the syslogd daemon? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have made changes to the /etc/syslog.conf file. Which of the following commands will cause these changes to be implemented without having to reboot your computer? Choose one: a. kill SIGHINT `cat /var/run/syslogd.pid` b. kill SIGHUP `cat /var/run/syslogd.pid` c. kill SIGHUP syslogd d. kill SIGHINT syslogd &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which of the following lines in your /etc/syslog.conf file will cause all critical messages to be logged to the file /var/log/critmessages? Choose one: a. *.=crit /var/log/critmessages b. *crit /var/log/critmessages c. *=crit /var/log/critmessages d. *.crit /var/log/critmessages &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You wish to have all mail messages except those of type info to the /var/log/mailmessages file. Which of the following lines in your /etc/syslogd.conf file would accomplish this? Choose one: a. mail.*;mail!=info /var/log/mailmessages b. mail.*;mail.=info /var/log/mailmessages c. mail.*;mail.info /var/log/mailmessages d. mail.*;mail.!=info /var/log/mailmessages &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What is the name and path of the main system log? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which log contains information on currently logged in users? Choose one: a. /var/log/utmp b. /var/log/wtmp c. /var/log/lastlog d. /var/log/messages &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have been assigned the task of determining if there are any user accounts defined on your system that have not been used during the last three months. Which log file should you examine to determine this information? Choose one: a. /var/log/wtmp b. /var/log/lastlog c. /var/log/utmp d. /var/log/messages &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have been told to configure a method of rotating log files on your system. Which of the following factors do you not need to consider? Choose one: a. date and time of messages b. log size c. frequency of rotation d. amount of available disk space &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What utility can you use to automate rotation of logs? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You wish to rotate all your logs weekly except for the /var/log/wtmp log which you wish to rotate monthly. How could you accomplish this. Choose one: a. Assign a global option to rotate all logs weekly and a local option to rotate the /var/log/wtmp log monthly. b. Assign a local option to rotate all logs weekly and a global option to rotate the /var/log/wtmp log monthly. c. Move the /var/log/wtmp log to a different directory. Run logrotate against the new location. d. Configure logrotate to not rotate the /var/log/wtmp log. Rotate it manually every month. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;You have configured logrotate to rotate your logs weekly and keep them for eight weeks. You are running our of disk space. What should you do? Choose one: a. Quit using logrotate and manually save old logs to another location. b. Reconfigure logrotate to only save logs for four weeks. c. Configure logrotate to save old files to another location. d. Use the prerotate command to run a script to move the older logs to another location. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What command can you use to review boot messages? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What file defines the levels of messages written to system log files? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;What account is created when you install Linux? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;While logged on as a regular user, your boss calls up and wants you to create a new user account immediately. How can you do this without first having to close your work, log off and logon as root? Choose one: a. Issue the command rootlog. b. Issue the command su and type exit when finished. c. Issue the command su and type logoff when finished. d. Issue the command logon root and type exit when finished. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which file defines all users on your system? Choose one: a. /etc/passwd b. /etc/users c. /etc/password d. /etc/user.conf &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;There are seven fields in the /etc/passwd file. Which of the following lists all the fields in the correct order? Choose one: a. username, UID, GID, home directory, command, comment b. username, UID, GID, comment, home directory, command c. UID, username, GID, home directory, comment, command d. username, UID, group name, GID, home directory, comment &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which of the following user names is invalid? Choose one: a. Theresa Hadden b. thadden c. TheresaH d. T.H. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;In order to prevent a user from logging in, you can add a(n) ________at the beginning of the password field. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;The beginning user identifier is defined in the _________ file. &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Which field is used to define the user’s default shell? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Bob Armstrong, who has a username of boba, calls to tell you he forgot his password. What command should you use to reset his command? &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; line-height: 150%;"&gt;&lt;span style="font-size: 10pt; line-height: 150%; font-family: Arial;"&gt;Your company has implemented a policy that users’ passwords must be reset every ninety days. Since you have over 100 users you created a file with each username and the new password. How are you going to change the old passwords to the new ones? Choose one: a. Use the chpasswd command along with the name of the file containing the new passwords. b. Use the passwd command with the -f option and the name of the file containing the new passwords. c. Open the /etc/passwd file in a text editor and manually change each password. d. Use the passwd command with the -u option. &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-5952024170010972374?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/5952024170010972374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/linux-100-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/5952024170010972374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/5952024170010972374'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/linux-100-questions.html' title='Linux 100 Questions'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-3649564646882583410</id><published>2009-11-11T07:27:00.000-08:00</published><updated>2009-11-11T07:28:02.750-08:00</updated><title type='text'>Some Questions for Linux administrators</title><content type='html'>1)when you create a user in linux , the default settings comes from -------------&lt;br /&gt;2)name the DNS records&lt;br /&gt;3)What is the difference between hard links and soft links&lt;br /&gt;4)what is the difference between name base and ip base virtual hosting&lt;br /&gt;5)where are the kernel parameters stored in linux&lt;br /&gt;6) you want to deploy linux on identical machines , which method you will use&lt;br /&gt;7)Name of the file which describe the kickstart installation&lt;br /&gt;8) How you give another Ip address on the same NIC (network card)&lt;br /&gt;9)you defined samba shares and you want these shares to be available on network , you don't want to restart samba server&lt;br /&gt;which command you will use ??&lt;br /&gt;10)you want to monitor systems on your network ,what utility you will use&lt;br /&gt;11) you want to backup a test.bak file on 11 PM every Sunday   what you will do?&lt;br /&gt;12) can you define the linux boot process&lt;br /&gt;13)what is initrd&lt;br /&gt;14)can you name of the actual kernel in linux&lt;br /&gt;15) how you  get the kernel version&lt;br /&gt;16)how you change run levels in linux&lt;br /&gt;17) you want /dev/hda10 mounted whenever your system boots what you will do&lt;br /&gt;18) you want bind to be run at boot time ,which command you will use&lt;br /&gt;19)which utility will give you information about running process at run time&lt;br /&gt;20) you want to know if nfs package is installed on your system&lt;br /&gt;21) what is the difference between rpm , yum and RHEN&lt;br /&gt;22) what is a proc  directory&lt;br /&gt;23) what is the difference between current directory and home directory&lt;br /&gt;24)what is exit status in linux&lt;br /&gt;25)you have a dual boot system with windows XP and Fedora Linux , you want to access windows partition which is on fat32 file system , what you will do ??&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-3649564646882583410?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/3649564646882583410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/some-questions-for-linux-administrators.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3649564646882583410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3649564646882583410'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/some-questions-for-linux-administrators.html' title='Some Questions for Linux administrators'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-290201414960468913</id><published>2009-11-11T07:18:00.000-08:00</published><updated>2009-11-11T07:20:45.325-08:00</updated><title type='text'>a paper for freshers</title><content type='html'>Linux  :   (Freshers) Paper 1&lt;br /&gt;&lt;br /&gt;1. In Linux, how can you only see the first 14 lines of a file?&lt;br /&gt;&lt;br /&gt;2. In Linux, what can you type at a command line to determine which shell you are using?&lt;br /&gt;&lt;br /&gt;3. In Linux, what is the command to list ALL (hidden also) files of current directory &amp;amp; it’s subdirectories?&lt;br /&gt;&lt;br /&gt;4. List out some popular linux distributions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans )&lt;br /&gt;  1. head -n 14 &lt;filename&gt;&lt;br /&gt;  2. echo $SHELL&lt;br /&gt;  3. ls -Ra&lt;br /&gt;  4. fedora, redhat, ubuntu, suse&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Networking : (freshers )&lt;br /&gt;&lt;br /&gt;1. what is an ip address and what is the use of it?&lt;br /&gt;&lt;br /&gt;2. Explain the 7 layers of OSI model with real time example?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans :&lt;br /&gt;1. IP (Internet Protocol address) is a unique address and identifies the computers on a network. &lt;br /&gt;&lt;br /&gt;2. OSI 7 LAYERS 1)PHYSICAL LAYER 2)DATALINK LAYER 3)NETWORK LAYER 4)TRANSPORT LAYER 5)SESSOIN LASYER 6)APPICATION LAYER 7)PRESENTION LAYER&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Web :  (freshers)&lt;br /&gt;&lt;br /&gt;1. What does HTML stand for?&lt;br /&gt;&lt;br /&gt;2. What does CSS stand for?&lt;br /&gt;&lt;br /&gt;3. What does PHP stand for?&lt;br /&gt;&lt;br /&gt;4. What does SQL stand for?&lt;br /&gt;&lt;br /&gt;5. Which SQL statement is used to extract data from a database?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans :&lt;br /&gt;1. Hyper Text Markup Language&lt;br /&gt;2. Cascading Style Sheets&lt;br /&gt;3. PHP: Hypertext Preprocessor&lt;br /&gt;4. Structured Query Language&lt;br /&gt;5. SELECT statement&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-290201414960468913?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/290201414960468913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/paper-for-freshers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/290201414960468913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/290201414960468913'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/11/paper-for-freshers.html' title='a paper for freshers'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-3778592903225786117</id><published>2009-08-17T08:18:00.000-07:00</published><updated>2009-08-17T08:20:47.838-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='linux Question Bank'/><title type='text'>Linux Run-Levels Questions</title><content type='html'>Linux Run-Levels Questions &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;01. Linux has ______ different run levels ( or operating modes).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : Seven&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;02. Describe all different run levels in Linux &lt;br /&gt;&lt;br /&gt;Ans : Linux has 7 different run levels&lt;br /&gt;    * rc0.d - System Halted&lt;br /&gt;    * rc1.d - Single User Mode&lt;br /&gt;    * rc2.d - Single User Mode with Networking&lt;br /&gt;    * rc3.d - Multi-User Mode - boot up in text mode&lt;br /&gt;    * rc4.d - Not yet Defined&lt;br /&gt;    * rc5.d - Multi-User Mode - boot up in X Windows&lt;br /&gt;    * rc6.d - Shutdown &amp; Reboot&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;03. In Redhat/fedora Linux __________ command updates and queries runlevel information for system services&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ans: chkconfig&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;04. Under which folder the service run settings are kept for run level 3 _&lt;br /&gt;&lt;br /&gt;ans  : /etc/rc.d/rc3.d&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;05. All files under /etc/rc.d/rc3.d that start with a capital S are the services that will _____ at this runlevel.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A. Skip&lt;br /&gt;B. Start&lt;br /&gt;C. Share&lt;br /&gt;D. None&lt;br /&gt;&lt;br /&gt;Ans : B&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;06. In Linux, which command will shift one run level to other ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans:  init &lt;Run Level number &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;07.  In Linux(Redhat), default runlevel is defined in  _____________ file&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : /etc/inittab&lt;br /&gt;&lt;br /&gt;08. Scripts that define runlevel 5 can be found in ____________&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans  :  /etc/rc.d/rc.4 or /etc/rc.d/rc4.d&lt;br /&gt;&lt;br /&gt;09. In Debian/ubuntu Linux __________ command installs and remove System-V style init script links.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ans: update-rc.d&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ref  : &lt;br /&gt;&lt;br /&gt;* &lt;a href="http://www.networkclue.com/os/Linux/run-levels.aspx"&gt;http://www.networkclue.com/os/Linux/run-levels.aspx&lt;/a&gt;&lt;br /&gt;* &lt;a href="http://linux.com/news/enterprise/systems-management/8116-an-introduction-to-services-runlevels-and-rcd-scripts"&gt;http://linux.com/news/enterprise/systems-management/8116-an-introduction-to-services-runlevels-and-rcd-scripts&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-3778592903225786117?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/3778592903225786117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/linux-run-levels-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3778592903225786117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3778592903225786117'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/linux-run-levels-questions.html' title='Linux Run-Levels Questions'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-3452957587839971239</id><published>2009-08-15T10:44:00.000-07:00</published><updated>2009-08-15T10:45:19.403-07:00</updated><title type='text'>LPI 102v part_007</title><content type='html'>061. You are working on a non graphical shell. What command would you use to configure the kernel using a menu system. Type the command and its argument(s). &lt;br /&gt;&lt;br /&gt;Ans : make menuconfig&lt;br /&gt;&lt;br /&gt;Explanation : They clearly state that this is a non graphical shell.  Thus, you couldn't use the make xconfig utility here. The only way to accomplish configuring the kernel through a menu without the GUI is make menuconfig.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;062. Which of the following correctly describe a Monolithic Kernel (choose all that apply ) :&lt;br /&gt;&lt;br /&gt;A. it is built into one single binary.&lt;br /&gt;B. it is loaded completely into memory at boot time.&lt;br /&gt;C. it pre-dates micro-kernel architecture by at least ten years.&lt;br /&gt;D. None of the choices&lt;br /&gt;&lt;br /&gt;Ans : ABC&lt;br /&gt;&lt;br /&gt;Explanation :  Have everything they need in that binary. Are loaded completely into memory at boot time.  Pre-date micro-kernel architecture by at least ten years.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;063. Which of the following correctly describe a micro-kernal architecture (choose all that apply):&lt;br /&gt;&lt;br /&gt;A. it has an extremely small core&lt;br /&gt;B. only its small core remains in memory at all times.&lt;br /&gt;C. its device drivers are loaded as-needed&lt;br /&gt;D. None of the choices&lt;br /&gt;&lt;br /&gt;Ans : ABC&lt;br /&gt;&lt;br /&gt;Explanation  : Miro-kernel architectures : Have an extremely small core. Only the small core remains in memory at all times. Device drivers and other additional items are loaded as-needed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;064. Rate this comment : Linux by and large is monolithic.&lt;br /&gt;&lt;br /&gt;A. true&lt;br /&gt;B. false&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : Linux by and large is monolithic.  However, Linux permits modules, a system whereby certain parts of the kernel may be loaded at runtime.  Linux modules are reminiscent of micro-kernel architecture, but linux really remains basically a monolithic architecture.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;065. On a debian system which of the following would build a boot disk&lt;br /&gt;&lt;br /&gt;A. mkboot /dev/floopy&lt;br /&gt;B. makeboot --device /dev/fd0 2.4.18-12&lt;br /&gt;C. mkboot --device /dev/fd0 2.4.18-12&lt;br /&gt;D. mkboot /boot/vmlinux-2.4.18-12&lt;br /&gt;E. mkbootdisk /boot/vmlinux-2.4.18-12&lt;br /&gt;&lt;br /&gt;Ans : D&lt;br /&gt;&lt;br /&gt;066. On a Red Hat system, with a single floppy drive and a returned output from the uname command of 2.4.20-12, what exact command string will create a customized boot disk for this system ? Type the full command string to accomplish this.&lt;br /&gt;&lt;br /&gt;Ans. mkbootdisk --device /dev/fd0 2.4.20-12&lt;br /&gt;&lt;br /&gt;067. On a Debian-based system, what command will create a boot disk on the first floppy if your kernel image is named "vmlinux-2.4.18-4" ? Type the full command string to accomplish this.&lt;br /&gt;&lt;br /&gt;Ans : mkboot vmlinux-2.4.18-4&lt;br /&gt;or mkboot /boot/vmlinux-2.4.18-4&lt;br /&gt;&lt;br /&gt;068. You want to create a boot floppy using a given image file on your hard disk. What utility would you use to do so ?&lt;br /&gt;&lt;br /&gt;Ans : mkbootdisk --device /dev/fd0 `uname -r`&lt;br /&gt;&lt;br /&gt;069. To exclude all log messages of a given logging facility, you should use a logging priority of :&lt;br /&gt;&lt;br /&gt;Ans : none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;070. You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks ?&lt;br /&gt;&lt;br /&gt;A. telinit 1&lt;br /&gt;B. shutdown -r now&lt;br /&gt;C. killall -9 inetd&lt;br /&gt;D. /bin/netshop --maint&lt;br /&gt;E. /etc/rc.d/init.d/network stop&lt;br /&gt;&lt;br /&gt;Ans : E&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-3452957587839971239?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/3452957587839971239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part007.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3452957587839971239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3452957587839971239'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part007.html' title='LPI 102v part_007'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-3196721693299413807</id><published>2009-08-15T10:10:00.001-07:00</published><updated>2009-08-15T10:10:51.220-07:00</updated><title type='text'>LPI 102v part_006</title><content type='html'>051. Which of the following insures that all of the dependencies, such as the include files, are in place?&lt;br /&gt;&lt;br /&gt;A. make dep&lt;br /&gt;B. make clean&lt;br /&gt;C. make_dep&lt;br /&gt;D. make_install&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation :  When the configure script ends, it also tells you to 'make dep' and (possibly) 'clean'. So, do the 'make dep'.  This insures that all of the dependencies, such the include files, are in place.  It does not take long, unless your computer is fairly slow to begin with. For older versions of the kernel, when finished, you should do a 'make clean'.  This removes all of the object files and some other things that an old version leaves behind. in any case, do not forget this step before attempting to recompile a kernel.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;052. Incremental upgrades of the kernel are distributed as :&lt;br /&gt;&lt;br /&gt;A. patches&lt;br /&gt;B. fixes&lt;br /&gt;C. hotfixes&lt;br /&gt;D. service packs&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : Incremental upgrades of the kernel are distributed as patches. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;053. Which of the following removes all of the object files and some other things that an old version leaves behind ?&lt;br /&gt;&lt;br /&gt;A. make dep&lt;br /&gt;B. make clean&lt;br /&gt;C. make_deb&lt;br /&gt;D. make_install&lt;br /&gt;&lt;br /&gt;Ans : B&lt;br /&gt;&lt;br /&gt;Explanation : When the configure script ends, it also tells you to 'make dep' and (possibly) 'clean'. So, do the 'make dep'.  This insures that all of the dependencies, such the include files, are in place.  It does not take long, unless your computer is fairly slow to begin with.  For older versions of the kernel, when finished, you should do a 'make clean'. This remove all of the object files and some other things that an ond version leaves behind.  In any case, do not forget this step before attempting to recompile a kernel.&lt;br /&gt;&lt;br /&gt;054. What command will compile the Linux kernel and leave a file in arch/i386/boot called bzImage?&lt;br /&gt;&lt;br /&gt;A. make bzImage&lt;br /&gt;B. make compile&lt;br /&gt;C. make Image&lt;br /&gt;D. make bzdisk&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : After depending and cleaning, you may now 'make bzImage' or 'make bzdisk' (this is the part that takes a long time. ).  'make bzImage' will compile the kernel, and leave a file in arch/i386/boot called 'bzImage' (among other things).  This is the new compressed kernel.  'make bzdis' does the same thing,  but also places the new bzImage on a floppy disk which you hopefully but in drive ''A:''. 'bzdisk' is fairly handy for Certkiller new kernel; if it bombs (or just' work right), just remove the floppy and boot with your old kernel.  It can also be a handy way to boot if you accidentally remove your kernel (or something equvally as dreadful).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;055. What command will compile the Linux kernel and leave a file called bzImage in the floppy disk ?&lt;br /&gt;&lt;br /&gt;A. make bzImage&lt;br /&gt;B. make compile&lt;br /&gt;C. make Image&lt;br /&gt;D. make bzDisk&lt;br /&gt;&lt;br /&gt;Ans : D&lt;br /&gt;&lt;br /&gt;Explanation :  After depending and cleaning, you may now 'make bzImage' or 'make bzdisk' (this is the part that takes a long time. ).  'make bzImage' will compile the kernel, and leave a file in arch/i386/boot called 'bzImage' (among other things).  This is the new compressed kernel.  'make bzdis' does the same thing,  but also places the new bzImage on a floppy disk which you hopefully but in drive ''A:''. 'bzdisk' is fairly handy for Certkiller new kernel; if it bombs (or just' work right), just remove the floppy and boot with your old kernel.  It can also be a handy way to boot if you accidentally remove your kernel (or something equvally as dreadful).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;056. Which of the following command will attempt to configure the kernel from an old configuration file and run through the make config process for you ?&lt;br /&gt;&lt;br /&gt;A. make oldconfig&lt;br /&gt;B. make newconfig&lt;br /&gt;C. make clean&lt;br /&gt;D. None of the choices&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : Make oldconfig will attempt to configure the kernel from an old configure file; it will run through make config process for you if you havent ever compiled a kernel befor or don't have an old config file, then you probably should't do this, as you will most likely want to change the default configuration.&lt;br /&gt;&lt;br /&gt;057. To produce a compiled kernel with slightly better than standard compressio, type the command with and options and arguments to accomplish just the compilation.&lt;br /&gt;&lt;br /&gt;Ans: make bzImage&lt;br /&gt;&lt;br /&gt;058. You are using X and wish to build a new kernel. What x tool would you use to build the .config file. Type in just the command, not the switches:&lt;br /&gt;&lt;br /&gt;Ans : make xconfig&lt;br /&gt;&lt;br /&gt;059. Type in the command to compile a kernel image with normal compression :&lt;br /&gt;&lt;br /&gt;Ans : make zImage&lt;br /&gt;&lt;br /&gt;060. Which of the following is not a valid make command during a kernel recompile ?&lt;br /&gt;&lt;br /&gt;A. make dep&lt;br /&gt;B. make clean&lt;br /&gt;C. make xconfig&lt;br /&gt;D. make modules&lt;br /&gt;E. make gzlilo&lt;br /&gt;&lt;br /&gt;Ans : E&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-3196721693299413807?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/3196721693299413807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part006.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3196721693299413807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3196721693299413807'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part006.html' title='LPI 102v part_006'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-378897654408147972</id><published>2009-08-15T08:59:00.000-07:00</published><updated>2009-08-15T09:00:11.379-07:00</updated><title type='text'>LPI 102v part_005</title><content type='html'>041. The command "make config" requires bash.&lt;br /&gt;&lt;br /&gt;A. True&lt;br /&gt;B. false&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : The command 'make config' while in /usr/src/linux starts a configure script which asks you many questions. It requires bash, so verify that bash is /bin/bash, /bin/sh, or $BASH.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;042. If you need to view per-user space usage on a filesystem, the _____ command can provide that information if the kernel is build to support it.&lt;br /&gt;&lt;br /&gt;Ans  : du&lt;br /&gt;&lt;br /&gt;043. Rate this advice : In order to use the latest kernel, it is necessary to first upgrade to the newest utilities and libraries.&lt;br /&gt;&lt;br /&gt;A. True&lt;br /&gt;B. False&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : In order to use the latest kernel, it is first necessary to upgrade to the newest utilities and libraries.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;044. What is the name of the Kernel configuration file ? Type just the filename.&lt;br /&gt;&lt;br /&gt;Ans : .config&lt;br /&gt;&lt;br /&gt;045. GNU Make determines which pieces of a large program need to be recompiled and issues the commands to recompile them when necessary.&lt;br /&gt;&lt;br /&gt;A. true&lt;br /&gt;B. false&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation :  GNU Make is a program that determines which pieces of a large program need to be recompiled and issues the commands to recompile them, when necessary.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;046. What does "make bzImage" do as opposed to "make zImage"?&lt;br /&gt;&lt;br /&gt;A. make a bz encrypted kernel&lt;br /&gt;B. makes a kernel with a better compression ratio&lt;br /&gt;C. makes a kernel with build in gzip application&lt;br /&gt;D. nothing&lt;br /&gt;&lt;br /&gt;Ans : B&lt;br /&gt;&lt;br /&gt;047. You have just recompiled a new kernel and rebooted your system with the new kernel. Unfortunately you are getting "Can't locate module" error message. which of the following is most likely to be the source of the problem ?&lt;br /&gt;&lt;br /&gt;A. You copied the modules to the worng directory.&lt;br /&gt;B. YOu did not configure modular support into the kernel.&lt;br /&gt;C. You did not run depmod after installing the modules.&lt;br /&gt;D. You did not install the modules&lt;br /&gt;&lt;br /&gt;Ans : B&lt;br /&gt;&lt;br /&gt;Explanation : If you get two choose - than take D as second answer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;048. When preparing to compile a new kernel, which of the following commands can be used to create the configuration file ?&lt;br /&gt;&lt;br /&gt;A. make config&lt;br /&gt;B. make kernel&lt;br /&gt;C. ./configure&lt;br /&gt;D. make kernelconfig&lt;br /&gt;E. [Kernel Source Path]/Configure&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;049. If your new kernel does not behave normally after a routine kernel upgrade, chances are that you forgot to _____ before compiling the new kernel.  &lt;br /&gt;&lt;br /&gt;A. make clean&lt;br /&gt;B. make shot&lt;br /&gt;C. make clear&lt;br /&gt;D. make remove&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation :  If your new kernel does really weird things after a routine kernel upgrade, chances are you forgot to make clean before compiling the new kernel.  Symptoms can be anything from your system outright crashing, strange I/O problems, to crummy performance. Make sure you do a make dep, too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;050. Upgrading a kernel involves which of the following tasks (choose all that apply):&lt;br /&gt;&lt;br /&gt;A. configuring the desired modules&lt;br /&gt;B. compiling the kernel and modules&lt;br /&gt;C. installing the kernel image&lt;br /&gt;D. conducting a system reboot&lt;br /&gt;&lt;br /&gt;Ans : ABCD&lt;br /&gt;&lt;br /&gt;Explanation : Upgrading the kernel involves configuring desired modules, compiling the kernel and modules, and finally installing the kernel image.  This is followed by a system reboot (with fingers crossed !) to load the new kernel.  All of this is documented in the ''README'' file which comes with each kernel package.  Further information can be found in the 'Documentation/'' subdirectory.  A particularly helpful file there is ''configure.help'' which contains detailed information on the available kernel compile options and modules.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-378897654408147972?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/378897654408147972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part005.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/378897654408147972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/378897654408147972'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part005.html' title='LPI 102v part_005'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-8895017285184396336</id><published>2009-08-15T08:24:00.000-07:00</published><updated>2009-08-15T08:25:20.472-07:00</updated><title type='text'>LPI 102v part_004</title><content type='html'>031. You wish to install the module fat.o into the kernel. Type in the simplest command to do this, assuming there are no dependencies for this module :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : insmod fat&lt;br /&gt;&lt;br /&gt;032. What modprobe option will cause inactive kernel modules to be unloaded ?&lt;br /&gt;&lt;br /&gt;A. autoclean&lt;br /&gt;B. incative&lt;br /&gt;C. remove&lt;br /&gt;D. timeout&lt;br /&gt;E. holdoff&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;033. You are using insmod. You do not want to use the default configuration file /etc/ modules.conf.  What environment variable should you modify ?&lt;br /&gt;&lt;br /&gt;Ans : MODULECONF&lt;br /&gt;&lt;br /&gt;Explanation : The environment variable MODULECONF can also be used to select a different configuration file from the default /etc/modules.conf (or /etc/conf.modules (deprecated)).  This environment variable will override all the definitions above.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;034. You can find out how much memory the kernel is using by taking the total amount of memory in your machine and subtracting from it the amount of  :&lt;br /&gt;&lt;br /&gt;A. "total mem" in /proc/meminfo&lt;br /&gt;B. "total mem" in /proc/memused&lt;br /&gt;C. "total mem" in /proc/memcurrent&lt;br /&gt;D. Note of the choices&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : You can find out how much memory the kernel is using by taking the total amount of memory in your machine and subtracting from it the amount of 'total mem' in  /proc/meminfo or the output of the command 'free'.&lt;br /&gt;&lt;br /&gt;035. What command will load groups fo modules into the kernel as needed ?&lt;br /&gt;&lt;br /&gt;Ans  : modprobe&lt;br /&gt;&lt;br /&gt;036. If the module file name is given without directories or extension, insmod will search for the module in some common default directories. what environment variable can be used  to override this ?&lt;br /&gt;&lt;br /&gt;Ans : MODPATH&lt;br /&gt;&lt;br /&gt;Explanation : If the module file name is given without directories or extension, insmod will search for the module in some common default directories.  The environment variable MODPATH can be used to override this default.  If a module configuration file such as /etc/modules.conf, it will override the paths defined in MODPATH.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;037. Which of the following could be used to load kernel modules for a 2.4.x kernel ?&lt;br /&gt;&lt;br /&gt;A. vi/proc/modules&lt;br /&gt;B. rmmod&lt;br /&gt;C. kmod&lt;br /&gt;D. depmod&lt;br /&gt;&lt;br /&gt;Ans : C&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;038. Loadable kernel modules can  (choose all that apply ) :&lt;br /&gt;&lt;br /&gt;A. Save memory&lt;br /&gt;B. ease configuration&lt;br /&gt;C. include filesystems&lt;br /&gt;D. include ethernet card drivers&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : ABCD &lt;br /&gt;&lt;br /&gt;Explanation :  Loadable kernel modules can save memory and ease configuration. The scope of modules has grown to include filesystems, ethernet card drivers, tape drivers, printer drivers, and more.&lt;br /&gt;&lt;br /&gt;039. What command would rebuild the ld.so cache file ?&lt;br /&gt;&lt;br /&gt;A. ldd&lt;br /&gt;B. ldconfig&lt;br /&gt;C. ld.so.cache -rebuild&lt;br /&gt;D. ld&lt;br /&gt;&lt;br /&gt;Ans : B&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;40. What file should be edited to make the system aware of newly added library files ?&lt;br /&gt;&lt;br /&gt;A. /etc/modules.conf&lt;br /&gt;B. /etc/conf.modules&lt;br /&gt;C. /etc/ld.so.conf&lt;br /&gt;D. /etc/ld.so.cache&lt;br /&gt;E. /etc/LD_LIBRARY_PATH.conf&lt;br /&gt;&lt;br /&gt;Ans : C&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-8895017285184396336?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/8895017285184396336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part004.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/8895017285184396336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/8895017285184396336'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part004.html' title='LPI 102v part_004'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-6147860375306495318</id><published>2009-08-15T07:24:00.000-07:00</published><updated>2009-08-15T07:25:34.667-07:00</updated><title type='text'>LPI 102v part_003</title><content type='html'>021. What option of modprobe spectifies the loading of all matching modules instead of stopping after the first successful loading ?&lt;br /&gt;&lt;br /&gt;A. -a&lt;br /&gt;B. -f&lt;br /&gt;C. -c&lt;br /&gt;D. -e&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : -a, --all:  Load all matching modules instead of stopping after the first successful loading.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;022. What option of modprobe allows you to set 'autoclean' on the loaded modules ?&lt;br /&gt;&lt;br /&gt;A. -k&lt;br /&gt;B. -d&lt;br /&gt;C. -c&lt;br /&gt;D. -e&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : -k, --autoclean: Set 'autoclean' on loaded modules. Used by the kernel when it calls on modprobe to satisfy a missing feature (supplied as a module).  The -q option is implied by -k.  These options will automatically be sen to insmod.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;023. Modprobe can be used to load (choose all that apply) :&lt;br /&gt;&lt;br /&gt;A. a single module&lt;br /&gt;B. a stack of dependent modules&lt;br /&gt;C. all modules that are marked with a specified tag&lt;br /&gt;D. None of the choices&lt;br /&gt;&lt;br /&gt;Ans : A, B, C&lt;br /&gt;&lt;br /&gt;Explanation :  Modprobe is used to load a single module, a stack of dependent modules, or all modules that are marked with a specified tag.&lt;br /&gt;&lt;br /&gt;024. Modprobe will automatically load all base modules needed in the modules stack as described by its dependency file. What file is this ?&lt;br /&gt;&lt;br /&gt;A. modules.dep&lt;br /&gt;B. modprobe.deb&lt;br /&gt;c. module.dep&lt;br /&gt;D. modep.dep&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation :  Modprobe will automatically load all base modules needed in a module stack, as described by the dependency file modules.dep.   If the loading of one of these modules files, the whole current stack of modules loaded in the current session will be unloaded automatically.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;025. Which utility is used to create or update the modules.dep file ? Type the command only.&lt;br /&gt;&lt;br /&gt;Ans : depmod&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;026. Type in the simplest command to list all loaded modules:&lt;br /&gt;&lt;br /&gt;Ans : lsmod&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;027. You wish to get information on a module called msdos.o. Type in the simplest command that would list all information including author and description for the module:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : modinfo msdos&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;028. You have a module called msdos.o which has a dependancy on fat.o. What single command will load msdos.o and its dependant fat.o module in one command line ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : modprobe msdos&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;029. Type in the simplest command, including any switches, to rebuild the modules.dep file after you have  made changes to the modules.conf file :&lt;br /&gt;&lt;br /&gt;Ans  : depmod -a&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;030. Type in the command to list your current kernel version, including any switches&lt;br /&gt;&lt;br /&gt;Ans : uname -a&lt;br /&gt;&lt;br /&gt;Explanation : uname -a  or uname -r&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-6147860375306495318?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/6147860375306495318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part003.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/6147860375306495318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/6147860375306495318'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part003.html' title='LPI 102v part_003'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-1527685114000614078</id><published>2009-08-15T06:54:00.000-07:00</published><updated>2009-08-15T06:55:35.081-07:00</updated><title type='text'>LPI 102v part_002</title><content type='html'>011. Which of the following commands installs a loadable module in the running kernal?&lt;br /&gt;&lt;br /&gt;A. insmod&lt;br /&gt;B. depmod&lt;br /&gt;C. modprobe&lt;br /&gt;C. setmod&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation: insmod installs of loadable module in the running kernel. It tries to link a module into the running kernel by resolving all symbols from the kernel's exported symbol table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;012. insmod tries to link to module into the running kernel by resolving all symbols obtained from:&lt;br /&gt;&lt;br /&gt;A. the kernel's exported symbol table.&lt;br /&gt;B. the kernel's internal pointer base.&lt;br /&gt;c. the user command argument list.&lt;br /&gt;D. note of the choices.&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation: insmod installs a loadable module in the running kernel.  It tries to link a module into the running kernel by resolving all symbols from the kernel's exported symbol.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;013. With insmod, the paths listed in /etc/modules.conf override the paths defined in MODPATH.&lt;br /&gt;&lt;br /&gt;A. true&lt;br /&gt;B. false&lt;br /&gt;&lt;br /&gt;Ans : A &lt;br /&gt;&lt;br /&gt;Explanation: If the module file name is given without directories or extension, insmod will search for the module in some common default directories. The environment variable MODPATH can be used to override this default.  If a module configuration file such as /etc/modules.conf exits, it will override the paths defined in MODPATH.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;014. Lsmod shows information about :&lt;br /&gt;&lt;br /&gt;A. all loaded modules&lt;br /&gt;B. all non-updatable modules&lt;br /&gt;C. All updatable modules&lt;br /&gt;D. all unloaded modules&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation: Lsmod shows information about all loaded modules. The format is name, size, use count, list of referring modules. The information displayed is identical to that available from /proc/modules.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;015. Lsmod shows infromation in which of the following formats ?&lt;br /&gt;&lt;br /&gt;A. name, size, use count, list of referring modules&lt;br /&gt;B. name, use count, list of referring modules, size&lt;br /&gt;C. name, size, list of referring modules, use count&lt;br /&gt;D. none of the choices&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : Lsmod shows information about all loaded modules. The format in name, size, use count, list of referring modules.  The information displayed is identical to that available from /proc/modules.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;016. The information displayed by lsmod is identical to that available from :&lt;br /&gt;&lt;br /&gt;A. /proc/modules&lt;br /&gt;B. /proc/depemod&lt;br /&gt;C. /proc/ls&lt;br /&gt;D. /proc/lsmod&lt;br /&gt;&lt;br /&gt;Ans: A&lt;br /&gt;&lt;br /&gt;Explanation : Lsmod shows infromation about all loaded modules.  The format is name, size, use count, list of referring modules. The information displayed is identical to that available from /proc/modules.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;017. What command should you use to unload loadable modules from the running kernel ?&lt;br /&gt;&lt;br /&gt;A. rmmod&lt;br /&gt;B. remove -mod&lt;br /&gt;C. delmod&lt;br /&gt;D. unload module&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : rmmod unloads loadable modules from the running kernel. rmmod tries to unload a set of modules from the kernel, with the restriction that they are not in use and that they are not referred to by other modules. If more than one module is named on the command line, the modules will be removed simultansously.  This supports unloading of stacked modules.&lt;br /&gt;&lt;br /&gt;018. What command option of rmmod specifies that all outputs be sent to syslog?&lt;br /&gt;&lt;br /&gt;A. -a&lt;br /&gt;B. -i&lt;br /&gt;C. -s&lt;br /&gt;D. -d&lt;br /&gt;&lt;br /&gt;Ans : C&lt;br /&gt;&lt;br /&gt;Explanation : Rmmod unloads loadable modules from the running kernel. -s: Outpu everything to syslog(3) instead of the terminal.&lt;br /&gt;&lt;br /&gt;019. What utility examines the object file module_file associated with a kernel module and displays any information that it can glean ?&lt;br /&gt;&lt;br /&gt;A. modinfo&lt;br /&gt;B. modprobe&lt;br /&gt;C. insmod&lt;br /&gt;D. depmod&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : The modinfo utility examines the object file module_file associated with a kernel module and displays any information that it can glean.&lt;br /&gt;&lt;br /&gt;020. What command option of modinfo can display its version number ?&lt;br /&gt;&lt;br /&gt;A. -V&lt;br /&gt;B. -i&lt;br /&gt;C. -I&lt;br /&gt;D. -A&lt;br /&gt;&lt;br /&gt;Ans: A&lt;br /&gt;&lt;br /&gt;Explanation : The modinfo utility examines the object file module_file associated with a kernel module and displays any information that it can glean. -V, --version : Display the version of modinfo.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-1527685114000614078?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/1527685114000614078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part002.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/1527685114000614078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/1527685114000614078'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part002.html' title='LPI 102v part_002'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-3297264580482143679</id><published>2009-08-15T04:22:00.001-07:00</published><updated>2009-08-15T04:22:56.967-07:00</updated><title type='text'>LPI 102v part_001</title><content type='html'>001. What command would load the module msdos.o and all its dependancies ?&lt;br /&gt;&lt;br /&gt;A. modifo -a msdos&lt;br /&gt;B. lsmod -a msdos&lt;br /&gt;C. modprobe msdos&lt;br /&gt;D. insmod -d msdos&lt;br /&gt;&lt;br /&gt;Ans: C&lt;br /&gt;&lt;br /&gt;002. What command will unload a kernel module ?&lt;br /&gt;&lt;br /&gt;A. rmmod&lt;br /&gt;B. unmod&lt;br /&gt;C. delmod&lt;br /&gt;D. modprobe&lt;br /&gt;E. unloadmod&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;003. The ______  command will list the currently loaded kernel modules.&lt;br /&gt;&lt;br /&gt;Ans : lsmod&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;004. You wish to remove a module from the kernel called fat. Assume this module has no dependancies. Type in the simplest command to do this :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : rmmod fat&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;005. You have just added new modules to you system. What command would you execute to rebuild the modules.dep file ?&lt;br /&gt;&lt;br /&gt;A. depmod --rebuild&lt;br /&gt;B. update-dependancies&lt;br /&gt;C. depmod -a&lt;br /&gt;D. insmod -dependancies&lt;br /&gt;&lt;br /&gt;Ans : C&lt;br /&gt;&lt;br /&gt;006. Which of the following correctly describe the relationship between depmod and modprobe ?&lt;br /&gt;&lt;br /&gt;A. depmod creates a dependency file for use by modprobe&lt;br /&gt;B. modprobe create a dependency file for use by depmod&lt;br /&gt;C. they have no relationship&lt;br /&gt;D. they can replace each other&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;Explanation : Depmod creates a "Makefile" -like dependency file, based on the symbols it fineds in the set of modules mentioned on the command line or from the directories specified in the configuration file. This dependency file is late used by modprobe to automatically load the correct module or stack of modules.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;007. The normal use of depmod is to include which of the following lines in one of the files in /etc/rc.d so the correct module dependencies will be available after booting the system ?&lt;br /&gt;&lt;br /&gt;A. /sbin/depmod -a&lt;br /&gt;B. /sbin/depmod -p&lt;br /&gt;C. /sbin/depmod -r&lt;br /&gt;D. /sbin/depmod -c&lt;br /&gt;&lt;br /&gt;Ans: A&lt;br /&gt;&lt;br /&gt;Explanation :  depmod creates a dependency file for the modules given on the command line. This dependency file can be used by modprobe to automatically load the relevant modules. The normal use of depmod is to include the line /sbin/depmod -a in one of the files in /etc/rc.d so the correct module dependencies will be available after booting the system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;008. What command option of depmod allows you to print a list of all unresolved symbols ?&lt;br /&gt;&lt;br /&gt;A. -e&lt;br /&gt;B. -l&lt;br /&gt;C. -i&lt;br /&gt;D. -a&lt;br /&gt;&lt;br /&gt;Ans: A&lt;br /&gt;&lt;br /&gt;Explanation : depmod creates a dependency file for the modules given on the command line. -e : print a list of all unresolved sysmbols.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;009. Which of the following commands loads the module file into the kernel and changes any symbols that are defined  on the command line ?&lt;br /&gt;&lt;br /&gt;A. insmod&lt;br /&gt;B. depmod&lt;br /&gt;C. modprobe&lt;br /&gt;D. setmod&lt;br /&gt;&lt;br /&gt;Ans : A&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;010. What option of the insmod command can you use to force the loading of module even if problems are encountered?&lt;br /&gt;&lt;br /&gt;A. -f&lt;br /&gt;B. -F&lt;br /&gt;C. -u&lt;br /&gt;d. -r&lt;br /&gt;&lt;br /&gt;Ans : A&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-3297264580482143679?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/3297264580482143679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part001.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3297264580482143679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/3297264580482143679'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/08/lpi-102v-part001.html' title='LPI 102v part_001'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-6882290695057409861</id><published>2009-07-12T01:28:00.000-07:00</published><updated>2009-07-12T01:37:57.367-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Networking Cables'/><category scheme='http://www.blogger.com/atom/ns#' term='Questions'/><title type='text'>Networking</title><content type='html'>Networking Cables :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q1 .In CAT-5 cable which color paired wires meant for receiving data ?&lt;br /&gt;&lt;br /&gt;Ans :  Green color paired wires&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Explanation  : The paired wires in a CAT-5 cable are colored for a reason. Each color has specific meaning. The orange pair sends data, while the grean pair receives data.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q2.  In CAT-5 cable, each pair consists of a plain and striped wire of same color, In this pair striped wire is meant for which polarity ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : positive&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Explanation : In CAT-5 cable, each pair consists of a plain and striped wire of same color. If a wire is striped, then this means that it s positive. If a wire is solid, then the wire is negative.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ref : Head-first-networking&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-6882290695057409861?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/6882290695057409861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/07/networking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/6882290695057409861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/6882290695057409861'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/07/networking.html' title='Networking'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1245876237505758205.post-591983893747601328</id><published>2009-03-21T01:50:00.000-07:00</published><updated>2009-03-21T01:53:05.508-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Quiz'/><category scheme='http://www.blogger.com/atom/ns#' term='Questions'/><category scheme='http://www.blogger.com/atom/ns#' term='ITSM'/><category scheme='http://www.blogger.com/atom/ns#' term='ITIL foundation'/><title type='text'>Quiz -Introduction to ITSM</title><content type='html'>1. IT Service Management is a set of Organizational capabilities that enables the alignment of what four attributes/perspectives?&lt;br /&gt;&lt;br /&gt;a) Products, Power, Process, Perspective&lt;br /&gt;b) People, Process, Partners, Products&lt;br /&gt;c) Business, Technology, Budgets, Vision&lt;br /&gt;d) Time, Effort, Cost, Benefit&lt;br /&gt;&lt;br /&gt;Ans : b)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Which of the following statements best describes 'good practices'?&lt;br /&gt;&lt;br /&gt;a) They are those practices that are successful in wide&lt;br /&gt;b) They can be used to grow a organization&lt;br /&gt;c) They are based on international (ISO) standards.&lt;br /&gt;d) They are those that enable on&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ans : a)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1245876237505758205-591983893747601328?l=quiznquestions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://quiznquestions.blogspot.com/feeds/591983893747601328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quiznquestions.blogspot.com/2009/03/quiz-introduction-to-itsm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/591983893747601328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1245876237505758205/posts/default/591983893747601328'/><link rel='alternate' type='text/html' href='http://quiznquestions.blogspot.com/2009/03/quiz-introduction-to-itsm.html' title='Quiz -Introduction to ITSM'/><author><name>Mali</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
