Valid DEA-C02 Dumps shared by EduDump.com for Helping Passing DEA-C02 Exam! EduDump.com now offer the newest DEA-C02 exam dumps, the EduDump.com DEA-C02 exam questions have been updated and answers have been corrected get the newest EduDump.com DEA-C02 dumps with Test Engine here:
You have a base table 'ORDERS' with columns 'ORDER ID, 'CUSTOMER D', 'ORDER DATE, and 'ORDER AMOUNT'. You need to create a view that aggregates the total order amount per customer per month. However, for data governance purposes, you need to ensure that the view only shows data for the last 3 months. What is the MOST efficient and secure way to create this view in Snowflake?
Correct Answer: C
Option C is the most efficient and secure because it creates a SECURE VIEW (hiding the underlying table definition), filters the data to include only the last 3 months in the 'WHERE' clause, and performs the necessary aggregation. Using a SECURE VIEW is crucial for data governance when sharing or exposing data. Options A and D do not create secure views. Option B is unnecessarily complex using a CTE. Option E will throw an error because is not allowed in this context.