During a test i came across a question where i needed to create analogy

analogy of skyscrapper to building.

Options included mars to planet, and courtyard to lobby.

My question is that which of these 2 is more suitable answer. Thanks in advance.

slide desk 841skyscrapper skyscraper

Just as Mars is a specific example of a planet, a skyscraper is a specific example of a building.

skyscraper : building : : Mars : planet

Both courtyards and lobbies are spacious areas where people can meet, and these have nothing to do with the other words you mentioned in your question.