Yamato does have some anti-air. Combine that with her general survivability and she can survive for some time against the CV. Ranked is all about time!
16:34 End Screen
17:52 Captain Skills & Upgrades
World of Warships footage of the tier 10 Japanese battleship Yamato on the map North.