0% found this document useful (0 votes)
36 views

IIS

The document provides a comprehensive overview of Internet Information Services (IIS), including interview questions for both freshers and experienced candidates. Key topics covered include supported protocols, application pools, security features, and differences between static and dynamic content. It also highlights the evolution of IIS through its various versions, detailing new features and improvements introduced with each release.

Uploaded by

snehaldivekar77
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)
36 views

IIS

The document provides a comprehensive overview of Internet Information Services (IIS), including interview questions for both freshers and experienced candidates. Key topics covered include supported protocols, application pools, security features, and differences between static and dynamic content. It also highlights the evolution of IIS through its various versions, detailing new features and improvements introduced with each release.

Uploaded by

snehaldivekar77
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/ 21

IIS – Internet Information Service

IIS Interview Questions For Freshers


1. Which are the protocols that IIS supports?
The protocols that IIS supports include HTTP/HTTPS, FTP, FTPS, SMTP, etc.
2. What are the new features in IIS 8.5?
The new features in IIS 8.5 include enhanced logging capabilities and dynamic site
activation.
3. What is a virtual directory?
It is the name of a directory, which is mapped to a physical directory in a local server.
4. What are the log files?
Log files record different actions on a server, which includes the date, time, IP address, and
volume of transmitted data.
5. What is the purpose of the Application Pool in IIS?
Application Pool separates applications from each other and simplifies the management. It
defines a group of settings for the worker processes, which carry out request processing for
all the applications in a pool.
6. What are Kernel Mode and User Mode in IIS?
The Kernel Mode and User Mode are the two main layers of IIS architecture.
7. What is the Internet Information Service (IIS)?
IIS (Internet Information Service) is a web server from Microsoft, which is used to host
websites and web applications on the web. It is the most used HTTP server in the world,
which runs on Windows.

8. What is the DefaultAppPool in IIS?


It is the name of the default application pool in IIS.
9. How can you host a site on IIS?
We can host a site on IIS in two ways- by using folder web sharing or by creating a virtual
directory.
10. What are the WWW Publishing Service (W3SVC) and Windows Activation Process
(WAP)?
These two are the main components of SVCHost.exe.
***************************************************************************
**********
IIS Interview Questions For Experienced
11. What is the purpose of App pool recycling in IIS?
The purpose of App pool recycling is to free up the memory, which is consumed by the
applications in an app pool.
12. With which tool, you can debug IIS remotely?
We can debug IIS remotely using the mavsmon.exe process, which belongs to MS Visual
Studio 2005.
13. What are the functionalities of ISAPI filters in IIS?
Some of the functionalities of ISAPI filters include modifying and enhancing the
functionality of IIS, filtering the requests to find the one, which is to be processed, and
authenticating and encryption the input or output data.
14. What are the functions that a protocol listener serves in IIS?
A protocol typically serves the below three functions:
 Receiving protocol-specific requests from the client
 Sending the requests to the client for processing
 Sending the responses back to requestors
15. HTTP.SYS is the subsection of which mode?
HTTP.SYS is the subsection of the Kernel Mode.
16. What is the functionality of HTTP.SYS?
HTTP.SYS, which is a protocol listener, receives the client requests, sends them to IIS for
processing, and finally returns the responses to the client.
17. Which are the subsections of User mode?
The subsections of User mode are Web Admin Service, Virtual Directory, and Application
Pool.
18. What is IUSR_MachineName in IIS?
It is the default user name given to an anonymous user when login into IIS.
19. What purpose does IIS Metabase serve in IIS?
IIS Metabase serves the purpose of maintaining the settings and configuration data.
20. What are the different native modules of IIS?
The native modules of IIS include - HTTP modules, Security modules, Content modules,
Compression modules, Caching modules, Logging, and Diagnostic modules, and Managed
support modules. All these modules are available with the full installation of IIS 7 and later.
IIS FAQS
21. What are the benefits of modular architecture in IIS7?
Some of the benefits of modular architecture include Componentization, Extensibility, and
ASP.NET Integration.

