NSE7 Troubleshooting and Diagnostics Practice Question
An organization uses FortiGate with OSPF and BGP. Recently, routes from BGP are not being preferred over OSPF routes, causing suboptimal routing. The administrator wants to ensure BGP routes are preferred. Which two actions can achieve this? (Choose two.)
⚠ Common exam trap
It's easy for candidates to confuse inter-protocol route selection (governed by administrative distance) with intra-protocol BGP path selection attributes (like weight, local preference, or metric), leading them to incorrectly choose options that modify BGP-specific attributes that have no effect on OSPF vs. BGP preference.
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
✓
Decrease the administrative distance of BGP routes to 5.
Decreasing the administrative distance (AD) of BGP routes to 5 makes them more trustworthy than OSPF routes (default AD 110). Since a lower AD is preferred, BGP routes will be installed in the routing table over OSPF routes, ensuring BGP is preferred for forwarding decisions.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Decrease the administrative distance of BGP routes to 5.
Why this is correct
Decreasing BGP AD to 5 makes it more preferred over OSPF AD 110.
- ✗
Configure route-map to set metric to 1 on BGP routes.
Why it's wrong here
Metric is a different attribute and not used for comparing different routing protocols.
- ✓
Increase the administrative distance of OSPF routes to 120.
Why this is correct
Increasing OSPF AD to 120 makes BGP (AD 20) more preferred.
- ✗
Set a higher weight on BGP routes for the prefixes.
Why it's wrong here
Weight influences BGP best path selection but does not affect comparison with OSPF.
Visual reference
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.