Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam DP-600 All Questions

View all questions & answers for the DP-600 exam

Exam DP-600 topic 1 question 31 discussion

Actual exam question from Microsoft's DP-600
Question #: 31
Topic #: 1
[All DP-600 Questions]

HOTSPOT -
You have the source data model shown in the following exhibit.

The primary keys of the tables are indicated by a key symbol beside the columns involved in each key.
You need to create a dimensional data model that will enable the analysis of order items by date, product, and customer.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
thuss
Highly Voted 8 months, 3 weeks ago
I think what they are trying to get at is that you denormalize the company information into both tables so that you do not need the CompanyID anymore, which would then make the relationship between OrderItem and Product only based on ProductID. Hence I think A and C. But honestly that whole model is just weird.
upvoted 27 times
d47320d
7 months ago
Agree up to the denormalization part. But that does not imply that the relationship between OrderItem and Product should only be based on ProductID. The Product table has two columns as a primary key, ProductID and CompanyID. After denormalization, a two columns join should be performed in order to establish the proper relationships and proper analysis. So correct answers are B, C i.e. the given one.
upvoted 9 times
...
...
zerone72
Highly Voted 6 months, 3 weeks ago
the question says : "You need to create a dimensional data model that will enable the analysis of order items by date, product, and customer." Therefore, the analysis of order item by date, product and customer doesn't need the company table (it can be omitted) ! The answer is A and A
upvoted 17 times
...
Ous01
Most Recent 1 day, 23 hours ago
If company table represents cars such as Toyota and Honda while the product table has parts like a hood, the analysis is NOT interested in the car brand. The analysis should find out how many hoods the company sold, so I believe we should use the ProductID in the relation and the Company table can be omitted. I am leaning towards A & A
upvoted 1 times
...
Rakesh16
6 days, 16 hours ago
A-->The product ID column A-->Omitted
upvoted 2 times
...
Pegooli
4 months ago
Company doesn't have any more attribute. just company id and it's already on customer and product entities so it can be omitted.
upvoted 2 times
...
6d1de25
4 months, 2 weeks ago
I think Company table should be completely omitted as this is extra data that is not mentioned in the requirement (You need to create a dimensional data model that will enable the analysis of order items by date, product, and customer). So the answer should be The Product ID Column and Omitted.
upvoted 3 times
...
c2834e0
5 months, 1 week ago
By denormalizing the relationships will become many to many no ?
upvoted 1 times
c2834e0
5 months, 1 week ago
forget what i said
upvoted 1 times
...
...
vspeter
5 months, 2 weeks ago
Given the Primary key for Product is CompanyID and ProductID, how do you model two (2) "active" one-to-many relationships between Product (dimension) and Orderitem (fact) objects?
upvoted 3 times
...
IK247
5 months, 2 weeks ago
C and C The company ID and Product ID combined together will make a unique Identifier. You have to denormalise to reduce the number of joins in the model.
upvoted 4 times
Lion007
4 months, 1 week ago
Correct. C and C C. A new key that combines the CompanyID and ProductID columns In a dimensional data model, especially in a star schema, it is important to create relationships that ensure uniqueness and properly link the fact table to the dimension tables. C. Denormalized into the Customer and Product entities The Company table should be denormalized into both the Customer and Product entities. This denormalization simplifies the model by embedding company information directly into the related tables, reducing the need for additional joins and improving query performance.
upvoted 1 times
...
...
282b85d
5 months, 4 weeks ago
Relationship based on CompanyID and ProductID: Why: In many real-world scenarios, products might be uniquely identified only when combined with the company context. Thus, ensuring the correct identification and linkage between OrderItem and Product necessitates using both columns. Create a composite key or use both columns to form the relationship between OrderItem and Product. Denormalizing the Company entity: Why: Denormalizing Company data into Customer and Product helps to flatten the structure, making it easier to query and reducing the complexity of joins. How: Add the relevant Company attributes directly into the Customer and Product tables. For instance, each Customer and Product entry will carry information about the Company they are associated with.
upvoted 1 times
...
2dc6125
6 months, 1 week ago
The requirement for Analysis "date, product, and customer" so we only need productId and nothing about the company so Omitted. I'm interested on why many answers go for including company in the model? would love to hear about that.
upvoted 4 times
66d0cf7
5 months, 4 weeks ago
Because It seems more then one product will have the same ProductID if you omit the company, otherwise the current key of Product would not be ProductID and CompanyID
upvoted 1 times
...
...
2dc6125
6 months, 2 weeks ago
The request about creating dimensional data model don't include Company so in my opinion the model can be achieved by A (ProductID Column) and A(Omitted) so no need to include it.
upvoted 4 times
...
stilferx
6 months, 2 weeks ago
IMHO, B & C C - because there is initially compound PK. It means we can't just drop one, because it may be a case that for example different companies have same product_id which is actually different product
upvoted 2 times
stilferx
6 months, 2 weeks ago
Also, Company Entity may be omitted, if follow the rules literally - "no need in company".
upvoted 1 times
...
...
israrkhan
6 months, 3 weeks ago
it can have all the answers C : A new surrogate key which combines Product and Company B:Denormalized Company into product table
upvoted 2 times
...
e0f0ce6
6 months, 3 weeks ago
The Product and customer Table already contains the CompanyId Information. As long as there are no futher information in the Company Table it can be omitted. If it can be omitted there is no need for changing the relationship, because in the current situation the one to many relation already works. In my opinion it should be A + A.
upvoted 1 times
...
eeeliiisaaa
6 months, 4 weeks ago
I don't understand why not the first one is C. I think we need more information but for example in power bi models you ca nnot do relationships based in two columns, you need a combined key so I think all Fabric datamodels should work the same way.
upvoted 1 times
...
okamal
7 months ago
C And C
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...