Childhood pneumonia is a leading cause of death among young children worldwide. Early detection and treatment are crucial for a positive outcome, but diagnosing this disease can be challenging due to non-specific symptoms. Current methods for diagnosing childhood pneumonia, such as chest X-rays, can be time-consuming, expensive, and require specialized staff. In this paper, we propose a novel transfer learning approach to fine-tune the pre-trained MobileNet model for analyzing chest X-rays to identify patterns that may indicate early childhood pneumonia. To improve the performance of our model and minimize the risk of overfitting, we use five augmentation techniques and incorporate Gaussian and fish noises, which are commonly observed in medical images. Unlike previous approaches, which used the validation set and the training set interchangeably, we divide the dataset into three parts: the training set, the validation set, and the test set. This allows us to test our model on new images and detect overfitting problems that might not have been identified using a k-fold cross-validation approach or using the validation set as a test set. Finally, we validated our solution by comparing it to a set of existing approaches using the publicly available dataset entitled "Chest X-Ray Images (Pneumonia)". The results show that our approach achieves state-of-the-art performance on the childhood pneumonia detection task, with an accuracy of 98%. This suggests that our approach has the potential to be used as a reliable tool for the early detection of childhood pneumonia in resource-limited settings.