I'm sure Real Madrid and Inter Milan will qualify in Group D, but back in the second leg they have to work hard to win.
Most people think the same as you. Since Real Madrid and Inter Milan are the favorites and the stronger clubs in Group D, they probably can optimize the chance to be qualified to the next stage. But they must win all the remaining matches to guarantee they are leading Group D. I assume they have the capacity to win all the remaining matches.
Madrid will definitely win with Shakthar
The Sheriff will surely lose at home to Inter Milan.
Is this your prediction for the upcoming matches?
I am sorry, I think you cannot underestimate Sheriff once they are playing at home.