Walkthrough: At the end of Vast Poni Canyon, directly before the Altar of the Moone, is the final Island Trial apart of your Island Challenge. Before you face the Trial, however, you will meet the final Trial Captain, Mina. But this Trial has nothing to do with her or her Fairy Type Pokemon as she hasn't created her Trial yet. Instead, you will find the original Trial Site where Trials first began long ago. All you must do is the Battle the Pokemon that appear in the path to Dragonium Z, including Jangmo-o and Hakamo-o (both at Level 40).
As you reach the end of the path, but before you can collect Dragonium Z from the pedestal, you will be challenged by the Totem Pokemon Kommo-o, which will be at Level 45. All of its Stats will be boosted by one stage as you enter the Battle, with the ability to call on help from both Scizor and Hakamo-o (both at Level 32). Defeat the Totem Pokemon and its allies to obtain Dragonium Z and complete your final Trial. After doing so, you will be able to advance to the Altar.