Active Directory (AD) Real Time Interview Questions and Answers

I would like to share some of the Windows Active Directory Interview Questions and answers, will start with basic questions and continue with L1, L2, L3 level questions

Also Read: Windows Server Administrator Interview Questions and Answers

What is Active Directory?

Active Directory (AD) is a directory service developed by Microsoft and used to store objects like User, Computer, printer, Network information, It facilitates to manage your network effectively with multiple Domain Controllers in different location with AD database, able to manage/change AD from any Domain Controllers and this will be replicated to all other DC’s, centralized Administration with multiple geographical locations and authenticates users and computers in a Windows domain

What is LDAP and how the LDAP been used on Active Directory(AD)?

 http://www.windowstricks.in/ldap-and-ldap-query

What is Tree?

The tree is a hierarchical arrangement of windows Domain that share a contiguous namespace

What is Domain?

Active Directory Domain Services is Microsoft’s Directory Server. It provides authentication and authorization mechanisms as well as a framework within which other related services can be deployed

What is the Active Directory Domain Controller (DC)?

Domain Controller is the server which holds the AD database, All AD changes get replicated to other DC and vise vase

What is Forest?

Forest consists of multiple Domain trees. The Domain trees in a forest do not form a contiguous namespace however share a common schema and global catalog (GC)

What is Schema?

Active Directory schema is the set of definitions that define the kinds of object and the type of information about those objects that can be stored in Active Directory

Active Directory schema is Collection of object class and there attributes

Object Class = User

Attributes = first name, last name, email, and others

Can we restore a schema partition?

http://www.windowstricks.in/2014/01/can-i-restore-schema-partition.html

Tell me about the FSMO roles?

Schema Master

Domain Naming Master

Infrastructure Master

RID Master

PDC

Schema Master and Domain Naming Master are the forest-wide roles and only available one on each Forest, Other roles are Domain-wide and one for each Domain

AD replication is multi-master replication and change can be done in any Domain Controller and will get replicated to others Domain Controllers, except above file roles, this will be flexible single master operations (FSMO), these changes only be done on dedicated Domain Controller so it’s single master replication

How to check which server holds which role?

Netdom query FSMO

Which FSMO role is the most important? And why?

An interesting question which role is most important out of 5 FSMO roles or if one role fails that will impact the end-user immediately

Most armature administrators pick the Schema master role, not sure why maybe they though Schema is very critical to run the Active Directory

The correct answer is PDC, now the next question why? Will explain role by role what happens when an FSMO role holder fails to find the answer

Schema Master – Schema Master needed to update the Schema, we don’t update the schema daily right, when will update the Schema? While the time of operating system migration, installing a new Exchange version and any other application which requires extending the schema

So if are Schema Master Server is not available, we can’t able to update the schema and no way this will going to affect the Active Directory operation and the end-user

Schema Master needs to be online and ready to make a schema change, we can plan and have more time to bring back the Schema Master Server

Domain Naming Master – Domain Naming Master required to creating a new Domain and creating an application partition, Like Schema Master we don’t create Domain and application partition frequently

So if are Domain Naming Master Server is not available, we can’t able to create a new Domain and application partition, it may not affect the user, user event didn’t aware Domain Naming Master Server is down

Infrastructure Master – Infrastructure Master updates the cross-domain updates, what really updates between Domains? Whenever user login to Domain the TGT has been created with the list of access user got through group membership (user group membership details) it also contain the user membership details from trusted domain, Infrastructure Master keep this information up-to-date, it update reference information every 2 days by comparing its data with the Global Catalog (that’s why we don’t keep Infrastructure Master and GC in the same server)

In a single Domain and single Forest environment, there is no impact if the Infrastructure Master server is down

In a Multi-Domain and Forest environment, there will be impact and we have enough time to fix the issue before it affects the end-user

RID Master –Every DC is initially issued 500 RID’s from RID Master Server.  RID’s are used to create a new object on Active Directory, all new objects are created with Security ID (SID) and RID is the last part of a SID. The RID uniquely identifies a security principal relative to the local or domain security authority that issued the SID

When it gets down to 250 (50%) it requests the second pool of RID’s from the RID master.  If RID Master Server is not available the RID pools unable to be issued to DC’s and DC’s are only able to create a new object depends on the available RID’s, every DC has anywhere between 250 and 750 RIDs available, so no immediate impact

PDC – PDC required for Time sync, user login, password changes, and Trust, now you know why the PDC is important FSMO role holder to get back online, PDC role will impact the end-user immediately and we need to recover ASAP

The PDC emulator Primary Domain Controller for backward compatibility and it’s responsible for time synchronizing within a domain, also the password master. Any password change is replicated to the PDC emulator ASAP. If a login request fails due to a bad password the login request is passed to the PDC emulator to check the password before rejecting the login request.

Tel me about Active Directory Database and list the Active Directory Database files?

NTDS.DIT

EDB.Log

EDB.Chk

Res1.log and Res2.log

All AD changes didn’t write directly to NTDS.DIT database file, first write to EDB.Log and from the log file to the database, EDB.Chk used to track the database update from the log file, to know what changes are copied to the database file.

NTDS.DIT: NTDS.DIT is the AD database and stores all AD objects, the Default location is the %system root%\nrds\nrds.dit, Active Directory database engine is the extensible storage engine which is based on the Jet database

EDB.Log: EDB.Log is the transaction log file when EDB.Log is full, it is renamed to EDB Num.log where num is the increasing number starting from 1, like EDB1.Log

EDB.Che: EDB.Che is the checkpoint file used to trace the data not yet written to database file this indicates the starting point from which data is to be recovered from the log file in case if failure

Res1.log and Res2.log:  Res is reserved transaction log file which provides the transaction log file enough time to shut down if the disk didn’t have enough space

What RAID configuration can be used in Domain Controllers?

http://www.windowstricks.in/2010/07/recommended-raid-configuration-and-disk.html

Can we keep OS, log files, SYSVOL, AD database on same logical Disk?

http://www.windowstricks.in/2010/07/recommended-raid-configuration-and-disk.html

Continue reading → page 1 2 3 4

27 thoughts on “Active Directory (AD) Real Time Interview Questions and Answers

  1. Asif Sakharkar

    Thanks for Uploading such a Useful Information to prepare ad Interview.

    Reply
  2. Nagaraju

    Here All are important while preparing for interview. I Think it is enough to face interview successfully.

    Reply
  3. Sreedevi

    Thank you so much for sharing such an usel full information.it is so clearly explained

    Reply
  4. Fayaz khan

    Contain precious information regarding the AD. Useful for interview study as well.
    Thanks for the effort.

    Reply
  5. pankaj Lingwal

    Its very important question and basically this kindly question always ask in interview.
    Thanks for variable notes.

    Reply
  6. Subash

    It’s very knowledgeable guide for windows administrator. Thank you.
    Can we create any any object when schema master is down?

    Reply
  7. Mike

    Good Information Thank you!

    Do we require ADFS proxies or can I just deploy an ADFS internal server?
    My client wants us to implement SSOgen SPGateway with Azure ADFS for EBS 12.2:

    1.Oracle EBS SSO Integrations
    2.SSOgen SPGateway for Oracle EBS

    Any recommendations please?

    Reply
  8. Jk

    Very usefull for active directory administrator job interview

    Reply
  9. Prashanth

    Hi,

    I have been asked below question in an interview. Please help me with the answer.

    What if Primary DC goes down completely(crashed)?

    Cannot transfer roles when the server is completely down.

    What will be the appropriate answer? Please help.

    Reply
  10. Prashanth

    Seize roles when PDC is down.

    Open Command Prompt:
    ntdsutil
    roles
    connections
    connect to server DC02
    q
    seize schema master
    seize domain naming master
    seize rid master
    seize pdc
    seize infrastructure master

    netdom query fsmo

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *