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

Prepare for the Computer Hacking Forensic Investigator v11 exam. Study with flashcards and multiple choice questions. Each question includes hints and explanations. Get exam-ready efficiently!

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 Passetra

You can unsubscribe at any time. Read our privacy policy