Sunday, September 23, 2012

Linux System Admin Interview Questions & Answers part 1

https://www.youtube.com/channel/UCQECTKWf3phX5McZIyPM0Mw/videos

Linux System Admin Interview Questions & Answers part 1


1. Every command in Linux is a
 answer : executable program

2. How long can a filename in Linux be?
Correct answer: 255 characters

3. What is the shortcut to the login directory?
Correct answer: cd + enter key

4. The hierarchy of a series of directories branching in a user system starts from
Correct answer: /home

5. Saving open files, flush the system cache and other necessary system maintenance are allowed by.
Correct answer: logging off the system

6. Which directory contains configuration files that stores system and application setting?
Correct answer: /etc

7. Which command is used to find data files, programs, directories that match the search argument?
Correct answer: locate

8. Applications written to provide a GUI shell for Unix and Linux are called
Correct answer: x windows

9. The advantage of using NFS rather than Samba for file sharing in Linux is
Correct answer: compatibility with Windows file sharing

10. Which framework is provided for the programs to interchange information about Linux OS?
Correct answer: Resource Definition Framework

11. To implement new application on IBM z/10. Which of the following options need to be considered if it to be implemented in Linux?
Correct answer: Red Hat Linux does not support all the devices supported by IBM z/OS

12. Which of the following has greater market share of Linux SW/HW environment?
Correct answer: Linux on z10

13. Which of the following commands can be run to remove all the rules in an iptables table?
Correct answer: iptables -F

14. Which of the following is the BEST way to set up SSH(Secure Shell) for communicating between Systems without needing passwords?
Correct answer: Use ssh-keygen for generating public-private keys.

15. How much usable space is available, when a Linux system is configured with a RAID 5 array that consists of six 20 GB hard disk drives?
Correct answer: 100Gb


Formula: S*(N-1)

  here S=size
         N=number of HDD.  remember it is only for RAID5

16. Which of the following commands can be used to check for file corruption?
Correct answer: md5sum

17. Which of the following allows to secure remote command line access?
Correct answer: SSH(Secure Shell)

18. Which of the following supports for creating a Linux VPN (Virtual Private Network)?
Correct answer: 3DES

19. Which of the following commands delete the files from the /tmp directory, issued by non-root user?
Correct answer: su -c "rm -rf /tmp/*"

20. Which configuration does cardmgr read at Linux system startup?
Correct answer: PCMCIA cards

21. When a computer system is reported problems with inodes and blocks, which of the following is the problem and its solution to rectify it?
Correct answer: The file system has become corrupt and needs to be repaired.

22. Which Linux command will successfully mounts a USB drive?
Correct answer: mount /dev/sda1 /mnt/usb

23. ___________ is a common tool for determining services and ports running on a remote Linux.
Correct answer: nmap

24. For supporting new diskless client workstations, which of the following services needs to be installed on a server?
Correct answer: PXE (Preboot eXecution Environment) and tftpd

25. Which of the following will kill the process 1010 by an administrator(logged in as a standard user)? The process 1010 was started by the root user.
Correct answer: su -c "kill 1010"

26. Which of the following Linux commands could be used to find what processor was detected on boot, when a laptop system is slow/
Correct answer: POST

27. How to accomplish the LILO boot configuration updation for supporting a newly installed IDE hard drive?
Correct answer: Edit lilo.conf and run "lilo -v -v"

No comments:

Post a Comment