Water bottles and snacks

During taking a test.. Are you allow to bring in water bottle or something to snack on? Like nuts or protein bar.