Microsoft DP-420 Exam - Topic 5 Question 25 Discussion
You need to create a data store for a directory of small and medium-sized businesses (SMBs). The data store must meet the following requirements:* Store companies and the users employed by them. Each company will have less than 1,000 users.* Some users have data that is greater than 2 KB.* Associate each user to only one company.* Provide the ability to browse by company.* Provide the ability to browse the users by company.* Whenever a company or user profile is selected, show a details page for the company and all the related users.* Be optimized for reading data.Which design should you implement to optimize the data store for reading data?
A) In a directory container, create a document for each company and a document for each user. Use company ID as the partition key.
B) In a company container, create a document for each company. Embed the users into company documents. Use the company ID as the partition key.
C) Create a user container that uses the user ID as the partition key and a company container that container that uses the company ID as the partition key. Add the company ID to each user documents.
D) In a user container, create a document for each user. Embed the company into each user document. Use the user ID as the partition key.
Aleta
6 months agoJanae
7 months agoRoslyn
7 months agoFlorinda
7 months agoMila
7 months agoColette
8 months agoSocorro
8 months agoCheryl
8 months agoAleta
8 months agoFlorinda
8 months agoLelia
8 months agoHaydee
8 months agoBrent
8 months agoNorah
8 months agoGilbert
8 months agoAnabel
8 months agoDanilo
8 months agoHoney
1 year agoMickie
11 months agoLashaun
11 months agoIvan
12 months agoFelice
1 year agoSol
1 year agoLajuana
12 months agoJina
1 year agoSage
1 year agoSheridan
1 year agoShonda
12 months agoLucina
1 year agoAron
1 year agoLuisa
1 year agoNarcisa
1 year agoStevie
1 year agoGladys
1 year agoAracelis
1 year agoNorah
1 year agoCecil
1 year ago