Which log-file naming format is used by IIS for daily rotation, as described in the source?

Enhance your knowledge as a Computer Hacking Forensic Investigator with the CHFI v11 Test. Use flashcards and multiple-choice questions, complete with hints and detailed explanations, to prepare effectively and ace your exam!

Multiple Choice

Which log-file naming format is used by IIS for daily rotation, as described in the source?

Explanation:
The log-file naming format exYYMMdd.log is used because it encodes the date directly in the file name, allowing a new log file to be created every day. The prefix ex indicates the W3C Extended Log File Format, followed by two-digit year (YY), two-digit month (MM), and two-digit day (dd), with the .log extension. This makes each day’s log file unique (for example, ex210101.log for January 1, 2021), which is exactly what daily rotation requires. The other options either omit the day, misplace the date, or use an invalid pattern for the file name.

The log-file naming format exYYMMdd.log is used because it encodes the date directly in the file name, allowing a new log file to be created every day. The prefix ex indicates the W3C Extended Log File Format, followed by two-digit year (YY), two-digit month (MM), and two-digit day (dd), with the .log extension. This makes each day’s log file unique (for example, ex210101.log for January 1, 2021), which is exactly what daily rotation requires. The other options either omit the day, misplace the date, or use an invalid pattern for the file name.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy