0% found this document useful (0 votes)
47 views10 pages

Windows Server 2016 MCQs With Explanations

The document contains multiple-choice questions (MCQs) related to Windows Server 2016, covering topics such as DHCP, DNS, FTP, Active Directory, Group Policy, and file sharing protocols. Each question includes options and the correct answer with explanations for clarity. It serves as a study guide for understanding key functionalities and configurations in Windows Server 2016.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views10 pages

Windows Server 2016 MCQs With Explanations

The document contains multiple-choice questions (MCQs) related to Windows Server 2016, covering topics such as DHCP, DNS, FTP, Active Directory, Group Policy, and file sharing protocols. Each question includes options and the correct answer with explanations for clarity. It serves as a study guide for understanding key functionalities and configurations in Windows Server 2016.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

 C.

To forward DHCP messages between clients and


MCQs (Windows servers on different subnets
 D. To block unauthorized DHCP servers
Server 2016) Answer: C

DHCP – Explanation: Relay agents allow DHCP servers to


provide IPs to clients on different subnets.
1. 1. Which port does DHCP use for client-server
communication? 5. 5. Which command checks if the DHCP service is
running?
 A. TCP 67
 B. UDP 67  A. net start dhcp
 C. TCP 68  B. Get-Service DHCPServer
 D. UDP 80  C. dhcp status
 D. sc dhcp show
Answer: B
Answer: B
Explanation: DHCP uses UDP port 67 for server
communication and port 68 for the client. Explanation: PowerShell’s Get-Service cmdlet checks if
DHCP service is running.
2. 2. In Windows Server 2016, what is the default lease
duration for a DHCP-assigned IP address? 6. 6. How do you prevent a device from receiving a
DHCP lease?
 A. 8 hours
 B. 12 hours  A. Remove the scope
 C. 1 day  B. Use an exclusion range
 D. 7 days  C. Delete the reservation
 D. Disable DHCP server
Answer: D
Answer: B
Explanation: The default lease time in Windows Server
2016 is 8 days. Explanation: Exclusion ranges prevent DHCP from
assigning certain IPs.
3. 3. Which of the following can be configured in a
DHCP scope? 7. 7. What is the function of DHCP reservation?
 A. Subnet Mask  A. Extends lease time
 B. Default Gateway  B. Assigns a specific IP to a MAC address
 C. DNS Server  C. Prevents IP conflicts
 D. All of the above  D. Encrypts DHCP traffic
Answer: D Answer: B

Explanation: A scope can define subnet mask, default Explanation: Reservations ensure a device always gets
gateway, DNS server, etc. the same IP based on MAC address.
4. 4. What is the purpose of a DHCP relay agent? 8. 8. Which PowerShell cmdlet creates a new DHCP
scope?
 A. To extend DHCP leases
 B. To assign IPs manually  A. New-DHCPRange
 B. Add-DHCPScope
 C. New-DhcpServerv4Scope  A. A
 D. Set-DhcpScope  B. NS
 C. MX
Answer: C  D. TXT

Explanation: New-DhcpServerv4Scope is the cmdlet Answer: C


used to create a new DHCP scope.
Explanation: MX records specify the mail server for a
9. 9. What type of address does a client get when a domain.
DHCP server is not available?
13. 3. What is the function of a PTR record?
 A. 192.168.0.1
 B. 10.0.0.1  A. Maps domain to IP
 C. APIPA (169.254.x.x)  B. Maps IP to domain
 D. 127.0.0.1  C. Redirects domain
 D. Secures domain
Answer: C
Answer: B
Explanation: Clients use APIPA (169.254.x.x) when
DHCP is unavailable. Explanation: PTR records map IP addresses back to
hostnames.
10. 10. Which log file records DHCP server activity in
Windows Server 2016? 14. 4. What is the default port used by DNS?

 A. dhcp.log  A. TCP 80
 B. dhcpd.txt  B. TCP 443
 C. DhcpSrvLog-*.log  C. UDP 53
 D. scope.log  D. UDP 110

Answer: C Answer: C

Explanation: DHCP logs are stored in files named Explanation: DNS uses UDP port 53 for standard
DhcpSrvLog-*.log in system folders. queries.

