Sometimes, we'll ask questions asking you to use them where it is a
good, natural, obvious fit. Sometimes we can ask you questions, such
as the ones you pose, that are designed to test your knowledge around
the edges.
In other words, questions of the form, "Given only X can you build a
Y? If so, how?" So, the questions you ask about queues and stacks are
of value -- as are similar questions for any other data structure.