Courseiva
Troubleshooting and DiagnosticseasyMultiple ChoiceObjective-mapped

NSE7 Troubleshooting and Diagnostics Practice Question

A FortiGate administrator wants to see the current number of active sessions. Which command provides this information?

⚠ Common exam trap

Test-takers frequently confuse 'diagnose sys session stat' with 'diagnose sys session list' or 'show system session-info', assuming any command with 'session' in it will show the session count, but only 'stat' provides the aggregated summary without listing every session.

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

diagnose sys session stat

The 'diagnose sys session stat' command displays a summary of the current session table, including the total number of active sessions, which is exactly what the administrator needs. This command is part of FortiGate's diagnostic tools and provides a quick statistical overview without listing individual session details.

Answer analysis

Option-by-option breakdown

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

  • show system session-info

    Why it's wrong here

    This is not a valid command.

  • diagnose sys session stat

    Why this is correct

    This command shows session count and other statistics.

  • diagnose sys session list

    Why it's wrong here

    This command lists all sessions, not just the count.

  • get system performance status

    Why it's wrong here

    This command shows overall CPU, memory, and session count, but not in detail.

About these practice questions

One of 940 original NSE7 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 NSE7

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 wants to view the current number of active sessions on a FortiGate. Which CLI command should be used?

easy
  • A.exec system session count
  • B.show system session count
  • C.diagnose sys session list
  • D.get system performance status

Why D: The command 'get system performance status' displays real-time system performance metrics, including the current number of active sessions (sessions in the session table). This is the correct CLI command for an administrator to view the active session count on a FortiGate.

Variation 2. An administrator wants to see the current number of active sessions on a FortiGate. Which command should the admin use?

easy
  • A.diagnose sys session list
  • B.diagnose sys session stat
  • C.get system performance status
  • D.get system ha status

Why B: The command 'diagnose sys session stat' displays a summary of session statistics, including the total number of active sessions currently tracked by the FortiGate's session table. This is the correct way to quickly see the current active session count without listing every individual session, which would be overwhelming and resource-intensive.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This NSE7 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 NSE7 exam.