Accessing interface signals inside sequence

I am aware that using IF signals in a sequence has a lot of disadvantages.
What if I have a situation where I MUST implement this ?
Example : If the same question was asked in an interview ?