Preheat your oven to 400°F. Line a baking sheet with aluminum foil for easy cleanup and place a wire rack on top.
In a large bowl, combine the olive oil, garlic powder, onion powder, smoked paprika, salt, black pepper, and cayenne pepper. Mix well to create a marinade.
Add the chicken pieces to the bowl and toss until they are evenly coated with the marinade.
Arrange the marinated chicken pieces on the wire rack, skin side up, ensuring they are not touching each other.
Bake in the preheated oven for 35 minutes. After 35 minutes, remove the chicken from the oven and brush generously with barbecue sauce.
Return the chicken to the oven and bake for an additional 10-15 minutes, or until the internal temperature reaches 165°F and the skin is crispy.
Remove the chicken from the oven and let it rest for 5 minutes before serving.