Challenge - 5 Problems
NoSQL Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Identify the NoSQL database type from its description
Which NoSQL database type stores data as flexible, self-describing JSON-like documents allowing nested structures and varied fields per record?
Attempts:
2 left
💡 Hint
Think about databases that store data in JSON or BSON format.
✗ Incorrect
Document stores save data as documents, often JSON-like, which can have nested fields and flexible schemas.
🧠 Conceptual
intermediate2:00remaining
Match the NoSQL type to its main use case
Which NoSQL database type is best suited for storing and querying relationships between entities, such as social networks or recommendation systems?
Attempts:
2 left
💡 Hint
Think about databases that model data as nodes and edges.
✗ Incorrect
Graph databases specialize in storing entities and their relationships, making them ideal for social networks.
❓ query_result
advanced2:00remaining
Output of a key-value store retrieval
Given a key-value store with pairs: {"user1": "Alice", "user2": "Bob", "user3": "Carol"}, what is the output of retrieving the value for key "user2"?
HLD
GET user2
Attempts:
2 left
💡 Hint
Key-value stores return the value for the given key.
✗ Incorrect
The key "user2" maps to the value "Bob" in the store.
🧠 Conceptual
advanced2:00remaining
Identify the correct column-family query syntax
Which option shows a valid CQL (Cassandra Query Language) statement to select all columns from the "users" table where "userid" equals 123?
Attempts:
2 left
💡 Hint
CQL syntax is similar to SQL but uses single equals for conditions.
✗ Incorrect
Option A uses correct CQL syntax with single equals and semicolon.
🔍 Analysis
expert3:00remaining
Find the error in a graph database query
Given this Cypher query to find friends of 'Alice': MATCH (a:Person {name: 'Alice'})-[:FRIEND]->(friend) RETURN friend.name, which option describes the error if the query returns no results despite data existing?
Attempts:
2 left
💡 Hint
Relationship types in Cypher are case-sensitive.
✗ Incorrect
Cypher relationship types are case-sensitive; if data uses :friend but query uses :FRIEND, no matches occur.