0% found this document useful (0 votes)
7 views28 pages

System Administration Best Practices Guide

The document outlines a candidate's experience as a System Administrator at Genpact, detailing responsibilities such as server management, user access control, system monitoring, and disaster recovery. It includes specific troubleshooting steps for various issues, including slow Windows servers, VPN connectivity, and VM backups, as well as the use of ITSM tools like ServiceNow and JIRA. The candidate emphasizes their hands-on experience with virtualization technologies, security practices, and network performance management.

Uploaded by

nehadongre07
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views28 pages

System Administration Best Practices Guide

The document outlines a candidate's experience as a System Administrator at Genpact, detailing responsibilities such as server management, user access control, system monitoring, and disaster recovery. It includes specific troubleshooting steps for various issues, including slow Windows servers, VPN connectivity, and VM backups, as well as the use of ITSM tools like ServiceNow and JIRA. The candidate emphasizes their hands-on experience with virtualization technologies, security practices, and network performance management.

Uploaded by

nehadongre07
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1. Can you describe your experience with system administration?

What
were your key responsibilities?
Answer:
At Genpact, I was responsible for managing and maintaining Windows and
Linux servers in both physical and virtual environments. My tasks included:
Steps I Implemented:
1. Server Deployment & Configuration:
o Installed Windows Server 2016/2019/2022 and Linux
distributions (Ubuntu, CentOS).
o Configured Active Directory (AD), Group Policies, and
DNS/DHCP for domain-based authentication.
2. User & Access Management:
o Managed user access through Active Directory (AD), creating
GPOs for security policies.
o Provided role-based access control (RBAC) for different users.

3. System Monitoring & Troubleshooting:


o Used Windows Event Viewer, Linux Syslog, and Performance
Monitor to diagnose system issues.
o Automated monitoring using Nagios/Zabbix for real-time alerting.

4. Backup & Disaster Recovery:


o Configured Veeam Backup & Recovery for scheduled backups.

o Ensured disaster recovery (DR) plans were tested using


replication and failover strategies.

2. How do you troubleshoot a Windows Server that is running slow?


Answer:
When I encountered a slow Windows Server, I followed these troubleshooting
steps:
Steps I Implemented:
1. Check CPU, Memory, and Disk Usage:
o Used Task Manager & Resource Monitor to identify high
CPU/memory processes.
o If high disk usage, checked for disk fragmentation or pending
Windows updates.
2. Identify Running Services:
o Used [Link] to check non-essential services consuming
resources.
o Stopped unnecessary background services.

3. Review Event Logs:


o Opened Event Viewer ([Link]) and checked for Critical
Errors.
o Identified applications causing bottlenecks.

4. Check Network Latency:


o Used Ping & Tracert to verify network performance.

o Identified DNS resolution issues and fixed them.

5. Update Drivers & Patches:


o Used Windows Update & Device Manager to ensure NIC,
Storage drivers were updated.
o Applied group policies to deploy patches.

3. How do you troubleshoot a VPN connectivity issue?


Answer:
While working at Genpact, I handled multiple VPN issues (e.g., Zscaler, Cisco
AnyConnect, SonicWall VPN).
Steps I Implemented:
1. Check VPN Client Logs:
o Opened Zscaler logs (C:\ProgramData\Zscaler\Logs) to find
error codes.
o Used [Link] to check for authentication failures.

2. Verify Network Connectivity:


o Used Ping & Tracert to check latency and packet drops.

o Confirmed ISP connectivity issues by running nslookup and


ipconfig /all.
3. Check Firewall & Ports:
o Ensured IPSec ports (UDP 500, UDP 4500) were not blocked by
Windows Firewall.
o If needed, whitelisted VPN servers in Windows Defender &
SonicWall firewall.
4. Reconfigure VPN Profile:
o Removed corrupt VPN profiles from Control Panel > Network
Connections.
o Re-added Zscaler or Cisco AnyConnect profiles.

5. Escalation to L3 Support:
o If the issue persisted, escalated logs to Zscaler/Cisco support
teams.

4. How do you manage and monitor network performance?


Answer:
At Genpact, I managed LAN, WAN, and VPN connectivity to ensure network
availability.
Steps I Implemented:
1. Used Network Monitoring Tools:
o Monitored traffic using PRTG, SolarWinds, and Wireshark.

o Identified bandwidth-heavy applications slowing down


performance.
2. Troubleshoot Network Slowness:
o Used ping and tracert to identify latency issues.

o Checked for network congestion using NetFlow logs.

3. Firewall & Security Checks:


o Configured SonicWall & Cyberoam firewalls to block
unauthorized traffic.
o Implemented Access Control Lists (ACLs) on routers.

4. DNS & DHCP Optimization:


o Used nslookup to check DNS resolution times.

o Configured DHCP lease time optimization to avoid IP exhaustion.

5. What steps do you follow to set up a new VMware ESXi host?


Answer:
In my role at Genpact, I deployed and managed VMware ESXi & vCenter.
Steps I Implemented:
1. Install VMware ESXi:
o Booted server with VMware ESXi ISO and installed it on a RAID-
configured disk.
2. Network & Storage Configuration:
o Configured vSwitches & Port Groups for network segmentation.

o Connected NFS or iSCSI Storage for VM datastore.

3. Deploy Virtual Machines (VMs):


o Created Windows/Linux VMs using OVF templates.

o Assigned CPU, Memory, and Disk based on requirements.

4. Enable High Availability (HA) & DRS:


o Configured HA clusters to ensure VMs failover in case of host
failure.
o Used DRS for automatic VM load balancing.

6. How do you troubleshoot a failed VM backup in Veeam?


Answer:
At Genpact, I managed Veeam Backup & Replication for VM backup & DR.
Steps I Implemented:
1. Check Veeam Job Logs:
o Opened Veeam console > Backup Job Logs for error details.

2. Verify Storage Connectivity:


o Used vSphere Client to check if datastore was accessible.

o Checked iSCSI/NFS mounts.

3. Check VM Snapshot Issues:


o If Snapshot Consolidation Needed, ran Consolidate Snapshots in
vCenter.
4. Verify Backup Proxy & Repository:
o Checked if backup proxy VM was reachable.

o Used df -h (Linux) / Get-Volume (Windows) to check storage


space.
5. Restart Veeam Services:
o Restarted Veeam services from [Link].

7. What ITSM tools have you worked with?


Answer:
I worked with ServiceNow, JIRA, and Remedy at Genpact.
Steps I Implemented:
1. Incident Management:
o Logged tickets in ServiceNow for network/server issues.

o Used SLA monitoring to track issue resolution time.

2. Change Management:
o Implemented CAB approval process for Windows/Linux
patches.
3. Asset Management:
o Maintained CMDB inventory for all IT assets.

General Questions
1. Can you describe your experience as a System Administrator?
✅ Example Answer:
"I have over 4 years of experience as a Process Developer at Genpact,
where I managed Windows and Linux servers, virtualization environments
(Hyper-V), and network infrastructure. My expertise includes Active
Directory, DNS, DHCP, VPN, firewall management, and system security.
I have also worked on backup strategies, disaster recovery, and ITSM
tools like ServiceNow and JIRA. Additionally, I have hands-on experience with
cloud hosting, AWS, cPanel, and Plesk for web services. I have been
involved in troubleshooting complex system issues and providing support to end-
users."

System Administration Questions


2. How do you perform system monitoring and maintenance?
✅ Example Answer:
"I use monitoring tools like Nagios, SolarWinds, or PRTG to track system
performance, CPU/memory utilization, and network bandwidth. I schedule
regular patch updates using WSUS or SCCM and ensure backups are
completed successfully. If I detect high resource usage, I analyze logs via Event
Viewer (Windows) or journalctl (Linux) to identify root causes and apply
fixes like increasing RAM allocation, optimizing services, or clearing disk space."

3. How do you handle system patching and updates?


✅ Example Answer:
"For Windows, I use WSUS (Windows Server Update Services) or SCCM to
schedule and automate patch updates. For Linux, I use Yum, DNF, or APT to
apply security patches. Before applying updates, I test them in a staging
environment to avoid downtime. I also configure automatic rollback options and
verify system stability post-update."

