FORTINET-NSE123 Nse 3 Fortigate Operational Fundamentals Practice Question
An administrator needs to test whether a specific TCP port is open on a remote server directly from the FortiGate CLI. Which command can be used to test TCP connectivity?
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
✓
execute telnet [server-IP] [port]
The execute telnet or nc (netcat) tools are not standard, but execute telnet [IP] [port] or specific diagnostic tools can test TCP ports. Alternatively, execute ping is for ICMP. In FortiOS, execute telnet is available on some models, but more reliably, diagnose sniffer or specialized commands test ports. Wait, execute telnet exists on FortiOS. Let's use execute telnet.
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 tcp-test [server-IP] [port]
Why it's wrong here
Incorrect. This command syntax is invalid.
- ✗
ping -p [port] [server-IP]
Why it's wrong here
Incorrect. The standard ping command does not support TCP port specifications.
- ✗
traceroute -port [port] [server-IP]
Why it's wrong here
Incorrect. Traceroute tests network hops via ICMP or UDP, not arbitrary TCP ports.
- ✓
execute telnet [server-IP] [port]
Why this is correct
Correct. execute telnet allows testing TCP port connectivity from the FortiGate.
About these practice questions
One of 298 original FORTINET-NSE123 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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Fortinet exam blueprint
This FORTINET-NSE123 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 FORTINET-NSE123 exam.