ExamGecko
Question list
Search
Search

List of questions

Search

Question 29 - DEA-C01 discussion

Report
Export

Alex, a Data Engineer with one of the Data analytics Organization, created the Materialized view over External tables to improve Data Reporting Experience.

Step 1: He created materialized view named DataReportMV

A.
create or replace materialized view DataReportMV as
Answers
A.
create or replace materialized view DataReportMV as
B.
select Item_id, Item_price from Items; Step 2: He joined a materialized view with a sales table as
Answers
B.
select Item_id, Item_price from Items; Step 2: He joined a materialized view with a sales table as
C.
create or replace view Revenue as
Answers
C.
create or replace view Revenue as
D.
select m.item_id, sum(ifnull(s.quantity, 0)) as quantity,
Answers
D.
select m.item_id, sum(ifnull(s.quantity, 0)) as quantity,
E.
sum(ifnull(quantity * (s.price - m.item_price), 0)) as profit
Answers
E.
sum(ifnull(quantity * (s.price - m.item_price), 0)) as profit
F.
from DataReportMV as m left outer join sales as s on s.item_id = m.item_id
Answers
F.
from DataReportMV as m left outer join sales as s on s.item_id = m.item_id
G.
group by m.item_id;Step 3: After 1 hour, he decided to temporarily suspend the use (and maintenance) of the DataReportMV materialized view for cost saving purpose.alter materialized view DataReportMV suspend; Please select what Alex is doing wrong here?
Answers
G.
group by m.item_id;Step 3: After 1 hour, he decided to temporarily suspend the use (and maintenance) of the DataReportMV materialized view for cost saving purpose.alter materialized view DataReportMV suspend; Please select what Alex is doing wrong here?
H.
A materialized view, DataReportMV does not support Join operations, so Step 2 would be failed & he cannot proceed further.
Answers
H.
A materialized view, DataReportMV does not support Join operations, so Step 2 would be failed & he cannot proceed further.
I.
Materialized view on top of External tables is not supported feature.
Answers
I.
Materialized view on top of External tables is not supported feature.
J.
Once DataReportMV got suspended , any query on the top of the view will generate er-ror like:Failure during expansion of view 'DATAREPORTMV': SQL compilation error: Material-ized view DataReportMV is invalid.
Answers
J.
Once DataReportMV got suspended , any query on the top of the view will generate er-ror like:Failure during expansion of view 'DATAREPORTMV': SQL compilation error: Material-ized view DataReportMV is invalid.
K.
There is no command like suspend for temporarily suspension of Materialized views, Step 3 will give error like invalid Suspend command.
Answers
K.
There is no command like suspend for temporarily suspension of Materialized views, Step 3 will give error like invalid Suspend command.
L.
Alex is doing everything correct.
Answers
L.
Alex is doing everything correct.
Suggested answer: E

Explanation:

All Steps will be executed successfully by Alex without any error.

asked 23/09/2024
sd sdg
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first