Question: why bgp is preferred over ospf?
Answer: With BGP on the other hand, the size of the routing table dictates the required device resources. Scale: BGP is more flexible and scalable than OSPF and it is also used on a larger network. Preferred path: OSPF is used to determine the fastest route while BGP puts emphasis on determining the best path.