4. How do you manage user permissions and security in Active


Directory?
✅ Example Answer:
"In Active Directory, I follow the Principle of Least Privilege (PoLP) to
assign permissions. I manage Group Policies (GPOs) to enforce security
settings, password policies, and access restrictions. I use OU-based delegation
to structure user roles efficiently. Regularly, I audit permissions using
PowerShell scripts and tools like ADSI Edit to detect and remove unnecessary
admin privileges."

Networking & Security Questions


5. What steps do you take to secure a Windows Server?
✅ Example Answer:
"I follow best security practices such as:
1️⃣ Enabling Windows Firewall & Defender for endpoint protection.
2️⃣ Configuring Group Policies (GPOs) to enforce security settings.
3️⃣ Implementing role-based access control (RBAC) using Active Directory.
4️⃣ Using BitLocker encryption for sensitive data protection.
5️⃣ Regularly updating and patching vulnerabilities using WSUS.
6️⃣ Monitoring logs with Event Viewer & SIEM tools for security threats.
7️⃣ Implementing backups and disaster recovery plans to prevent data
loss."

6. How do you troubleshoot VPN connectivity issues?


✅ Example Answer:
*"If a user is unable to connect to the VPN, I follow these steps:
🔹 Check VPN client logs for error messages.
🔹 Ping the VPN server to verify connectivity.
🔹 Verify firewall rules & NAT policies to allow VPN traffic.
🔹 Ensure proper authentication settings (username/password or
certificates).
🔹 Check if IPsec or SSL VPN tunnels are correctly established.
🔹 Restart VPN services on the firewall (e.g., SonicWall, Cyberoam, or Zscaler
VPN).
🔹 Test connectivity from a different network or device.
At Genpact, we faced an issue where users couldn’t connect to the VPN due to a
certificate expiration issue. We renewed the SSL certificate, updated the VPN
configuration, and resolved the problem."

Virtualization & Backup Questions


7. How do you troubleshoot VMware performance issues?
✅ Example Answer:
*"For VMware performance troubleshooting, I follow these steps:
🔹 Check vCenter for resource usage (CPU, RAM, Disk I/O).
🔹 Review VM logs in ESXi host (/var/log/[Link]).
🔹 Verify if DRS & HA are properly configured for load balancing.
🔹 Identify any snapshot overgrowth that might slow down VMs.
🔹 Check if any VM has high CPU Ready time (indicating CPU contention).
🔹 Restart management agents if VMs are unresponsive.
At Genpact, we once had a VM running slow due to excessive snapshot growth.
Deleting unused snapshots and consolidating them resolved the performance
issue."

8. What is your approach to backup and disaster recovery?


✅ Example Answer:
*"For backups, I follow the 3-2-1 strategy:
✅ 3 copies of data (Primary + 2 backups)
✅ 2 different storage types (local disk & cloud)
✅ 1 offsite backup for disaster recovery
I use tools like Veeam, Acronis, or Windows Backup to perform daily and
weekly backups. I also set up automatic replication to a DR site. Regularly, I
conduct backup restoration tests to ensure data integrity.
At Genpact, we implemented incremental & differential backups using
Veeam, ensuring minimal downtime in case of failures."

Cloud & Web Hosting Questions


9. How do you configure a domain in cPanel/Plesk?
✅ Example Answer:
*"To configure a domain in cPanel:
1️⃣ Add a new domain via “Addon Domains” in cPanel.
2️⃣ Update DNS records (A, MX, TXT) in the hosting provider (GoDaddy,
Cloudflare).
3️⃣ Configure SSL using Let’s Encrypt for HTTPS security.
4️⃣ Upload website files via FTP or File Manager.
5️⃣ Test domain accessibility using nslookup and browser validation.
In Plesk, the process is similar but uses the Domains section for setup.
At Genpact, we hosted multiple websites on AWS & cPanel, handling SSL
renewals, DNS updates, and database configurations."

Final Technical & Behavioral Questions


