let us assume Bronsted for 1.:
1. In what cases can an oxide be an acid?
- reacting with water to form an acid
- neutralizing a base (reacting with a base to form water)
this is mainly valid for high-oxidation state metal oxides, which are represented most on the left and lower sides of the transition metal bloc.
2. Metal hydrides are usually basic. (you can write the simple reaction of a metal hydride with water yourself) Acidic hydrides are usually complexes (with carbonyl; HFe(CO)4- is such an example), but I do not know of any in group 5 or 6 to be honest.
Now if you are talking about old Group V and VI, then we can talk a bit, as in those groups the "hydrides" are actually protons (positively charged), which will probably alter your reasoning as well. Best to ask to make sure which is meant.