Share this and help your friends and colleagues also

Wednesday, December 28, 2016

Active directory interview questions and answers - Part 4

Active directory interview questions and answers - Part 4

1.Explain three main features of Active Directory?
 Active Directory enables single sign on to access resources on the network such as desktops, shared files, printers etc. Active Directory provides

advanced security for the entire network and network resources.  Active Directory is more scalable and flexible for administration.

2.What do you mean by Active Directory functional levels? How does it help an organization’s network functionality?
Functional levels help the coexistence of Active Directory versions such as, Windows NT, Windows 2000 Server, Windows Server 2003 and Windows Server 2008.

The functional level of a domain or forest controls which advanced features are available in the domain or forest. Although lowest functional levels help

to coexist with legacy Active Directory, it will disable some of the new features of Active Directory. But if you are setting up a new Active Directory

environment with latest version of Windows Server and AD, you can set to the highest functional level, thus all the new AD functionality will be enabled.

3.What are the Domain and Forest functional levels of Windows Server 2003 AD?
Windows Server 2003 Domain Functional Levels: Windows 2000 mixed (Default), Windows 2000 native, Windows Server 2003 interim, and Windows Server 2003.
Forest Functional Levels: Windows 2000 (default), Windows Server 2003 interim, Windows Server.

4.What are the Domain and Forest functional levels of Windows Server 2008 AD?
Windows Server 2008 Domain Functional Levels: Windows 2000 Native, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2

5.How to add additional Domain Controller in a remote site with slower WAN link?
It is possible to take a backup copy of existing Domain Controller, and restore it in Windows Server machine in the remote locations with slower WAN link.

6.How do we install Active Directory in Windows 7 Computer?
Active Directory is designed for Server Operating System, and it cannot be installed on Windows 7.

7.What are the prerequisites to install Active Directory in a Server?
Windows Server Operating System. Free hard disk space with NTFS partition. Administrator's privilege on the computer. Network connection with IP address,

Subnet Mask, Gateway and DNS address. A DNS server, that can be installed along with first Domain Controller. Windows Server intallation CD or i386

folder.

8.What is FSMO role? (Or what are Single Master Operations / Flexible Single Master Operations / Operations Master Role / SMO / OMR?)
Flexible Single-Master Operation (FSMO) roles,manage an aspect of the domain or forest, to prevent conflicts, which are handled by Single domain

controllers in domain or forest. The tasks which are not suited to multi-master replication, There are 5 FSMO roles, and Schema Master and Domain naming

master roles are handled by a single domain controller in a forest, and PDC, RID master and Infrastructure master roles are handled by a single domain

controller in each domain.

9.Explain Infrastructure Master Role. What will be the impact if DC with Infrastructure Master Role goes down?
Infrastrcture master role is a domain-specific role and its purpose is to ensure that cross-domain object references are correctly handled. For example,

if you add a user from one domain to a security group from a different domain, the Infrastructure Master makes sure this is done properly.Intrastrcuture

master does not have any functions to do in a single domain environment.If the Domain controller with Infrastructure master role goes down in a single

domain environemt, there will be no impact at all. Where as, in a complex environment with multiple domains, it may imact creation and modification of

groups and group authentication

10.What are the two forest specific FSMO roles?
Schema Master role and Domain Naming Master role.

11.Which FSMO role directly impacting the consistency of Group Policy?
PDC Emulator

12.I want to promote a new additional Domain Controller in an existing domain. Which are the groups I should be a member of?
You should be a member of Enterprise Admins group or the Domain Admins group. Also you should be member of local Administrators group of the member server

which you are going to promote as additional Domain Controller.

13.Tell me one easiest way to check all the 5 FSMO roles.
Use netdom query /domain:YourDomain FSMO command. It will list all the FSMO role handling domain controllers.

14.Can I configure two RID masters in a domain?
No, there should be only one Domain Controller handling RID master role in a Domain.

15.Can I configure two Infrastructure Master Role in a forest? If yes, please explain.
There should be only one Domain Controller handling Infrastructure master role in a domain. Hence if you have two domains in a forest, you can configure

two Infrastructure masters, one in each domain.

16.What will be the impact on the network if Domain Controller with PDC Emulator
crashes?
If PDC emulator crashes, there will be immediate impact on the environment. User authentication will fail as password changes wont get effected, and there

will be frequent account lock out issues. Network time synchronization will be impacted. It will also impact DFS consistency and Group policy replication

as well.

17.What are the physical components of Active Directory?
Domain controllers and Sites. Domain controllers are physical computers which is running Windows Server operating system and Active Directory data base.

