Exam PL-300 All QuestionsBrowse all questions from this 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.

    Correct Answer: D, E

    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
MarcoW91PLOptions: DE

DE is correct we only need the countries

AnnaBiOptions: DE

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

TsbkiOptions: BD

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

MoxieTTOptions: BE

This was on the exam

TareqkOptions: BE

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

cs3122Options: DE

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

StressFreeOptions: BE

It was so easy that I was suspicious...

daviduzo

one could say it was stress free

TrustMyAnswersOptions: DE

D and E are correct.

Mi4as

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.

Kiran37Options: BE

De is correct

[Removed]Options: DE

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.

gulutulu

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

cs3122

yeah no

seffy

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

henryjamesalexanderOptions: DE

DE is correct

mordaroOptions: DE

piece of cake d, e

WRTopicsOptions: DE

DE and BE Would Work. !!

IgetmyroleOptions: BE

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.

pverdeOptions: DE

DE is correct