This is a Phase III, randomized, double-blind, parallel-group, active-controlled, multicenter study in China enrolling approximately 590 adult participants diagnosed with hospital-acquired bacterial pneumonia or ventilator-associated bacterial pneumonia. The study aims to evaluate the efficacy and safety of YK-1169 compared with ceftazidime-avibatan sodium for the treatment of hospital-acquired bacterial pneumonia and ventilator-associated bacterial pneumonia. Each study site enrolled participants using a 1:1 competitive randomization scheme via the International Web-based Randomization System (IWRS).