Question 51 · 126 in bank
While running an external function, the following error message is received: Error: Function received the wrong number of rows What is causing this to occur?
Show answer
Answer: D
SnowPro Advanced: Data Engineer126 questions across 13 pages are complete and free, with no account or card.
126 questions in this bank
Free access · progress saved on this device
While running an external function, the following error message is received: Error: Function received the wrong number of rows What is causing this to occur?
Answer: D
A Data Engineer enables a result cache at the session level with the following command: ALTER SESSION SET USE_CACHED_RESULT = TRUE; The Engineer then runs the following SELECT query twice without delay: SELECT * FROM SNOWFLAKE_SAMPLE_DATA.TPCH_SF1.CUSTOMER SAMPLE(10) SEED (99); The underlying table does not change between executions. What are the results of both runs?
Answer: B
A company built a sales reporting system with Python, connecting to Snowflake using the Python Connector. Based on the user's selections, the system generates the SQL queries needed to fetch the data for the report. First it gets the customers that meet the given query parameters (on average 1000 customer records for each report run), and then it loops the customer records sequentially. Inside that loop it runs the generated SQL clause for the current customer to get the detailed data for that customer number from the sales data table. When the Data Engineer tested the individual SQL clauses, they were fast enough (1 second to get the customers, 0.5 second to get the sales data for one customer), but the total runtime of the report is too long. How can this situation be improved?
Answer: D
A company is using Snowpipe to bring in millions of rows every day of Change Data Capture (CDC) into a Snowflake staging table on a real-time basis. The CDC needs to get processed and combined with other data in Snowflake and land in a final table as part of the full data pipeline. How can a Data Engineer MOST efficiently process the incoming CDC on an ongoing basis?
Answer: A
A Data Engineer is building a pipeline to transform a 1 TB table by joining it with supplemental tables. The Engineer is applying filters and several aggregations leveraging Common Table Expressions (CTEs) using a size Medium virtual warehouse in a single query in Snowflake. After checking the Query Profile, what is the recommended approach to MAXIMIZE performance of this query if the Profile shows data spillage?
Answer: B
Which system role is recommended for a custom role hierarchy to be ultimately assigned to?
Answer: C
Which callback function is required within a JavaScript User-Defined Function (UDF) for it to execute successfully?
Answer: B
Which Snowflake feature facilitates access to external API services such as geocoders, data transformation, machine learning models, and other custom code?
Answer: C
A Data Engineer needs to know the details regarding the micro-partition layout for a table named Invoice using a built-in function. Which query will provide this information?
Answer: A
A Data Engineer would like to define a file structure for loading and unloading data. Where can the file structure be defined? (Choose three.)
Answer: ACE
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
DEA-C02 practice, question 51. 126 questions available.
Version 1.0.0. How we source questions