Microsoft Internet Information Server Microsoft Internet Information Server MCQ 5 — Questions and Answers
Question 1: Which IIS health monitoring feature automatically restarts a worker process after it has served a configured number of requests?
- Idle Time-out recycling
- Regular time interval recycling
- Request limit recycling (Correct answer)
- Memory-based recycling
Correct answer: Request limit recycling
Request limit recycling shuts down and restarts a worker process after it has processed a specified number of requests, helping mitigate memory leaks in long-running applications.
Question 2: In the context of IIS and ASP.NET, what does 'integrated pipeline mode' mean?
- ASP.NET requests are processed through a separate pipeline bypassing IIS modules
- ASP.NET modules participate in the same unified request processing pipeline as native IIS modules (Correct answer)
- IIS merges multiple worker processes into a single shared pipeline
- ASP.NET and PHP share the same request handler in a unified queue
Correct answer: ASP.NET modules participate in the same unified request processing pipeline as native IIS modules
In integrated pipeline mode, ASP.NET modules (like authentication or custom HttpModules) run within IIS's unified request pipeline, enabling them to process all request types including static files.
Question 3: What is the purpose of the IIS 'Output Caching' feature?
- It stores database query results in memory to speed up application logic
- It caches rendered HTTP responses in memory so repeated identical requests are served without hitting the application (Correct answer)
- It pre-compiles ASP.NET pages into a disk cache on first request
- It compresses and stores static files in a separate cache folder on disk
Correct answer: It caches rendered HTTP responses in memory so repeated identical requests are served without hitting the application
IIS Output Caching stores full HTTP responses (or partial responses via kernel-mode caching) so subsequent requests for the same resource are served directly from cache without invoking the application.
Question 4: Which tool introduced in IIS 7 allows administrators to delegate management of specific web features to site owners without granting server-level access?
- IIS Remote Administration Tool
- IIS Manager (with Feature Delegation) (Correct answer)
- Web Deployment Agent Service (MSDeploy)
- Windows Admin Center
Correct answer: IIS Manager (with Feature Delegation)
IIS Manager's Feature Delegation allows server administrators to specify which features site owners can configure independently via IIS Manager connected remotely to their site.
Question 5: What happens when IIS detects that a worker process has become unhealthy through its ping mechanism?
- IIS logs an event and sends an email alert to the administrator
- IIS terminates and recycles the unhealthy worker process and starts a replacement (Correct answer)
- IIS pauses the application pool and queues incoming requests indefinitely
- IIS redirects traffic to a secondary application pool automatically
Correct answer: IIS terminates and recycles the unhealthy worker process and starts a replacement
When the worker process fails to respond to a ping within the configured timeout, IIS marks it as unhealthy, terminates the w3wp.exe process, and starts a new worker process to replace it.
Question 6: Which IIS 10 feature allows .NET Core applications to run inside the IIS worker process (w3wp.exe) for improved performance?
- Classic ASP integration
- In-Process Hosting Model (ASP.NET Core Module v2) (Correct answer)
- Windows Process Activation Service (WAS) bridge
- Integrated pipeline relay
Correct answer: In-Process Hosting Model (ASP.NET Core Module v2)
The ASP.NET Core Module v2 supports an in-process hosting model where the .NET Core runtime is loaded directly into w3wp.exe, eliminating inter-process communication overhead.
Question 7: In IIS, what is the significance of the 'ApplicationPoolIdentity' account type?
- It uses the built-in SYSTEM account for maximum permissions
- It creates a unique, auto-managed virtual account for each application pool with minimal privileges (Correct answer)
- It requires an administrator to manually create a service account in Active Directory
- It maps all application pools to the IIS_IUSRS group account
Correct answer: It creates a unique, auto-managed virtual account for each application pool with minimal privileges
ApplicationPoolIdentity automatically creates a virtual account named IIS AppPool\<PoolName> for each pool, providing process isolation with least-privilege access without requiring manual account management.
Which IIS health monitoring feature automatically restarts a worker process after it has served a configured number of requests?