The correct option is D of
In the given question, the blank should be filled with a preposition that conveys that there are seven days in a week. It shows possession, relation or connection. The preposition ‘of’ is used to denote origin, a material something is made of, relation, belonging and connection. The verb ‘consists’ expresses that a week is made of seven days. Thus option D is correct. Preposition ‘for’ is used to indicate how long something has been going on or will continue. Since the statement focuses on relation and not duration option A is incorrect. On the other hand preposition ‘in’ is used to speak about a position within a large area and space or when we speak about a season, month or year. Thus option B is incorrect in the given context. Similarly ‘at’ is used to indicate an exact place or specific time like “at 10 p.m.” or “at midnight”, so option C is incorrect.