Bullock took on the role of a FBI agent , who must go undercover in the Miss United States beauty pageant to prevent a group from bombing the event , in the comedy Miss Congeniality ( 2000 ) .
Sandra Bullock 's character in the film Miss Congeniality tries to prevent a bombing at a beauty pageant .