Scenario: A social media platform wants to store user profiles with varying attributes and preferences. Each user profile may have different sets of data. Which type of database would you recommend for this scenario and why?

  • Document Database
  • Graph Database
  • Key-Value Store
  • Relational Database
In this scenario, a Document Database would be suitable. Document databases allow flexible storage of data with varying attributes, making them ideal for user profiles with different sets of data. Each user profile can be represented as a document, and the database can handle varying attributes efficiently.
Add your answer
Loading...

Leave a comment

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