Latest Active Directory Interview Questions and Answers
Active Directory Interview Questions
- 1) Explain what is Active Directory?
- 2) What is KCC?
- 3) What is SYSVOL Folder?
- 4) Explain the difference between Enterprise and Domain Admin groups in Active Directory?
- 5) What are application partitions? When do I use them ?
- 6) What are sites? For what they are used?
- 7) What is Forest? How to check tombstone lifetime value in your Forest ?
- 8) Please Explain Active Directory Schema?
- 9) Explain domain controller in AD?
- 10) List the ports used by Active Directory?
- 11) Where Active Directory database held and how would you create a backup of the database?
- 12) What is Domain Tree?
- 13) What is RODC ?
- 14) What is Subnet?
- 15) How to configure Universal Group Membership Caching in AD?
- 16) What Export-VM command do?
- 17) Explain namespace?
- 18) What are Schemas?
- 19) What are Flat Namespaces?
- 20) What are Hierarchical Namespaces?
- 21) List different types of containers in AD?
- 22) List the components of an Active Directory structure?
- 23) What is Multiple-Master Replication?
- 24) What is Primary Domain COntroler (PDC Emulator)?
- 25) What gpupdate /force command do?
Below are the list of Best Active Directory Interview Questions and Answers
Active directory just as the name suggests is a directory service. This directory service acts as a shared platform of information for organizing, managing, locating and administering the daily items and the network sources. This is developed by Microsoft solely for supporting the Windows operating systems. The active directory is found in the processes and services section of the windows server. A number of services associated with identity and as well as are based on a directory now come under one roof of active directory.
KCC is an acronym for Knowledge Consistency Checker. In Active directory, KCC component is responsible for generation replication topology between domain controllers.
Sysvol folder/directory refers to a location on the Windows Operating System (OS) where it stores the server's copy of public data and files for the domain. Sysvol is also known as SYSFOL.
Difference between Enterprise and Domain Admin groups in Active Directory
Enterprise Admin: In Enterprise Admin groups, members have full rights over all of the domains in the forest. This group is also a member of the Administrators group but on all domain controllers in the forest. You need to add users with caution as they get access to the forest completely. They can force shutdown from a remote system, profile system performance, take ownership of files and much more.
Domain Admin groups: In Domain Admin groups, members have complete control of the domain. On all domain controllers, domain workstations, domain member servers, they are members of the Administrators group. An administrator account is also a member of this group. One can adjust the memory quotas for a process, manage security log, restore files and directories and can do much more.
Their purpose is actually to enable the administrators to create new areas in the Active Directory so that data can be stored on DCs that they choose instead of allowing it on every DC in a domain. It is used when the user needs to determine which objects must exist within the Active Directory and what are the kinds of attributes that each can have.
Sites are used to deliver data through the online resources on the World Wide Web all over the world in an address allotted to the processed data and their presentation open to the users for access. They have User Generated Content and also User profiles to enhance communication on various extents.
It is a set of one or more of the domain trees and they do not form a contiguous namespace. The trees in the forest share a common schema, configuration, and the global catalog. They also exchange trust. The value of the tombstone lifetime attribute which is present in the Directory Service object in the configuration directory partition defines the tombstone lifetime value. The default value depends on the server’s operating system of the first DC in the forest.
It contains in itself the formal definitions of all the object class which can be easily made in the Active Directory Forest. The details of every attribute that can possibly exist in the Active Directory Forest are also included in it. It describes the rules of the types of objects that can be included in the Active Directory.
A domain controller is actually the main or the centerpiece of the Windows Active Directory.
Below is the list of ports that are used by Active Directory
- RPC endpoint mapper: port 135 TCP, UDP
- NetBIOS name service: port 137 TCP, UDP
- NetBIOS datagram service: port 138 UDP
- NetBIOS session service: port 139 TCP
- SMB over IP (Microsoft-DS): port 445 TCP, UDP
- LDAP: port 389 TCP, UDP
- LDAP over SSL: port 636 TCP
- Global catalog LDAP: port 3268 TCP
- Global catalog LDAP over SSL: port 3269 TCP
- Kerberos: port 88 TCP, UDP
- DNS: port 53 TCP, UDP
- WINS resolution: port 1512 TCP, UDP
- WINS replication: 42 TCP, UDP
- RPC: Dynamically-assigned ports TCP, unless restricted
It is made up of multiple domains that share a common schema and the configuration. They also form a contiguous namespace too. With the help of trust relationships, domains are also linked together in a tree. Active Directory is actually a set of one or more trees.
RODC can be abbreviated as a read-only domain controller. RODC can be explained as a controller of the domain that has partitions of Active Directory Domain Services. But they only possess read-only partitions. RODC is readily available in the Windows server operating system version of the year 2008 and its further greater versions. It has mainly been designed to be used in branch offices that are not able to support their own domain controllers.
The subnet, popularly known as subnetwork can be understood as one of the logical subdivisions of the IP network. Now subnetting is the name given to procedures in which one single network is divided into two or more subnetworks. Now the system that is connected to a subnet is recognized or referred to with an identical and most important bit-group. This lies in the IP address of the respective system.
Steps to configure Universal Group Membership Caching in AD
- Open the Active Directory Sites and Services.
- Select the Site you wish to enable.
- Right-click the NTDS Site Settings object and click on properties.
- A window will pop-up on which on the Site settings Tab, enable the Universal Group Membership Caching option.
- Refresh the Cache from the field.
- Choose the site to refresh the cache every 8 hours.
- Click Apply, OK
- it is done.
Export-VM command exports a virtual machine to disk. It creates a folder on a specified particular location and creates three sub-folders – Snapshots, Virtual Hard Disks, and the virtual Machines.
It refers to the organization of the available data as a blueprint of how the construction of the database has happened wherein they are divided into database tables where there are relational databases.
Flat Namespaces can be used to find which are those libraries and executables other than predefined libraries and executables offer all symbols like functions and external variables. The libraries when loaded might depend on a symbol and that is why it can look in the Flat Namespace. After all the symbols are found, the library adds its own symbols in its list. The amount of possible collisions is one of the biggest advantages of this. The duty of dealing with the collision is given to the Operating System.
A hierarchical namespace is a naming scheme that allows the subdelegation of namespaces to third parties.
They have a possibility of scaling to extremely larger networks. When you add more objects to the overall namespace, finding of the unique names for them is done within the sub-namespace to which they accordingly belong. It is to be known that all the DNA namespaces are particularly hierarchical.
Computers, Users, ForeignSecurityPrincipals, Site,Domain and Organizational Unit are different types of containers in Active Directory.
Major Components of Active Directory are
- Organizational Unit
Multi-master replication in Active Directory is a method to perform database replication and allow data to be stored by different user groups. It allows any member of the group to update the data.
All the members are specifically responsive to the client data queries. It allows the creation of multiple master servers which can be masters of multiple slaves.
In Windows NT network Primary Domain Controller (PDC) is a server that is used for maintaining a read-write directory of user security and account Information.
Gpupdate /force command is a policy of Windows to refresh or update your group policies by using a manual method. Although the archive Directory of our PC does it by unknown sometimes you may need to do force updates of group policies. In certain situation, you can use
> gpupdate /force
No matter if there are no changes in the group policies of the computer, this command will forcibly tell windows to the app for an update of GP settings. This not only forces the background refresh but it will also force the foreground refresh of the group policies.
If in case you only wanted to refresh your policies then use
It is a logical partition of an IP network into many different smaller size network segments. It is used to subdivide the large networks into smaller ones which will be more efficient sub-networks. The complete internet is composed of the many networks which are hosted and also run by many different organizations.
Web I: Web Intelligence
DSS: Decision Support System
We hope your knowledge is enhanced by reading these questions. Stay tuned with us if you want to learn more interview questions on various topics.
The Kerberos Key Distribution Center (KDC) is a network service that supplies session tickets and temporary session keys to users and computers within an Active Directory domain. The KDC runs on each domain controller as part of Active Directory Domain Services (AD DS). The Kerberos authentication client is implemented as a security support provider (SSP) and can be accessed through the Security Support Provider Interface (SSPI). Initial user authentication is integrated with the Winlogon single sign-on architecture. The Kerberos Key Distribution Center (KDC) is integrated with other Windows Server security services running on the domain controller. The KDC uses the domain’s Active Directory service database as its account database. An Active Directory server is required for default Kerberos implementations.
Related Interview Questions
Active Directory Interview Questions
Activex Interview questions
WPF interview questions
WCF Interview Questions
LINQ interview questions
MVC interview questions
Azure Interview Questions
ASP.NET Interview Questions
C# Interview Questions
VB.Net Interview Questions
ADO.Net Interview Questions
PowerShell Interview Questions
TFS Interview Questions
Windows Server Interview Questions
Silverlight Interview Questions
.NET interview questions
Entity framework interview questions
Subscribe Our NewsLetter
Never Miss an Articles from us.
- Most Common Interview Questions
- Python Flask Interview Questions
- NoSQL interview questions
- JQuery Interview Questions
- C programming interview questions
- AngularJS Interview Questions
- Node JS Interview Questions with Express
- Core Java interview questions
- HTML Interview Questions
- Laravel interview questions
- Wordpress Interview Questions
- PHP Interview Questions