Hello Friends,
We all might have faced various interview questions and well aware of as a beginner how tough to clear it at first attempt almost all have too many questions.
We all might have faced various interview questions and well aware of as a beginner how tough to clear it at first attempt almost all have too many questions.
Below are some interview question that have faced during my journey in Linux/Unix journey !!
"TELL ME SOMETHING ABOUT YOUR SELF"
0. As usual !!! "Tell me something about yourself"? An annoying question? but everyone have to face this and have to be well prepared as first impression might be your last impression .
Don't loose your confidence or get afraid as you have to sell your knowledge in this competitive market and if you failed here doesn't mean path has end ..
Let's find out how to answer this in well organized order in < 2-3 minutes .
1. Your NAME in full
2. Your qualification in short start with 1-10th -> 11-12th -> Degree
2. Your qualification in short start with 1-10th -> 11-12th -> Degree
3. Fresher -> Your college project brief explained
Lateral -> Your first job how you got and roles & responsibility
Lateral -> Your first job how you got and roles & responsibility
- Small intro about your previous all experience
- Current Job detailed info like day2day activities, roles
- Current Job detailed info like day2day activities, roles
- Future opportunity at your current job
- Your future goal (Only if have left some time)
- Your future goal (Only if have left some time)
4. That's it from my end IF anything else you want to know then please ask !!
Note: - Don't explain much about your family background unless being asked :)
- Don't be more overconfidence
- Don't be more overconfidence
- Don't show your ego mean judge interviewer and try your best that Interviewer will not feel like he is more technically stronger than me :)
- Don't be short tempered
- Include technical skill-sets for which you have confidence
- Don't be short tempered
- Include technical skill-sets for which you have confidence
- Don't be too over smart, as that might create negative impression towards like "WILL SEE HIM IN TECHNICAL ROUND!!! '(';')' '(';')' ...
- Keep cool & calm, as this is not your last opportunity many more has to come at your path .
Okay lest start with some Linux interview technical questions :
Basic Level 1 for freshers or < 2 yr exp..
Expert Level for lateral
- What is Linux
- Diff Linux & Unix
- Diff RHEL 5/6
- What's new in RHEL 7
- Linux boot process in brief
- Port numbers on FTP
- Port number of telnet, smtp, dns, dhcp, ntp, http, https
- How to check/edit other users cron entries
- What is user shell
- How to check available shells
- How to change your current shell
DNS:
- What is DNS
- How DNS works
- Types of DNS
- Types of records in DNS
- How to check DNS lookup
- How to update DNS zone without service restart
- How to check any error in zone file
- What & Why NS record in DNS
- Master and slave how it's working
- How to ensure updates send to slaves
- Static vs Dynamic DNS zones
- How to update dynamic zones & usages
- Fields in zone file
- reload for specifiz domain zone
CRONTAB:
- What is crontab
- Fields in crontab
- Where is user specific cron file
- What is system specific cron, where are they defined
- Use of /etc/crontab file
- Eg. Schedule a script run every day at 11:00pm
Schedule a script run every 2 minutes
Backup:
- Any backup tools you know?
- What is diff tar and zip
- gzip pack and unpack
- cat gzip file
- bazip2 pack and unpack
- cat bazip2 file
- extract without effecting current file
- extract to specific dir
Yum & rpm:
yum:
- yum package name
- Find current available repos
- Install from specific repo
- Install local rpm
- Find all available version of package
- Find when package was installed
- Install a specific version of package
- Check package integrity
- Clear yum cache, required in which case example .
- Find package all files
- How to setup YUM server
- How to setup yum client
- How to setup yum proxy
rpm:
- rpm package name
- install/update/remove etc
- Find when package last updated
- Find package info, files, dependencies
- What is rpmdb
- how to re-build
Mail Server:
Do you have experience on any mail server ?
Postfix:
- How Postfix or any mail server works
- What is configuration file
- PORT Number
- Check service running or not and listening on which IP
- How to send a test mail
- Log file path
- Check mailq
- Flush mailq
- Resend, force retry all mails in queue
- How to handle maillog rotation
- Listen on localhost why ?
- Listen is specific IP why ?
- Diff master and client setup basic
- What is master.cf
- Filter any specific user mail -> DISCARD
- Mail to specific user -> DISCARD
- Allow mail sent to specific domain only
- Allow only specific set of users to send mail
- Allow mail form a specific subnet
- Minimum requirement to setup postfix mail server
- Sent mail lost troubleshooting steps .
Specification:
- Find Physical or Virtual
- Find System vendor name i,e Manufacturer name
- Find total RAM
- Find total swap
- Find total socket, Core, CPU's on server
- Find System serial number
- Find HBA cards
Troubleshooting:
- Total current Load on server, how to check
- What is load average, how and where to find and statics interval
- Total cpu utilization on server how to calculate
- Total memory utilization
- Total swap utilization
- Add additional swap? how ?
- Which process consuming more CPU
- Which process consuming more RAM
- Which process consuming more SWAP
- Which process consuming more no of process
- How to find total number of process thread initiated by a process
- What is i/o on system, how to find
- Which process causing high i/o
- Diff paging and caching
- What is cpu steal time
- What is memory over-commit
- Find troubleshoot memory leak
- How to enter in single user mode
- diff single user and emergency mode
- How to recover boot grub password
- How to clear cache, why its required and what would be impact of this
Boot level :
- How to set grub password
- How to set default kernel to boot
- How to change kernel parameters during boot
- How to repair FS
- What is GRUB
- Size of MBR, fields in MBR, PT size in MBR
- What is rescue mode
- How to enter in rescue mode and why required example
- Take MBR backup and repair
Networking:
- How to assign IP address
- How to assign virtual IP address
- How to assign temporary IP address
- How to change hostname permanent
- How to assign temporary hostname
- What is Gateway
- How to assign Gateway
- What is domainname
- TCP vs UDP with example of each
- OSI layer
- How many virtual IP you can assign to a single interface .
- What is route table
- How to update route table temporary
- How to update route table permanent
- What is bonding
- How to setup network bonding for 2 interface
- Mode of bonding
- Steps of bonding
- Check current status of bond interface
- Check members of bond
- Bonding vs Bridging in Linux
- What is ARP
- What is network boot
- What is iptables
- Tables in iptables
- Write iptable to block use of sshd service via port 22 from outside of range 192.168.8.10-192.168.8.50
- What is tcpdump
- tcpdump take dump of all packets coming from host1 and host 2 on port 3030 on ethernet eth2 and write to file /tmp/a.pcap
- Read tcpdump file
- What is ip_forwarding
Setup:
- How to install Linux RHEL/CentOS OS
- Types of installation
- What is PXE boot
- What is network boot
- Rapid Kickstart installation
- Any other installation method you know
Volume Management ( LVM ) :
- What is LVM
- What is File system
- Advantage of ext4 over ext3
- Advantage of xfs over ext4
- What are the fields in /etc/fstab
- Ex: create a LV of 5GB and mount of /test
Disk1: /dev/sda
Disk1: /dev/sdb
VG to create: VG01 with above 2 disk
LV: mytestlv
Mount with both dump & pass enabled ? What are these fields ? - How to extend LV
- how to reduce LV
- How to extend VG
- how to reduce VG
- How to take snap of LV
- How to destroy LV, VG, PV
- Find number of PV's in VG
- Find free available size in VG
- Create LV with all availabel free size in VG
- Change VG parameters .
Scripting:
- Do you have experience on any scripting language
- Bash shell scripting ?
- What is first line of script eg. "#! /bin/bash" and why it's there
- How to pass arguments in script
- How to read arguments in script
- How to define array
- How to define float value
- How to define string
- How to print no of arguments passed in script
- What is echo $#
- What is echo $@
- Print 1 to 10 in reverse order
- Synatx of for loop
- Syntax of while loop
- Syntax of if else
- Syntax of neted if else
- Syntax of case statement
- What is getopts
- What AWK stands
- AWK to print 3rd column
- Using grep find how many times word "HELLO" appear in file1
- Using egrep find if file1 contains HELLO1 and HELLO2
- Diff grep and egrep
- Use sed to replace "hello" to "sello" in file
Others:
.... N.. MANY MORE COMING SOON .... KEEP LEARNING...!!!!
- USe of ip_farwording
- Where is config file of sshd service.
- What is tunnel
- What is mutt
- Fields in top command meanings
- 1>load average 2> %id 3> Mem: 4> SWAP
- What is the use of swap partition
- Can we increase swap partition size how
- Syntax of for loop in bash
- Can we change vsftpd default directory location
- Can we change Default Directory in apache
- Can we use index.php insted of index.html as default page in apache how .
- visudo command will open file?
- Diff RHEL & Centos
- Diff LILO GRUB
- Advantages of GRUB
- What is iptables, Firewall, netfilter ..?
- What is cluster & virtualizaton just basic, what you understand by term..
- Whats does 2nd column refer in # ls -l output
.... N.. MANY MORE COMING SOON .... KEEP LEARNING...!!!!
# Faced any problem Feedback in above contact me
#============================Scratch==============a===================#
# AND Many More .....................Linux is Endless #
#========================== Hope you Liked IT ==========================#
# INTVR QSTNS-- BY Shirish Shukla #
# RHC Engineer 2010 #
# shirish.linux@gmail.com #
# shirishlinux.blogspot.com #
# "Give Respect To Time One Day At Right Time, Time Will Respect You" #
#===================================================================#
# TRy Hard theres nothing that are un-achievable by HARDdd-WORKkk #
#===================================================================#
will you please sent me above questions with answers to my mail id mujeeb3142@gmail.com....Thanks
ReplyDelete