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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
thuss
Highly Voted 1 year, 2 months 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 34 times
d47320d
1 year 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 12 times
...
...
zerone72
Highly Voted 1 year 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 25 times
scorradi
3 months, 4 weeks ago
B - The union between the tables must take into account the company ID and the product ID. It is not possible to have only the Product ID because the company ID is part of the composite key. C - Regarding the entity, it is not possible to remove it. It is possible to remove the table only after denormalization. Some people make a relationship between the entity and the table itself, in this case it would be answer A, but I do not think that is the case here.
upvoted 2 times
...
...
5099e2d
Most Recent 3 weeks, 1 day ago
To create a dimensional data model that will enable the analysis of order items by date, product, and company, you should consider the following approach: The relationship between OrderItem and Product: A: The ProductID column The Company entity must be: C: Denormalized into both Customer and Product entities This approach ensures that the data model is optimized for analysis by including the necessary relationships and denormalizing the Company entity to provide comprehensive insights.
upvoted 1 times
...
MYPE
2 months, 3 weeks ago
For the 1st part, I would say "C. A new key that combines the CompanyID and ProductID columns" because we are in the model view and there is no possibility to create a relationship based on 2 columns (that can be done in Power Query with a "merge" operation but NOT in the Model view). For the 2nd part, C. "Denormalized into the Customer and Product entities" Answer = C and C.
upvoted 2 times
...
Sowwy1
5 months, 1 week ago
I think it's B and C
upvoted 1 times
...
Ous01
5 months, 2 weeks 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 2 times
...
Rakesh16
5 months, 2 weeks ago
A-->The product ID column A-->Omitted
upvoted 6 times
...
Pegooli
9 months, 2 weeks 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 3 times
...
6d1de25
9 months, 3 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
10 months, 3 weeks ago
By denormalizing the relationships will become many to many no ?
upvoted 1 times
c2834e0
10 months, 3 weeks ago
forget what i said
upvoted 1 times
...
...
vspeter
11 months 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
11 months 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 6 times
Lion007
9 months, 3 weeks 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 2 times
...
...
282b85d
11 months, 1 week 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 2 times
...
2dc6125
11 months, 3 weeks 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 5 times
66d0cf7
11 months, 1 week 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 2 times
...
...
2dc6125
11 months, 4 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
11 months, 4 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 3 times
stilferx
11 months, 4 weeks ago
Also, Company Entity may be omitted, if follow the rules literally - "no need in company".
upvoted 1 times
...
...
israrkhan
1 year 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
...
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago