Linux systems administrator ii Interview Questions

21

Linux Systems Administrator Ii interview questions shared by candidates

Top Interview Questions

Sort: Relevance|Popular|Date
Rackspace Technology
Linux Systems Administrator II was asked...July 28, 2011

When does DNS use TCP instead of UDP

4 Answers

DNS use TCP for zone transfer.

Maximum UDP packet size is 512 bytes (or 4096, with the extension of DNS protocol). When the request is larger then a max. UDP size, DNS will switch to TCP. Less

speed

Show More Responses
Rackspace Technology

User has lost root password, how do you reset?

4 Answers

Boot in single mode by typing E on the selected the kernel in grub then add S or single or 1 to the end of line eg. then B to boot the selected kernel. once in the single-user mode disable SElinux with below command eg: setenforce 0 now using passwd command "With SElinux Off as Selinux will not let you change it" eg: [root@centos images]# passwd Changing password for user root. New password: your-password BAD PASSWORD: it is based on a dictionary word BAD PASSWORD: is too simple Retype new password: your-password passwd: all authentication tokens updated successfully. Less

Actually the easiest way to do this is to single the box in run-level 1 then use the standard passwd tools to update the hash. That's far simpler than using a live cd and editing the shadow file. This a network based kvm. is an operation that can be done at the DC or over ipmi or Less

init 1, change root password... I missed this one.

Show More Responses
Rackspace Technology

Define the difference between a hub and a switch

3 Answers

A hub works on the physical layer (layer 1) and doesn't separate collision or broadcast domains. A switch works on the data link layer (layer 2) and separates collision domains. This allows multiple devices to talk at full duplex using one switch. A router works on the network layer (layer 3) and separates both collision domains and broadcast domains. Less

A hub works on the physical layer, where as the switch works on the datalink layer . A Switch creates a broadcast domain for each port and allows for full duplex of data allowing you to TX and RX at the same time. A hub is a shared device, it will propagate broadcast traffic. Most are only half duplex . Less

Network topology. haven't used since collage. Googled and found hub propogates to many servers at once (Token Ring) and Switch uses propogation to different subnets. Less

HostGator.com

Know what the lsof command does.

2 Answers

list open files Regards, Manoj

List open files

Rackspace Technology

Provide the IP address of a host that's pinging you.

2 Answers

netstat installation didn't have ICMP support. Use tcpdump.

tcpdump.....

HostGator.com

Diagnose failing PHP script

1 Answers

The answer was simpler than I was expecting, but I needed to pay more attention to the error messages provided. Less

HostGator.com

What is runlevel 3?

1 Answers

multi-user mode with networking

HostGator.com

Using the command line replace this word with this word in this file.

1 Answers

sed -i 's/source_word/replaced_word/g' Regards, Manoj http://linuxtroubleshoot.blogspot.com/ Less

Rackspace Technology

If you had a problem with another employee, how would you deal with it?

1 Answers

I would talk to that employee privately, brief him my pro's and con's related to the topic(issue) and get his concerns politely and try to resolve the issue with him, if id not get resolved nicely then I would prefer to have him with my supervisor and let him resolve Less

Rackspace Technology

Install 'whois' on CentOS.

1 Answers

In CentOS, the package 'jwhois' provides it, whereas other distros likely have a 'whois' package. Less

Viewing 1 - 10 of 21 interview questions