exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 2 question 4 discussion

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

You have a Power BI query named Sales that imports the columns shown in the following table.

Users only use the date part of the Sales_Date field. Only rows with a Status of Finished are used in analysis.
You need to reduce the load times of the query without affecting the analysis.
Which two actions achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. Remove the rows in which Sales[Status] has a value of Canceled.
  • B. Remove Sales[Sales_Date].
  • C. Change the data type of Sale[Delivery_Time] to Integer.
  • D. Split Sales[Sale_Date] into separate date and time columns.
  • E. Remove Sales[Canceled Date].
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

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
bjornopjemic
Highly Voted 2 years, 2 months ago
A, only records with state finished are used D, personally I would transform the column to a date format and not split it since only the date part is used Not E, All the cancelled rows are already deleted with A and when a order is not cancelled it will contain a null value
upvoted 109 times
1CY1
2 months, 2 weeks ago
Each answer represents a complete solution. -> D cannot be correct as it is not a complete solution. -> A, E : Correct.
upvoted 3 times
...
Mo2011
6 months, 1 week ago
No, option E is about delete the Canceled Date fileld not the rows
upvoted 4 times
...
cnmc
1 year, 11 months ago
Splitting the column without deleting one of them isn't going to do anything for performance. And you're right that if step A is done then the cancelled_date column will only contain null values. But reducing the number of columns is going to improve the performance - even if that column is all null.
upvoted 15 times
...
otapi
8 months, 3 weeks ago
AE is correct: 'Each correct answer presents a complete solution.' E presents a complete solution on its own without A.
upvoted 9 times
AB_111
1 month, 1 week ago
Can you explain why option E is a complete solution?
upvoted 1 times
...
...
...
evipap
Highly Voted 2 years ago
Selected Answer: AE
It says: You need to reduce the LOAD times of the query without affecting the analysis. Only answers A and E can reduce the load times. D may reduce only the time needed to process the data. Someone said that E is not the answer because: "All the cancelled rows are already deleted with A and when a order is not cancelled it will contain a null value". You must read again the decription cause it says " Each answer presents a COMPLETE solutiuon" not part of a solution.
upvoted 59 times
Maniula
1 year, 4 months ago
You focus too much on load. Answer E doesn't resolve the date part of the question. Splitting columns is correct, not E.
upvoted 4 times
EwoutBI
1 year, 3 months ago
The 'date part of the question' is not a requirement, it's not like the time is negatively impacting the users.
upvoted 1 times
...
...
semauni
1 year, 7 months ago
"Separate date and time, if bound together. If any of your tables have columns that combine date and time, make sure that you separate them into distinct columns before importing them into Power BI. This approach will increase compression abilities." Source: https://learn.microsoft.com/en-us/training/modules/get-data/8-performance-issues
upvoted 5 times
TMOTM
2 months, 2 weeks ago
isn't that about model / file size though? not load time?
upvoted 1 times
...
...
taod
1 year, 2 months ago
I was on the Track of AD, but I think you are right. Splitting up [Sale_Date] alone doesn't help us with faster load times (the question is not about performance). Also, analyzing the two options separately ("Each correct answer presents a complete solution"), deleting [Canceled_Date] for sure is a right answer.
upvoted 5 times
...
reignreign03
1 year ago
I agree here as well. Choosing D (splitting up [Sales_Date]) may even increase the LOAD time of the query, even though it might decrease its PROCESSING time. E (removing [Canceled_Date]) on the other hand removes an entire column to be loaded, thereby decreasing the LOAD time.
upvoted 5 times
...
...
ea52d10
Most Recent 1 week ago
Selected Answer: AD
AD not E
upvoted 1 times
...
jaume
1 week, 5 days ago
Selected Answer: AE
I understand removing rows in Sales[Status] = "Cancelled" will also remove rows in Sales[Canceled_date] reporting any date (will remain only null values in this column) but to "Reduce the load times" we should decrease the size of the data model so I would also vote for the entire column Sales[Canceled_date]. Splitting the Sales[Sale_date] would increase performance of the query as the "date" part will be isolated without the "time" details, but this would increase also the size as it would add an additional column to our model (from "sale_date" single column to "sale_date"+"sale _time")
upvoted 1 times
...
GraceKHE
2 weeks ago
Selected Answer: AD
There is no cancel date in Sales column, just a text value (status)
upvoted 1 times
...
ASC88
1 month ago
Selected Answer: AD
Removing rows will increase query performance and Splitting the Sales_Date column make comparison faster.
upvoted 1 times
...
kenyJen
2 months, 3 weeks ago
Said AD fisrt. But I changed my mind. D improves the analysis but doesn't change the performance, while D does.
upvoted 1 times
kenyJen
2 months, 3 weeks ago
E I meant. So AE my answer
upvoted 1 times
...
...
rcaliandro
3 months, 2 weeks ago
Selected Answer: AD
I don't agree with the community in my opinion A and D are the correct ones.
upvoted 2 times
rcaliandro
3 months ago
I changed my mind. The Canceled Date is not useful in the analysis so AE is the correct for me
upvoted 2 times
...
...
niceguysfinishlast
4 months, 1 week ago
A and D. As E removing column doesn't decrease load time as query load time is dependent on the number of rows in the dataset. SInce rows will remain the same even after E, and the time taken to reach the bottom of the query is still the same. removing rows is actually where you save query load time. So A and D
upvoted 2 times
...
IvanBolvan
6 months ago
Selected Answer: AD
I think it's DE. We need optimize only loading time, so A will reduces amount of rows we are loading, but Power Query must go through all dataset to delete specified values, so it takes more time than delete entire column
upvoted 1 times
...
adriankohws
6 months, 1 week ago
D is not correct not considering whether it affects the performance but remember question said that they wished to analyse the data with the column Sales_Date but they didn't say they not including time for analysis.
upvoted 1 times
...
yaya32
6 months, 3 weeks ago
Selected Answer: AE
I think AE is correct
upvoted 6 times
Mo2011
6 months, 1 week ago
I agree.
upvoted 1 times
...
...
ELJORDAN23
7 months, 1 week ago
Selected Answer: AE
Answer A is obvious. I choose answer E because we want to analyze the rows with Status = Finished, that implies that every record in the analysis would have the Canceled_Date = null. That column would add nothing to the report, so we could safely drop it and that would improve a little the load time.
upvoted 3 times
...
fpb
7 months, 3 weeks ago
E will improve load time, nor D
upvoted 1 times
...
ab97776
8 months ago
i was mixing up load times and processing times. option D could potentially increase loading time, it would decrease processing time. processing time is for calculations, load time...is for loading
upvoted 3 times
...
AZFabio
8 months, 3 weeks ago
Selected Answer: AD
A, D and E are correct, but since we need to choose only 2, then A & D
upvoted 1 times
...
benni_ale
8 months, 3 weeks ago
Selected Answer: AE
D does not reduce load times. Probably it increases it. If we remove rows with Status = Cancelled then Canceled Date would always be null so we better remove the column and then option E becomes better than D.
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 ...