Objective: The participation of general practice (GP) residents in COVID-19 prevention and control tasks touched workload participation in public health and disease prevention and control and was also a rare, valuable training experience for the residents and research material for medical education. This experience contributed to the understanding of three key points: First, was the content of the COVID-19 prevention task suited to them, or did it overload them in the present? Second, their competence in the COVID-19 prevention task reflected whether the early medical school training was sufficient or not. Third, what can be drawn from this study to promote public health training in the future? This study aimed to explore these issues by conducting a real epidemic situated training (REST) program.Methods: A situated cognition study was designed that included situational context design, legitimate peripheral participation, and the construction of a community of practice. The Task Cognitive Load Scale (NASA-TLX Scale) and self-developed questionnaires were adopted to conduct a questionnaire survey of resident doctors in a GP training program from West China Hospital of Sichuan University, and 183 questionnaires were collected. SPSS 23.0 statistical software was used for the statistical analysis of data.Results: The NASA scale showed that the intensity of field epidemic prevention and control (training) was tolerable. In particular, there was statistical difference in the cognitive load intensity of training before and after the epidemic occurred at different time points (P < 0.05). This shows that they were early trained and well-prepared before sudden outbreak of the COVID-19. Before the outbreak of the epidemic, the public health knowledge and training received came from undergraduate education (83.16%), early residents program training (69.47%), online self-study (49.16%), and continuing education (20.53%).Conclusion: Former medical school education and training at the regulatory training stage have a good effect and enable residents to master the skills required for epidemic prevention and control and to physically and mentally prepare for the task. After this stage, epidemic prevention and control training in real situations will make important contributions to the self-assessment and performance improvement of public health training.