A two-year fixed-rate mortgage is less of a long-term commitment and gives you more flexibility. However, you also have less security.
Two-year fixes usually have the lowest interest rates and smallest monthly repayments, but you will need to pay mortgage fees 2.5 times more often than with a five-year fixed-rate mortgage.