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
10 months agoJanae
10 months agoRoslyn
10 months agoFlorinda
10 months agoMila
11 months agoColette
11 months agoSocorro
11 months agoCheryl
11 months agoAleta
11 months agoFlorinda
11 months agoLelia
11 months agoHaydee
11 months agoBrent
11 months agoNorah
11 months agoGilbert
11 months agoAnabel
12 months agoDanilo
12 months agoHoney
1 year agoMickie
1 year agoLashaun
1 year agoIvan
1 year agoFelice
1 year agoSol
1 year agoLajuana
1 year agoJina
1 year agoSage
1 year agoSheridan
1 year agoShonda
1 year 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