22. What does Componentization mean in IIS?


Componentization meant the availability of web server features as standalone components.
You can easily add, remove, or replace a component.
23. What extra care has to be taken while installing a native module?
You need to install only the native modules that come from a trusted source. This is because
any resource in the server worker process has unrestricted access to the native modules.
24. What are the advantages of AppCmd in IIS7?
The advantages of AppCmd are – it provides server control without the need for graphical
administration tools. Besides, it enables us to automate server management quickly. Also, we
don’t need to write any code.
25. How do you make and restore backups of global server configurations in IIS?
Using AppCmd, we can make and restore backups of global server configurations in IIS.
26. How do you ensure content security in IIS?
We can ensure content security by using ACL (Access Control List). It provides allowing or
denies permissions to the required identities.
27. What does a typical shared hosting environment consist of in IIS?
The typically shared hosting environment consists of the following:
 Front-end servers – to route requests to their content locations
 Back-end web servers – to store and index the content
 Web management services – to enable the customers to publish and manage content
speedily
28. What happens if the kernel-mode cache is turned off?
The impact may not be noticeable if the load is 100 requests per second. However, if it is
around 1000 requests per second, the kernel caching will certainly be missed. Ultimately, it
all depends on the server load.
29. What are the advantages of Componentization?
The advantages of Componentization include:
 Reduction on the amount of memory the server uses
 Performance improvement
 Increased server security with the removal of all unused server features
30. What is an Application Host. config in IIS?
It is the root file of the configuration system, which consists of the following:
 Applications
 Virtual directories and application pools
 Definitions of all sites
 Global defaults for the webserver settings
***************************************************************************

**
1. What is IIS?
Answer:
IIS (Internet Information Services) is a web server developed by Microsoft for hosting
websites and web applications. It supports multiple protocols such as HTTP, HTTPS, FTP,
and others, providing a platform for serving both static and dynamic content. IIS is available
on Windows Server operating systems and can also be used in client versions like Windows
10 and 11.
2. What are Application Pools in IIS?
Answer:
Application Pools in IIS are used to isolate web applications from each other. Each
application pool runs web applications in its own process, so if one application crashes, it
doesn’t affect others. It also helps manage resource allocation and improves security by
keeping applications isolated.
3. What is the role of the IIS Manager?
Answer:
IIS Manager is a graphical interface used to configure and manage IIS. It allows
administrators to create websites, configure server settings, manage security, monitor web
traffic, and set application pools. It’s the main tool for managing IIS on Windows servers.
4. Explain the difference between static and dynamic content in IIS.
Answer:
 Static content: Files like HTML, CSS, JavaScript, and images that don’t change. IIS
directly serves these files from the file system to the browser.
 Dynamic content: Generated on the fly, often through server-side code like ASP.NET
or PHP. IIS passes these requests to the appropriate web application framework for
processing before delivering the response.
5. What is the purpose of the URL Rewrite module in IIS?
Answer:
The URL Rewrite module in IIS is used to modify and manage URLs that are requested by
users. It’s commonly used to create SEO-friendly URLs, redirect users from old URLs to new
ones, or rewrite URLs to different formats based on certain conditions.
6. What is the difference between IIS and Apache?
Answer:
IIS and Apache are both web servers, but IIS is developed by Microsoft and runs only on
Windows Server operating systems, while Apache is open-source and can run on multiple
platforms including Windows, Linux, and Unix. IIS integrates well with Microsoft
technologies like ASP.NET, while Apache is commonly used for PHP-based applications.
7. What are the security features available in IIS?
Answer:
Some security features in IIS include:
 SSL/TLS encryption: To secure data transmission between server and client.
 Authentication options: Includes Basic, Digest, and Windows Authentication.
 Authorization rules: Control who can access resources.
 IP and Domain Restrictions: Limit access to specific IP addresses or domains.
 Request Filtering: Helps prevent malicious requests.
