A city mobile app needs to look up session tokens quickly using only a session id. Which NoSQL type fits this access pattern best?
Select an answer to reveal the explanation.
Short Explanation
Session tokens are basically "give me the value for this key"—nothing fancy. Key-value stores are built for that lightning lookup. Do not haul out a graph engine just to fetch a login token.
Full Explanation
Key-value NoSQL stores retrieve opaque values by primary key with very low latency. Session tokens keyed by session id match that simple get/put pattern closely. Graph or heavy analytical stores solve different problems and add unnecessary complexity for token lookup. Selecting a key-value design keeps the city app's session path fast and straightforward.