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, 7 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 124 times
1CY1
7 months, 3 weeks ago
Each answer represents a complete solution. -> D cannot be correct as it is not a complete solution. -> A, E : Correct.
upvoted 6 times
SylUK
3 months, 3 weeks ago
I agree with you , because :D. Split Sales[Sale_Date] into separate date and time columns. will increase the loading time instead which is against the requirement.
upvoted 1 times
...
Srilatha_B
4 months ago
D is sure shot right answer. It improves the cardinality of the data when split.
upvoted 1 times
...
...
Mo2011
11 months, 2 weeks ago
No, option E is about delete the Canceled Date fileld not the rows
upvoted 5 times
...
cnmc
2 years, 4 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 16 times
...
otapi
1 year, 1 month ago
AE is correct: 'Each correct answer presents a complete solution.' E presents a complete solution on its own without A.
upvoted 10 times
AB_111
6 months, 1 week ago
Can you explain why option E is a complete solution?
upvoted 2 times
...
...
...
evipap
Highly Voted 2 years, 5 months 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 66 times
Maniula
1 year, 9 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 6 times
EwoutBI
1 year, 8 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
2 years 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
7 months, 3 weeks ago
isn't that about model / file size though? not load time?
upvoted 1 times
...
...
taod
1 year, 7 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, 5 months 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
...
...
larahm
Most Recent 2 weeks, 4 days ago
Selected Answer: AE
A (eliminar las filas con "Cancelado" en el estado) y E (eliminar las fechas de cancelación) es adecuada, ya que elimina la información innecesaria
upvoted 1 times
...
olalekanadedoyin
1 month, 3 weeks ago
Selected Answer: AD
AD are the correct answers
upvoted 1 times
...
l0cr
1 month, 3 weeks ago
Selected Answer: AE
The filter applied in 'A' excludes all rows for 'Canceled', therefore a column for 'Canceled Date' would only contain NULL values and become useless
upvoted 1 times
...
aa_1984
2 months, 1 week ago
Selected Answer: AE
I selected E because in the question it says each correct answer presents a complete solution
upvoted 1 times
...
MANANDAVEY
3 months, 2 weeks ago
Selected Answer: AD
Redueses the load and nowhere it mentioned to remove the column.
upvoted 2 times
...
Lolzman300
3 months, 3 weeks ago
Selected Answer: AE
The correct answers are A and E. The reason why the correct answer is not D is because that would not reduce the load time as required in the question.
upvoted 1 times
...
mdnaseershah
4 months, 1 week ago
Selected Answer: AD
E can't be the answer as it removes the Canceled_Date column but not the rows
upvoted 1 times
...
Andrew_17
4 months, 3 weeks ago
Selected Answer: AE
They question is asking to reduce load times. Automatically you should be looking at cutting off unnecessary columns. Only Sales with Status of FINISHED is needed, so you remove all Canceled rows. So thats A as one COMPLETE solution. Common sense should tell you since we dont need any Sale that is canceled, CANCELED DATE column MUST ALSO GO! D will not help performance (load times), it will only help the analysis. We were asked to improve the performance
upvoted 1 times
...
Rio98
5 months ago
Selected Answer: AD
A. Remove the rows in which Sales[Status] has a value of Canceled: Removing rows that are not required for analysis (i.e., where Sales[Status] is 'Canceled') will reduce the overall size of the dataset, making queries faster. Since only rows with a Status of 'Finished' are relevant for analysis, removing rows with 'Canceled' will help in reducing the load time. D. Split Sales[Sales_Date] into separate date and time columns: If you're only using the date part of the Sales_Date field, splitting it into separate date and time columns can be beneficial. By storing the date and time separately, Power BI can focus on just the date portion, reducing unnecessary data processing for queries that only require the date part, which improves performance.
upvoted 1 times
...
ea52d10
5 months, 1 week ago
Selected Answer: AD
AD not E
upvoted 1 times
...
jaume
5 months, 2 weeks 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
5 months, 2 weeks ago
Selected Answer: AD
There is no cancel date in Sales column, just a text value (status)
upvoted 1 times
...
ASC88
6 months, 1 week ago
Selected Answer: AD
Removing rows will increase query performance and Splitting the Sales_Date column make comparison faster.
upvoted 1 times
...
kenyJen
7 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
7 months, 3 weeks ago
E I meant. So AE my answer
upvoted 1 times
...
...
rcaliandro
8 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
8 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
...
...
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