8. What is Request Filtering in IIS?
Answer:
Request Filtering is a security feature in IIS that allows administrators to specify which
HTTP requests should be allowed or blocked based on certain criteria like URL format,
HTTP method, and headers. It helps prevent malicious or invalid requests from reaching the
server.
9. What is FastCGI, and how does it relate to IIS?
Answer:
FastCGI is a protocol used to interface web servers like IIS with applications written in
languages like PHP, Python, or Ruby. It provides better performance than traditional CGI by
keeping the application running in the background to handle multiple requests.
10. What is the difference between HTTP and HTTPS?
Answer:
 HTTP (Hypertext Transfer Protocol): A protocol for transferring data over the web
without encryption. It is less secure.
 HTTPS (Hypertext Transfer Protocol Secure): The secure version of HTTP. It uses
SSL/TLS encryption to protect the data exchanged between the server and the client,
ensuring that sensitive information is not intercepted.
11. How does IIS handle Load Balancing?
Answer:
IIS supports load balancing through Application Request Routing (ARR) or using Network
Load Balancing (NLB). ARR routes traffic to different servers in a farm to distribute the
load, while NLB helps distribute traffic at the network layer, balancing requests across
multiple servers.
12. What are the main methods to deploy a website in IIS?
Answer:
Common deployment methods include:
 Web Deploy: A tool for automating the deployment of web applications from
development to production.
 File Copy: Copying website files manually to the server.
 IIS Manager: Using the IIS Manager interface to create and configure sites.
13. What is Web Deploy, and how does it help in IIS?
Answer:
Web Deploy is a Microsoft tool designed to simplify the deployment of web applications,
websites, and databases to IIS servers. It automates tasks like synchronizing files, deploying
application settings, and managing IIS server configurations.
14. What is the role of HTTP/2 in IIS?
Answer:
HTTP/2 is a newer version of the HTTP protocol that provides improvements over HTTP/1.x,
such as multiplexing (sending multiple requests in a single connection), better header
compression, and prioritization of requests. IIS supports HTTP/2, which can improve
performance for websites and web applications by reducing latency and improving load
times.
15. What is WebSocket, and does IIS support it?
Answer:
WebSocket is a communication protocol that provides full-duplex communication channels
over a single, long-lived connection. IIS supports WebSocket, enabling real-time,
bidirectional communication between the client and server, which is useful for applications
like live chat or real-time data feeds.
16. What is the significance of Application Pools in terms of security?
Answer:
Application Pools provide security benefits by isolating different web applications from each
other. If one application has a security vulnerability or crashes, it won’t affect other
applications running in different pools. Additionally, each pool can run under a separate
identity with specific permissions, limiting the potential damage from any compromised
application.
17. What is the role of logging in IIS?
Answer:
Logging in IIS is important for monitoring web traffic, detecting errors, and analyzing the
performance of web applications. IIS can log information like request URLs, client IP
addresses, response status codes, and more. Logs help in troubleshooting issues and
optimizing server performance.
These answers should provide a solid foundation for a fresher preparing for an interview
related to IIS. Let me know if you'd like more detailed answers or have any specific
questions!
Sure! Here's a concise summary of the key features introduced with each version of IIS:
IIS 5.0 (Windows 2000)
 First introduction of IIS on Windows 2000.
 Improved ASP (Active Server Pages) support.
 Basic support for SSL and IP-based hosting.
 Simplified management interface (IIS Manager).
IIS 6.0 (Windows Server 2003)
 Enhanced security: Introduction of worker process isolation mode for improved
stability and security.
 Improved scalability and performance with load balancing and Web farms.
 Centralized configuration using XML-based configuration files.
 Improved SSL support.
 Built-in FTP support.
 Introduction of HTTP compression and logging features.
IIS 7.0 (Windows Server 2008)
 Modular architecture: The server features are modular, allowing you to enable or
disable individual components.
 Integrated pipeline for handling requests, providing better integration of managed
