I recall that in one past exam (or possibly in an EOC) that the duration of cash was assumed to be different than 0. However, the duration of cash was specified in the question. If the duration isn’t given in the question, then it is safe to assume that the target duration equals 0. At least, that’s going to be my approach.