10. How do you handle high-priority incidents in a 24x7 support
environment?
✅ Example Answer:
*"I follow the ITIL Incident Management Process:
1️⃣ Acknowledge the ticket & assess the impact.
2️⃣ Escalate to L2/L3 teams if required.
3️⃣ Coordinate with network, security, and application teams.
4️⃣ Communicate with stakeholders for status updates.
5️⃣ Resolve the issue & document RCA (Root Cause Analysis).
At Genpact, I handled a critical server outage by identifying a faulty RAID
controller, replacing the hardware, and restoring services within 2 hours."

Conclusion
These are some real-world interview questions & answers based on your
Genpact experience in system administration, networking,
virtualization, security, and cloud technologies.
Would you like a custom mock interview session to practice? 😊
You said:
question ans answers in details as u working in genpact for 4 yr with details step
by step explanetion haw im emplemt techniq in my job role
ChatGPT said:
Memory updated
Here are some detailed interview questions and answers based on your 4 years
of experience at Genpact as a Process Developer, covering system
administration, networking, virtualization, security, cloud hosting, and ITSM tools.

1. Can you describe your experience with system administration? What


are your key responsibilities?
Answer:
At Genpact, my role involved configuring, maintaining, and troubleshooting
Windows and Linux servers. I was responsible for:
 Server Deployment: Installing and configuring Windows Server
2016/2019/2022 and Linux-based servers.
 User Management: Managing Active Directory (AD), Group Policies
(GPO), and role-based access control (RBAC).
 Security & Compliance: Implementing security patches, managing
endpoint protection tools, and ensuring compliance with IT policies.
 Backup & Recovery: Configuring backup solutions like Veeam and
Windows Backup for disaster recovery.
 Performance Optimization: Monitoring system logs, troubleshooting
CPU, RAM, and storage issues.
Example:
A critical issue I handled was a failed domain controller (DC). I quickly restored
AD services using a secondary DC and replicated changes to ensure minimal
downtime.

2. How do you handle virtualization technologies like VMware and


Hyper-V?
Answer:
I have hands-on experience managing virtual environments using VMware
vCenter and Hyper-V.
 VM Provisioning: Creating, cloning, and managing virtual machines
(VMs).
 Resource Allocation: Adjusting CPU, RAM, and disk space to optimize VM
performance.
 High Availability (HA) & DRS: Configuring HA to minimize downtime
and using DRS for workload balancing.
 Snapshots & Backups: Managing VM snapshots and restoring from
backups when needed.
Example:
Once, a production VM experienced high CPU usage due to a misconfigured
application. I analyzed logs using vSphere, identified the process causing the
spike, and allocated additional resources to stabilize performance.

3. How do you troubleshoot network-related issues, including DNS and


DHCP problems?
Answer:
At Genpact, I managed network infrastructure, including troubleshooting DNS,
DHCP, and VPN connectivity.
 DNS Troubleshooting: Checking nslookup, clearing DNS cache
(ipconfig /flushdns), and verifying forward/reverse lookup zones.
 DHCP Issues: Ensuring DHCP scope availability and checking lease
expiration issues.
 VPN Debugging: Analyzing Zscaler VPN logs, verifying firewall settings,
and checking authentication failures.
Example:
Once, users reported they couldn't access a web application. After
troubleshooting, I found a misconfigured DNS entry and corrected it, resolving
the issue immediately.
4. How do you ensure data security and compliance?
Answer:
I implemented several security best practices at Genpact, including:
 Patch Management: Applying security updates using WSUS and manual
patching.
 Endpoint Security: Configuring antivirus, firewalls, and intrusion
detection systems (IDS).
 Access Control: Implementing least privilege access via GPO and multi-
factor authentication (MFA).
Example:
A phishing attack targeted our organization. I quickly disabled compromised
accounts, implemented email filtering rules, and provided security awareness
training to employees.

5. How do you handle ITSM tools like ServiceNow and JIRA?


Answer:
I worked extensively with ServiceNow and JIRA for ticket management and
incident resolution.
 Incident Management: Categorizing and prioritizing tickets based on
ITIL best practices.
 Change Management: Reviewing and approving changes using CAB
meetings.
 Automation: Using workflows and scripts to automate repetitive tasks.
Example:
To reduce ticket resolution time, I created a ServiceNow knowledge base article
that provided step-by-step solutions for common VPN issues, reducing the
number of related tickets by 30%.

