It depends on the Barracuda species . Australian barracuda is a more slender species than most
and the fish in that photo has a short anal fin, while dinolestes lewini has a long anal fin:
also D. levini is not slender enough. and yello coloration of caudal fin schould extend onto the body of D. lewini.
This is not the case here.
Therefore that fish should be Sphyraena novaehollandiae