312-49 · Question #524
What is the default IIS log location?
The correct answer is B. %SystemDrive%\inetpub\logs\LogFiles. The default log directory for Microsoft Internet Information Services (IIS) is %SystemDrive%\inetpub\logs\LogFiles, where %SystemDrive% is the Windows environment variable representing the drive where the OS is installed (typically C:). IIS creates subdirectories under LogFiles…
Question
What is the default IIS log location?
Options
- ASystemDrive\inetpub\LogFiles
- B%SystemDrive%\inetpub\logs\LogFiles
- C%SystemDrive\logs\LogFiles
- DSystemDrive\logs\LogFiles
How the community answered
(51 responses)- A4% (2)
- B92% (47)
- C2% (1)
- D2% (1)
Explanation
The default log directory for Microsoft Internet Information Services (IIS) is %SystemDrive%\inetpub\logs\LogFiles, where %SystemDrive% is the Windows environment variable representing the drive where the OS is installed (typically C:). IIS creates subdirectories under LogFiles for each website (e.g., W3SVC1, W3SVC2). Option A is missing the environment variable percent signs and the 'logs' subdirectory. Option C has a malformed path (missing the closing % on SystemDrive). Option D is also missing the environment variable syntax. Knowing the correct log path is essential for IIS forensics and incident response.
Topics
Community Discussion
No community discussion yet for this question.