Configuring Advanced Windows Server 2012 Services — Question 64
Your network contains an Active Directory domain named contoso.com.
The domain contains a server named Server1. Server1 runs Windows Server 2012 R2.
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?
Answer options
- A. From a command prompt, run sc.exe and specify the config parameter.
- B. From the Services console, configure the General settings.
- C. From Windows PowerShell, run Set-Service and specify the -Startup Type parameter.
- D. From the Services console, configure the Log On settings.
Correct answer: D
Explanation
The correct answer is D because configuring the Log On settings in the Services console allows you to specify the gService1 account for the service to run under. The other options do not provide the necessary method to directly assign the managed service account to Service1, as they focus on other aspects of service configuration.