"Do you have this flash disk with 4Gb?" (Do you mean disk or stick? If it's the USB flash memory, I'd call it a stick)
I wouldn't use 'yes' if asking a question- it could be used on a form, though.
If not- this has the opposite meaning, so it is not a replacement, but it's a correct form.
Student or Learner