Multiple choice technology security

What is a Log File.

  1. an ASCII file that contains an entry for each user

  2. File which is created and maintained by a server of activity performed by it.

  3. short python program that prints the list of all files inside the current directory

  4. File which is created and maintained by the operating system

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A log file is a file created and maintained by a server (or application) to record the activities performed by it. Option A describes system-wide user logs, not application logs. Option C is a program, not a log file. Option D describes system-level logs, not server/application logs.

AI explanation

A log file is a record automatically created and updated by a server (or system/application) to track events or activity as they happen, such as requests handled, errors encountered, or user actions. This is distinct from a generic user list, an arbitrary script, or simply anything the operating system happens to maintain — the defining feature is that it's an ongoing activity record kept by the server/process itself.