Total Pageviews

Sunday, February 8, 2015

Interview Questions and Answers For DHCP SERVER

1) What is DHCP?
DHCP stands for "Dynamic Host Configuration Protocol".

2) What is DHCP's purpose?
Dhcp server helps to assign ip address to the clients in the network.and also it assign subnet mask ,default gateway and  primary and secondary dns address.The overall purpose of this is to reduce the work necessary to administer a large IP network       
                                                                     
3) What is dhcp scope ?
DHCP scopes are used to define ranges of addresses from which a DHCP server can assign IP addresses to clients.
Eg: 192.168.1.1 to 192.168.1.200

4) What is Exclusion range in dhcp server?
We can exclude some ip range from a active scope which may be assigned to servers
Eg: 192.168.1.1 to 192.168.1.5 this range will be excluded from the scope

5) What is reservation in dhcp server?
In reservation option we can bind a ip address to host using its MAC address. Every time it gets the same ip till the reservation is active

6) Which port does DHCP uses?
UDP port 67 client machine listen over port 68

7) What process dhcp server use and Explain?
Dhcp uses DORA process
D-Discover: A user turns on a computer with a DHCP client. The client computer sends a broadcast request called a DISCOVER message throughout the network, looking for a DHCP server to answer. The router directs the DISCOVER packet or message  to the correct DHCP server. The server receives the DISCOVER packet
O-Offer: As the dhcp receive the request from client, the server determines an appropriate address (if any) to give to the client. The server then temporarily reserves that address for the client and sends back to the client an OFFER packet or message, with that address information
R- Request: The dhcp client will get related request  from all dhcp servers ,and it will accept the first one that it receives.It will then send a request to the DHCP for the offered IP address.
A-Acknowledge: When DHCP received the DHCP Request from the client for the IP address, it will send back a DHCP acknowledge, thereby allocating that IP address to the client

8) If DHCP is not available what happens to the client?
Client will not get IP and it cannot be participated in network . If  client already got the IP and having lease duration it use the IP till the lease duration expires.

9) what is the difference between Authorized DHCP and Non Authorized DHCP?
To avoid problems in the network causing by mis-configured DHCP servers, server in windows 2000 must be validate by AD before starting service to clients. If an authorized DHCP finds any DHCP server in the network it stops serving the clients 

10) What is APIPA IP address?
APIPA stands for automatic private IP addressing. When DHCP server is not available the Windows client computer assigns an automatic IP address to itself so that it can communicate with the network computers. This ip address is called APIPA

11) What IP address is assigned to the computer when the DHCP server is not available?
It’s in the range of 169.254.X.X

12) What protocol and port does DHCP use?
DHCP, like BOOTP runs over UDP, utilizing ports 67 and 68.

13) What is a DHCP lease?
A DHCP lease is the amount of time that the DHCP server permits to the DHCP client to use a particular IP address. Administrator can set the lease time.

14) Can a BOOTP client boot from a DHCP server?
Only if the DHCP client were specifically written to make use of the answer from a BOOTP server.
Can a DHCP server back up another DHCP server?
You can have two or more servers handing out leases for different addresses.

15) Where is DHCP defined?
In Internet RFCs.

16) Benefits of using DHCP ?
Safe and reliable configuration.
DHCP avoids configuration errors caused by the need to manually type in ip address at each computer.
DHCP prevent address conflicts caused by a previously assigned IP address being reused to configure a new computer on the network.

Friday, February 6, 2015

Active Directory And domain Interview Questions - Part 3

1) What is Schema?
1. All domain in forest has something in common and that is SCHEMA
2. SCHEMA  defines the Active Directory Database
3. SCHEMA determines what can be saved in the database and the structure of the database
4. Each domain has each copy of database but the schema determines its Design
5. Schema is shared between all domains in the Forest
6. When changes are made to schema , these changes are relicated to every domain in the forest 

2) What is a tree?
  A domain controller sharing the same name space by its child server  form a tree
  For eg: logon.com is root domain and study.logon.com is child server this form a tree

3) What is a Forest?
Two or more domain connected by trust relation which are having different namespace comes under forest. Each forest has its own schema and own database
For Eg: logon.com and login.com are connected by trust then it comes under forest. A user from logon.com can acess the a resource of login.com

4) Which protocol is used by ADS for time sync. between PC's?
SNTP (Simple network time protocol)

5) What is the ISTG?
Intersite Topology Generator (ISTG), which is responsible for the connections among the sites. By Default the first Server has this role. 

