NSE7 Troubleshooting and Diagnostics Practice Question
An administrator wants to view the current number of active sessions on a FortiGate. Which CLI command should be used?
⚠ Common exam trap
A common mix-up: candidates confuse 'diagnose sys session list' (which shows detailed session information) with the simpler command needed to just view the session count, or they incorrectly assume 'exec' or 'show' are valid FortiGate command prefixes for this purpose.
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
✓
get system performance status
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.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
exec system session count
Why it's wrong here
This command does not exist.
- ✗
show system session count
Why it's wrong here
This command does not exist.
- ✗
diagnose sys session list
Why it's wrong here
This lists all sessions individually, not a count.
- ✓
get system performance status
Why this is correct
Correct. This command displays session count, CPU, and memory usage.
Go deeper
Related to this question
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 →
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.