added checks to challenge5 for valid cdb flavor and volumesize