6) How do you view all the GlobalCatlog’s in the forest?
Expand acitve directory user and computer----domain controller----select domain controller–Right click – Properties – ntds setting----there will be check box for global catalog.

7) What is tombstone period ?
After deleting an object in AD the objects will not be deleted permanently. It will be remain 60 days by default .After 60 days object will be deleted permanently from all Dc’s.

8)what are the port numbers for Kerberos, LDAP and Global catalog
Kerberos – 88, LDAP – 389, Global Catalog – 3268 

9) What are the different types of partitions present in AD?
Active directory is divided into three partitions
Configuration Partition—replicates entire forest
Schema Partition—replicates entire forest
Domain Partition—replicate only in domain

10) Can GC Server and Infrastructure place in single server If not explain why ?
No, As Infrastructure master does the same job as the GC. It does not work together.
Which is service in your windows is responsible for replication of Domain controller to another domain controller.

Active Directory and Domain Interview Qestions- Part 2

1) What is difference between Server 2003 vs 2008?
1. Virtualization. (Windows Server 2008 introduces Hyper-V (V for Virtualization) but only on 64bit versions. More and more companies are seeing this as a way of reducing hardware costs by running several 'virtual' servers on one physical machine.)
2. Server Core (provides the minimum installation required to carry out a specific server role, such as for a DHCP, DNS or print server)
3. Better security.
4. Role-based installation.
5. Read Only Domain Controllers (RODC).
6. Enhanced
terminal services.
7. PowerShell - Microsoft's command line shell and scripting language has proved popular with some server administrators.
8. IIS 7 .
9. Bitlocker - System drive encryption can be a sensible security measure for servers located in remote branch offices. >br> The main difference between 2003 and 2008 is Virtualization, management. 2008 has more in-build components and updated third party drivers.

2) What are the requirements for installing AD on a new server?
1. An NTFS partition with enough free space.
2. An Administrator's username and password.
3. The correct operating system version.
4. A NIC Properly configured TCP/IP (IP address, subnet mask and - optional - default gateway).
5. A network connection (to a hub or to another computer via a crossover cable) .
6. An operational DNS server (which can be installed on the DC itself) .
7. A Domain name that you want to use .
8. The Windows 2000 or Windows Server 2003 CD media (or at least the i386 folder) .

3) How can you forcibly remove AD from a server
    Demote the server using dcpromo /forceremoval, then remove the metadata from Active directory using ndtsutil. 

4) What is difference between Server 2003 vs 2008?
1. Virtualization. (Windows Server 2008 introduces Hyper-V (V for Virtualization) but only on           64bit versions. More and more companies are seeing this as a way of reducing hardware
    costs by running several 'virtual' servers on one physical machine.) 
2. Server Core (provides the minimum installation required to carry out a specific server role, such     as for a DHCP, DNS or print server)
3. Better security.
4. Role-based installation.
5. Read Only Domain Controllers (RODC).
6. Enhanced
terminal services.
7. PowerShell - Microsoft's command line shell and scripting language has proved popular with         some server administrators.
8. IIS 7 .
9. Bitlocker - System drive encryption can be a sensible security measure for servers located in              remote branch offices. >br> The main difference between 2003 and 2008 is 
 Virtualization,              management. 2008 has more in-build components and updated third party drivers.

5) How do you view replication properties for AD partitions and DCs?
    By using replication monitor .Go to start > run > type replmon

6) What is KCC ?
1. Knowledge Consistency Checker (KCC)
2. When site and sitelinks are  configured kcc will automatically make connection between sites for.
3. If network goes down kcc will reconfigure the connection between the site to ensure active directory replication will happen.
4. kcc runs in the background doesnot need to be configured manually

7) What are the processes involved in the FRS?
    FRS is File replication service which is responsible for replicating Sysvol folder and the DFS
Information

8) Which protocol does FRS uses for directory replication?
    RPC over IP for inter-site and intra-site and uses port no 135.

9) What is the physical and logical structure of AD
 Active directory physical structure is a hierarchal structure which fallows  Forests—Trees—Domains—Child Domains—Grand Child—etc
Active directory is logically divided into 3 partitions
1.Configuration partition 2. Schema Partition 3. Domain partition 

10) What System State backup contains ?
     Contains Startup files,
     Registry
     Com + Registration Database
     Memory Page file
     System files
    AD information
    Cluster Service information
    SYSVOL Folder