Which command allows you to view the current routing table for a specific VDOM?
The command get router info routing-table all displays the complete routing table, and within a specific VDOM context it shows only that VDOM's routes. This satisfies the requirement to view the current routing table for a chosen VDOM.
Why this answer
On FortiGate, the routing table for a specific VDOM is inspected with 'get router info routing-table all' executed inside that VDOM context. This command dumps all routes (connected, static, and dynamic) in the RIB for the active VDOM, which is essential when troubleshooting inter-VDOM or per-VDOM routing issues.
Exam trap
FORTINET-NSE7-SPECIALTY often tests whether candidates know the exact FortiOS command tree — 'get router info routing-table' versus plausible-sounding but non-existent commands like 'show router table' or 'diag ip route'.
How to eliminate wrong answers
Option B is wrong because 'get system routing' is not a valid FortiOS command — routing information is exposed through the 'get router info' command tree, not 'get system'. Option C is wrong because 'diag ip route' is not a FortiOS syntax; diagnostic IP commands exist but not in this form for viewing the routing table. Option D is wrong because 'show router table' is not a FortiOS command — 'show' is used for configuration objects, not runtime routing tables.