nerdexam
EC-Council

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…

Submitted by noor.lb· Apr 18, 2026Disk Forensics

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)
  • A
    4% (2)
  • B
    92% (47)
  • C
    2% (1)
  • D
    2% (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

#IIS#Log file locations#Web server forensics

Community Discussion

No community discussion yet for this question.

Full 312-49 Practice