code (like ASP.NET) and native code.
 Improved security with enhanced support for SSL and permissions.
 Dynamic compression to improve performance.
 Introduction of new management interface and PowerShell support for automation.
IIS 7.5 (Windows Server 2008 R2)
 Enhanced scalability with support for more advanced configurations like Web
Farms and load balancing.
 Improved management tools (IIS Manager improvements).
 Support for Web Deployment Tool to simplify the deployment process.
 Enhanced FTP support with SSL encryption.
IIS 8.0 (Windows Server 2012)
 Support for HTTP/2 for faster web application performance.
 Dynamic IP Restrictions to block attacks like Denial of Service (DoS).
 Centralized SSL certificate store for easier SSL management.
 Introduction of Application Request Routing (ARR) for load balancing.
 PowerShell support for more granular control and automation.
 Enhanced logging and monitoring features.
IIS 8.5 (Windows Server 2012 R2)
 HTTP/2 improvements for faster communication between client and server.
 Enhanced request filtering features.
 File caching improvements, resulting in better performance.
 Dynamic Site Activation for better handling of web apps that start automatically
based on usage.
 Scheduled task logging for detailed diagnostic information.
IIS 10.0 (Windows Server 2016 and Windows 10)
 Full HTTP/2 support for better performance and efficiency.
 Edge caching via Windows CDN (Content Delivery Network).
 Dynamic port binding for smoother scaling and application management.
 Enhanced logging and diagnostics tools, including improved Failed Request
Tracing.
 Improved security with support for TLS 1.2 and TLS 1.3.
 Simplified management with IIS Management Console improvements.
 Support for HTTP/2 Push and other modern web technologies.
Each version builds on the previous one, adding new features for performance, security, and
easier management of web applications and services.
1) What is IIS in ASP.NET?
IIS is an acronym that stands for Internet Information Server. It is one of the most popular
web servers developed by Microsoft and is used to host and provide Internet-based services
to ASP.NET and ASP web applications.
IIS is mainly used to respond to the requests that come from users. When a user sends a
request to the server, IIS takes that request from the user, processes it, and sends the response
back to the user. IIS consists of its own ASP.NET process engine to handle the ASP.NET
request. We can configure an ASP.NET application according to the version of IIS the
application is running on.
IIS is the most used HTTP server in the world, which runs on Windows.

2) What are the most important features of an Internet Information Server?


Following is the list of the most important features of the Internet Information Server:
o IIS or Internet Information Server consists of programs for building and administering
web applications and search engines.
o It supports writing web-based applications that access databases such as SQL Server.
o It also facilitates developers to make their computers work as a web server and
provides the functionality to develop and deploy ASP.NET web applications on the
server.
o Using IIS, we can also set security for a particular website for specific users and
computers to protect it from unauthorized access by denying it.
o IIS provides a redesigned WWW architecture that facilitates users to achieve better
performance, reliability, scalability, and security for websites.
o IIS can increase the availability of websites and applications for an organization by
lowering system administration and the cost of deployment.
o The later versions of IIS as IIS 7.5 support HTTP, HTTPS, FTP, FTPS, SMTP, and
NNTP.

3) What is the process for hosting a website on IIS?


There are two ways to host a website on IIS:
o By using folder web sharing.
o By creating a virtual directory.

4) What are the key functionalities of IIS?


The Visual studio application consists of its own ASP.NET engine that can easily run
ASP.NET web applications. We have to click on the Run button to start the application. But,
this is only in the case of the local environment. If we host it on the webserver from where all
users can access the sites, then we need IIS.
IIS has a redesigned WWW architecture that provides better performance, reliability,
scalability, and security for our websites. IIS can support the following Protocols
HTTP/HTTPS, FTP, FTPS, SMTP Etc. The websites hosted on the IIS get the request from
the clients. When the client sends the request, it first hits the IIS Server, and then the server
passes it to the ASP.NET worker process to execute the request. After that, the response is
passed to the client via IIS itself.

