Friday, March 5, 2010

Top Linux Admin Interview Questions and answers asked in TOP IT industries : Question Bank 04

Linux Admin Interview Questions and Answers

All Linux Administration questions, Linux Networking questions, MYSQL questions, bash, postfix questions, sendmail questions, ftp server questions

Questions BANK 04

# You enter the command cat MyFile | sort > DirList & 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.

# 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.

# 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.

# 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? _________

# Many factors are taken into account when planning a backup strategy. The one most important one is how often does the file ____________.

# 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

# When you only back up one partition, this is called a ______ backup. Choose one
a. Differential
b. Full
c. Partial
d. Copy

# 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

# The easiest, most basic form of backing up a file is to _____ it to another location.

# 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.

# 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/*

# 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.

# You need to view the contents of the tarfile called MyBackup.tar. What command would you use? __________

# 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?

# 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.

# You want to create a compressed backup of the users’ home directories. What utility should you use?

# 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.

3 comments:

  1. Shankar VishwakarmaMarch 6, 2010 at 12:53 AM

    Please upload the RPM you have promised me. Sir, please treat this as urgent.


    Reg's
    Shankar

    ReplyDelete
  2. Nice que.....
    Could you send me answers above questions ?
    Thanks

    ReplyDelete
  3. Can you please send me answers of the above questions to my mail Id.

    ReplyDelete