Scenario: A social media platform needs to store user profiles where each profile has various attributes such as name, age, and location. Which type of database would you recommend for efficiently storing this data and why?

  • Document Store
  • Graph Database
  • Key-Value Store
  • Relational Database
For storing user profiles with varying attributes, a Document Store is recommended. Document stores, like MongoDB, allow flexible schema design, making it suitable for dynamic data structures like user profiles with different attributes. It provides efficient retrieval and storage of unstructured data.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *