We can ask questions in the present perfect continuous.
To do this, write down 'have/has'
Next, write down the subject: I, you, she/he/it, we, they
Then, write 'been' and the verb in the -ing form
Have you been doing your homework?
How long has he been playing tennis?