5) Which are the most important protocols that IIS supports?


The most important protocols that IIS supports are HTTP, HTTPS, FTP, FTPS, SMTP, NNTP,
etc.

6) What do you understand by Kernel Mode and User Mode in IIS?


The Kernel Mode and User Mode are the two main layers of IIS architecture.

7) What are the newest features added in IIS 8.5?


The two newest features added in IIS 8.5 are enhanced logging capabilities and dynamic site
activation.

8) What do you understand by virtual directory in IIS?


In IIS, the virtual directory is the name of a directory that is mapped to a physical directory in
a local server.

9) What are the different IIS versions available in different operating systems?
IIS is the most used HTTP server in the world that runs on Windows. Following is a list of
different IIS versions available in different Windows operating systems:
o Windows Server 2008, Windows Vista: Home Premium/ Ultimate run IIS 7.0
o Windows Server 2003 runs IIS 6.0
o Windows XP Professional runs IIS 5.1

10) What is the use of Application Pool in IIS?


The main purpose behind using the Application Pool in IIS is to separate applications from
each other and simplify the management. The Application Pool defines a group of settings for
the worker processes that maintain request processing for all the applications in a pool.

11) What are the two main components of SVCHost.exe?


The two main components of SVCHost.exe are WWW Publishing Service (W3SVC) and
Windows Activation Process (WAP).

12) What is a web farm in IIS? What are its advantages?


In IIS, a web farm is a process of hosting web applications on multiple web servers using a
load balancer. It is a group of two or more web servers/nodes that host multiple instances of
an app. It provides a load balancer method to avoid the high load on a single server and
distributes the traffic to a different server on the same web application. When a user sends a
request to a web farm, the load balancer distributes the requests to the web farm's nodes to
prevent the high load on a single server.

A web farm provides the following advantages:


o Availability & Reliability: A web farm is a group of two or more nodes that host
multiple instances of an app. When one or more nodes fail, the load balancer can route
the users' requests to other functioning nodes to continue the request processing. This
is how it provides great availability and reliability.
o High performance: In a web farm, there are multiple nodes to process more requests
than a single server. The load balancer balances the workload by distributing requests
to the nodes. It provides high performance.
o Scalability: It can increase or decrease the number of active nodes according to the
workload required capacity. There are several web farm platform technologies, such
as Azure App Service, that can automatically add or remove nodes at the system
administrator's request or automatically without human intervention.
o Maintainability: It makes the system management easy as a web farm's nodes can
rely on shared services. For example, the nodes of a web farm can rely upon a single
database server and a common network location for static resources.

13) What steps are used to install and configure an IIS web farm?
We should follow the following steps to install and configure an IIS web farm:
o First of all, we have to install the IIS web farm infrastructure.
o After that, configure the IIS web farm servers.
o We have to configure IIS web farm load balancing in the third step.
o After configuring the IIS web farm load balancing, we must configure the SSL central
certificate store.
o In the last step, configure the application deployment.

14) What do you understand about a web garden in IIS?

A web garden is a configuration in which an IIS application pool is set up to run within
multiple worker processes on a single server. An application pool can be configured for
multiple websites hosted in IIS. When we implement a web garden, it divides the website's
processing among several worker processes.

15) What are the advantages of using web gardens in IIS?


Following is the list of key advantages of using web garden in IIS:
o A web garden offers applications that are not CPU-bound.
o It provides applications that make long-running database requests, such as high
computational database transactions.
o It provides more concurrent synchronization operations per CPU by increasing the
Maximum Worker Process property value.
o It provides great application availability by sharing requests between multiple worker
processes.
o It uses processor affinity, where an application can be swapped out according to its
preferences and tag setting.
o It consumes a very less physical space while configuration.
16) What are the key differences between a web farm and a web garden?
A web farm is a web hosting system which consists of multiple web servers for multiple
clients. This is mainly used to prevent traffic and allow smooth availability of resources to all
the clients. So we can say a web farm is used while hosting a single web application on
multiple web servers to distribute the load among them. On the other hand, a web garden is a
hosting web system where an application pool is configured while specifying the number of
worker processes. It is mainly used for hosting multiple processes on a single web server.
Let's see the key differences between a web farm and a web garden in the following table:

