Linux Assessment Questions Set – 02

The assessment test is an excellent way to test yourself before starting to study. It gives you an idea of where you should start and why.

Table of Contents

In an assessment test, test your current skills from beginning to advance lever for any subject or topic to check “what do you know and from where you should start learning?”

Here I have put some basic questions for Linux assessment, so you can test your Linux skill and choose right path for Linux Learning.

Questions

1.    You want a Linux workstation to mount a remote NFS share automatically whenever it boots. How can you accomplish this goal on the Linux workstation (the NFS client)?

  1. Create a file in /etc/xinetd.d for the NFS export you want to mount, providing information about the export on named lines in the file.
  2. Edit /etc/exports to reference the NFS export, providing the cpmputer name and options in parentheses following the computer name.
  3. Edit /etc/fstab to reference the NFS export rather than a Linux device filename, providing a filesystem type code of nfs and standard Linux mount point
  4. Any of the above.

2.    A system administrator logs onto a home computer and uses Telnet over a cable modem connection to access a work computer. This person then uses su to acquire superuser privileges to make some changes to the remote system’s configuration. What risks does this procedure pose?

  1. A connection can be tracked by spammers, placing both the local and remote systems users on spammers address lists
  2. If the cable modem connection dies, the Telnet server will be left running, consuming considerable systemresources until a reboot.
  3. A virus on the remote system might propagate itself into the individule’s home computer, thus infecting it and spreading the virus further.
  4. The individual’s user account and the root password might be discovered by miscreants with sniffers installed on any intervening system.

3.    You want to know what kernel modules are currently loaded. What command would you type to learn this information?

  1. insmod
  2. depmod
  3. modprobe
  4. lsmod

4.    Which of the following lines, when entered in /etc/lilo.conf, begins a definition to boot Linux using /boot/bzImage-3.6.21 kernel when the /boot partition is /dev/hda2?

  1. image=(hd0,1)/bzImage-3.6.21
  2. kernel=/boot/bzImage-3.6.21
  3. image=/boot/bzImage-3.6.21
  4. kernel=(hda0,1)/boot/bzImage-3.6.21

5.    What role does BIND fill?

  1. It allows programs to use dynamic library diles.
  2. It translates between hostnames and IP addresses.
  3. It ties together POP and SMTP servers.
  4. It binds an IP address to a network interface.

6.    You want to enable all members of the the music group to read the instructions.txt file, which currently has 0640 (-rw-r—–) permissions, ownership by root, and group ownership by root. How might you accomplish this goal? [select all that apply.]

  1. Type chown music instruments.txt in the file’s directory.
  2. Type chgrp music instruments.txt in the file’s directory.
  3. Type chgroup music instruments.txt in the file’s directory.
  4. Type chown .music instruments.txt in the fil’s directory.

7.    What does the number 703 represent in the following /etc/passwd entry?

          satish:x:703:100:Satish Kumar:/home/satish:/bin/tcsh

  1. The account’s human ID (HID) number
  2. The account’s process ID (PID) number
  3. The account’s group ID (GID) number
  4. The account’s user ID (UID) number

8.    Which of the following is true of automated X configuration tools?

  1. They create a binary configuration file that cannot be manipulated with a text editor.
  2. They all run in stripped-down GUI mode in order to test the X configuration.
  3. They can usually create a working configuration, but this isn’t guaranteed.
  4. They can all create both XFree86 3.3.6 and XFree86 4.0.x configuration files.

9.    Under which of the following circumstances will a chmod command not work?

  1. The user issuing the command doesn’t own the file but does own and have write permission to the directory in which the file resides.
  2. The root user issues the command on a file that resides in a read/write filesystem, althrough the file itself has no write permissions active.
  3. The owner of the file issues the command, but the file’s permissions don’t grant the owner write access to the file.
  4. The owner of the file issues the command, but the file resided in a directory to which the owner has read but not write access.

10.    What does the grep command accomplish?

  1. It creates a pipline between two programs.
  2. It searches files contents for a pattern.
  3. It concatenates two or more files.
  4. It displays the last several lines of a file.

11.    Which utility should you use to rename the file pumpkin.txt to lantern.txt?

  1. dd
  2. rm
  3. cp
  4. mv

12.    Which of the following, when typed in vi’s command mode, save a file and quits from the program?

  1. :rq
  2. :wq
  3. :re
  4. :we

13.    Which of the following are journaling filesystems for Linux? [select all that apply.]

  1. HPFS
  2. JFS
  3. ext2fs
  4. ext3fs

14.    You want to run a length scientific simulation program, called simbigbang, which doesn’t require any user interaction; the program operators solely on disk files. If you don’t want to tie up the shall from which you run the program, what should you type to run simbigbang in the background?

  1. start simbigbang
  2. simbigbang &
  3. bg simbigbang
  4. background simbigbang

15.    In evaluating Linux’s compatibility with a computer, which factor is more important for SCSI-based systems than for ATA-based computers?

  1. The rotational velocity of the disks
  2. The master/slave status of the disks
  3. The availability of Linux drivers for the adapter card
  4. The support for the disk model in the hdparm utility

Answers

1.   c

2.   d

3.   d

4.   c

5.   b

6.   b, d

7.   d

8.   c

9.   a

10.   b

11.   d

12.   b

13.   b, d

14.   b

15.   c

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

fourteen + 11 =

Related Articles