SnowPro Advanced Data Engineer
Practice questions for the SnowPro Advanced Data Engineer certification exam.
4.8★★★★★(176 ratings)
20,710 studentsIntermediate- •Familiarity with basic IT concepts
- •Access to relevant platform tools for hands-on practice
- •Interest in pursuing SNOWPRO-ADVANCED-DATA-ENGINEER certification
- •Engineers and architects pursuing professional certification
- •Developers looking to validate their skills
- •IT professionals transitioning to specialized roles
- •Students preparing for certification exams
This course covers everything you need to pass the SnowPro Advanced Data Engineer (SNOWPRO-ADVANCED-DATA-ENGINEER) exam. Each part of this course contains real exam questions taken from the actual exam pool, with hint answers to guide your study. Practice with these questions to build confidence and master the topics needed for certification success.
What you'll learn
- Master the core concepts for SNOWPRO-ADVANCED-DATA-ENGINEER certification
- Practice with real exam-style questions
- Understand platform services and architectures covered in SNOWPRO-ADVANCED-DATA-ENGINEER
- Build confidence through timed practice exams
- Learn from detailed hint answers and explanations
- Pass the official SNOWPRO-ADVANCED-DATA-ENGINEER certification exam on your first try
SNOWPRO-ADVANCED-DATA-ENGINEER
Lectures2
Questions63
Duration30 week
Students20,710
$20.00
Full Free Question Bank (63 Questions)
SnowPro Advanced Data Engineer (SNOWPRO-ADVANCED-DATA-ENGINEER) Practice Questions & Verified Answers
Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.
Jump to Section:
Question #1Part 1
AAdd additional virtual warehouses.
BIncrease the size of the virtual warehouse.
CRewrite the query using Common Table Expressions (CTEs).
DChange the order of the joins and start with smaller tables first.
✓ Verified Answer: B
Question #2Part 1
How can the following relational data be transformed into semi-structured data using the LEAST amount of operational overhead?
AUse the TO_JSON function.
BUse the PARSE_JSON function to produce a VARIANT value.
CUse the OBJECT_CONSTRUCT function to return a Snowflake object.
DUse the TO_VARIANT function to convert each of the relational columns to VARIANT.
✓ Verified Answer: C
Question #3Part 1Select 3
A Data Engineer executes a complex query and wants to make use of Snowflake’s query results caching capabilities to reuse the results. Which conditions must be met? (Choose three.)
AThe results must be reused within 72 hours.
BThe query must be executed using the same virtual warehouse.
CThe USED_CACHED_RESULT parameter must be included in the query.
DThe table structure contributing to the query result cannot have changed.
EThe new query must have the same syntax as the previously executed query.
✓ Verified Answer: DEF
Question #4Part 1Select 3
A Data Engineer needs to load JSON output from some software into Snowflake using Snowpipe. Which recommendations apply to this scenario? (Choose three.)
ALoad large files (1 GB or larger).
BEnsure that data files are 100-250 MB (or larger) in size, compressed.
CLoad a single huge array containing multiple records into a single table row.
DVerify each value of each unique element stores a single native data type (string or number).
EExtract semi-structured data elements containing null values into relational columns before loading.
✓ Verified Answer: BDE
Question #5Part 1
Given the table SALES which has a clustering key of column CLOSED_DATE, which table function will return the average clustering depth for the SALES_REPRESENTATIVE column for the North American region?
Aselect system$clustering_information('Sales', 'sales_representative', 'region = ''North America''');
Bselect system$clustering_depth('Sales', 'sales_representative', 'region = ''North America''');
Cselect system$clustering_depth('Sales', 'sales_representative') where region = 'North America';
Dselect system$clustering_information('Sales', 'sales_representative') where region = 'North America’;
✓ Verified Answer: B
Question #6Part 1
A large table with 200 columns contains two years of historical data. When queried, the table is filtered on a single day. Below is the Query Profile: Using a size 2XL virtual warehouse, this query took over an hour to complete. What will improve the query performance the MOST?
AIncrease the size of the virtual warehouse.
BIncrease the number of clusters in the virtual warehouse.
CImplement the search optimization service on the table.
DAdd a date column as a cluster key on the table.
✓ Verified Answer: D
Question #7Part 1Select 3
A Data Engineer is working on a Snowflake deployment in AWS eu-west-1 (Ireland). The Engineer is planning to load data from staged files into target tables using the COPY INTO command. Which sources are valid? (Choose three.)
AInternal stage on GCP us-central1 (Iowa)
BInternal stage on AWS eu-central-1 (Frankfurt)
CExternal stage on GCP us-central1 (Iowa)
DExternal stage in an Amazon S3 bucket on AWS eu-west-1 (Ireland)
EExternal stage in an Amazon S3 bucket on AWS eu-central-1 (Frankfurt)
✓ Verified Answer: CDE
Question #8Part 1
A Data Engineer wants to create a new development database (DEV) as a clone of the permanent production database (PROD). There is a requirement to disable Fail-safe for all tables. Which command will meet these requirements?
ACREATE DATABASE DEV -
BCREATE DATABASE DEV -
CCREATE TRANSIENT DATABASE DEV -
DCREATE DATABASE DEV -
✓ Verified Answer: C
Question #9Part 1
Which query will show a list of the 20 most recent executions of a specified task, MYTASK, that have been scheduled within the last hour that have ended or are still running?
AB.
CD.
✓ Verified Answer: B
Question #10Part 1Select 3
Which methods can be used to create a DataFrame object in Snowpark? (Choose three.)
Asession.jdbc_connection()
Bsession.read.json()
Csession.table()
DDataFrame.write()
Esession.builder()
✓ Verified Answer: BCF
Question #11Part 1Select 3
A new CUSTOMER table is created by a data pipeline in a Snowflake schema where MANAGED ACCESS is enabled. Which roles can grant access to the CUSTOMER table? (Choose three.)
AThe role that owns the schema
BThe role that owns the database
CThe role that owns the CUSTOMER table
DThe SYSADMIN role
EThe SECURITYADMIN role
✓ Verified Answer: AEF
Question #12Part 1
What is the purpose of the BUILD_STAGE_FILE_URL function in Snowflake?
AIt generates an encrypted URL for accessing a file in a stage.
BIt generates a staged URL for accessing a file in a stage.
CIt generates a permanent URL for accessing files in a stage.
DIt generates a temporary URL for accessing a file in a stage.
✓ Verified Answer: C
Question #13Part 1
The JSON below is stored in a VARIANT column named V in a table named jCustRaw: Which query will return one row per team member (stored in the teamMembers array) along with all of the attributes of each team member?
AB.
CD.
✓ Verified Answer: B
Question #14Part 1Select 2
A company has an extensive script in Scala that transforms data by leveraging DataFrames. A Data Engineer needs to move these transformations to Snowpark. What characteristics of data transformations in Snowpark should be considered to meet this requirement? (Choose two.)
AIt is possible to join multiple tables using DataFrames.
BSnowpark operations are executed lazily on the server.
CUser-Defined Functions (UDFs) are not pushed down to Snowflake.
DSnowpark requires a separate cluster outside of Snowflake for computations.
EColumns in different DataFrames with the same name should be referred to with squared brackets.
✓ Verified Answer: AB
Question #15Part 1
The following is returned from SYSTEM$CLUSTERING_INFORMATION() for a table named ORDERS with a DATE column named O_ORDERDATE: What does the total_constant_partition_count value indicate about this table?
AThe table is clustered very well on O_ORDERDATE, as there are 493 micro-partitions that could not be significantly improved by reclustering.
BThe table is not clustered well on O_ORDERDATE, as there are 493 micro-partitions where the range of values in that column overlap with every other micro-partition in the table.
CThe data in O_ORDERDATE does not change very often, as there are 493 micro-partitions containing rows where that column has not been modified since the row was created.
DThe data in O_ORDERDATE has a very low cardinality, as there are 493 micro-partitions where there is only a single distinct value in that column for all rows in the micro-partition.
✓ Verified Answer: A
Question #16Part 1
A company is building a dashboard for thousands of Analysts. The dashboard presents the results of a few summary queries on tables that are regularly updated. The query conditions vary by topic according to what data each Analyst needs. Responsiveness of the dashboard queries is a top priority, and the data cache should be preserved. How should the Data Engineer configure the compute resources to support this dashboard?
AAssign queries to a multi-cluster virtual warehouse with economy auto-scaling. Allow the system to automatically start and stop clusters according to demand.
BAssign all queries to a multi-cluster virtual warehouse set to maximized mode. Monitor to determine the smallest suitable number of clusters.
CCreate a virtual warehouse for every 250 Analysts. Monitor to determine how many of these virtual warehouses are being utilized at capacity.
DCreate a size XL virtual warehouse to support all the dashboard queries. Monitor query runtimes to determine whether the virtual warehouse should be resized.
✓ Verified Answer: B
Question #17Part 1
A Data Engineer has developed a dashboard that will issue the same SQL select clause to Snowflake every 12 hours. How long will Snowflake use the persisted query results from the result cache, provided that the underlying data has not changed?
A12 hours
B24 hours
C14 days
D31 days
✓ Verified Answer: D
Question #18Part 1
A Data Engineer ran a stored procedure containing various transactions. During the execution, the session abruptly disconnected, preventing one transaction from committing or rolling back. The transaction was left in a detached state and created a lock on resources. What step must the Engineer take to immediately run a new transaction?
ACall the system function SYSTEM$ABORT_TRANSACTION.
BCall the system function SYSTEM$CANCEL_TRANSACTION.
CSet the LOCK_TIMEOUT to FALSE in the stored procedure.
DSet the TRANSACTION_ABORT_ON_ERROR to TRUE in the stored procedure.
✓ Verified Answer: A
Question #19Part 1
A database contains a table and a stored procedure defined as: The log_table is initially empty and a Data Engineer issues the following command: CALL insert_log(NULL::VARCHAR); No other operations are affecting the log_table. What will be the outcome of the procedure call?
AThe log_table contains zero records and the stored procedure returned 1 as a return value.
BThe log_table contains one record and the stored procedure returned 1 as a return value.
CThe log_table contains one record and the stored procedure returned NULL as a return value.
DThe log_table contains zero records and the stored procedure returned NULL as a return value.
✓ Verified Answer: D
Question #20Part 1
When would a Data Engineer use TABLE with the FLATTEN function instead of the LATERAL FLATTEN combination?
AWhen TABLE with FLATTEN requires another source in the FROM clause to refer to.
BWhen TABLE with FLATTEN requires no additional source in the FROM clause to refer to.
CWhen the LATERAL FLATTEN combination requires no other source in the FROM clause to refer to.
DWhen TABLE with FLATTEN is acting like a sub-query executed for each returned row.
✓ Verified Answer: B
Question #21Part 1
Which output is provided by both the SYSTEM$CLUSTERING_DEPTH function and the SYSTEM$CLUSTERING_INFORMATION function?
Aaverage_depth
Bnotes
Caverage_overlaps
Dtotal_partition_count
✓ Verified Answer: A
Question #22Part 1
A Data Engineer needs to ingest invoice data in PDF format into Snowflake so that the data can be queried and used in a forecasting solution. What is the recommended way to ingest this data?
AUse Snowpipe to ingest the files that land in an external stage into a Snowflake table.
BUse a COPY INTO command to ingest the PDF files in an external stage into a Snowflake table with a VARIANT column.
CCreate an external table on the PDF files that are stored in a stage and parse the data into structured data.
DCreate a Java User-Defined Function (UDF) that leverages Java-based PDF parser libraries to parse PDF data into structured data.
✓ Verified Answer: D
Question #23Part 1
A table is loaded using Snowpipe and truncated afterwards. Later, a Data Engineer finds that the table needs to be reloaded, but the metadata of the pipe will not allow the same files to be loaded again. How can this issue be solved using the LEAST amount of operational overhead?
AWait until the metadata expires and then reload the file using Snowpipe.
BModify the file by adding a blank row to the bottom and re-stage the file.
CSet the FORCE=TRUE option in the Snowpipe COPY INTO command.
DRecreate the pipe by using the CREATE OR REPLACE PIPE command.
✓ Verified Answer: D
Question #24Part 1
A stream called TRANSACTIONS_STM is created on top of a TRANSACTIONS table in a continuous pipeline running in Snowflake. After a couple of months, the TRANSACTIONS table is renamed TRANSACTIONS_RAW to comply with new naming standards. What will happen to the TRANSACTIONS_STM object?
ATRANSACTIONS_STM will keep working as expected.
BTRANSACTIONS_STM will be stale and will need to be re-created.
CTRANSACTIONS_STM will be automatically renamed TRANSACTIONS_RAW_STM.
DReading from the TRANSACTIONS_STM stream will succeed for some time after the expected STALE_TIME.
✓ Verified Answer: A
Question #25Part 1Select 2
A Data Engineer is evaluating the performance of a query in a development environment. Based on the Query Profile, what are some performance tuning options the Engineer can use? (Choose two.)
AAdd a LIMIT to the ORDER BY if possible
BUse a multi-cluster virtual warehouse with the scaling policy set to standard
CMove the query to a larger virtual warehouse
DCreate indexes to ensure sorted access to data
EIncrease the MAX_CLUSTER_COUNT
✓ Verified Answer: AC
Question #26Part 1Select 2
Which methods will trigger an action that will evaluate a DataFrame? (Choose two.)
ADataFrame.random_split()
BDataFrame.collect()
CDataFrame.select()
DDataFrame.col()
EDataFrame.show()
✓ Verified Answer: BE
Question #27Part 1Select 3
Which Snowflake objects does the Snowflake Kafka connector use? (Choose three.)
APipe
BServerless task
CInternal user stage
DInternal table stage
EInternal named stage
✓ Verified Answer: ADE
Question #28Part 1
A Data Engineer has created table t1 with one column c1 with datatype VARIANT: create or replace table t1 (c1 variant); The Engineer has loaded the following JSON data set, which has information about 4 laptop models, into the table. The Engineer now wants to query that data set so that results are shown as normal structured data. The result should be 4 rows and 4 columns, without the double quotes surrounding the data elements in the JSON data. The result should be similar to the use case where the data was selected from a normal relational table t2, where t2 has string data type columns model_id, model, manufacturer, and model_name, and is queried with the SQL clause select * from t2; Which select command will produce the correct results?
AB.
CD.
✓ Verified Answer: B
Question #29Part 1
What is a characteristic of the use of external tokenization?
ASecure data sharing can be used with external tokenization.
BExternal tokenization cannot be used with database replication.
CPre-loading of unmasked data is supported with external tokenization.
DExternal tokenization allows the preservation of analytical values after de-identification.
✓ Verified Answer: D
Question #30Part 1Select 3
A Data Engineer is implementing a near real-time ingestion pipeline to load data into Snowflake using the Snowflake Kafka connector. There will be three Kafka topics created. Which Snowflake objects are created automatically when the Kafka connector starts? (Choose three.)
ATables
BTasks
CPipes
DInternal stages
EExternal stages
✓ Verified Answer: ACD
Question #31Part 1
The following chart represents the performance of a virtual warehouse over time: A Data Engineer notices that the warehouse is queueing queries. The warehouse is size X-Small, the minimum and maximum cluster counts are set to 1, the scaling policy is set to standard, and auto-suspend is set to 10 minutes. How can the performance be improved?
AChange the cluster settings.
BIncrease the size of the warehouse.
CChange the scaling policy to economy.
DChange auto-suspend to a longer time frame.
✓ Verified Answer: A
Question #32Part 1
A secure function returns data coming through an inbound share. What will happen if a Data Engineer tries to assign USAGE privileges on this function to an outbound share?
AAn error will be returned because the Engineer cannot share data that has already been shared.
BAn error will be returned because only views and secure stored procedures can be shared.
CAn error will be returned because only secure functions can be shared with inbound shares.
DThe Engineer will be able to share the secure function with other accounts.
✓ Verified Answer: A
Question #33Part 1Select 2
Which functions will compute a 'fingerprint' over an entire table, query result, or window to quickly detect changes to table contents or query results? (Choose two.)
AHASH(*)
BHASH_AGG(*)
CHASH_AGG(, )
DHASH_AGG_COMPARE(*)
EHASH_COMPARE(*)
✓ Verified Answer: BC
Question #34Part 1
Which stages support external tables?
AInternal stages only; within a single Snowflake account
BInternal stages only; from any Snowflake account in the organization
CExternal stages only; from any region, and any cloud provider
DExternal stages only; only on the same region and cloud provider as the Snowflake account
✓ Verified Answer: C
Question #35Part 1
A Data Engineer wants to check the status of a pipe named my_pipe. The pipe is inside a database named test and a schema named Extract (case-sensitive). Which query will provide the status of the pipe?
ASELECT SYSTEM$PIPE_STATUS("test.'extract'.my_pipe");
BSELECT SYSTEM$PIPE_STATUS('test."Extract".my_pipe');
CSELECT * FROM SYSTEM$PIPE_STATUS('test."Extract".my_pipe');
DSELECT * FROM SYSTEM$PIPE_STATUS("test.'extract'.my_pipe");
✓ Verified Answer: B
Question #36Part 1Select 2
Company A and Company B both have Snowflake accounts. Company A's account is hosted on a different cloud provider and region than Company B's account. Companies A and B are not in the same Snowflake organization. How can Company A share data with Company B? (Choose two.)
ACreate a share within Company A's account and add Company B's account as a recipient of that share.
BCreate a share within Company A's account, and create a reader account that is a recipient of the share. Grant Company B access to the reader account.
CUse database replication to replicate Company A's data into Company B's account. Create a share within Company B's account and grant users within Company B's account access to the share.
DCreate a new account within Company A's organization in the same cloud provider and region as Company B's account. Use database replication to replicate Company A's data to the new account. Create a share within the new account, and add Company B's account as a recipient of that share.
ECreate a separate database within Company A's account to contain only those data sets they wish to share with Company B. Create a share within Company A's account and add all the objects within this separate database to the share. Add Company B's account as a recipient of the share.
✓ Verified Answer: BD
Question #37Part 1
A Data Engineer is trying to load the following rows from a CSV file into a table in Snowflake with the following structure: The engineer is using the following COPY INTO statement: However, the following error is received: Number of columns in file (6) does not match that of the corresponding table (3), use file format option error_on_column_count_mismatch=false to ignore this error File 'address.csv.gz', line 3, character 1 Row 1 starts at line 2, column "STGCUSTOMER"[6] If you would like to continue loading when an error is encountered, use other values such as 'SKIP_FILE' or 'CONTINUE' for the ON_ERROR option. Which file format option should be used to resolve the error and successfully load all the data into the table?
AESCAPE_UNENCLOSED FIELD = '\\'
BERROR_ON_COLUMN_COUNT_MISMATCH = FALSE
CFIELD_DELIMITER = ','
DFIELD_OPTIONALLY_ENCLOSED_BY = '"'
✓ Verified Answer: D
Question #38Part 1
A Data Engineer is working on a continuous data pipeline which receives data from Amazon Kinesis Firehose and loads the data into a staging table which will later be used in the data transformation process. The average file size is 300-500 MB. The Engineer needs to ensure that Snowpipe is performant while minimizing costs. How can this be achieved?
AIncrease the size of the virtual warehouse used by Snowpipe.
BSplit the files before loading them and set the SIZE_LIMIT option to 250 MB.
CChange the file compression size and increase the frequency of the Snowpipe loads.
DDecrease the buffer size to trigger delivery of files sized between 100 to 250 MB in Kinesis Firehose.
✓ Verified Answer: D
Question #39Part 1
Within a Snowflake account. permissions have been defined with custom roles and role hierarchies. To set up column-level masking using a role in the hierarchy of the current user, what command would be used?
ACURRENT_ROLE
BINVOKER_ROLE
CIS_ROLE_IN_SESSION
DIS_GRANTED_TO_INVOKER_ROLE
✓ Verified Answer: C
Question #40Part 1Select 2
Assuming a Data Engineer has all appropriate privileges and context, which statements would be used to assess whether the User-Defined Function (UDF), MYDATABASE.SALES.REVENUE_BY_REGION, exists and is secure? (Choose two.)
ASHOW USER FUNCTIONS LIKE 'REVENUE_BY_REGION' IN SCHEMA SALES;
BSELECT IS_SECURE FROM SNOWFLAKE.INFORMATION_SCHEMA.FUNCTIONS WHERE FUNCTION_SCHEMA = 'SALES' AND FUNCTION_NAME = 'REVENUE_BY_REGION';
CSELECT IS_SECURE FROM INFORMATION_SCHEMA.FUNCTIONS WHERE FUNCTION_SCHEMA = 'SALES' AND FUNCTION_NAME = 'REVENUE_BY_REGION';
DSHOW EXTERNAL FUNCTIONS LIKE 'REVENUE_BY_REGION' IN SCHEMA SALES;
ESHOW SECURE FUNCTIONS LIKE 'REVENUE_BY_REGION' IN SCHEMA SALES;
✓ Verified Answer: AC
Question #41Part 1
A Data Engineer has written a stored procedure that will run with caller's rights. The Engineer has granted ROLEA the right to use this stored procedure. What is a characteristic of the stored procedure being called using ROLEA?
AThe stored procedure must run with caller's rights; it cannot be converted later to run with owner's rights.
BIf the stored procedure accesses an object that ROLEA does not have access to, the stored procedure will fail.
CThe stored procedure will run in the context (database and schema) where the owner created the stored procedure.
DROLEA will not be able to see the source code for the stored procedure, even though the role has usage privileges on the stored procedure.
✓ Verified Answer: B
Question #42Part 1
What is a characteristic of the use of binding variables in JavaScript stored procedures in Snowflake?
AAll types of JavaScript variables can be bound.
BAll Snowflake first-class objects can be bound.
COnly JavaScript variables of type number, string, and SfDate can be bound.
DUsers are restricted from binding JavaScript variables because they create SQL injection attack vulnerabilities.
✓ Verified Answer: C
Question #43Part 1
Which use case would be BEST suited for the search optimization service?
AAnalysts who need to perform aggregates over high-cardinality columns.
BBusiness users who need fast response times using highly selective filters.
CData Scientists who seek specific JOIN statements with large volumes of data.
DData Engineers who create clustered tables with frequent reads against clustering keys.
✓ Verified Answer: B
Question #44Part 1
What is a characteristic of the operations of streams in Snowflake?
AWhenever a stream is queried, the offset is automatically advanced.
BWhen a stream is used to update a target table, the offset is advanced to the current time.
CQuerying a stream returns all change records and table rows from the current offset to the current time.
DEach committed and uncommitted transaction on the source table automatically puts a change record in the stream.
✓ Verified Answer: B
Question #45Part 1
At what isolation level are Snowflake streams?
ASnapshot
BRepeatable read
CRead committed
DRead uncommitted
✓ Verified Answer: B
Question #46Part 1
What kind of Snowflake integration is required when defining an external function in Snowflake?
AAPI integration
BHTTP integration
CNotification integration
DSecurity integration
✓ Verified Answer: A
Question #47Part 1Select 2
A Data Engineer is writing a Python script using the Snowflake Connector for Python. The Engineer will use the snowflake.connector.connect function to connect to Snowflake. The requirements are: Raise an exception if the specified database, schema, or warehouse does not exist Improve download performance - Which parameters of the connect function should be used? (Choose two.)
Aauthenticator
Barrow_number_to_decimal
Cclient_prefetch_threads
Dclient_session_keep_alive
Evalidate_default_parameters
✓ Verified Answer: CE
Question #48Part 1
A Data Engineer wants to centralize grant management to maximize security. A user needs OWNERSHIP on a table in a new schema. However, this user should not have the ability to make grant decisions. What is the correct way to do this?
AGrant OWNERSHIP to the user on the table.
BRevoke grant decisions from the user on the table.
CRevoke grant decisions from the user on the schema.
DAdd the WITH MANAGED ACCESS parameter on the schema.
✓ Verified Answer: D
Question #49Part 1
A CSV file, around 1 TB in size, is generated daily on an on-premise server. A corresponding table, internal stage, and file format have already been created in Snowflake to facilitate the data loading process. How can the process of bringing the CSV file into Snowflake be automated using the LEAST amount of operational overhead?
ACreate a task in Snowflake that executes once a day and runs a COPY INTO statement that references the internal stage. The internal stage will read the files directly from the on-premise server and copy the newest file into the table from the on-premise server to the Snowflake table.
BOn the on-premise server, schedule a SQL file to run using SnowSQL that executes a PUT to push a specific file to the internal stage. Create a task that executes once a day in Snowflake and runs a COPY INTO statement that references the internal stage. Schedule the task to start after the file lands in the internal stage.
COn the on-premise server, schedule a SQL file to run using SnowSQL that executes a PUT to push a specific file to the internal stage. Create a pipe that runs a COPY INTO statement that references the internal stage. Snowpipe auto-ingest will automatically load the file from the internal stage when the new file lands in the internal stage.
DOn the on-premise server, schedule a Python file that uses the Snowpark Python library. The Python script will read the CSV data into a DataFrame and generate an INSERT INTO statement that will directly load into the table. The script will bypass the need to move a file into an internal stage.
✓ Verified Answer: B
Question #50Part 1Select 3
What are characteristics of Snowpark Python packages? (Choose three.)
AThird-party packages can be registered as a dependency to the Snowpark session using the session.import() method.
BPython packages can access any external endpoints.
CPython packages can only be loaded in a local environment.
DThird-party supported Python packages are locked down to prevent hitting.
EThe SQL command DESCRIBE FUNCTION will list the imported Python packages of the Python User-Defined Function (UDF).
✓ Verified Answer: DEF
Question #51Part 1
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?
AExternal functions do not support multiple rows.
BNested arrays are not supported in the JSON response.
CThe JSON returned by the remote service is not constructed correctly.
DThe return message did not produce the same number of rows that it received.
✓ Verified Answer: D
Question #52Part 1
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?
AThe first and second run returned the same results, because SAMPLE is deterministic.
BThe first and second run returned the same results, because the specific SEED value was provided.
CThe first and second run returned different results, because the query is evaluated each time it is run.
DThe first and second run returned different results, because the query uses * instead of an explicit column list.
✓ Verified Answer: B
Question #53Part 1
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?
AIncrease the size of the virtual warehouse.
BIncrease the number of maximum clusters of the virtual warehouse.
CDefine a clustering key for the sales data table.
DRewrite the report to eliminate the use of the loop construct.
✓ Verified Answer: D
Question #54Part 1
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?
ACreate a stream on the staging table and schedule a task that transforms data from the stream, only when the stream has data.
BTransform the data during the data load with Snowpipe by modifying the related COPY INTO statement to include transformation steps such as CASE statements and JOINS.
CSchedule a task that dynamically retrieves the last time the task was run from information_schema.task_history and use that timestamp to process the delta of the new rows since the last time the task was run.
DUse a CREATE OR REPLACE TABLE AS statement that references the staging table and includes all the transformation SQL. Use a task to run the full CREATE OR REPLACE TABLE AS statement on a scheduled basis.
✓ Verified Answer: A
Question #55Part 1
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?
AEnable clustering on the table.
BIncrease the warehouse size.
CRewrite the query to remove the CTEs.
DSwitch to a multi-cluster virtual warehouse.
✓ Verified Answer: B
Question #56Part 1
Which system role is recommended for a custom role hierarchy to be ultimately assigned to?
AACCOUNTADMIN
BSECURITYADMIN
CSYSADMIN
DUSERADMIN
✓ Verified Answer: C
Question #57Part 1
Which callback function is required within a JavaScript User-Defined Function (UDF) for it to execute successfully?
Ainitialize()
BprocessRow()
Chandler()
Dfinalize()
✓ Verified Answer: B
Question #58Part 1
Which Snowflake feature facilitates access to external API services such as geocoders, data transformation, machine learning models, and other custom code?
ASecurity integration
BExternal tables
CExternal functions
DJava User-Defined Functions (UDFs)
✓ Verified Answer: C
Question #59Part 1
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?
ASELECT SYSTEM$CLUSTERING_INFORMATION('Invoice');
BSELECT $CLUSTERING_INFORMATION('Invoice');
CCALL SYSTEM$CLUSTERING_INFORMATION('Invoice');
DCALL $CLUSTERING_INFORMATION('Invoice');
✓ Verified Answer: A
Question #60Part 1Select 3
A Data Engineer would like to define a file structure for loading and unloading data. Where can the file structure be defined? (Choose three.)
ACOPY command
BMERGE command
CFILE FORMAT object
DPIPE object
ESTAGE object
✓ Verified Answer: ACD
Question #61Part 2
Assuming that the session parameter USE_CACHED_RESULT is set to false, what are characteristics of Snowflake virtual warehouses in terms of the use of Snowpark?
ACreating a DataFrame from a table will start a virtual warehouse.
BCreating a DataFrame from a staged file with the read() method will start a virtual warehouse.
CTransforming a DataFrame with methods like replace() will start a virtual warehouse.
DCalling a Snowpark stored procedure to query the database with session.call() will start a virtual warehouse.
✓ Verified Answer: D
Question #62Part 2
Database XYZ has the data_retention_time_in_days parameter set to 7 days and table XYZ.public.ABC has the data_retention_time_in_days set to 10 days. A Developer accidentally dropped the database containing this single table 8 days ago and just discovered the mistake. How can the table be recovered?
Aundrop database xyz;
Bcreate table abc_restore as select * from xyz.public.abc at (offset => -60*60*24*8);
Ccreate table abc_restore clone xyz.public.abc at (offset => -3600*24*8);
DCreate a Snowflake Support case to restore the database and table from Fail-safe.
✓ Verified Answer: D
Question #63Part 2
A Data Engineer is building a set of reporting tables to analyze consumer requests by region for each of the Data Exchange offerings annually, as well as click-through rates for each listing. Which views are needed MINIMALLY as data sources?
ASNOWFLAKE.DATA_SHARING_USAGE.LISTING_EVENTS_DAILY
BSNOWFLAKE.DATA_SHARING_USAGE.LISTING_CONSUMPTION_DAILY
CSNOWFLAKE.DATA_SHARING_USAGE.LISTING_TELEMETRY_DAILY
DSNOWFLAKE.ACCOUNT_USAGE.DATA_TRANSFER_HISTORY
✓ Verified Answer: B
More SNOWFLAKE Certification Practice Exams
Explore related SNOWFLAKE exam dumps and free practice question banks.
SNOWPRO-ADVANCED-ADMINISTRATOR8 Questions
SnowPro Advanced Administrator ADA-C01
SNOWPRO-ADVANCED-ADMINISTRATOR-ADA-C0265 Questions
SnowPro Advanced Administrator ADA-C02
SNOWPRO-ADVANCED-ARCHITECT61 Questions
SnowPro Advanced Architect
SNOWPRO-ADVANCED-DATA-SCIENTIST1 Questions
SnowPro Advanced Data Scientist DSA-C03
SNOWPRO-ASSOCIATE-PLATFORM-SOL-C0165 Questions
SnowPro Associate Platform SOL-C01
SNOWPRO-CORE65 Questions
SnowPro Core
SNOWPRO-CORE-RECERTIFICATION65 Questions
SnowPro Core Recertification (COF-R02)
SNOWPRO-SPECIALTY-GEN-AI-GES-C0165 Questions
SnowPro Specialty Gen AI GES-C01
📢 Unlock Full Access to Success!
"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."
👉 Click the button and follow the instructions to secure your full access immediately!