The combination of viral vaccination and PD-L1 blockade may enhance vaccine efficacy and reduce the number of calf deaths due to pneumonia and diarrhea, thereby improving dairy and beef cattle productivity. Here, CD274 is linked to susceptibility to pneumonia measurement.