NSE7 Troubleshooting and Diagnostics Practice Question
An administrator wants to see the current number of active sessions on a FortiGate. Which command should the admin use?
⚠ Common exam trap
Many exam-takers confuse 'diagnose sys session list' (which shows individual sessions) with 'diagnose sys session stat' (which shows the count), because both commands start with the same prefix and deal with sessions, but only 'stat' gives the aggregate number without flooding the console.
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 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.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
diagnose sys session list
Why it's wrong here
This lists individual sessions, not the total count.
- ✓
diagnose sys session stat
Why this is correct
This command shows session count and other metrics.
- ✗
get system performance status
Why it's wrong here
This shows CPU and memory, not session count directly.
- ✗
get system ha status
Why it's wrong here
This shows HA status, not session count.
Go deeper
Related to this question
About these practice questions
Courseiva writes every NSE7 question from scratch — 940 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 →
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.