Question 1 · 1
HOTSPOT - You are creating a database in an Azure Cosmos DB Core (SQL) API account. The database will be used by an application that will provide users with the ability to share online posts. Users will also be able to submit comments on other users' posts. You need to store the data shown in the following table. The application has the following characteristics: ✑ Users can submit an unlimited number of posts. ✑ The average number of posts submitted by a user will be more than 1,000. ✑ Posts can have an unlimited number of comments from different users. ✑ The average number of comments per post will be 100, but many posts will exceed 1,000 comments. ✑ Users will be limited to having a maximum of 20 interests. For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Hot Area:
Choose an option for each prompt.
If you embed the posts data into the users data instead of creating a separate document for each post, you will increase the write operation costs for new posts
- • Yes
- • No
If you embed the comments data into the posts data instead of creating a separate document for each comment you will increase the write operation costs for new comments
- • Yes
- • No
If you embed the interests data into the users data instead of creating a separate document for each interest, you will increase the read operation costs for displaying the users and their associated interests
- • Yes
- • No
Read explanation
Box 1: Yes - Non-relational data increases write costs, but can decrease read costs. Box 2: Yes - Non-relational data increases write costs, but can decrease read costs. Box 3: No - Non-relational data increases write costs, but can decrease read costs.