Microsoft Internet Information Server IIS Application Pools & Worker Processes 1 — Questions and Answers
Question 1: What is the default identity used by an IIS application pool in IIS 7.5 and later?
- Network Service
- Local System
- ApplicationPoolIdentity (Correct answer)
- Local Service
Correct answer: ApplicationPoolIdentity
Starting with IIS 7.5, the default identity for application pools is ApplicationPoolIdentity, which creates a unique virtual account per pool with minimal privileges.
Question 2: What is the primary role of the w3wp.exe process in IIS?
- To manage DNS resolution for incoming web requests
- To host and execute web applications within an application pool (Correct answer)
- To handle SSL certificate validation for HTTPS sites
- To manage IIS configuration and metabase backups
Correct answer: To host and execute web applications within an application pool
w3wp.exe is the IIS worker process that hosts web applications and executes HTTP requests within the boundaries of an application pool.
Question 3: Which application pool recycling trigger causes the worker process to restart based on memory consumption?
- Request queue limit
- Virtual memory limit (Correct answer)
- Connection timeout
- Idle timeout
Correct answer: Virtual memory limit
The virtual memory limit setting causes IIS to recycle the worker process when it exceeds a specified amount of virtual memory allocation.
Question 4: What is a 'Web Garden' configuration in IIS?
- An application pool configured to use multiple worker processes on a single server (Correct answer)
- A group of IIS servers in a network load-balanced cluster
- A virtual directory structure organizing web content by topic
- A security zone that isolates trusted web applications from public ones
Correct answer: An application pool configured to use multiple worker processes on a single server
A Web Garden is an application pool configured with more than one worker process, distributing request load across multiple w3wp.exe instances on a single server.
Question 5: In IIS application pools, what does 'pipeline mode' determine?
- The network pipeline used for routing requests between servers
- How requests are processed — either Integrated or Classic mode (Correct answer)
- The SSL/TLS pipeline used for encrypting secure connections
- The sequence of HTTP compression modules applied to responses
Correct answer: How requests are processed — either Integrated or Classic mode
Pipeline mode determines how IIS processes requests: Integrated mode merges the IIS and ASP.NET pipelines, while Classic mode processes them separately via ISAPI.
Question 6: What action does IIS take when an application pool's idle timeout period expires?
- The application pool is permanently deleted from IIS configuration
- The worker process is recycled and restarted immediately
- The worker process is shut down to free server resources (Correct answer)
- The application pool is suspended but its configuration is preserved in memory
Correct answer: The worker process is shut down to free server resources
When idle timeout is reached with no incoming requests, IIS shuts down the worker process to conserve server resources until a new request triggers a restart.
Question 7: Which IIS feature allows an old worker process to continue serving requests while a new one initializes during recycling?
- Always Running startup mode
- Overlapped recycling (Correct answer)
- Rapid Fail Protection
- Zero-downtime restart
Correct answer: Overlapped recycling
Overlapped recycling lets the existing worker process continue handling requests until the newly started worker process is fully initialized and ready to accept traffic.
What is the default identity used by an IIS application pool in IIS 7.5 and later?