Web Farm Web Garden

Web garden has a single server on which


Web form provides the ability to run across multiple servers. we can run multiple numbers of
processes.

It is used to provide logical scalability to


It is used to provide physical scalability to web applications.
web applications.

It includes multiple processes to run on a


It includes multiple computers to run multiple processes.
single server.

It is preferred because it requires less


It is preferred because it improves performance.
amount of physical space.

It requires aMachine.Configfile to group


It uses a load balancer to group together multiple web servers.
together multiple web servers.
It provides better application availability
It provides high availability as compared to a web garden.
as compared to a web form.

We can achieve it by enabling multiple


We can achieve it by using a load balancer with virtual IP. worker processes for a single application
pool.


 17) What is the DefaultAppPool in IIS?
DefaultAppPool is a folder created when we install the Internet Information Service on our
computer. It is not a virus or malware. It is the name of the default application pool in IIS.
The Internet Information Service or IIS is the webserver software included with Windows. It
is not installed by default.

18) Is it safe to delete IIS AppPool DefaultAppPool?


When we install the IIS service on our computer, it creates DefaultAppPool automatically. It
is not malware or a virus, so we don't need to delete it. It is not safe to delete this folder
because IIS may not work properly when it doesn't exist. We should just leave it alone and
don't use it. We should also ensure that nothing is using it.

19) What is the application pool in IIS?


In IIS, an application pool specifies a group of one or more worker processes configured with
common settings that serve requests to one or more applications assigned to that application
pool. An application pool is mainly used to separate sets of IIS worker processes that share
the same configuration and application boundaries. It is done to achieve better security,
reliability, scalability, availability and performance and keep running without impacting each
other. The worker process serves as the process boundary that separates each application
pool. When one worker process or an application faces any issue or recycles, other
applications or worker processes aren't affected. A single application pool can have multiple
worker processes.

20) What are the log files in IIS? / What do you understand by IIS logs?
Log files or IIS logs record data from Internet Information Services, web pages, and apps.
While IIS itself ensures the scalability and flexibility of the web resources, the log files are
used to record different actions on a server and specific statistics about the websites, such as
the date, time, user data, site visits, IPs, queries, and volume of transmitted data.

21) What are the additional or enhanced security features introduced in IIS 7.5?
Following is the list of key additional or enhanced security features introduced in IIS 7.5:
o IP security
o URL authorization
o Client certificate mapping
o Request filtering etc.

22) What is the default identity of an application pool?


The default identity of an application pool is Network Services.

23) What are the different modules in IIS 7.0 modular architecture?
The IIS 7.0 modular architecture has the following modules:
o Content module
o Compression module
o Caching module
o Security module
o Logging and diagnostic module etc.

24) What do you understand by identities of an application pool?


When we run our site on our own server or in the cloud, we must ensure the security feature
as a top priority list. IIS provides this security feature in the name of application pool identity.
Application pool identity is a security feature of IIS. Microsoft introduced this feature in
Service Pack 2 (SP2) of Windows Server 2008 and Windows Vista. An application pool
identity facilitates us to run an application pool under a unique account without having to
create and manage the domain or local accounts.

25) What are ISAPI and ISAPI extensions in IIS?


