Top 62 Windows Server Interview Questions and Answers -3
1. What is Windows Server 2019?
Windows Server 2019 is the operating system that bridges on-premises environments with Azure, adding additional layers of security while helping you modernize your applications and infrastructure.
2. What is the purpose of having AD?
Answer: Active directory is a directory service that identifies all resources on a network and makes that information available to users and services. The Main purpose of AD is to control and authenticate network resources.
3. Explain about sysvol folder?
Answer: The sysvol folder stores the server’s copy of the domain’s public files. The contents such as group policy, users, and groups of the sysvol folder are replicated to all domain controllers in the domain. The sysvol folder must be located on an NTFS volume.
4.Differentiate between NTFS & FAT.
Answer: NTFS is the current file system used by Windows. It offers features like security permissions (to limit other users’ access to folders), quotas (so one user can’t fill up the disk), shadowing (backing up) and many other features that help Windows. FAT32 is the older Microsoft filesystem, primarily used by the Windows 9X line and Window could be installed on a FAT32 parition up to XP. In comparision, FAT32 offers none of what was mentioned above, and also has a maximum FILE (not folder) size of 4GB, which is kind of small these days, especially in regards to HD video.
5. Explain Functions of Active Directory?
Answer: AD enables centralization in a domain environment. The Main purpose of AD is to control and authenticate network resources.
6. What is the name of AD database?
Answer: AD database is NTDS.DIT
7. What is loop back?
Answer: Loopback address is 127.0.0.1, An address that sends outgoing signals back to the same computer for testing.
8. What is Proxy Server?
Answer: A proxy server is a computer that acts as a gateway between a local network (e.g., all the computers at one company or in one building) and a larger-scale network such as the Internet. Proxy servers provide increased performance and security. In some cases, they monitor employees’ use of outside resources.
9. Differentiate between FIREWALL/ANTIVIRUS.
Answer: Antivirus: The prime job of an anivirus is protect your system from computer viruses. Your computer may be standalone or part of network or connected to Internet you need an antivirus program. It actively monitors when you are using your system for any virus threat from different sources. if it found one it tries to clean or quarantine the virus ultimately keeping your system and data safe.
Firewall: Firewall is in other hand a program which protects your system from outsider/intruder/hacker attacks. These attacks may not be virus type. In some cases hackers can take control of your system remotely and steal your data or important information from system. If your system is directly connected to internet or a large network than you can install a software firewall in your PC to protect your self from unauthorized access. Firewall is available either in software or in hardware form. For a single PC you may need a software firewall while a large corporate implements hardware firewall to protect all of their systems from such attacks.
10. Differentiate between Frond end & Back End Server.
Backend server: A back end server is a computer resource that has not been exposed to the internet. In this regard the computing resource does not directly interact with the internet user. It can also be described as a server whose main function is to store and retrieve email messages.
Frontend server: A frontend server is a computer resources that has exposed to the internet.
11. What is APIPA?
Answer: Stands for Automatic Private IP Addressing APIPA is a DHCP fail over mechanism for local networks. With APIPA, DHCP clients can obtain IP addresses when DHCP servers are non-functional. APIPA exists in all modern versions of Windows except Windows NT. When a DHCP server fails, APIPA allocates IP addresses in the private range 169.254.0.1 to 169.254.255.254.
12. How Release and renew IP address from Command prompt?
Answer: Ipconfig / release ipconfig / renew
13. What is wins server?
Answer: Windows Internet Name Service (WINS) servers dynamically map IP addresses to computer names (NetBIOS names). This allows users to access resources by computer name instead of by IP address. If you want this computer to keep track of the names and IP addresses of other computers in your network, configure this computer as a WINS server. If you do not use WINS in such a network, you cannot connect to a remote network resource by using its NetBIOS name.
14. What is the Windows Registry?
Answer: The Windows Registry, usually referred to as “the registry,” is a collection of databases of configuration settings in Microsoft Windows operating systems.
15. System Volume Information (SVI) Folder?
Answer: Windows XP includes a folder named System Volume Information on the root of each drive that remains hidden from view even when you choose to show system files. It remains hidden because it is not a normally hidden folder you can say it is a Super Hidden Folder. Windows does not shows Super Hidden Folders even when you select “Show Hidden Files.”
16. What is MBR?
Answer: Short form Master Boot Record, a small program that is executed when a computer boots up. Typically, the MBR resides on the first sector of the hard disk. The program begins the boot process by looking up the partition table to determine which partition to use for booting.
17. What is Bit Locker?
Answer: BitLocker is an encryption feature available in Ultimate and Enterprise versions of Windows 7 and Vista, To encrypt an entire drive, simply right-click on the drive and select Turn on BitLocker from the context menu.
18. Difference b/w sata and IDE.
Answer: IDE and SATA are different types of interfaces to connect storage devices (like hard drives) to a computer’s system bus. SATA stands for Serial Advanced Technology Attachment (or Serial ATA) and IDE is also called Parallel ATA or PATA. SATA is the newer standard and SATA drives are faster than PATA (IDE) drives. For many years ATA provided the most common and the least expensive interface for this application. But by the beginning of 2007, SATA had largely replaced IDE in all new systems.
19. Main Difference Between Windows server 2008 and 2012?
1) New Server Manager: Create, Manage Server Groups
2) Hyper-V Replication : The Hyper-V Replica feature allows you to replicate a virtual machine from one location to another with Hyper-V and a network connection—and Without any shared storage required. This is a big deal in the Microsoft world for disaster recovery, high availability and more. VMware does this, too, but the vendor charges new licensees extra for the capability.
3) Expanded PowerShell Capabilities
4) IIS 8.0 and IIS 7 in 2008
5) Hyper-V 3.0
6) PowerShell 3.0
20. How Long My Computer Has Been Running? Get to Know My Computer’s Uptime.
Answer: Start Task manager,and select Performance tab . In performance tab we can see system up time Method 2: By typinag systeminfo in command prompt we can find out up time of your server In system boot time.
21. Event viewer in Windows server.
Control panel – Administrative tools – Computer Management – event Viewer Three types events Error. Warning. Information.
22. What happens when we type URL in browser?
23. How DHCP work?
Answer: DHCP Stands for Dynamic host configuration protocol. DHCP is a protocol used for automatic configuration IP address in client computers connected to IP networks. DHCP operates on a client server model in four phases. Discover: A client broadcasts DHCP Discover message when it comes alive on the network. Offer: When a DHCP server receives the DHCP Discover message from the client, it reserves an I P address for the client and sends a DHCP Offer message to the client offering the reserved IP address. Request: The client receives the DHCP offer message and broadcasts a DHCP request message to show its consent to accept the offered IP address. Acknowledge: When the DHCP server receives the DHCP Request message from the client, it sends a DHCP Ack packet to the client. At this point the IP configuration process is complete.
24. What is DHCP Scope?
Answer: A range of IP address that the DHCP server can assign to clients that are on one subnet .
25. What is a DHCP lease ?
Answer: A DHCP lease is the amount of time that the DHCP server grants to the DHCP client permission to use a particular IP address. A typical server allows its administrator to set the lease time.
26. Can DHCP support statically defined addresses?
27. Define Dora Process & why it is used?
Answer: Discover, Offer, request and acknowledgement. it is used to assign ip address automatically to client systems.
28. What is Authorizing DHCP Servers in Active Directory?
Answer: If a DHCP server is to operate within an Active Directory domain (and is not running on a domain controller) it must first be authorized to Active directory.
29. How to Backup and Restore DHCP in Windows Server 2008?
In Windows Server 2008, backup of DHCP database and settings has gotten simpler. You may want to backup your DHCP server from time to time to prepare for disaster recovery scenarios or when migrating DHCP server role to a new hardware. Backup DHCP Server 1).Open Server Manager > DHCP role 2).Right click server name, choose Backup.. 3).Choose a location for backup, click OK Restore DHCP Server 1).Open Server Manager > DHCP role 2).Right Click server name, choose Restore 3).Choose the location of the backup, click OK 4).Restart the DHCP Service DHCP Databse location: C:\WINDOWS\System32\DHCP directory.
30. Define DNS .
Answer: Domain Name System, DNS is an Internet service that translates domain names into IP addresses. Because domain names are alphabetic, they’re easier to remember. Two types of lookup in DNS. Forward lookup : it converts Domain name to ip address. Reverse lookup: it converts ip address to Domain name. Three types of zone. Primary zone secandary zone and stub zone.
31. what is the port no of DNS?
Answer: UDP and port number – 53.
32. What is NSlookup?
Answer: Nslookup.exe is a command-line administrative tool for testing and troubleshooting DNS servers. This tool is installed along with the TCP/IP protocol through Control Panel. MS-DOS utility that enables a user to look up an IP address of a domain or host on a network.
33. What is LDAP? Why it is used?
Answer: LDAP is the Lightweight Directory Access Protocol. Its an active directory protocal ,Basically, it’s a protocol used to access data from a database.
34. What is Active Directory? Why it used.
Answer: Active Directory is a Directory Service created by Microsoft. It is included with most Windows Server operating systems. Active Directory is primarily used to store directory objects like users and groups and computers printers. Using Active Directory brings a number of advantages to your network, Centralized user account management Centralized policy management (group policy) Better security management.
35. What Is Group Policy.
Answer: Group Policy is a feature of the Microsoft Windows NT family of operating systems that control the working environment of user accounts and computer accounts. Group Policy provides the centralized management and configuration of operating systems, applications, and users’ settings in an Active Directory environment.
36. What is the order in which GPOs are applied?
Answer: Local Group Policy object site , Domain and organizational units.
37. What is the difference between software publishing and assigning?
Answer: Assign Users : The software application is advertised when the user logs on. It is installed when the user clicks on the software application icon via the start menu, or accesses a file that has been associated with the software application. Assign Computers :The software application is advertised and installed when it is safe to do so, s uch as when the computer is next restarted. Publish to users : The software application does not appear on the start menu or desktop. This means the user may not know that the software is available. The software application is made available via the Add/Remove Programs option in control panel, or by clicking on a file that has been associated with the application. Published applications do not reinstall themselves in the event of accidental deletion, and it is not possible to publish to computers.
38. Can I deploy non-MSI software with GPO?
Answer: Create the file in .zap extension.
39. Name some GPO settings in the computer and user parts.
Answer: Computer Configuration, User ConfigurationName.
40. Name a few benefits of using GPMC.
Answer: Easy administration of all GPOs across the entire Active Directory Forest View of all GPOs in one single list Backup and restore of GPOs Migration of GPOs across different domains and forest.
41. How frequently is the client policy refreshed ?
Answer: 90 minutes give or take.
42. Where are group policies stored ?
43. How to Do Group policy backup?
Answer: To backup a single GPO, right-click the GPO, and then click Back Up. To backup all GPOs in the domain, right-click Group Policy Objects and click Back Up All.
44. Define DSRM Mode?
Directory Services Restore Mode (DSRM) is a special boot mode for repairing or recovering Active Directory. It is used to log on to the computer when Active Directory has failed or needs to be restored. To manually boot in Directory Services Restore Mode, press the F8 key repeatedly. Do this immediately after BIOS POST screen, before the Windows logo appears. (Timing can be tricky; if the Windows logo appears you waited too long.) A text menu menu will appear. Use the up/down arrow keys to select Directory Services Restore Mode or DS Restore Mode. Then press the Enter key.
45. Where is the AD database held? What other folders are related to AD?
Answer: The AD data base is stored in c:\windows\ntds\NTDS.DIT .
46. How you ever Installed AD?
Answer: To Install Microsoft Active Directory: Ensure that you log on to the computer with an administrator account to perform installation. Click electing Start > Administration Tools >Server manager > Configure your Server. In the Welcome page, click Next. In the Operating system compatibility panel, click Next. On the Domain Controller Type panel, select Domain controller for a new domain and click Next. On the Create New Domain panel, select Domain in a new forest and click Next. On the New Domain Name panel, enter the DNS suffix for your new Active Directory. This name will be used during Tivoli Provisioning Manager installation, so make a note of it. Click Next. On the NetBIOS Domain Name panel, enter theNetBIOS name of the domain. The first part of the DNS name is usually sufficient. Click Next. On the Database and Logs panel, select the desired folders for the Database and Logs.C:\Windows\NTDS is the default. Click Next. On the Shared System Volume panel, enter a valid directory for the system volume.C:\Windows\Sysvol is the default. Click Next to continue. If you configured DNS successfully, the Permissions setting panel is displayed. Select Permissions compatible only with Windows 2000 or Windows Server 2003. Click Next. On the Directory Services Restore Mode Administrator Password panel, enter a valid password to be used when running the Directory Services in Restore Mode. Click Next Verify the settings and Click Next to begin the Active Directory configuration. The server will be rebooted as part of the process.
47. What is the use of SYSVOL folder?
Answer: All active directory data base security related information store in SYSVOL folder and it’s only created on NTFS partition.
48. What is the difference between local, global and universal groups?
Answer: Domain local groups assign access permissions to global domain groups for local domain resources. Global groups provide access to resources in other trusted domains. Universal groups grant access to resoures in all trusted domains.
49. What is group nesting?
Answer: Adding one group as a member of another group is called ‘group nesting’. This will help for easy administration and reduced replication traffic.
50. What is Domain control?
Answer: A domain controller (DC) is a server that handles all the security requests from other computers and servers within the Windows Server domain there was a primary domain controller and a backup domain controller. The primary DC focused on domain services only to avoid the possibility of a system slow down or crash due to overtasking from managing other functionality and security requests. In the event of a primary DC going down, a backup DC could be promoted and become the primary DC to keep the rest of the server systems functioning correctly.
51. What is domain?
Answer: A domain is a set of network resources (applications, printers, and so forth) for a group of users. The user needs only to log in to the domain to gain access to the resources, which may be located on a number of different servers in the network. The ‘domain’ is simply your computer address not to confuse with an URL. A domain address might look something like 211.170.469.
52. What is Forest?
Answer: collection of one or more Active Directory domains that share a common schema, configuration, and global catalog.
53. What is tree?
Answer: An Active Directory tree is a collection of Active Directory domains that begins at a single root and branches out into peripheral, child domains. Domains in an Active Directory tree share the same namespace. An Active Directory forest is a collection of Active Directory trees, similar to a real world forest. Catalog Server.
54. What is site?
Answer: A Site object in Active Directory represents a geographic location that hosts networks.
55. Cmmand to Add client to Domain?
Answer: NETDOM /Domain:MYDOMAIN /user:adminuser /password:apassword MEMBER MYCOMPUTER /JOINDOMAIN.
56. Setting File Permissions on a Folder Using Group Policy.
Answer: The setting is located under Computer Configuration, Windows Settings, Security Settings, File System. Here’s the procedure: Go to the location in the Group Policy listed above. Right-click File System. Click Add File. In the “Add a file or folder” window, select the folder (or file) for which you want the permissions to be set, and click OK. In the security box that pops up, you can add a user or a group that needs permission to the folder.
57. Define virtualization.
Answer: Hyper-V virtualization will provide an environment in which we can run multiple operating systems at the same time on one physical computer, by running each operating system in its own virtual machine.
58. What are the benefits of virtualization ?
Answer: Reduce the number of physical servers Reduce the infrastructure needed for your data center.
59. What is a Hypervisor?
Answer: You can think of a Hypervisor as the kernel or the core of a virtualization platform. The Hypervisor is also called the Virtual Machine Monitor. The Hypervisor has access to the physical host hardware.
60. What are a host, guest, and virtual machine?
Answer: A host system (host operating system) would be the primary & first installed operating system. If you are using a bare metal Virtualization platform like Hyper-V or ESX, there really isn’t a host operating system besides the Hypervisor. If you are using a Type-2 Hypervisor like VMware Server or Virtual Server, the host operating system is whatever operating system those applications are installed into. A guest system (guest operating system) is a virtual guest or virtual machine (VM) that is installed under the host operating system. The guests are the VMs that you run in your virtualization platform. Some admins also call the host & guest the parent and child.
61. How to create Hyper v Snap shot?
Answer: Just select the Virtual machine in Hyper-V Manager and select Snapshot from the Actions pane. The status of the virtual machine will change to “Taking Snapshot” and show the progress of the action using a percentage value File extension = .avhd Virtual Machine files The first thing to know is what files are used to create a virtual machine: .XML files These files contain the virtual machine configuration details. There is one of these for each virtual machine and each snapshot of a virtual machine. They are always named with the GUID used to internally identify the virtual machine or snapshot in question. .BIN files This file contains the memory of a virtual machine or snapshot that is in a saved state. .VSV files This file contains the saved state from the devices associated with the virtual machine. .VHD files These are the virtual hard disk files for the virtual machine .AVHD files These are the differencing disk files used for virtual machine snapshots.
62. What protocol and port does DHCP use ?
Answer: UDP protocol and 67 port in client and 68 port in server.