15. 5. What does the NS record define?


DNS –
 A. Name of the DNS server for a zone
11. 1. Which type of DNS record maps a hostname to an
 B. IP of the host
IP address?
 C. Mail server
 A. MX  D. Alias
 B. A
Answer: A
 C. CNAME
 D. PTR
Explanation: NS records indicate authoritative DNS
Answer: B servers for a zone.

16. 6. Which feature caches DNS queries to reduce


Explanation: A records map hostnames to IPv4
lookup times?
addresses.
 A. DNS Forwarding
12. 2. Which DNS record is used to define mail servers
 B. DNS Scavenging
for a domain?
 C. DNS Zone Transfers
 D. DNS Caching Answer: B

Answer: D
Explanation: DNS forwarders are set in DNS server
properties to redirect external queries.
Explanation: DNS caching reduces query response time
and external lookups.
FTP Server –
17. 7. How do you force DNS to reload zones using
21. 1. Which Windows Server 2016 role must be
PowerShell?
installed to support FTP?
 A. Restart-DnsService
 A. File Server
 B. Reload-DnsZone
 B. Web Server (IIS)
 C. Restart-Service DNS
 C. DNS Server
 D. Flush-DnsZone
 D. Remote Access
Answer: C
Answer: B

Explanation: Restarting the DNS service reloads all


Explanation: FTP functionality in Windows requires IIS
zones.
(Web Server) to be installed.
18. 8. What is DNS scavenging used for?
22. 2. What port does FTP use for control commands?
 A. Delete unused records
 A. 20
 B. Block spam
 B. 21
 C. Update DNS zones
 C. 22
 D. Improve performance
 D. 23
Answer: A
Answer: B

Explanation: DNS scavenging removes stale records to


Explanation: FTP uses TCP port 21 for control
maintain DNS accuracy.
communication.
19. 9. Which command flushes the local DNS resolver
23. 3. Which tool is used to configure an FTP server in
cache?
Windows Server 2016?
 A. dns flush
 A. FTP Manager
 B. ipconfig /renew
 B. IIS Manager
 C. netsh dns flush
 C. DHCP Console
 D. ipconfig /flushdns
 D. DNS Manager
Answer: D
Answer: B

Explanation: ipconfig /flushdns clears the local DNS


Explanation: IIS Manager configures FTP sites on
cache.
Windows Server.
20. 10. Where do you configure DNS Forwarders?
24. 4. Which of the following is a secure FTP protocol?
 A. DHCP settings
 A. FTP
 B. DNS server properties
 B. SFTP
 C. Hosts file
 C. TFTP
 D. Registry
 D. UDP FTP
Answer: B Explanation: FTP logging is enabled through IIS
Manager interface.
Explanation: SFTP (Secure FTP) encrypts data using
29. 9. What does 530 error in FTP mean?
SSH protocol.
 A. Access granted
25. 5. What is the default location of the FTP root
 B. Not logged in
directory?
 C. Port closed
 A. C:\inetpub\ftproot  D. User does not exist
 B. C:\ftp\root
Answer: B
 C. C:\ftpsite
 D. C:\inet\ftp
Explanation: 530 error means the client failed to
Answer: A authenticate (not logged in).

30. 10. Which authentication method is commonly used


Explanation: Default FTP root is C:\inetpub\ftproot.
for FTP in Windows Server?
26. 6. What permissions must be set for users to upload
 A. Anonymous
files to an FTP site?
 B. Smart Card
 A. Read  C. Kerberos
 B. Execute  D. Certificate-based
 C. Write
Answer: A
 D. List folder contents

Answer: C Explanation: Anonymous FTP allows users to access


public files without a username/password.
Explanation: Write permissions are needed to upload
files via FTP.
Install & Implement Active Directory
27. 7. What mode must be used for FTP to work through
firewalls with dynamic ports?
1. What is the primary function of Active
 A. Passive Mode Directory?
 B. Active Mode A. File sharing
 C. Static Mode
B. Network monitoring
C. Centralized user and resource
 D. Secure Mode
