Microsoft Exam Questions

How should you configure Service1?

Your network contains an active directory domain named Contoso.com. The domain contains a server named
Server1 that 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?

A.
From Services console, configure the Log On settings

B.
From a command prompt, run sc.exe and specify the privs parameter

C.
From Windows PowerShell, run Set-Service and specify the –StartupType parameter

D.
From a command prompt, run sc.exe and specify the sdset parameter

Explanation:
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-service?
view=powershell-5.1