ISAPI is an open and faster specification introduced by Microsoft Inc. It is faster and more
flexible than CGI for extending IIS. It is a powerful application as ASP pages are processed
through an ISAPI extension called ASP.dll. ISAPI extensions are the applications that run on
IIS and have access to all of the functionality provided by IIS. Clients can access ISAPI
extensions similarly as they access a static HTML file or dynamic ASP file.
We can develop two types of applications, i.e. extensions and filters using ISAPI. When
requested, an ISAPI extension runs the same way as any other static HTML file or dynamic
ASP file.
26) How can we enable ISAPI in IIS?
We can enable the ISAPI in IIS by following the steps given below:
o First, go to the Web Server (IIS) pane.
o After that, scroll to the Role Services section and click the Add Role Services.
o After going to the "Select Role Services" page of the Add Role Services Wizard,
select the ISAPI Filters and click "Next".
o Now, you will go to the Confirm Installation Selections page.
o Click Install and the ISAPI will be enabled.
o Now, you will be redirected to the Results page.
o Click "Close".

27) What is the default user name of an anonymous login in IIS?


The default user name of an anonymous login in IIS is "IUSR_MachineName".

28) Why do we use app pool recycling in IIS?


App pool recycling is used in IIS to free up the consumed memory by the applications in an
app pool.

29) Why do we need to debug IIS remotely?


Following are the reasons that we need to debug IIS remotely:
o If we don't have installed IIS on our development server.
o If the development server and the Build/Released/Hosting server are different.
o If we have multiple users and they want to debug simultaneously.

30) Which tool is used for debugging IIS remotely?


We can use the tool named mavsmon.exe process to debug IIS remotely. It was first
introduced to MS Visual Studio 2005. The location of this tool is: Install path\Microsoft
Visual Studio 8\Common7\IDE\Remote Debugger\x86.

31) What are the different security settings available in IIS?


Following is the list of most common different security settings available in IIS:
o Basic Authentication
o Digest Authentication
o Passport Authentication
o Integrated Windows Authentication
o Anonymous

32) What are the main functionalities of ISAPI filters in IIS?


In IIS, the ISAPI filters are mainly used to modify and enhance the functionalities of IIS.
These are also used to filter the requests to find one to process, authenticate, and apply the
input or output data encryption.

33) What is the use of enabling pinging properties for the application pool in IIS?
IIS has to monitor the health of a worker process periodically. It checks whether a worker
process is idle or not, whether all worker processes are running properly, and whether it is the
time to recycle. By enabling pinging properties, the activation process monitors worker
process performance, health, idle time etc. By default, it sets to 30s.

34) What is the role of a protocol listener in IIS?


In IIS, the protocol listener is mainly used to do the following things:
o It is used to receive protocol-specific requests from the client.
o It sends the requests to the client for processing.
o It also sends the responses back to the requestors.

35) What is the functionality of HTTP.SYS in IIS?


The HTTP.SYS is a protocol listener that is mainly used to receive client requests, send them
to IIS for processing, and finally send back the client's responses. HTTP.SYS is the
subsection of the Kernel Mode and is the core component to receive and serve HTTP requests
and pass them off to the worker processes.

36) What are the main components of SVCHost.exe?


The main components for SVCHost.exe are as follows:
o WWW Publishing Service (W3SVC): It is the mediator of HTTP.SYS.
o Windows Activation Process (WAP): Windows Activation Process or WAP is used
to maintain the worker processes.
37) What is the role of IIS Metabase in IIS?
The IIS Metabase is mainly used to maintain the settings and configuration data in IIS.

38) What are the different subsections of User mode in IIS?


In IIS, the different subsections of User mode are Web Admin Service, Virtual Directory, and
Application Pool.

Here’s a brief explanation of IIS protocols and their purpose, which would be a helpful
answer for a fresher interview question:

IIS Protocols
IIS (Internet Information Services) supports several protocols to handle different types of
communication between web servers and clients. Here are the key protocols used by IIS:
1. HTTP (HyperText Transfer Protocol)
Explanation:
 HTTP is the most commonly used protocol in IIS for transferring web pages and
other resources like images, CSS, JavaScript, etc., from the server to the client
(browser). It operates at the application layer and is stateless, meaning each request is
independent and does not remember previous requests.
 Usage: When you access a website in a browser, the browser sends HTTP requests to
