A data engineer is choosing a lightweight structure for storing application configuration settings in a NoSQL store. Each setting must be retrievable quickly via a unique identifier without needing a predefined schema. Which organizational method best fits these requirements?
Using key-value pairs stores every data element under a distinct key, allowing rapid, flexible retrieval without enforcing a rigid schema. JSON arrays keep values in positional order, hierarchical segments model parent-child trees, and a star schema centers data on a fact table for analytics-none of which meet the stated needs as directly as key-value pairs.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are key-value pairs, and how do they work?
Open an interactive chat with Bash
How do key-value pairs differ from JSON arrays?
Open an interactive chat with Bash
What are some real-world use cases of key-value pairs?