Your network contains an Active Directory domain named contoso.com.
All domain controllers run Windows Server 2012 R2. The domain contains two domain controllers.
The domain controllers are configured as shown in the following table.
The Branch site contains a member server named Server1 that runs Windows Server 2012 R2.
You need to identify which domain controller authenticated the computer account of Server1.
What should you do?
A. Verify the value of the %LOGONSERVER% environment variable.
B. Run nltest/sc_query.
C. Verify the value of the %SESSIONNAME% environment variable.
D. Run nltest /dsgetsite.
%LOGONSERVER% is the domain controller that authenticated the current user.
If you want to specify a domain controller that authenticates a user logon, use the environment variable %LOGONSERVER% in a PATH statement. This article
describes how you can use %LOGONSERVER% to distribute user profiles.
B: Reports on the state of the secure channel the last time that you used it. (The secure channel is the one that the NetLogon service established.)
This parameter lists the name of the domain controller that you queried on the secure channel, also.
D: Returns the name of the site in which the domain controller resides.