the server, and the server responds with an HTTP response containing the requested
data (HTML, images, etc.).

2. HTTPS (HyperText Transfer Protocol Secure)


Explanation:
 HTTPS is a secure version of HTTP that uses SSL/TLS encryption to protect the data
being transferred between the client and server. It ensures that sensitive data, like
login credentials and credit card information, remains encrypted and secure during
transmission.
 Usage: Websites that require secure communication (e.g., banking, shopping sites)
use HTTPS to ensure confidentiality and data integrity.

3. FTP (File Transfer Protocol)


Explanation:
 FTP is used for transferring files between the IIS server and clients. It can be used to
upload or download files to/from the server. IIS provides FTP services through the IIS
FTP Server feature.
 Usage: Web developers or system administrators often use FTP to upload website
files (HTML, scripts, images, etc.) to the server. It is often used in content
management systems (CMS) and for transferring large files.

4. FTPS (FTP Secure)


Explanation:
 FTPS is the secure version of FTP, where data transfer is encrypted using SSL/TLS.
It ensures that file transfers remain private and secure.
 Usage: FTPS is used when you need the security of FTP but require encrypted
communication to protect sensitive files during the transfer.

5. SMTP (Simple Mail Transfer Protocol)


Explanation:
 SMTP is used to send email messages from the IIS server to email recipients. IIS
provides the SMTP Server feature, which can be configured to send outgoing emails.
 Usage: Websites or applications that need to send confirmation emails, notifications,
or password resets can use SMTP through IIS to handle the process of delivering
messages.

6. POP3 (Post Office Protocol 3)


Explanation:
 POP3 is a protocol used by email clients to retrieve email messages from a mail
server. IIS does not natively support POP3, but it can be used in conjunction with
other mail server software.
 Usage: It’s commonly used by email clients to download and store emails on the
client’s device. IIS is typically paired with Microsoft Exchange for handling POP3
email services.

7. IMAP (Internet Message Access Protocol)


Explanation:
 IMAP is another protocol used by email clients to retrieve emails from the server, but
unlike POP3, IMAP allows emails to be stored on the server and synchronized across
multiple devices.
 Usage: IMAP is preferred over POP3 for scenarios where users need to access their
email from multiple devices (e.g., smartphones, laptops) because it keeps emails on
the server and synchronizes them.

8. WebDAV (Web Distributed Authoring and Versioning)


Explanation:
 WebDAV is an extension of HTTP that allows users to manage files on remote
servers. It enables file editing, versioning, and collaboration. WebDAV is useful for
remote file access and editing, and it can be configured in IIS to allow users to modify
files on the web server directly.
 Usage: WebDAV is often used in content management systems or when users need to
access and edit files on a remote IIS server without requiring FTP.

9. TCP (Transmission Control Protocol)


Explanation:
 While TCP is not a specific protocol for IIS, it is the foundational transport protocol
for many communication protocols (including HTTP and FTP) used by IIS. It ensures
reliable, ordered, and error-free transmission of data between the server and client.
 Usage: All protocols used by IIS, like HTTP, HTTPS, FTP, etc., rely on TCP for
reliable data transfer.

Summary of IIS Protocols:


Protocol Purpose

HTTP Transfers web pages and resources (non-secure)

HTTPS Secure version of HTTP (encrypted communication)

FTP File transfer between client and server

FTPS Secure version of FTP (encrypted)

SMTP Sends outgoing emails from the server

POP3 Retrieves emails from a server (not native to IIS)

IMAP Retrieves and manages emails (not native to IIS)

WebDAV Allows users to manage and edit files on the server

TCP A foundational protocol for reliable data transfer


Final Note:
These are the basic protocols that IIS supports and uses to enable various functionalities like
file transfer, email communication, and secure web browsing. As a fresher, it’s important to
understand how these protocols interact with IIS to support web applications, services, and
email systems.
If you’re asked about them in an interview, make sure to explain their functions and how they
relate to IIS features.

You might also like