Microsoft Internet Information Server Quality Control & Assurance 2 — Questions and Answers
Question 1: Which IIS feature allows administrators to define custom error pages to maintain a consistent user experience when HTTP errors occur?
- Custom Errors in Error Pages feature (Correct answer)
- HTTP Redirect module
- URL Rewrite rules
- Request Filtering defaults
Correct answer: Custom Errors in Error Pages feature
The Error Pages feature in IIS Manager lets you configure custom error responses for specific HTTP status codes.
Question 2: During a QA review, you notice IIS is returning detailed .NET stack traces to end users. Which setting should be changed first?
- Set customErrors mode to 'On' or 'RemoteOnly' in web.config (Correct answer)
- Disable Windows Authentication
- Increase the request timeout value
- Enable Dynamic Content Compression
Correct answer: Set customErrors mode to 'On' or 'RemoteOnly' in web.config
Setting customErrors mode to 'On' or 'RemoteOnly' in web.config suppresses detailed error information from being sent to remote clients.
Question 3: Which IIS logging field helps QA teams identify slow-performing requests by recording the time taken to service each request?
- time-taken (Correct answer)
- cs-uri-stem
- sc-bytes
- cs-host
Correct answer: time-taken
The time-taken field in IIS W3C logs records the elapsed time in milliseconds for each request, aiding performance QA.
Question 4: A QA engineer wants to verify that IIS correctly enforces a maximum request content length to prevent oversized uploads. Which module handles this restriction?
- Request Filtering (Correct answer)
- URL Rewrite
- Output Caching
- Dynamic IP Restrictions
Correct answer: Request Filtering
Request Filtering in IIS enforces limits on request content length, header length, and URL length.
Question 5: When performing regression testing on an IIS server, which tool can replay recorded HTTP traffic to compare responses between server versions?
- Web Capacity Analysis Tool (WCAT) (Correct answer)
- IIS Manager console
- Event Viewer
- netstat command
Correct answer: Web Capacity Analysis Tool (WCAT)
WCAT is a stress-testing and replay tool that can simulate recorded HTTP sessions against IIS for regression comparison.
Question 6: To ensure IIS application pool worker processes are recycled at predictable intervals for quality stability, which recycling trigger is most commonly scheduled?
- Regular time interval recycling (Correct answer)
- On-demand manual recycling only
- Memory-based recycling set to 0 MB
- Disabling recycling entirely
Correct answer: Regular time interval recycling
Setting a regular time interval (e.g., every 29 hours) for application pool recycling is the most common scheduled quality-stability practice.
Question 7: A QA process requires verifying that IIS correctly maps file extensions to their handlers. Which IIS configuration section defines these extension-to-handler mappings?
- Handler Mappings (Correct answer)
- MIME Types
- Module Mappings
- HTTP Response Headers
Correct answer: Handler Mappings
Handler Mappings in IIS define which handler processes requests for specific file extensions or URL paths.
Which IIS feature allows administrators to define custom error pages to maintain a consistent user experience when HTTP errors occur?