nerdexam
CompTIA

CV0-003 · Question #435

With increased traffic to a website, several outages have occurred due to a log files filling the root drive of the web servers. An administrator is considering several possible solutions to prevent f

The correct answer is B. Clearing logs.. Clearing active logs on a running web server forces the operating system to perform disruptive disk I/O - locking, truncating, or deleting files that logging processes are actively writing to - causing the greatest immediate performance impact among the listed options.

Operations

Question

With increased traffic to a website, several outages have occurred due to a log files filling the root drive of the web servers. An administrator is considering several possible solutions to prevent future outages. Which of the following techniques is MOST likely to impact server performance if implemented?

Options

  • AArchiving logs.
  • BClearing logs.
  • CLog redirection.
  • DDrive compression.

How the community answered

(48 responses)
  • A
    8% (4)
  • B
    75% (36)
  • C
    4% (2)
  • D
    13% (6)

Why each option

Clearing active logs on a running web server forces the operating system to perform disruptive disk I/O - locking, truncating, or deleting files that logging processes are actively writing to - causing the greatest immediate performance impact among the listed options.

AArchiving logs.

Archiving logs moves older log data to a separate location or storage tier and can be scheduled during off-peak hours, introducing only minimal and controllable I/O overhead.

BClearing logs.Correct

When logs are cleared on a live server, the OS must acquire file locks on log files that web server processes are actively writing to, creating I/O contention and potential blocking of logging threads. This lock contention and the repeated spike in disk activity each time logs are cleared makes it the most disruptive option to ongoing server performance compared to the alternatives.

CLog redirection.

Log redirection simply changes the target path or destination for log output with negligible configuration overhead and no ongoing performance penalty.

DDrive compression.

Drive compression adds CPU and I/O overhead to file operations, but modern operating systems optimize compression transparently, making the per-operation impact manageable on contemporary hardware.

Concept tested: Log management techniques and server performance trade-offs

Topics

#log management#drive compression#performance impact#storage management

Community Discussion

No community discussion yet for this question.

Full CV0-003 Practice