During WWII the Japanese very quickly decided NOT to invade Australia but did come very close to interdicting the supply routes that helped keep the country going.
Allied Code Breakers, American and British, were the primary means to winning the war by facilitating the application of the industrial production and manpower for tactical and strategic benefit.
Forging good alliances with its neighbors is where Australia can gain excellent benefit for sure.