Your network contains an Active Directory domain named contoso.com. The domain contains a server named Server1. Server1 runs Windows Server 2012.
You create a group Managed Service Account named gservice1.
You need to configure a service named Service1 to run as the gservice1 account.
How should you configure Service1?
A . From a command prompt, run sc.exe and specify the config parameter.
B . From a command prompt, run sc.exe and specify the sdset parameter.
C . From the Services console, configure the General settings.
D . From Windows PowerShell, run Set-Service and specify the -PassThrough parameter.
Answer: A
Explanation:
To specify a binary path for the NEWSERVICE service, type:
sc config NewService binpath= "ntsd -d c:windowssystem32NewServ.exe"
Reference: Sc config
https://technet.microsoft.com/en-us/library/cc990290.aspx
http://technet.microsoft.com/en-us/library/cc738230(v=ws.10).aspx