NSE7 get system performance status Practice Question
Which two commands display the current session count on a FortiGate?
⚠ Common exam trap
Candidates often think only 'get system performance status' shows session count, but 'diagnose sys session stat' also provides session statistics including count. The trap is that both commands are valid, making this a multi-select question.
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
Both 'get system performance status' and 'diagnose sys session stat' display the current session count on a FortiGate. 'get system performance status' provides a real-time snapshot including active sessions, while 'diagnose sys session stat' shows session table statistics such as total and used sessions. Therefore, both commands are valid answers to the question.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
get system performance status
Why this is correct
The get system performance status command reports overall health counters, including the current session count alongside CPU, memory and uptime figures. It satisfies the stem by displaying the live session total directly from the FortiGate CLI without diagnostic-level inspection.
- ✓
diagnose sys session stat
Why this is correct
The diagnose sys session stat command outputs detailed session statistics, including the current total session count and per-protocol breakdowns. It satisfies the stem by displaying the live session count on the FortiGate, complementing the performance status command.
- ✗
show system session
Why it's wrong here
'show system session' is not valid FortiOS syntax; session counts come from 'get system session status' or 'diagnose sys session stat'. It tempts because 'show system' legitimately lists configuration objects such as interfaces, so administrators expect a session subcommand that does not exist.
- ✗
diagnose hardware sysinfo session
Why it's wrong here
The syntax is invalid: 'diagnose hardware sysinfo session' is not a FortiOS command, so it returns an error rather than a count. It is tempting because 'diagnose hardware sysinfo' does exist for memory and CPU statistics, making it the right family for hardware-level inspection, not session totals.
Go deeper
Related to this question
About these practice questions
This NSE7 question is part of Courseiva's 718-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.