Microsoft Internet Information Server IIS Performance & Troubleshooting 1 — Questions and Answers
Question 1: What IIS feature caches frequently requested static content in kernel mode for faster delivery?
- Output Caching with kernel-mode caching (Correct answer)
- Application pool recycling
- Compression
- Dynamic content acceleration
Correct answer: Output Caching with kernel-mode caching
Kernel-mode caching stores responses in the HTTP.sys driver cache, eliminating user-mode overhead for cached requests.
Question 2: Which IIS diagnostic tool captures detailed information about failed requests including execution time and module traces?
- Failed Request Tracing (FREB) (Correct answer)
- Event Viewer
- Performance Monitor
- Request Monitor
Correct answer: Failed Request Tracing (FREB)
Failed Request Tracing (FREB) logs detailed per-request pipeline traces to XML files, invaluable for diagnosing 500/404 errors.
Question 3: What does IIS static compression do?
- Compresses static files once and caches the compressed version for subsequent requests (Correct answer)
- Compresses dynamic responses on every request
- Encrypts static file transfers
- Minifies JavaScript and CSS at runtime
Correct answer: Compresses static files once and caches the compressed version for subsequent requests
IIS compresses static files (HTML, CSS, JS, images) on the first request and caches the compressed file for future hits.
Question 4: What HTTP status code does IIS return when a requested resource is not found?
- 404 (Correct answer)
- 403
- 500
- 503
Correct answer: 404
HTTP 404 Not Found means IIS received the request but could not locate the file or resource at the specified URL.
Question 5: What does an HTTP 503 Service Unavailable response from IIS typically indicate?
- The application pool is stopped or has crashed (Correct answer)
- A file permission error
- An invalid SSL certificate
- A DNS resolution failure
Correct answer: The application pool is stopped or has crashed
A 503 usually means the worker process for the application pool is not running, stopped, or has hit its failure limit.
Question 6: Which IIS log format provides the most information and is the default for new IIS installations?
- W3C Extended Log Format (Correct answer)
- NCSA Common Log Format
- IIS Log Format
- Binary Log Format
Correct answer: W3C Extended Log Format
W3C Extended Log Format is the IIS default and allows administrators to select which fields to log, providing maximum flexibility.
What IIS feature caches frequently requested static content in kernel mode for faster delivery?