Which of the following should be used to install cabinets to a wall with 1/2″ drywall?

Which of the following should be used to install cabinets to a wall with 1/2″ drywall?