exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 1 question 22 discussion

Actual exam question from Microsoft's PL-300
Question #: 22
Topic #: 1
[All PL-300 Questions]

You are creating a query to be used as a Country dimension in a star schema.

A snapshot of the source data is shown in the following table.



You need to create the dimension. The dimension must contain a list of unique countries.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

  • A. Delete the Country column.
  • B. Remove duplicates from the table.
  • C. Remove duplicates from the City column.
  • D. Delete the City column.
  • E. Remove duplicates from the Country column.
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

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
MarcoW91PL
Highly Voted 2 years, 1 month ago
DE is correct we only need the countries
upvoted 40 times
...
AnnaBi
Highly Voted 2 years, 1 month ago
Agree The table has tocontain unique values for "Country" column, so - delete the city column --> in fact this column is not requested - Remove dupicates from the Country column
upvoted 12 times
...
BP215
Most Recent 6 days, 20 hours ago
Selected Answer: DE
DE is the right answer
upvoted 1 times
...
Minh2712
1 month, 2 weeks ago
Selected Answer: DE
DE are the correct answers
upvoted 1 times
...
4b88f2d
2 months ago
Selected Answer: BD
I'm not sure why you need E answer. They tell every answer is a part of solution. In the moment y firstly delete city column, you don't need specifically remove Country column, because is the only column you have, so B answer would be correct. Furthermore, as SOF_SH said: "Remove duplicate from a specific column does Not exist in Power BI, the action that does exist is Remove Duplicates." Tricky question, I'm not sure honestly.
upvoted 1 times
...
olalekanadedoyin
2 months ago
Selected Answer: DE
DE is correct. We need just the country's column. Remove duplicates from the country's column and delete the city column to enhance performance.
upvoted 1 times
...
Dylan23
4 months, 1 week ago
Selected Answer: DE
why need to delete the city column ?
upvoted 1 times
2pado
4 days ago
Because the excercise is only asking you to have a list of unique countries
upvoted 1 times
...
...
LuluSkyy
6 months, 1 week ago
We all need the dimension to contain the list of unique countries. so we delete the city column because we don't need it and remove the duplicates from the country column. The correct answer is DE
upvoted 3 times
Mi4as
1 month, 2 weeks ago
Finally, a full explanation of why only DE is correct and no option for B. Only with DE option no need to think about ordering. I checked the E option and received the unique list of countries at this step. This means it doesn't matter whether we delete the city column before or after deduplication rather than B which may have effect only after E.
upvoted 1 times
...
...
Bob_38
7 months, 1 week ago
Selected Answer: DE
correct
upvoted 1 times
...
rcaliandro
8 months, 3 weeks ago
Selected Answer: DE
DE is correct we first remove the city column than we remove duplicates from the Country column
upvoted 1 times
...
Rayen_BF
8 months, 3 weeks ago
Selected Answer: DE
Correct answers are D and E, as they mentionned in the question, the need to create a "list of unique countries" so it will not make sense in removing only duplicates from country and leaving a column of uncompleted cities, so it's necessary to delete this column.
upvoted 1 times
...
SOF_SH
9 months, 2 weeks ago
Remove duplicate from a specific column does Not exist in Power BI, the action that does exist is Remove Duplicates.
upvoted 2 times
...
Kiran37
9 months, 2 weeks ago
De is correct
upvoted 1 times
...
Tsbki
1 year, 2 months ago
Selected Answer: BD
DB should also be accepted since the table has only one row after deleting City column.
upvoted 6 times
gomathi_1991
7 months ago
DE will work in whichever order it is executed. But, DB will give expected result only if D is executed first. As the order of execution is open ended in this question, I'd say DE would be the better answer.
upvoted 2 times
...
...
cs3122
1 year, 3 months ago
Selected Answer: DE
DE is correct, but feel like BD could also work, since it technically does the same thing
upvoted 4 times
...
StressFree
1 year, 5 months ago
It was so easy that I was suspicious...
upvoted 2 times
daviduzo
1 year, 1 month ago
one could say it was stress free
upvoted 2 times
...
...
gulutulu
1 year, 5 months ago
CONFUSING OPTIONS....BEST OPTION IS NEWCOUNTRY=ALLNOBLANKROW(COUNTRY[COUNTRY])
upvoted 1 times
cs3122
1 year, 3 months ago
yeah no
upvoted 1 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