6. Can you explain a disaster recovery plan you implemented?


Answer:
A disaster recovery (DR) plan involves:
 Backup Scheduling: Using Veeam to perform daily incremental and
weekly full backups.
 Replication: Ensuring secondary DCs and storage replication to another
data center
Can you describe your experience with Linux system administration?
What were your key responsibilities?
Answer:
As a Linux System Administrator at Genpact, I was responsible for
installing, configuring, securing, and maintaining Linux servers in
physical, virtual, and cloud environments. I worked with Red Hat (RHEL),
Ubuntu, CentOS, and SUSE Linux servers.

Key Responsibilities & How I Implemented Them:


1️⃣ Linux Server Installation & Configuration:
Implementation Steps:
1. Installed RHEL/CentOS/Ubuntu using ISO or network-based installation
(PXE boot).
2. Configured hostname, network settings, and partitioning using LVM.
3. Installed essential services like SSH, NFS, FTP, Apache, and MySQL.

2️⃣ User & Permission Management (Security Hardening):


Implementation Steps:
1. Created users using:
bash
CopyEdit
useradd -m -s /bin/bash username
passwd username
2. Configured sudo privileges by modifying /etc/sudoers:
bash
CopyEdit
visudo
username ALL=(ALL) NOPASSWD:ALL
3. Implemented SSH Key-based authentication to improve security.

3️⃣ Monitoring & Performance Optimization:


Implementation Steps:
1. Used top, htop, vmstat, and iostat to monitor server load.
2. Configured Zabbix, Nagios, or Prometheus for real-time monitoring.
3. Optimized services and reduced unnecessary background processes.

4️⃣ Linux Server Patching & Security Updates:


Implementation Steps:
1. Used YUM/DNF (RHEL-based) or APT (Ubuntu-based) for updates:
bash
CopyEdit
yum update -y # For RHEL/CentOS
apt update && apt upgrade -y # For Ubuntu/Debian
2. Scheduled automatic patching using cron jobs.

5️⃣ Backup & Disaster Recovery:


Implementation Steps:
1. Configured rsync for file backups:
bash
CopyEdit
rsync -avz /var/www/ backupserver:/backups/
2. Used tar for manual backups:
bash
CopyEdit
tar -czvf /backup/[Link] /var/www/html/
3. Implemented Veeam/NetBackup solutions for full server backups.

6️⃣ Troubleshooting & Issue Resolution:


Implementation Steps:
1. Resolved login issues by checking /var/log/secure for failed authentication
attempts.
2. Used journalctl -xe to debug failed services.
3. Diagnosed network issues using ping, netstat, ss -tulnp, and traceroute.

2. How do you troubleshoot a Linux Server that is running slow?


Answer:
At Genpact, I handled slow Linux servers frequently. Here’s how I troubleshot
performance issues step by step.

Step-by-Step Troubleshooting Approach:


1️⃣ Check CPU & Memory Usage
Steps:
1. Use top or htop to find high CPU/memory processes:
bash
CopyEdit
top
htop
2. If a process is consuming high CPU, I killed or restarted it:
bash
CopyEdit
kill -9 <PID>
3. Checked system-wide load average using:
bash
CopyEdit
uptime
o Example: If the load average is above 5 on a 4-core CPU, it
indicates overload.

2️⃣ Check Disk Space Usage


Steps:
1. Checked disk usage with df -h:
bash
CopyEdit
df -h
o If / or /var was full, I cleared logs and old backups.

2. Checked which directories are consuming space:


