This bill establishes two pilot programs to address the shortage of qualified cybersecurity workers in the federal government. The first program creates a federal apprenticeship for cybersecurity positions, employing up to 25 new apprentices annually within the Department of Homeland Security and potentially other federal agencies. Participants will receive paid on-the-job training aligned with national cybersecurity standards and must commit to federal employment for a period equal to their apprenticeship length, or repay training costs. The second program provides free cybersecurity training to veterans, transitioning active-duty service members, and military spouses, incorporating both classroom instruction and paid federal work-based learning opportunities. Both pilots will coordinate across multiple federal agencies to leverage existing training resources and frameworks while prioritizing recruitment of women and underrepresented minorities. The legislation requires annual progress reports to Congress through 2031 and authorizes the Comptroller General to evaluate whether the programs should continue beyond their five-year initial periods.