Australia’s gross domestic product (GDP) rose 2.1% year-on-year in the second quarter of 2024, surpassing market forecasts of 1.8%, according to official data.