bash
CopyEdit
du -sh /var/log/*
3. Cleared large log files:
bash
CopyEdit
echo "" > /var/log/messages
4. Extended LVM partitions if needed:
bash
CopyEdit
lvextend -L +10G /dev/mapper/centos-root
resize2fs /dev/mapper/centos-root

3️⃣ Check Running Processes & Services


Steps:
1. Checked active services:
bash
CopyEdit
systemctl list-units --type=service --state=running
2. Restarted unresponsive services:
bash
CopyEdit
systemctl restart apache2 # Ubuntu
systemctl restart httpd # RHEL/CentOS
3. If the issue persisted, I checked service logs:
bash
CopyEdit
journalctl -xe

4️⃣ Check Network Performance


Steps:
1. Checked if the server was reachable using:
bash
CopyEdit
ping -c 5 [Link]
2. Checked active connections:
bash
CopyEdit
netstat -tunlp | grep :80
3. If high latency was observed, used traceroute to find the issue:
bash
CopyEdit
traceroute [Link]

5️⃣ Analyze System Logs


Steps:
1. Checked logs for errors:
bash
CopyEdit
cat /var/log/syslog | grep -i error
2. If the system crashed, I analyzed dmesg output:
bash
CopyEdit
dmesg | less

6️⃣ Check for High I/O Usage (Disk Bottlenecks)


Steps:
1. Used iostat to check disk read/write speeds:
bash
CopyEdit
iostat -x 1 5
2. If high disk utilization was observed, I checked which processes were
causing it:
bash
CopyEdit
lsof +D /var/log
7️⃣ Restart the Server if Required
Steps:
1. If no solution worked, I performed a graceful reboot:
bash
CopyEdit
shutdown -r now
2. If the system was completely unresponsive, I used:
bash
CopyEdit
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger

Conclusion
By following these structured troubleshooting steps, I successfully
diagnosed and resolved Linux server performance issues at Genpact. These
techniques ensured minimal downtime and optimized server performance.

1. Can you describe your experience with Linux system administration?


What were your key responsibilities?
Answer:
As a Linux System Administrator at Genpact, I was responsible for
installing, configuring, securing, and maintaining Linux servers in
physical, virtual, and cloud environments. I worked with Red Hat (RHEL),
Ubuntu, CentOS, and SUSE Linux servers.

Key Responsibilities & How I Implemented Them:


1️⃣ Linux Server Installation & Configuration:
Implementation Steps:
1. Installed RHEL/CentOS/Ubuntu using ISO or network-based installation
(PXE boot).
2. Configured hostname, network settings, and partitioning using LVM.
3. Installed essential services like SSH, NFS, FTP, Apache, and MySQL.
2️⃣ User & Permission Management (Security Hardening):
Implementation Steps:
1. Created users using:
bash
CopyEdit
useradd -m -s /bin/bash username
passwd username
2. Configured sudo privileges by modifying /etc/sudoers:
bash
CopyEdit
visudo
username ALL=(ALL) NOPASSWD:ALL
3. Implemented SSH Key-based authentication to improve security.

3️⃣ Monitoring & Performance Optimization:


Implementation Steps:
1. Used top, htop, vmstat, and iostat to monitor server load.
2. Configured Zabbix, Nagios, or Prometheus for real-time monitoring.
3. Optimized services and reduced unnecessary background processes.

4️⃣ Linux Server Patching & Security Updates:


Implementation Steps:
1. Used YUM/DNF (RHEL-based) or APT (Ubuntu-based) for updates:
bash
CopyEdit
yum update -y # For RHEL/CentOS
apt update && apt upgrade -y # For Ubuntu/Debian
2. Scheduled automatic patching using cron jobs.

5️⃣ Backup & Disaster Recovery:


Implementation Steps:
1. Configured rsync for file backups:
bash
CopyEdit
rsync -avz /var/www/ backupserver:/backups/
2. Used tar for manual backups:
bash
CopyEdit
tar -czvf /backup/[Link] /var/www/html/
3. Implemented Veeam/NetBackup solutions for full server backups.

6️⃣ Troubleshooting & Issue Resolution:


Implementation Steps:
1. Resolved login issues by checking /var/log/secure for failed authentication
attempts.
2. Used journalctl -xe to debug failed services.
3. Diagnosed network issues using ping, netstat, ss -tulnp, and traceroute.

2. How do you troubleshoot a Linux Server that is running slow?


Answer:
At Genpact, I handled slow Linux servers frequently. Here’s how I troubleshot
performance issues step by step.

Step-by-Step Troubleshooting Approach:


1️⃣ Check CPU & Memory Usage
Steps:
1. Use top or htop to find high CPU/memory processes:
bash
CopyEdit
top
htop
2. If a process is consuming high CPU, I killed or restarted it:
bash
CopyEdit
kill -9 <PID>
3. Checked system-wide load average using:
bash
CopyEdit
uptime
o Example: If the load average is above 5 on a 4-core CPU, it
indicates overload.

2️⃣ Check Disk Space Usage


Steps:
1. Checked disk usage with df -h:
bash
CopyEdit
df -h
o If / or /var was full, I cleared logs and old backups.

2. Checked which directories are consuming space:


bash
CopyEdit
du -sh /var/log/*
3. Cleared large log files:
bash
CopyEdit
echo "" > /var/log/messages
4. Extended LVM partitions if needed:
bash
CopyEdit
lvextend -L +10G /dev/mapper/centos-root
resize2fs /dev/mapper/centos-root

3️⃣ Check Running Processes & Services


Steps:
1. Checked active services:
bash
CopyEdit
systemctl list-units --type=service --state=running
2. Restarted unresponsive services:
bash
CopyEdit
systemctl restart apache2 # Ubuntu
systemctl restart httpd # RHEL/CentOS
3. If the issue persisted, I checked service logs:
bash
CopyEdit
journalctl -xe

4️⃣ Check Network Performance


Steps:
1. Checked if the server was reachable using:
bash
CopyEdit
ping -c 5 [Link]
2. Checked active connections:
bash
CopyEdit
netstat -tunlp | grep :80
3. If high latency was observed, used traceroute to find the issue:
bash
CopyEdit
traceroute [Link]

5️⃣ Analyze System Logs


Steps:
1. Checked logs for errors:
bash
CopyEdit
cat /var/log/syslog | grep -i error
2. If the system crashed, I analyzed dmesg output:
bash
CopyEdit
dmesg | less

6️⃣ Check for High I/O Usage (Disk Bottlenecks)


Steps:
1. Used iostat to check disk read/write speeds:
bash
CopyEdit
iostat -x 1 5
2. If high disk utilization was observed, I checked which processes were
causing it:
bash
CopyEdit
lsof +D /var/log

7️⃣ Restart the Server if Required


Steps:
1. If no solution worked, I performed a graceful reboot:
bash
CopyEdit
shutdown -r now
2. If the system was completely unresponsive, I used:
bash
CopyEdit
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger

Conclusion
By following these structured troubleshooting steps, I successfully
diagnosed and resolved Linux server performance issues at Genpact. These
techniques ensured minimal downtime and optimized server performance.

1. Can you describe your experience as a Linux Server Administrator?


What were your key responsibilities?
Answer:
I have 4 years of hands-on experience as a Linux Server Administrator at
Genpact, where I managed RHEL, CentOS, Ubuntu, and SUSE Linux
servers in physical, virtual, and cloud environments. My responsibilities
included:
1. Installing & Configuring Linux Servers (RHEL, Ubuntu, CentOS)
2. User & Permission Management (sudo, ACLs)
3. Performance Monitoring & Troubleshooting
4. Patch Management & Security Hardening
5. Backup & Disaster Recovery (rsync, tar, Veeam)
6. Networking & Firewall Configuration
7. Managing Web, Database, and Application Servers
8. Automation using Bash & Ansible
9. Working with Virtualization (VMware, KVM) & Cloud (AWS, Azure)
[Link] Handling & Root Cause Analysis

2. How do you install and configure a Linux server step by step?


Answer:
At Genpact, I installed and configured Linux servers using the following steps:
Step 1: Select Installation Media
 Used RHEL/CentOS ISO image or network-based PXE boot.
Step 2: Configure Installation
1. Booted from ISO and selected Installation Destination.
2. Configured LVM partitioning for /, /home, /var, /boot, and swap.
3. Chose the Minimal Install or Server with GUI.
Step 3: Set Up Network
1. Configured a static IP manually:
bash
CopyEdit
nmcli con mod ens192 [Link] [Link]/24
nmcli con mod ens192 [Link] [Link]
nmcli con mod ens192 [Link] [Link]
nmcli con up ens192
Step 4: Configure SSH for Remote Access
1. Installed OpenSSH:
bash
CopyEdit
yum install -y openssh-server
systemctl enable sshd --now
Step 5: Install Basic Utilities
bash
CopyEdit
yum install -y vim net-tools wget curl git
Step 6: Configure Firewall
bash
CopyEdit
firewall-cmd --add-service=http --permanent
firewall-cmd --add-service=https --permanent
firewall-cmd --reload
Step 7: Create Users and Set Permissions
bash
CopyEdit
useradd john
passwd john
usermod -aG wheel john

3. How do you troubleshoot a slow Linux server?


Answer:
At Genpact, I followed these systematic troubleshooting steps when a Linux
server was slow:
Step 1: Check System Load
bash
CopyEdit
uptime
 If the load average was too high, I checked running processes.
Step 2: Identify High CPU/Memory Usage
bash
CopyEdit
top
htop
 If a process was consuming excessive CPU, I restarted or killed it:
bash
CopyEdit
kill -9 <PID>
Step 3: Check Disk Usage
bash
CopyEdit
df -h
 If disk usage was 100%, I cleaned up logs:
bash
CopyEdit
echo "" > /var/log/messages
Step 4: Check Running Services
bash
CopyEdit
systemctl list-units --type=service
 Restarted services if needed:
bash
CopyEdit
systemctl restart apache2
Step 5: Check Network Performance
bash
CopyEdit
ping -c 5 [Link]
traceroute [Link]
 If the network was slow, I checked bandwidth usage with iftop.

4. How do you create and restore backups in Linux?


Answer:
At Genpact, I used rsync, tar, and Veeam for backups.
Creating Backups
1. Backup using rsync:
bash
CopyEdit
rsync -avz /home/ user@backup-server:/backup/
2. Backup using tar:
bash
CopyEdit
tar -czvf /backup/home_backup.[Link] /home/
Restoring Backups
1. Restore tar backup:
bash
CopyEdit
tar -xzvf /backup/home_backup.[Link] -C /
2. Restore rsync backup:
bash
CopyEdit
rsync -avz user@backup-server:/backup/home/ /home/

5. How do you manage user accounts and permissions in Linux?


Answer:
At Genpact, I followed these best practices for user management.
Step 1: Create a New User
bash
CopyEdit
useradd john
passwd john
Step 2: Assign Sudo Privileges
bash
CopyEdit
usermod -aG wheel john
Step 3: Set File Permissions
bash
CopyEdit
chmod 750 /data
chown john:john /data
Step 4: Manage ACLs for Fine-Grained Permissions
bash
CopyEdit
setfacl -m u:john:rwx /data
getfacl /data

6. How do you troubleshoot a network issue in Linux?


Answer:
At Genpact, I used these step-by-step troubleshooting techniques.
Step 1: Check Network Connectivity
bash
CopyEdit
ping -c 5 [Link]
 If no response, I checked the network interface.
Step 2: Verify Network Interface Configuration
bash
CopyEdit
ip addr show
Step 3: Restart Network Services
bash
CopyEdit
systemctl restart network
Step 4: Check Port Connectivity
bash
CopyEdit
netstat -tulnp | grep :80
Step 5: Check Firewall Rules
bash
CopyEdit
firewall-cmd --list-all
 If the firewall blocked traffic, I allowed it:
bash
CopyEdit
firewall-cmd --add-port=22/tcp --permanent
firewall-cmd --reload

7. How do you automate Linux administration tasks?


Answer:
At Genpact, I used Bash scripts and Ansible to automate tasks.
Example 1: Bash Script to Add Users
bash
CopyEdit
#!/bin/bash
for user in user1 user2 user3
do
useradd $user
echo "User $user created"
done
Example 2: Ansible Playbook for Patching
yaml
CopyEdit
- hosts: all
tasks:
- name: Update all packages
yum:
name: '*'
state: latest
 Ran with:
bash
CopyEdit
ansible-playbook [Link]

Conclusion
This guide provides detailed, real-world Linux administration interview
questions and answers based on your 4 years of experience at Genpact. It
includes real-time troubleshooting, step-by-step implementation, and
automation techniques.
Would you like mock interview practice or resume enhancement for your
next job role?

You might also like