In a mixing bowl, whisk together beer, flour, salt, pepper, garlic powder, and cayenne pepper. Dredge green beans in 1/2 cup flour, shaking off excess, then dip green beans in beer batter. Let excess batter drip off, then fry in batches, a few minutes per side, until golden brown.