QuestionQ184

Design and implement data models

You plan to create an Azure Cosmos DB database named db1 with two containers: one for blog posts and one for users. Each blog-post item will include:

  • A single blog post
  • All comments associated with that blog post
  • The names of the users who created the blog post and added the comments

You need to update usernames in the user container without causing data-integrity issues, while minimizing administrative and development effort.

What should the solution include?

Community Discussion

No comments yet. Be the first to start the discussion!