Active directory interview questions and answers - Part 5
51.Have you heard of ADAC?
ADAC- Active Directory Administrative Center is a new GUI tool came with Windows Server 2008 R2, which provides enhanced data management experience to the
admin. ADAC helps administrators to perform common Active Directory object management task across multiple domains with the same ADAC instance.
52.What is the use of ADSIEDIT? How do we install it in Windows Server 2003 AD?
ADSIEDIT- Active Directory Service Interfaces Editor is a GUI tool which is used to perform advanced AD object and attribute management. This Active
Directory tool helps us to view objects and attributes that are not visible through normal Active Directory Management Consoles. ADSIEDIT can be
downloaded and installed along with Windows Server 2003 Support Tools.
53.I am unable to create a Universal Security group in my Active Directory? What will be the possible reason?
This is due to domain functional level. If domain functional level of Windows Server 2003 AD is Windows 2000 Mixed, Universal Group option will be greyed
out. You need to raise domain functional level to Windows 2000 native or above.
54.What is ADMT? What is it used for?
ADMT - Active Directory Migration Tool, is a tool which is used for migrating Active Directory objects from one domain to another. ADMT is an effective
tool that simplifies the process of migrating users, computers, and groups to new domains.
55.What do you mean by Lingering Objects in AD? How to remove Lingering Objects?
When a domain controller is disconnected for a period that is longer than the tombstone life time, one or more objects that are deleted from Active
Directory on all other domain controllers may remain on the disconnected domain controller. Such objects are called lingering objects. Lingering objects
can be removed from Windows Server 2003 or 2008 using REPADMIN utility.
56.Explain Global Catalog. What kind of AD infrastructure makes most use of Global Catalog?
The Global catalog is a container which contains a searchable partial replica of all objects from all domains of the forest, and full replica of all
objects from the domain where it is situated. The global catalog is stored on domain controllers that have been designated as global catalog servers and
is distributed through multimaster replication. Global catalogs are mostly used in multidomain, multisite and complex forest environment, where as Global
catalog does not function in a single domain forest.
57.Global Catalog and Infrastructure master roles cannot be configure in same Domain Controller. Why?
In a forest that contains only a single Active Directory domain, there is no harm in placing both GC and Infrastructure master in same DC, because
Infrastructure master does not have any work to do in a single domain environment. But in a forest with multiple and complex domain structure, the
infrastructure master should be located on a DC which is not a Global Catalog server. Because the global catalog server holds a partial replica of every
object in the forest, the infrastructure master, if placed on a global catalog server, will never update anything, because it does not contain any
references to objects that it does not hold.
58.How do you check all the GCs in the forest?
Command line method: nslookup gc._msdcs.<forest root DNS Domain Name>, nltest /dsgetdc:corp /GC. GUI method: Open DNS management, and under ‘Forward
Lookup Zone’, click on GC container. To check if a server is GC or not, go to Active Directory Sites and Services MMC and under ‘Servers’ folder, take
properties of NTDS settings of the desired DC and find Global Catalog option is checked.
59.How many objects can be created in Active Directory? (both 2003 and 2008)
As per Microsoft, a single AD domain controller can create around 2.15 billion objects during its lifetime.
60.Can you explain the process between a user providing his Domain credential to his workstation and the desktop being loaded? Or how the AD
authentication works?
When a user enters a user name and password, the computer sends the user name to the KDC. The KDC contains a master database of unique long term keys for
every principal in its realm. The KDC looks up the user's master key (KA), which is based on the user's password. The KDC then creates two items: a
session key (SA) to share with the user and a Ticket-Granting Ticket (TGT). The TGT includes a second copy of the SA, the user name, and an expiration
time. The KDC encrypts this ticket by using its own master key (KKDC), which only the KDC knows. The client computer receives the information from the KDC
and runs the user's password through a one-way hashing function, which converts the password into the user's KA. The client computer now has a session key
and a TGT so that it can securely communicate with the KDC. The client is now authenticated to the domain and is ready to access other resources in the
domain by using the Kerberos protocol.
61.What is LDAP?
Lightweight Directory Access Protocol (LDAP) is an Internet standard protocol which is used as a standard protocol for Active Directory functions. It runs
directly over TCP, and can be used to access a standalone LDAP directory service or to access a directory service that is back-ended by X.500.
62.Which is default location of Active Directory? What are the main files related to AD?
Active Directory related files are by default located at %SystemRoot%\ntds folder. NTDS.DIT is the main Active Directory database file. Apart from this
other files such as EDB.LOG, EDB.CHK, RES1.LOG, TEMP.EDB etc. are also located at the same folder.
63.In a large forest environment, why we don’t configure all Domain Controllers as GCs?
Global Catalog servers produce huge traffic related to the replication process.There for making all the domain controllers in the forest as Global Catalog
servers will cause network bandwidth poroblem. GCs should be placed based on Network bandwidth and user or application requirement.
64.What is NETDOM command line tool used for?
Netdomm is used to manage Active Directory domains and trust relationships from the command prompt. Some of the Netdom functions include; Join a computer
to domain, Establish one-way or two-way trust relationships between domains, Manage trust relationships between domains, Manages the primary and alternate
names for a computer etc.
65.What is role seizure? Who do we perform role seizure?
Role seizure is the action of assigning an operations master role to a new domain controller without the support of the existing role holder (generally
because it is offline due to a hardware failure). During role seizure, a new domain controller assumes the operations master role without communicating
with the existing role holder. Role seizure can be done using repadmin.exe and Ntdsutil.exe commands.
66.What is ISTG? What is role of ISTG in Active Directory?
Inter-Site Topology Generator. One domain controller per site holds the Inter-Site Topology Generator (ISTG) role, which is responsible for managing the
inbound replication connection objects for all bridgehead servers in the site in which it is located.
67.Is it possible to find idle users who did not log in for last few months?
Yes, this is possible using PowerShell command, with the help of LastLogonTimeStamp. Commands and pipes such as Get-ADUser, Where-Object, LastLogonDate
etc. can be used to get inactive users.
68.Tell me the order of GPO as it applied.
GPO applies in this order – Local Policy, Site, Domain, and Organizational Units.
69.What are the uses of CSVDE and LDIFDE?
CSVDE and LDIFDE are used to Import or Export Active Directory data to a file. CSV (comma-separated value) format files can be read with MS Excel and are
simply altered with a batch script. LDIF files (Ldap Data Interchange Format) are a cross-platform standard.
70.What are the differences between a user object and contact object?
A user object is an object that is a security principal in the directory. A user can log on to the network with these authorizations and access
permissions can be granted to users. A contact object is an account that does not have any security permissions. You cannot log on to the network as a
contact. Contacts are normally used to indicate outside users for the purpose of e-mail.
71.What do you mean by Bridge Head server?
A bridgehead server is a domain controller in each site, which is used as a interaction point to obtain and replicate data between sites. For intersite
replication, KCC entitles one of the domain controllers as a bridgehead server. In case the server is down, KCC entitles another one from the domain
controller. When a bridgehead server obtains replication updates from another site, it replicates the data to the other domain controllers within its
site.
72.What is urgent replication?
Active Directory replication occurs between domain controllers when directory data is updated on one domain controller and that update is replicated to
all other domain controllers. When a change in directory data occurs, the source domain controller sends out a notice that its directory store now
contains updated data. The domain controller’s replication partners then send a request to the source domain controller to receive those updates. Usually,
the source domain controller sends out a change notification after a delay. However, any delay in replication can result in a security risk for definite
types of changes. Urgent replication ensures that critical directory changes are immediately replicated, including account lockouts, changes in the
account lockout policy, changes in the domain password policy, and changes to the password on a domain controller account.
73.Please explain Realm trust.
Realm trust is a transitive or non-transitive one way or two way trust used to form a trust relationship between a non-Windows Kerberos realm and a
Windows Server 2003 domain. This trust relationship allows cross-platform interoperability with security services based on other Kerberos V5 versions such
as UNIX and MIT implementations.
74.Explain object class and object attribute.
An Active Directory structure is an arrangement of information about objects. The objects fall into two broad categories: resources (e.g., printers) and
security principals (user or computer accounts and groups). Security principals are assigned unique security identifiers (SIDs).Each object represents a
single entity—whether a user, a computer, a printer, or a group—and its attributes. Certain objects can contain other objects. An object is uniquely
identified by its name and has a set of attributes—the characteristics and information that the object represents— defined by a schema, which also
determines the kinds of objects that can be stored in Active Directory.
75.My organization wants to add new object attribute to the user object. How do you achieve it?
Adding custom attribute involves modification in Active Directory schema which requires the modifying user to be a member of Schema Administrators and
Enterprise Administrators groups. By default, the Administrator account is a member of the Schema Administrator group.You can use adsiedit.msc or
schmmgmt.msc to modify the properties of an AD object.
76.What do you understand about GUID?
When a new domain user or group account is created, Active Directory stores the account's SID in the Object-SID (objectSID) property of a User or Group
object. It also allocates the new object a globally unique identifier (GUID), which is a 128-bit value that is unique not only in the enterprise but also
across the world. GUIDs are assigned to every object created by Active Directory. Each object's GUID is stored in its Object-GUID (objectGUID) property.
77.What is the command used for Domain Controller decommissioning?
Dcpromo
78.Have you ever planned and implemented Active Directory infrastructure anywhere? Tell me few considerations we have to take during the AD
planning.
Yes. Keeping your Active Directory as simple as possible will help improve overall efficiency, and it will make the troubleshooting process easier
whenever problems arise. Use the appropriate site topology. Use dedicated domain controllers. Have at least two DNS servers. Place at least one global
catalog server in each site.
79.Name few differences from Windows Server 2003 AD and Windows Server 2008 AD.
There are many changes in Active Directory from 2003 version to 2008 version, like Active Directory is a service now that can be restarted. RODC is a new
type of DC introduce in windows 2008. Group policy preference mode is introduced. New number of AD templates has been introduced in 2008. DFS is being
used for replication instead of FRS in 2003.Windows Server 2008 AD includes new features such as Active Directory Recycle Bin, Active Directory
Administrative Center, Active Directory Web Services, Offline domain join etc.
80.Which domain and forest functional level I will select if I am installing Windows Server 2008 AD in an Existing environment where we have
Windows Server 2003 Domain Controllers?
In order to configure Windows Server 2008 R2 Domain Controller within Windows 2003 network we need to check if Domain Functional Level is set up at least
in Windows 2000 native mode. But preferable Domain Functional Level is Windows Server 2003. When it’s set up in Windows Server 2003 mode, and you have
only one domain in a forest or each domains have only Windows 2003 Domain Controllers, you are also able to raise Forest Functional Level to Windows
Server 2003 to use Read-Only Domain Controller (RODC) within your network.
81.What are the replication intervals for Intersite and intrasite replication? Is there any change in 2003 and 2008?
Replication within a site occurs automatically on the basis of change notification. Intrasite replication begins when you make a directory update on a
domain controller.
By default, the source domain controller waits 15 seconds and then sends an update notification to its closest replication partner. If the source domain
controller has more than one replicaon partner, subsequent notifications go out by default at 3 second intervals to each partner. By default, intersite
replication across each site link occurs every 180 minutes (3 hours).
You can adjust this frequency to match your specific needs
82.I want to transfer RID master role to a new Domain Controller. What are the steps I need to follow?
Open Active Directory Users and Computers. In the console tree, right-click Active Directory
Users and Computers, and then click Connect to Domain Controller. In Enter the name of another domain controller, type the name of the domain controller
you want to hold the RID master role. In the console tree, right-click Active Directory Users and Computers, point to All Tasks, and then click Operations
Masters. Click the RID tab, and then click Change.
83.Tell me few uses of NTDSUTIL commands?
We can use ntdsutil commands to perform database maintenance of AD DS, manage and control
84.Name few services that directly impact the functionality of Domain Controller.
Active Directory Domain Services, Active Directory Web Services, Netlogon Service, Windows
Time Service
85.You said there are 5 FSMO roles. Please explain what will be the impact on the AD infra if each FSMO roles fails?
Immediate impact if PDC Emulator fails. RID master impact only when RID pool finishes. Will not be able to create new domain if domain naming master
fails. Last impact will be due to schema master role. Schema extension will not be possible.
86.What is Active Directory defragmentation? How do you do AD defragmentation? And why do we do it?
Active Directory database has a habit of becoming fragmented through normal use. The process of adding and removing objects obviously creates
fragmentation. The process of reclaiming lost space in the database due to fragmentation is called Active directory defragmentation. There are two types
of defragmentation; offline defragmentation and online defragmentation. To perform offline defragmentation you have to start domain controller in
Directory Service Restore Mode and then run ntdsutil command.
87.Tell me Different between online and offline defragmentation.
Online Defragmentation: Active Directory database automatically performs online defragmentation during its normal operation in every 12 hours interval.
Offline Defragmentation: this is manually performed by an administrator a tier taking Domain controller to Directory Services Restore Mode and running
ntdsutil command.
88.How do you uninstall active directory? What are the precautions we have to take before removing active directory?
Active Directory can be uninstalled using dcpromo command. Before uninstalling Active Directory, we have to verify that this domain controller is not the
only global catalog and it does not hold an operations master role.
89.A user is unable to log into his desktop which is connected to a domain. What are the troubleshooting steps you will consider?
Check the network connection on the desktop. Try to ping to the domain controller.Run nslookup and check if name resolution is working. Check Active
Directory for the computer account of the desktop. Compare the time sengs on the desktop and Domain controller. Remove the desktop from domain and rejoin
to domain.
90.A Domain Controller called ABC is failing replication with XYZ. How do you troubleshoot the issue?
Active Directory replication issue can occur due to variety of reasons. For example, DNS issue, network problems, security issues etc. Troubleshooting can
start by verifying DNS records. Then remove and recreate Domain Controller replication link. Check the time sengs on both replication partners. Command
line repadmin and replmon tools can be used to troubleshoot replication issues.
91.A user account is frequently being locked out. How do you investigate this issue? What will be the possible solution suggest the user?
Check for any automatic programs or devices which use Exchange actives sync, which will use old password even a tier user changes the password. Advise the
user to reconfigure all the programs and devices which use AD credential. Check and verify any scheduled tasks using old passwords. Verify persistent
drive mapping with old password. Disconnect terminal service sessions. Reconfigure account lockout threshold if required; if it is set to very narrow.
92.Imagine you are trying to add a Windows 7 computer to Active Directory domain. But its showing an error ‘Unable to find Domain Controller’.
How will you handle this issue?
Check the Network Adapter settings and verify the DNS IP address. Configure proper DNS IP address to lookup the Domain Controller.
93.What are the services required for Active Directory replication?
DFSR (Distributed File System Replication) DNS service, RPC Service etc.
94.What is Active Directory application partition? What are the uses of it?
Application directory partitions are typically created by the applications that will use them to store and replicate data. For testing and troubleshooting
needs, members of the Enterprise Admins group can manually create or manage application directory partitions using the Ntdsutil command-line tool.
95.Many users of a network are facing latency while trying to log into their workstations. How do you investigate this problem?
When checking from System perspective, verify that the Domain Controller in the site where user desktops are located is up and connected. If the users
still facing the latency there is a probability of network issue and need to be discussed with the team who works with network.
96.Now, some questions related to Windows Server 2008 Active Directory. What do you mean by IDA? What are the new components of Windows 2K8
Active Directory?
A compilation of Microso Active Directory related products are generally described as Identity and Access (IDA) solution. This terminology started when
Windows Server 2008 released. IDA includes Active Directory Domain Services (AD DS), Active Directory Lightweight Directory (AD LDS),
Active Directory Certificate Services (AD CS), Active Directory Rights Managements Services (ADRMS) etc.
97.I want to edit the Active Directory Schema. How can I bring Schema editor into my MMC?
To view AD Schema, firstly you need to register dll. Start-run- regsvr32. Then run schmmgmt.dll.
Go to run and type mmc and add the Active Directory Schema Snap in to the mmc.
98.Name few Active Directory Built in groups
Some of the built in groups are: Administrators, Backup Operators, Account Operators, RemoteDesktop Users, Server Operators, and Users etc.
99.What are the differences between Enterprise Administrators and Domain Administrators groups?
Enterprise Admins group is a group that performs only in the forest root domain and members of this group have full administrative control on all domains
that are in your forest. Domain Admins group is group that is present in each domain. Members of this group have a full administrative control on the
domain.
100.I have to create 1000 user objects in my Active Directory domain. Who can I achieve that with least administrative effort? Tell me few tools
that I can use.
PowerShell scripts can be used to created bulk users. There is an Active Directory User Creation tool by Rich Prescott which is very popular.
Thanks for sharing active directory management tips. for more info i rfer cion systems active directiry mangement tools in USA.
ReplyDelete