The good news is that you may be eligible to purchase a Vehicle Extended Service Contract (commonly known as an Extended Warranty) which would potentially provide you the protection against expensive major repairs.
Very much like a warranty, a Vehicle Extended Service Contract provides for repairs for a specific period of time and mileage. Manufacturer's warranties are "no charge" and are included in the price of a vehicle whereas Vehicle Extended Service Contracts are sold separately and have multiple levels of coverage.
Source: The Four Fatal Mistakes When Buying a Used Car, Author Herm Brocksmith