The cost of a MBP logic board is probably $500 or more. Given that yours is less than two years old, I’d fix it. Apple’s defect rate is among the lowest in the industry. Their hardware typically outlasts their competitors, which accounts for lower cost of ownership over the life of the product. Even so, drives fail and logic boards short out, so AppleCare and regular backups are essential for any MacBook owner. Many of our faculty in my department have taken advantage of their AppleCare support for one thing or another.