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.
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)?
- 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.
- Edit /etc/exports to reference the NFS export, providing the cpmputer name and options in parentheses following the computer name.
- 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
- 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?
- A connection can be tracked by spammers, placing both the local and remote systems users on spammers address lists
- If the cable modem connection dies, the Telnet server will be left running, consuming considerable systemresources until a reboot.
- A virus on the remote system might propagate itself into the individule’s home computer, thus infecting it and spreading the virus further.
- 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?
- insmod
- depmod
- modprobe
- 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?
- image=(hd0,1)/bzImage-3.6.21
- kernel=/boot/bzImage-3.6.21
- image=/boot/bzImage-3.6.21
- kernel=(hda0,1)/boot/bzImage-3.6.21
5. What role does BIND fill?
- It allows programs to use dynamic library diles.
- It translates between hostnames and IP addresses.
- It ties together POP and SMTP servers.
- 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.]
- Type chown music instruments.txt in the file’s directory.
- Type chgrp music instruments.txt in the file’s directory.
- Type chgroup music instruments.txt in the file’s directory.
- 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
- The account’s human ID (HID) number
- The account’s process ID (PID) number
- The account’s group ID (GID) number
- The account’s user ID (UID) number
8. Which of the following is true of automated X configuration tools?
- They create a binary configuration file that cannot be manipulated with a text editor.
- They all run in stripped-down GUI mode in order to test the X configuration.
- They can usually create a working configuration, but this isn’t guaranteed.
- 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?
- 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.
- 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.
- The owner of the file issues the command, but the file’s permissions don’t grant the owner write access to the file.
- 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?
- It creates a pipline between two programs.
- It searches files contents for a pattern.
- It concatenates two or more files.
- It displays the last several lines of a file.
11. Which utility should you use to rename the file pumpkin.txt to lantern.txt?
- dd
- rm
- cp
- mv
12. Which of the following, when typed in vi’s command mode, save a file and quits from the program?
- :rq
- :wq
- :re
- :we
13. Which of the following are journaling filesystems for Linux? [select all that apply.]
- HPFS
- JFS
- ext2fs
- 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?
- start simbigbang
- simbigbang &
- bg simbigbang
- 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?
- The rotational velocity of the disks
- The master/slave status of the disks
- The availability of Linux drivers for the adapter card
- 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