management
Answer: A D. Application hosting
Answer: C
Explanation: Active Directory centralizes
Explanation: Passive mode allows FTP through firewalls control of users, computers, and resources
by using random ports initiated by client. on a network.
2. Which tool is used to install the Active
28. 8. How can FTP logging be enabled in Windows
Directory Domain Services role?
Server 2016?
A. Command Prompt
 A. Via DHCP Console B. Control Panel
 B. Via Control Panel C. Server Manager
 C. Via IIS Manager D. Task Scheduler
 D. Via Event Viewer
Answer: C
Explanation: Server Manager is the GUI
Answer: C used to add roles, including AD DS.
3. Which command promotes a server to a Explanation: SRV records help locate
domain controller? domain controllers and services.
A. netdom 9. What must be configured before
B. Install-ADDSForest installing Active Directory?
C. setupdc A. FTP Server
D. add-domain B. IIS
Answer: B C. DNS Server
Explanation: Install-ADDSForest initializes a D. DHCP
new AD forest and domain. Answer: C
4. What protocol is primarily used by Active Explanation: DNS is critical for AD to
Directory? resolve domain and service names.
A. SMB 10. What is the purpose of Organizational
B. RDP Units (OUs)?
C. LDAP A. Store files
D. FTP B. Manage policies and delegate
Answer: C administration
Explanation: LDAP (Lightweight Directory C. Act as a firewall
Access Protocol) is used for directory D. Run scripts
services. Answer: B
5. What does the SYSVOL folder contain? Explanation: OUs help organize resources
A. DNS records and apply GPOs within a domain.
B. Login scripts and group policies
C. User profiles
D. Backup data
Answer: B Manage Group Policy Object (GPO)
Explanation: SYSVOL stores domain-wide
scripts, policies, and public files replicated 1. What is the primary use of Group Policy
to DCs. in Windows Server 2016?
6. What is a Global Catalog? A. Monitor services
A. Printer listing B. Install hardware
B. File storage C. Centralized management of user and
C. Index of objects in the forest computer settings
D. Backup catalog D. File transfers
Answer: C Answer: C
Explanation: The Global Catalog allows Explanation: GPOs allow administrators to
fast object searching across domains. enforce specific configurations and
7. What is a forest in Active Directory? restrictions.
A. A backup container 2. Which tool is used to edit Group Policies?
B. A single site A. Event Viewer
C. A collection of domains B. PowerShell
D. A DNS zone C. Group Policy Management Editor
Answer: C D. Device Manager
Explanation: A forest is the top-level Answer: C
container that holds one or more domains. Explanation: GPMC and the GPO Editor
8. Which DNS record type is created during are used to create and edit policy settings.
AD DS installation? 3. Where are GPOs stored in a domain?
A. A record A. DNS
B. MX record B. Active Directory
C. SRV record C. FTP root
D. TXT record D. DHCP database
Answer: C Answer: B
Explanation: GPOs are stored in AD and Explanation: Useful in environments like
SYSVOL for replication. kiosks where user GPOs must follow
4. Which of the following applies GPOs in computer GPOs.
order of precedence? 10. Which command views effective GPOs on
A. Local, Site, Domain, OU a machine?
B. OU, Domain, Site, Local A. net use
C. Domain, OU, Local, Site B. gpresult /r
D. Site, Local, Domain, OU C. dcdiag
Answer: A D. ipconfig /all
Explanation: GPOs are applied in the order: Answer: B
Local → Site → Domain → OU. Explanation: gpresult /r shows what policies
5. What does the "gpupdate /force" are in effect.
command do?
A. Deletes GPOs
B. Installs updates
C. Forces immediate GPO refresh Manage Access to Shared Folder
D. Backs up GPOs
Answer: C 1. What protocol does Windows use for file
Explanation: It immediately reapplies all sharing?
group policy settings. A. FTP
6. Which setting disables access to Control B. HTTP
Panel via GPO? C. SMB
A. BlockAll D. SSH
B. HidePanel Answer: C
C. Prohibit access to Control Panel Explanation: Server Message Block (SMB)
D. LockdownUser enables file and printer sharing.
Answer: C 2. Which tool is used to share a folder in
Explanation: This policy setting removes Windows Server?
Control Panel from the Start menu. A. DHCP Manager
7. What is the Resultant Set of Policy B. File Explorer
(RSoP)? C. Task Scheduler
A. GPO log D. Performance Monitor
B. Simulation of GPO effects Answer: B
C. DNS query result Explanation: Right-click a folder in File
D. DHCP report Explorer to access sharing settings.
Answer: B 3. Which permission level allows file
Explanation: RSoP helps visualize what deletion?
policies will apply to a user or computer. A. Read
8. Where are GPO templates stored? B. Modify
A. Program Files C. List Folder Contents
B. SYSVOL D. Full Control
C. Users folder Answer: B
D. Temp directory Explanation: Modify includes read, write,
Answer: B and delete permissions.
Explanation: SYSVOL holds the AD- 4. Which folder permission overrides share
related policy templates. permissions?
9. What does loopback processing do? A. Deny
A. Prevents login B. Allow
B. Applies computer GPOs to users C. Full Control
C. Disables GPOs D. Folder owner
D. Reboots after GPO updates Answer: A
Answer: B
Explanation: Deny permissions always Answer: C
override allows. Explanation: Read allows file access
5. What is NTFS permission? without modification.
A. Internet permission
B. File system-level access control
C. Printer access
D. Network rule Install Printer Services
Answer: B
Explanation: NTFS permissions control 1. Which role installs printer services in
access to files/folders on disk. Windows Server 2016?
6. What is the most secure way to assign A. DHCP
folder access? B. Print and Document Services
A. Directly to users C. Web Server
B. Using group memberships D. File Server
C. Everyone group Answer: B
D. Anonymous access Explanation: This role enables printer
Answer: B sharing and management.
Explanation: Assign permissions to groups 2. Which tool is used to add a new printer?
for easier and safer management. A. GPMC
7. Which tool audits access to shared B. Server Manager
folders? C. Command Prompt
A. Event Viewer D. Hyper-V Manager
B. gpresult Answer: B
C. Shared Folder Wizard Explanation: You can add printers via
D. Hyper-V Server Manager under Print Services.
Answer: A 3. Which port is commonly used for
Explanation: Access logs can be monitored network printers?
in Event Viewer under security logs. A. COM1
8. What happens if both Share and NTFS B. LPT1
permissions are applied? C. TCP/IP
A. The highest is used D. USB
B. The lowest is used Answer: C
C. Only NTFS applies Explanation: Most network printers use
D. Only Share applies TCP/IP connections.
Answer: B 4. What is Printer Pooling?
Explanation: The most restrictive A. Sharing over HTTP
permission is enforced. B. Using multiple printers under one name
9. What does “Everyone” group include? C. Combining IPs
A. Admins only D. Load balancing DHCP
B. All domain computers Answer: B
C. All users who access the system Explanation: Pooling lets multiple printers
D. Guest only act as one logical device.
Answer: C 5. Which permission allows print job
Explanation: Everyone includes all management?
authenticated and unauthenticated users A. Manage Printers
unless restricted. B. Print
10. Which permission is needed to view folder C. Read
contents but not change files? D. Modify
A. Full Control Answer: A
B. Modify Explanation: Allows pausing, resuming,
C. Read and deleting print jobs.
D. Write
6. How can you deploy a printer via GPO? D. Device Manager
A. DHCP scope Answer: A
B. Logon script Explanation: SQL Server can be installed
C. Control Panel using Server Manager or via a standalone
D. Group Policy Preferences installer.
Answer: D 2. Which of the following is a supported
Explanation: GPO Preferences allow database engine on Windows Server
deploying printers by user or computer. 2016?
7. Where are print drivers stored on the A. MySQL
server? B. PostgreSQL
A. C:\Drivers C. Microsoft SQL Server
B. Print$ share D. Oracle
C. System32\Spool Answer: C
D. SYSVOL Explanation: Microsoft SQL Server is
Answer: B commonly used on Windows Server.
Explanation: Drivers are stored in the 3. Which service must be running for SQL
hidden Print$ share. Server to operate?
8. What command lists installed printers? A. SQL Writer
A. net use B. MSSQLSERVER
B. lpstat C. SQL Server Browser
C. Get-Printer D. WMI
D. printmgmt Answer: B
Answer: C Explanation: MSSQLSERVER is the main
Explanation: Get-Printer in PowerShell lists SQL Server database engine service.
all installed printers. 4. Which port does SQL Server use by
9. What is the function of the Print Spooler default?
service? A. 80
A. Caches network files B. 25
B. Buffers print jobs before printing C. 1433
C. Encrypts print traffic D. 3306
D. Connects to the internet Answer: C
Answer: B Explanation: Port 1433 is the default for
Explanation: The Print Spooler queues Microsoft SQL Server.
print jobs and sends them to the printer. 5. Which tool is used to manage SQL Server
10. How do you share a printer with clients? databases?
A. Via DHCP A. IIS Manager
B. Enable sharing in printer properties B. SSMS
C. Registry C. Active Directory Users & Computers
D. IIS D. Event Viewer
Answer: B Answer: B
Explanation: Sharing is enabled through Explanation: SQL Server Management
the printer's sharing tab in properties. Studio (SSMS) is the official GUI tool.
6. What is the role of the SQL Server
Agent?
A. Backup Registry
– Database Server B. Automate tasks like backups
C. Monitor web traffic
1. Which Windows feature is used to install D. Send emails
SQL Server on Windows Server 2016? Answer: B
A. Server Manager Explanation: SQL Server Agent schedules
B. Control Panel and automates SQL Server jobs.
C. Windows Update
7. What does a SQL Server “instance” A. 443
mean? B. 25
A. A database C. 80
B. A backup D. 1433
C. A server reboot Answer: C
D. A separate SQL environment Explanation: Port 80 is standard for HTTP.
Answer: D 3. Which tool is used to manage IIS on
Explanation: An instance is an independent Windows Server?
SQL Server environment. A. Server Manager
8. What is the default authentication mode B. IIS Manager
for SQL Server? C. Event Viewer
A. Mixed Mode D. PowerShell
B. Windows Authentication Answer: B
C. Anonymous Explanation: IIS Manager provides a GUI
D. Local Account Only for managing websites and services.
Answer: B 4. What does the MIME type configuration
Explanation: Windows Authentication uses in IIS control?
domain or local Windows accounts. A. Memory usage
9. Which system database contains login B. File type handling
and system configuration info? C. Database access
A. msdb D. Email delivery
B. tempdb Answer: B
C. model Explanation: MIME types determine how
D. master files are served to clients.
Answer: D 5. Which IIS component handles ASP.NET
Explanation: The master database stores execution?
system-level information. A. FTP Server
10. What is the purpose of tempdb in SQL B. HTTP.sys
Server? C. .NET CLR
A. Logging errors D. SMTP
B. Store backups Answer: C
C. Store temp objects Explanation: ASP.NET apps require a .NET
D. Store config files CLR in the application pool.
Answer: C 6. Which of the following is used to create a
Explanation: tempdb is used for storing secure HTTPS connection?
temporary data like temp tables. A. FTP
B. SSL certificate
C. HTTP
D. DNS record
– Web Server Answer: B
Explanation: HTTPS requires SSL/TLS
1. Which role needs to be installed to host a certificates for encryption.
website on Windows Server 2016? 7. Which directory holds web content by
A. DNS Server default in IIS?
B. Web Server (IIS) A. C:\inetpub\wwwroot
C. DHCP Server B. C:\windows\system32
D. File Server C. D:\IIS\root
Answer: B D. C:\Program Files\IIS
Explanation: Internet Information Services Answer: A
(IIS) is the role for web hosting. Explanation: That’s the default content
2. What is the default port for HTTP folder for IIS.
traffic?
8. What does an IIS binding associate with a
site?
A. Log files
B. Hostname, port, and protocol
C. Database
D. FTP server
Answer: B
Explanation: Bindings define how users
connect to a website.
9. Which file typically serves as the default
page in IIS?
A. index.php
B. start.html
C. default.aspx
D. index.html
Answer: C
Explanation: ASP.NET default file is usually
default.aspx.
10. How can you test if a web server is
accessible from another machine?
A. Use ping
B. Use telnet or browser
C. Use Event Viewer
D. Use SQL Management Studio
Answer: B
Explanation: Use a browser to check the
site or telnet to test the port.

You might also like