0% found this document useful (0 votes)
50 views

Interview Questions

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Interview Questions

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Interview Questions

1:Explain Your Company Environment & your role?


2:Explain your daily routine tasks/activities in your company?
3:How many members are in your team?
4:Tell me about your shift timings?
5:What is your current designation?
6: Please let me know your total experience:
7:Are you comfortable with a 24/7 shift enviornment?
8:Why are you leaving your company? Any specific reason?
9:Size of your company & its vertical?
10:Please explain your project?
11:Please explain one big issue faced in your last company?

Technical Questions:

Q1. Explain the df command in Linux?


# it is used to get a full summary of available and used disk space usage of the file system
on the Linux system.

Q2. Why do we use /etc/resolv.conf and /etc/hosts files?


# /etc/resolv:- Lists nameservers that are used by your host for DNS resolution. (it is used
to configure DNS name servers . the file content information that is ready by the resolver .
# /etc/hots:1 /etc/hosts/: It is just a static lookup method for resolution ( the /etc/hosts
file contains the internet protocol IP host names and addresses for the local host and other
hosts in the internet network

Q3. What are the default ports used for SMTP, DNS, FTP, DHCP, SSH, and squid?

Service Port

SMTP 25
DNS 53
FTP 20(Data Transfer) 21(Connections Established)
DCHP 68(dhcp client), 67(DHCP server)
SSH 22
Squid 3128

Q4. What is ps command in Linux?


# ps command is used to list the currently running processes and their PIDs along with some
other information depending on different options.

Q5. How to change the default run level in Linux?

# use your favorite text editor on /etc/init/rc-sysinit. conf... Change this line to whichever
runlevel you want..

Q6. Why LVM is required?

# LVM means logical volume management. The combination of 2 or more physical disk in to
make a big disk.

# If normal linux partions is full and an application requires some more disk space .

# Using the LVM we can extend or reduce the file system as per requirements without
loss of any data.

(a) physical volume PV :- PVS


(b) Volume group VG:- VGS
(c) Logical volume LV:- LVS

Q7. Explain different file system types in Linux?


# ext2 ,ext3, ext4 :- using in RHEL 6
# xfs :- using RHEL 7
# vfat:- Used to maintain a common storage between Linux & Window
#cdfs :- used to mount CD-ROM
# hdfs:- used to mount DVD

Q.8 What is swap space in Linux and what is the ideal size of swap space?

# Swap space in Linux is used when the amount of physical memory (RAM) is full. If the
system needs more memory resources .

# If RAM is less than 2 GB or equal , then size of the swap = 2xRAM


# If RAm size is more the 2GB then swap size is =2GB+RAM

Q9. Explain the file permission in Linux?


Read:- read a file 4
Write:- create ,delete or modify the file 2
Excute:- its require only for scripting 1

Q10. What are the process states in Linux?


# Five process states in Linux. They are

1. New/ Ready: A new process is created and ready to run.


2.Running: The process is being executed. top ,ps ,htop
3.Blocked/ Wait: The process is waiting for input from the user.
4.Terminated/ Completed: The process completed the execution or terminated by the
operating system.
5. Zombie: processes that have completed their execution, but their entries are not
removed from the process table.

Q11. How to check the default route and routing table

# Route -n
# Netstat -rn
# Ip

Q12. Name a few Configuration Management Tools in Linux?

#Puppet Configuration Tool


#CHEF Configuration Tool
#RUDDER
#Bamboo Configuration Management
#TeamCity Configuration Tool
#Ansible
#CETengine

Q13. If a volume group name VG0 already exists and we need to extend this volume group up
to 4 GB , how do we do it?

# Vgextend VG0 /dev/sda

Q14. During Connecting to the Server via ssh it shows Connection reset by peer Error , What
are the possible issues ?

# It has entry in /etc/host.deny


# Multiple default route set on the server
#Duplicate SSH-keygen pair established

Q15. What is the best way if I want only some users to have privileges to schedule crons?

# Delete /etc/cron.deny file and create a /etc/cron.allow file. Make entry of users in
/etc/cron.allow.
Only those users will be able to schedule crons. All other users will not be able to
schedule crons.

Q16. What are the benefits of using Network Interface Card (NIC) teaming?

# The major benefits of NIC teaming are load balancing (redistributing traffic over networks)
and failover (ensuring network continuity in the event of system hardware failure)
without the need for multiple physical connections.

Q17. What is Samba? Why is it used


# Samba service is used to connect Linux machines to Microsoft network resources by
providing Microsoft SMB support.
# Samba

Q18. What are hard links


# Hard link just like a copy of original file
# Same inode number as original file
# if original file remove , then no impact with link file
# ln command is create the link between the files

Q19. What are daemons


# A daemon is a long-running background process that answers requests for services.
Ex;- inetd , httpd , nfsd , sshd , named , and lpd

##################################################################

Handling 3000+ servers on Datacenter Infrastructure.

• OS Hardening of Linux (VA / IPT Points)

• LVM Administration.

• File System Management in Linux .

• Movement of Staging to Production Server in Linux

• Package Management using YUM repository and RPM.

• Password Recovery in Linux.


# Step 1: Boot to Recovery Mode. Restart your system. ...
Step 2: Drop Out to Root Shell. ...
Step 3: Remount the File System with Write-Permissions. ...
Step 4: Change the Password

• Rescue Mode in Linux.

• Giving root user privileges to normal user by using SUDO.

• OS upgradation of OEL / RHEL servers.

• Taking Tape backup on a daily basis.

• Regular Backup and Restoring Files and Directories by using TAR.

• Managing HMC, LPAR in Unix.

• RMAN backup configuration on EMC Networker.

• Restoring RMAN backup from EMC Networker.

• We are managing the servers using ARCOS console.

• Frequent health checkup for servers, Monitoring the performance of the system

• sing top,topas, vmstat, netstat, iostat etc. • User Management & Troubleshooting of user
related issues.

• Checking error reports in servers and escalating to customers.

• Filesystem Management. • Checking Incident alert for CPU/ Memory/Filesystem Utilization.

• Scheduling jobs using Crontab in Linux Servers.

• Assigning IP's Gateways, Net masks, Hostnames for individual machines and setting up the
N/W.

• Disk management using LVM

• Single User mode & Rescue mode.

• Grub Password Setting.

• Sudo Configuration and SSH without password.


• Yum Repo Creation and Package installation.

• NTP, SNMP configuration • Automation of task using Shell Scripting

• Scheduling jobs using crontab.

• Performance Monitoring with topas, vmstat, iostat, sar etc.

• Rsyslog Configuration.

• VNC viewer Configuration.

• SELinux Security.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy