Courseiva
Log ManagementmediumMultiple ChoiceObjective-mapped

312-39 Log Management Practice Question

You are managing log rotation on a Linux-based log aggregator. Which configuration file is used by the logrotate utility to define the retention and compression settings for log files?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

/etc/logrotate.conf

/etc/logrotate.conf is the primary configuration file for defining rotation schedules and behaviors.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • /var/log/messages

    Why it's wrong here

    This is a log file, not a configuration file.

  • /etc/rsyslog.conf

    Why it's wrong here

    This configures the syslog daemon, not rotation.

  • /etc/sysctl.conf

    Why it's wrong here

    This configures kernel parameters.

  • /etc/logrotate.conf

    Why this is correct

    This file governs the logrotate daemon's behavior.

About these practice questions

Courseiva writes every 312-39 question from scratch — 201 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official EC-Council exam blueprint

This 312-39 practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 312-39 exam.