Obama has struggled to fill many of the key positions at the Department of Homeland Security, which is home to the third-largest executive-branch workforce, including agencies such as Customs and Border Protection, the Coast Guard, the Transportation Security Administration and the Federal Emergency Management Agency.