Courseiva
High Availability and DiagnosticsmediumMultiple SelectObjective-mapped

FortiGate Log Storage for Compliance: FortiAnalyzer, FortiCloud, and Retention Policies

A FortiGate administrator is configuring logging to meet a compliance requirement that all security events must be stored for at least one year. The FortiGate has limited local disk space. Which THREE actions should the administrator take to meet this requirement? (Choose three.)

Quick Answer

The correct answer is to enable logging to FortiAnalyzer, enable logging to FortiCloud, and configure log rolling and retention to automatically delete old logs from local disk. This combination meets FortiGate log storage compliance requirements by offloading security events to external, scalable storage while managing the limited local disk space through automated cleanup. For the Fortinet NSE 4 Network Security Professional NSE4 exam, this scenario tests your understanding that compliance mandates long-term retention, but local hardware constraints force you to use both cloud-based and dedicated analyzer solutions. A common trap is selecting “increase log severity to emergency” or “disable disk logging” without enabling external logging—both would either discard critical data or lose logs entirely. Remember the memory tip: “Offload, roll, and retain—never filter or disable alone.”

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

Configure log rolling and retention policies to automatically delete older logs from the local disk after a set period

The administrator needs to store logs for at least one year with limited local disk space. To comply, logs must be offloaded to external storage or the cloud. Configuring log rolling and retention on the local disk (B) allows automatic deletion of old logs to free space, ensuring only recent logs are kept locally while older logs are deleted if not offloaded. However, to meet the one-year retention, offloading is necessary: sending logs to FortiAnalyzer (D) provides centralized long-term storage, and enabling FortiCloud logging (E) offers cloud-based retention. Disabling local disk logging (C) would stop log storage entirely, losing logs unless offloading is configured, but it is not a standalone solution. Setting severity to emergency only (A) would miss most security events, violating the requirement to log all security events. Therefore, the correct three actions are B, D, and E.

Answer analysis

Option-by-option breakdown

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

  • Set the log severity filter to only log 'emergency' events to reduce volume

    Why it's wrong here

    This would exclude most security events and fail compliance.

  • Configure log rolling and retention policies to automatically delete older logs from the local disk after a set period

    Why this is correct

    This manages local disk space by rotating logs, while external storage retains them long-term.

  • Disable local disk logging to save space

    Why it's wrong here

    Disabling local logging without external storage would cause logs to be lost.

  • Configure the FortiGate to send logs to a FortiAnalyzer device

    Why this is correct

    FortiAnalyzer can store logs for the required duration with its larger storage capacity.

  • Enable logging to FortiCloud for cloud-based log storage

    Why this is correct

    FortiCloud provides long-term cloud storage for logs.

About these practice questions

One of 282 original NSE4 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on NSE4

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. An administrator needs to store logs for compliance purposes and wants them to be retained even if the FortiGate is reset. Which log storage option should they use?

medium
  • A.FortiAnalyzer
  • B.FortiCloud logs
  • C.Syslog server
  • D.Local disk logs

Why A: FortiAnalyzer provides centralized log storage separate from the FortiGate, ensuring logs are retained even if the FortiGate is reset.

Variation 2. An administrator needs to configure a FortiGate to send logs to an external FortiAnalyzer. Which setting is required?

medium
  • A.Setting the log disk quota
  • B.Configuring syslog server
  • C.Enabling FortiCloud logging
  • D.Configuring FortiAnalyzer under Log Settings

Why D: FortiGate uses the 'Log Device' or 'FortiAnalyzer' configuration to send logs to an external FortiAnalyzer.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This NSE4 practice question is part of Courseiva's free Fortinet 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 NSE4 exam.