Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 1 question 5 discussion

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

HOTSPOT -
You have two Azure SQL databases that contain the same tables and columns.
For each database, you create a query that retrieves data from a table named Customer.
You need to combine the Customer tables into a single table. The solution must minimize the size of the data model and support scheduled refresh in powerbi.com.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Append Queries as New -
When you have additional rows of data that you'd like to add to an existing query, you append the query.
There are two append options:
* Append queries as new displays the Append dialog box to create a new query by appending multiple tables.
* Append queries displays the Append dialog box to add additional tables to the current query.
Incorrect: When you have one or more columns that you'd like to add to another query, you merge the queries.
Box 2: Disable loading the query to the data model
By default, all queries from Query Editor will be loaded into the memory of Power BI Model. You can disable the load for some queries, especially queries that used as intermediate transformation to produce the final query for the model.
Disabling Load doesn't mean the query won't be refreshed, it only means the query won't be loaded into the memory. When you click on Refresh model in Power
BI, or when a scheduled refresh happens even queries marked as Disable Load will be refreshed, but their data will be used as intermediate source for other queries instead of loading directly into the model. This is a very basic performance tuning tip, but very important when your Power BI model grows bigger and bigger.
Reference:
https://docs.microsoft.com/en-us/power-query/append-queries
https://radacad.com/performance-tip-for-power-bi-enable-load-sucks-memory-up

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Namenick10
Highly Voted 2 years, 2 months ago
Correct - Append Queries as New - Disable loading the query to the data model
upvoted 61 times
JJMC5544
1 year, 4 months ago
When you append queries as new, you have 2 queries to disable, but answer says "Disable loading query" not "Disable loading queries", but when you append queries, you have 1 query to disable
upvoted 9 times
Kish1604
1 year, 1 month ago
The second option says "Action to perform on original 2 database queries"
upvoted 9 times
rick1997
1 year, 1 month ago
Amazing catch.
upvoted 4 times
...
...
LuanDao
1 year, 1 month ago
I strongly agree with you, the answer must be A for the first box.
upvoted 1 times
...
deyoz
10 months, 4 weeks ago
I understand, we cannot select all the queries at once to disable the load, that is why its "query" instead of "queries".
upvoted 1 times
...
...
...
lukelin08
Highly Voted 2 years, 1 month ago
Answer is correct. However just Append is also valid. Its just that due to the two part answer box's given and needing an answer, then it means the first box must be using Append (as new)
upvoted 20 times
nandoscuizato
2 months, 1 week ago
Also agree!
upvoted 1 times
...
PinkZebra
2 years, 1 month ago
Agreed.
upvoted 1 times
...
...
Panstar5
Most Recent 2 months ago
I have a different view point, what if the two table has the same row data from 2 different table database users, the combine option "append query" may lead to duplication of records ! The Question statement does not state anything about Field as Unique CUST_ID or other, User may need to use Trim function for (ID Field Name), the merge table option as New table may avoid duplicates and can generate clean table ! with minimum size
upvoted 2 times
...
rcaliandro
3 months, 1 week ago
Since the second is: - Disable loading the query to the data model then we need to append (same structure) as new - Append Queries as New
upvoted 3 times
...
Nicknamefordiscussions69
5 months, 1 week ago
Correct
upvoted 1 times
...
des2907
6 months, 2 weeks ago
I think the answer is right because if you use "Append Queries" you will have issues with the second option "Disable loading into the model", because this action must be performed in both table. That is why I think.
upvoted 2 times
...
sm222
7 months, 3 weeks ago
Whenever you read that the tables have same structure use append. Append as new or not depends on if you want to keep the original table or not. Generally you don't want to keep it in the data model. This will not increase the data model size so you should not load it in the data model.
upvoted 3 times
...
FloxTBoTy
8 months, 2 weeks ago
Interesting
upvoted 1 times
...
LOCOBI
8 months, 3 weeks ago
Append is also Correct. Its just that due to the two part answer box's given and needing an answer, then it means the first box must be using Append
upvoted 1 times
des2907
6 months, 2 weeks ago
But if you use "Append Queries" you will have issues with the second option "Disable loading into the model", because this action must be performed in both table. That is why I think.
upvoted 1 times
...
...
Florinuca
9 months, 1 week ago
Taking into account the fact that it is strictly about 2 tables to append that have exactly the same structure (number of columns, their names) why would you do "as new"? Why do "disable loading to the data model" for 2 tables, when you can only do it for one? We also notice "query" in the answers. And in the documentation, the example for "Append queries as new" is used when more than 3 tables are involved in the query and which do not have the same structure (number of columns, names). I think the correct answer is : - Append Queries - Disable loading the query to the data model
upvoted 4 times
des2907
6 months, 2 weeks ago
But if you use "Append Queries" you will have issues with the second option "Disable loading into the model", because this action must be performed in both table. That is why I think.
upvoted 1 times
...
...
DataGeorge
9 months, 4 weeks ago
what is the need to retain the original two queries after we have created a new query by appending them ? Wouldn't append as new create a standalone query ?
upvoted 1 times
...
TrustMyAnswers
1 year ago
Given answer is correct. You must Append as New and then disable load from the original tables.
upvoted 1 times
...
rohjay
1 year, 2 months ago
By default, all queries from Query Editor are loaded into the memory of the Power BI model. However, you have the option to disable loading for specific queries, particularly those used as intermediate transformations to generate the final query for the model. Disabling the load does not mean the query won't be refreshed; it simply prevents the query from being loaded into memory. Even if a query is marked as "Disable Load," it will still be refreshed when you manually click "Refresh model" in Power BI or during a scheduled refresh. However, the data from these queries will be utilized as intermediate sources for other queries, instead of being loaded directly into the model. This performance tuning tip is particularly valuable as your Power BI model grows larger.
upvoted 5 times
...
LeeTheRed
1 year, 2 months ago
There are different ways to come to the same conclusion BUT the answer is correct in this case based on the need to disable the TWO ORIGINAL QUERIES. The only way that you can ended up with three queries (two originals and one new, thus need to disable two original queries) was if the APPEND AS NEW was selected in the first step.
upvoted 3 times
...
Igetmyrole
1 year, 2 months ago
The correct Answers are: * Append Queries: because it is used to combine the Customer table into as single table. This will stack the data from both tables on top of each other, creating a unified Customer Table. * Disable loading the query to the query to the data model: since we want to minimize the size of the data model and avoid duplicating the data from the SQL databases, we should prevent these queries from being loaded into the Power BI data model.
upvoted 2 times
...
ttabdul2
1 year, 3 months ago
The answer is correct because when you use "Append query" the original queries will no longer be there. but it is only when you use "append query as new" that you will need to perform the next question that has to do with disabling the loading of queries
upvoted 2 times
...
JJMC5544
1 year, 4 months ago
Appending 2 Queries (Query-B to Query-A) , and Disable Loading Query-B is same size with Appending 2 Queries as New (Query-C) and Disable Loading Queries-A and Query-B. Because Answer says "Disable loading the query" , not "Queries", It is : Append Queries and Disable Loading the Query
upvoted 3 times
vivian_data
1 year, 4 months ago
I finally understood this, thanks sm for the explanation!
upvoted 1 times
...
vivian_data
1 year, 4 months ago
Actually I re-read it and it says "Action to perform on the original *TWO* SQL database queries" so it makes sense to append AS NEW.
upvoted 6 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 ...