Linux

 

45. Which of the following commands can you use to check the IP address configuration of the NIC under Linux?

a) ipconfig /all

b) ifconfig -a

c) winipcfg

d) ipcfg -a

e) showip /all

46. Where would you find the directory /proc in a typical installation?

a) This is a user created directory and is in the root

b) It is created on your local harddisk

c) This is a virtual directory but is visible in the root

d) This directory only existed up to kernel 2.2.x

47. RedHat Linux comes with a few standard, free, applications that may be used to make backups. Two of these are:

a) Tar

b) sbackup

c) dump

d) arcserve

e) streamer

48. What is the function of the cron daemon in Linux and other Unixes?

a) It purges virtual memory and temporary files.

b) It automatically mounts CDs, floppies and other removable storage devices.

c) It automatically adds a CR (carriage return) to every linefeed character.

d) It executes commands at scheduled specific dates and times.

49. You have a server with a single DLT drive, running RedHat Linux. Which of the following is the proper device name for the DLT?

a) /dev/dlt

b) /dev/st0

c) /dev/taper

d) /dev/streamer

50. Where would you find error messages from the network driver on your Linux server?

a) /var/log/messages

b) /root/syslog

c) /syslog

d) Depending on the manufacturer of the network card: /adm/log/"manufacturer"

51. Which command would you use to list the drivers loaded into your server running Red Hat 7.3?

a) insmod

b) lsmod

c) rmmod

d) lsdrv

e) insdrv

52. In Red Hat 7.x, what command should type to start the SNMP service?

a) snmp start

b) snmpd start

c) insmod snmp

d) Run snmp

53. A customer has installed Linux RedHat 6.x on his server and now at boot time he cannot access the System Partition anymore. Using Fdisk he can see that the System Partition is still on the server. What can he do to get access again to the System Partition?

a) Boot with a DOS boot disk and run the command Fdisk/mbr.

b) Edit /etc/lilo.conf and add a new line for the diag partition; then run /sbin/lilo.

c) With linux installed you cannot use the system partition anymore.

d) Boot with a DOS boot disk; run Fdisk and make the system partition “active”.

54. How can you discover the version of the kernel which is running on a particular Linux server?

a) On the command line type: "uname -v"

b) On the command line type: "lskernel -l"

c) On the command line type: "uname -r"

d) On the command line type: "lskernel -v"

55. Client has an enterprise 8-way server with 512 MB of memory running RedHat Linux 7.3. He upgrades to 8 GB of memory, but finds that his OS is only using 4 GB. What is the solution?

a) There is no solution. Linux can only use 4 GB of RAM.

b) Client needs to enable “large memory access” in the Advanced Mode of the SCU (BIOS).

c) Client needs to install the “enterprise” kernel using the RedHat rpm.

d) Client needs to add the following line to his lilo.conf: “append: largemem”.

56.  You have forgotten the root password, how can you still get access and change the root password?

a) You only option is to re-install

b) With GRUB as bootloader you type “e” and append root to the first line then boot

c) With LILO as bootloader you type “linux single” on the boot line

d) You need to download a special tool that will change the password to “linux”.