InterviewStack.io LogoInterviewStack.io

Windows Server Roles and Services Questions

Covers the functions, installation, configuration, management, dependencies, and troubleshooting of built in Windows Server roles, role services, and operating system features that provide server functionality. Candidates should understand common server roles such as Active Directory Domain Services, Domain Name System server, Dynamic Host Configuration Protocol server, File and Storage Services, Print Server, Remote Desktop Services, Remote Access, and Web Server. The topic includes the distinction between roles and features, examples of features such as Hyper V, Failover Clustering, and Backup components, and how roles or features may depend on one another. Candidates should be able to demonstrate how to add and remove roles or features using graphical tools such as Server Manager and programmatic tools such as PowerShell, explain common PowerShell cmdlet workflows for installing and configuring roles and features, and describe how to manage individual Windows services that implement role functionality. Core service management knowledge includes startup types such as automatic, automatic delayed, manual, and disabled, service dependencies and startup order, service recovery settings, and common maintenance tasks such as restarting services and checking service status. Troubleshooting and operational responsibilities include using Event Viewer and the Services console to diagnose service failures, interpreting relevant event logs, identifying dependency related startup issues, resolving port and network conflicts for role services, and applying best practices for high availability and scale such as clustering, load balancing, and role placement. Candidates may also be expected to explain backup and restore considerations for role data, permission and security implications of enabling roles and features, and basic monitoring strategies for role health and performance.

EasyTechnical
45 practiced
Provide PowerShell one-liners or short sequences to perform the following tasks on a Windows Server: 1) list available and installed roles/features; 2) install the Web-Server (IIS) role and include management tools; 3) remove the File-Services role and its management tools. Specify which module/cmdlets you used and why the approach is safe for automation.
HardTechnical
53 practiced
A custom service 'ContosoSync' depends on Netlogon and a remote SMB share that is mounted at boot. ContosoSync fails to start because a dependent resource is not ready. Provide a detailed diagnostic plan (commands, logs, checks) and remediation plan that handles dependency configuration, network startup timing, credential access for network-mounted resources, and service recovery options to make startup resilient.
HardTechnical
39 practiced
You have lost the last writable domain controller in a site and you have known-good backups available. Describe the full recovery steps for Active Directory Domain Services: when to perform an authoritative restore vs non-authoritative restore, how to perform metadata cleanup if necessary, and how to reinstate replication and FSMO roles while avoiding USN rollback and lingering objects.
EasyTechnical
40 practiced
Walk through the steps you would perform in Server Manager (GUI) to add the Web Server (IIS) role on a Windows Server. Include which wizard options you select (role-based installation, target server selection), how you handle prerequisites and dependent features, the option to include management tools, any restart choices, and the verification steps you would take after the wizard completes.
EasyTechnical
56 practiced
Provide command examples (both PowerShell and sc.exe or net.exe) you would use to change the startup type of the Print Spooler service to Automatic (Delayed Start) and then to Disabled. Show how you would verify the change both immediately and persistently across reboots.

Unlock Full Question Bank

Get access to hundreds of Windows Server Roles and Services interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.