PL-300 Exam QuestionsBrowse all questions from this exam

PL-300 Exam - Question 22


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.

Show Answer
Correct Answer: DE

To create a dimension containing a list of unique countries, you should first delete the City column because it is not needed for the Country dimension. Then, you can remove duplicates from the Country column to ensure that the list contains unique values. Removing the City column simplifies the table, and removing duplicates from the Country column ensures that only distinct countries are included in the dimension.

Discussion

17 comments
Sign in to comment
MarcoW91PLOptions: DE
Mar 30, 2023

DE is correct we only need the countries

AnnaBiOptions: DE
Mar 30, 2023

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

MoxieTTOptions: BE
Jul 7, 2023

This was on the exam

TsbkiOptions: BD
Feb 22, 2024

DB should also be accepted since the table has only one row after deleting City column.

TareqkOptions: BE
Apr 19, 2024

This is was on the exam today. 2024-04-19

cs3122Options: DE
Feb 2, 2024

DE is correct, but feel like BD could also work, since it technically does the same thing

Mi4as
Sep 4, 2023

DE or ED give you absolutely the same result. I hate questions like this because the test has only one correct answer :( Even more, "delete the city column" and "remove duplicates from the table" (step: Table.Distinct) it still correct. So, we have three correct answers.

TrustMyAnswersOptions: DE
Nov 6, 2023

D and E are correct.

StressFreeOptions: BE
Nov 22, 2023

It was so easy that I was suspicious...

daviduzo
Mar 19, 2024

one could say it was stress free

pverdeOptions: DE
Jul 10, 2023

DE is correct

IgetmyroleOptions: BE
Sep 5, 2023

B & E are the correct answers. B. Remove duplicates from the table: this action will ensure that only unique rows (combinations of Country and City) remain in the table, effectively removing any duplicate countries. E. Remove duplicates from the country column: This action specifically removes duplicates from the "Country" column, ensuring that we have a list of unique countries. B & E actions, when performing in sequence, will give you a dimension with a list of unique countries, which is what we need for the star schema.

WRTopicsOptions: DE
Oct 19, 2023

DE and BE Would Work. !!

mordaroOptions: DE
Nov 7, 2023

piece of cake d, e

henryjamesalexanderOptions: DE
Nov 9, 2023

DE is correct

gulutulu
Nov 10, 2023

CONFUSING OPTIONS....BEST OPTION IS NEWCOUNTRY=ALLNOBLANKROW(COUNTRY[COUNTRY])

cs3122
Feb 2, 2024

yeah no

seffy
Mar 21, 2024

now we can only hope that it'd show up in the exam

[Removed]Options: DE
Apr 15, 2024

BD works but you are doing unnecessary filtering of a city column, which is irrelevant here, so the best solution is to remove the City column first and then remove the duplicates in the Country column so DE is the better option.

Kiran37Options: BE
Jul 21, 2024

De is correct