Sites are a network segment based on geographical location and which contains multiple domain controllers in each site.

18.What are the logical components of Active Directory?
Domains, Organizational Units, trees and forests are logical components of Active Directory.

19.What are the Active Directory Partitions? (Or what are Active Directory Naming
Contexts? Or what is AD NC?)
Active Directory database is divided into different partitions such as Schema partition, Domain partition, and Configuration partition. Apart from these

partitions, we can create Application partition based on the requirement.

20.What is group nesting?
Adding one group as a member of another group is called 'group nesting'. This will help for easy administration and reduced replication traffic.

21.Explain Group Types and Group Scopes?
Group types are categorized based on its nature. There are two group types: Security Groups and Distribution Groups. Security groups are used to apply

permissions to resources where as distribution groups are used to create Exchange server email communication groups. Group scopes are categorized based on

the usage. There are three group types: Domain Local Group, Global Group and Universal Group.

22.What is the feature of Domain Local Group?
Domain local groups are mainly used for granting access to network resources.A Domain local group can contain accounts from any domain, global groups from

any domain and universal groups from any domain. For example, if you want to grant permission to a printer located at Domain A, to 10 users from Domain B,

then create a Global group in Domain B and add all 10 users into that Global group. Then, create a Domain local group at Domain A, and add Global group of

Domain B to Domain local group of Domain A, then, add Domain local group of Domain A to the printer(of Domain A) security ACL.

23.How will you take Active Directory backup?
Active Directory is backed up along with System State data. System state data includes Local registry, COM+, Boot files, NTDS.DIT and SYSVOL folder.

System state can be backed up either using Microsoft's default NTBACKUP tool or third party tools such as Symantech NetBackup, IBM Tivoli Storage Manager

etc.

24.What are the Active Directory Restore types?
There are two types of Active Directory restores, Authoritative restore and Non-Authoritative restore.

25.How is Authoritative Restore different from non-Authoritative Restore?
Non-Authoritative means, a normal restore of a single Domain controller in case that particular domain controller OS or hardware crashed. After non-

authoritative restoration completed, compares its data base with peer domain controllers in the network and accepts all the directory changes that have

been made since the backup. This is done through multi master replication.
Where as, in Authoritative restore, a restored data base of a Domain controller forcefully replicated to all the other domain controllers. Authoritative

restore is performed to recover an active directory resource or object(eg. an Organizational Unit) which accidentally deleted and it needs to be restored.

26.Explain me, how to restore Active Directory using command line? We can use NTDSUTIL command line to perform Authoritative restore of Active Directory. First, start a domain controller in 'Directory Service Restore

Mode'. Then, restore the System State data of Domain controller using NTBACKUP tool. This is non-authoritative restore. Once non-authoritative restore is

completed, we have to perform authoritative restore immediately before restarting the Domain Controller.
Open command prompt and type NTDSUTIL and enter, then type authoritative restore and press enter, then type restore database and press enter, click OK and

then click Yes. This will restore all the data in authoritative restore mode. If you want to restore only a specific object or sub-tree, you can type

below command instead of 'restore database'.
restore subtree ou=OU_Name,dc=Domain_Name,dc=xxx

27.Tell me few switches of NTDSUTIL command.
Authoritative restore, Configurable settings, Partition management, Set DSRM Password etc.

28.What is a tombstone? What is the tombstone lifetime period?
A tombstone is a container object for deleted items from Active Directory database, even if objects are deleted, it will be kept hidden in the active

directory data base for a specific period. This period is known as tombstone lifetime. Tombstone lifetime is 180 days on Windows Server 2003 SP1 and later

versions of Windows Server.

29.What do you understand by Garbage Collection? Explain.
Garbage collection is a process of Active Directory. This process starts by removing the remains of previously deleted objects from the database. These

objects are known as tombstones. Then, the garbage collection process deletes unnecessary log files. And the process starts a defragmentation thread to

claim additional free space. The garbage collection process is running on all the domain controllers in an interval of 12 hours.

30. What is Lost and Found Container?
In multimaster replication method, replication conflicts can happen. Objects with replication conflicts will be stored in a container called 'Lost and

Found' container. This container also used to store orphaned user accounts and other objects.

31.Where can I locate Lost and Found Container?
Lost and Found container can be viewed by enabling advanced features from View menu of Active Directory User and Computers MMC.

32.Is Lost and Found Container included in Windows Server 2008 AD?
Yes, it is included.

33.Have you ever installed Active Directory in a production environment?
[Never say no] We had set up an additional domain for a new subsidiary of the firm, and I was a member of the team who handled installation and

configuration of domain controllers for the sub domain.[or] I was supporting an existing Active Directory network environment of the company, but I have

installed and configured Active Directory in test environment several occasions.

34.Do we use clustering in Active Directory? Why?
No one installs Active Directory in a cluster. There is no need of clustering a domain controller. Because Active Directory provides total redundancy with

two or more servers.

35.What is Active Directory Recycle Bin?
Active Directory Recycle bin is  a feature of Windows Server 2008 AD. It helps to restore accidentally deleted Active Directory objects without using a

backed up AD database, rebooting domain controller or restarting any services.

36.What is RODC? Why do we configure RODC?
Read only domain controller (RODC) is a feature of Windows Server 2008 Operating System. RODC is a read only copy of Active Directory database and it can

be deployed in a remote branch office where physical security cannot be guaranteed. RODC provides more improved security and faster log on time for the

branch office.

37.How do you check currently forest and domain functional levels? Say both GUI and Command line.
To find out forest and domain functional levels in GUI mode, open ADUC, right click on the domain name and take properties. Both domain and forest

functional levels will be listed there. TO find out forest and domain functional levels, you can use DSQUERY command.

38.Explain Knowledge Consistency Checker (KCC)
To find out forest and domain functional levels in GUI mode, open ADUC, right click on the domain name and take properties. Both domain and forest

functional levels will be listed there. TO find out forest and domain functional levels, you can use DSQUERY command.

39.What are the tools used to check and troubleshoot replication of Active Directory?
We can use command line tools such as repadmin and dcdiag. GUI tool REPLMON can also be used for replication monitoring and troubleshooting.

40.What is SYSVOL folder used for?
SYSVOL is a folder exits on each domain controller, which contains Actvie Directory related files and folders. SYSVOL mainly stores important elements of

Group Policy Objects and scripts, and it is being replicated among domain controllers using File Replication Service (FRS).

41.What is the use of Kerberos in Active Directory? Which port is used for Kerberos communication?
Kerberos is a network authentication protocol. Active Directory uses Kerberos for user and resource authentication and trust relationship functionality.

Kerberos uses port number 88.

42.Which version of Kerberos is used for Windows 2000/2003 and 2008 Active Directory?
All versions of Windows Server Active Directory use Kerberos 5.

43.Please name few port numbers related to Active Directory.
Kerberos 88, LDAP 389, DNS 53, SMB 445.

44.What is an FQDN?
FQDN can be expanded as Fully Qualified Domain Name.It is a hierarchy of a domain name system which points to a device in the domain at its left most end.

For example in system.

45.Tell me few DS commands and its usage.
Dsadd - to add an object to the directory, Dsget - displays requested properties of an object in AD, Dsmove - Used to move one object from one location to

another in the directory, DSquery - To query specific objects.

46.Explain Active Directory tree and forest.
A tree in Active Directory is a collection of one or more domains which are interconnected and sharing global resources each other. If a tree has more

than one domain, it will have contiguous namespace. When we add a new domain in an existing tree, it will be called a child domain.
A forest is a collection of one or more trees which trust each other and sharing a common schema.It also shares common configuration and global catalog.

When a forest contains more than one tree, the trees will not form a contiguous namespace.

47.What are Intersite and Intrasite replication?
Replication between domain controllers inside a single site is called Intrasite replication, where as replication between domain controllers located in

different sites is called Intersite replication. Intrasite replication will be very frequent, where as Intersite replication will be with specific

interval and in a controlled fashion just to preserve network bandwidth.

48.What is shortcut trust?
Shortcut trust is a manually created transitive trust which is configured to enable fast and optimized authentication process.For example, If we create

short cut trust between two domains of different trees, they can quickly authenticate each other without traveling through the entire parent domains.

short cut trust can be either one-way or two-way.

49.What is selective Authentication?
Selective authentication is generally used in forest trust and external trusts. Selective authentication is a security setting which allows administrators

to grant access to shared resources in their organization’s forest to a limited set of users in another organization’s forest. Selective authentication

method can decide which groups of users in a trusted forest can access shared resources in the trusting forest.

50.Give me brief explanation of different types of Active Directory trusts.
Trusts can be categorized by its nature. There can be two-way trust or one-way trust,implicit or explicit trust, transitive or non transitive trust. Trust

can be categorized by types, such as parent and child, tree root trust, external trust, realm trust forest trust and shortcut trust.

No comments:

Post a Comment