Docsity

Snowflake SnowPro Advanced Data Engineer Recertification Practice Exam, Exams of Technology

Toggle sidebar
bg1
Snowflake SnowPro Advanced Data Engineer
Recertification Practice Exam
**Question 1.** Which Snowflake object is best suited for ingesting large batches of data from
an external cloud storage location in a single operation?
A) Snowpipe
B) Snowflake Stream
C) COPY INTO command
D) TASK
Answer: C
Explanation: The COPY INTO command performs bulk loading of data from internal or external
stages, making it ideal for large batch ingestion.
**Question 2.** When configuring Snowpipe for automated data ingestion, which method
provides the lowest latency for file arrival detection?
A) Periodic polling of the stage
B) Event notifications via cloud messaging (e.g., SQS, Event Grid)
C) Manual REST API calls
D) Scheduled TASK
Answer: B
Explanation: Cloud event notifications trigger Snowpipe immediately when a new file lands,
reducing latency compared to polling.
**Question 3.** Which file format option should you use in Snowflake when you need to
preserve the hierarchical structure of JSON data without flattening it on load?
A) CSV
B) PARQUET
C) JSON
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Snowflake SnowPro Advanced Data Engineer Recertification Practice Exam and more Exams Technology in PDF only on Docsity!

Recertification Practice Exam

Question 1. Which Snowflake object is best suited for ingesting large batches of data from an external cloud storage location in a single operation? A) Snowpipe B) Snowflake Stream C) COPY INTO command D) TASK Answer: C Explanation: The COPY INTO command performs bulk loading of data from internal or external stages, making it ideal for large batch ingestion. Question 2. When configuring Snowpipe for automated data ingestion, which method provides the lowest latency for file arrival detection? A) Periodic polling of the stage B) Event notifications via cloud messaging (e.g., SQS, Event Grid) C) Manual REST API calls D) Scheduled TASK Answer: B Explanation: Cloud event notifications trigger Snowpipe immediately when a new file lands, reducing latency compared to polling. Question 3. Which file format option should you use in Snowflake when you need to preserve the hierarchical structure of JSON data without flattening it on load? A) CSV B) PARQUET C) JSON

Recertification Practice Exam

D) ORC

Answer: C Explanation: The JSON file format stores the data as VARIANT, preserving the nested hierarchy for later querying. Question 4. In a Snowflake COPY INTO command, what does setting VALIDATION_MODE = RETURN_ERRORS accomplish? A) Skips all rows that cause errors and loads the rest B) Stops the load on the first error encountered C) Returns a list of rows that would cause errors without loading any data D) Automatically corrects data type mismatches Answer: C Explanation: RETURN_ERRORS validates the files and returns problematic rows without performing the actual load. Question 5. Which type of Snowflake Stream should you use when you need to capture only INSERT operations on a source table? A) Standard Stream B) Append‑Only Stream C) Insert‑Only Stream D) Change Data Capture (CDC) Stream Answer: C Explanation: Insert‑Only Streams track only INSERT DML, ignoring UPDATE and DELETE operations.

Recertification Practice Exam

C) Masking Policy D) Data Classification Answer: B Explanation: Row Access Policies filter rows based on role or context, providing row‑level security for shared data. Question 9. When would you prefer an External Table over a regular Snowflake table? A) When you need automatic clustering B) When the data resides in an external cloud storage location and should be queried in place C) When you require ACID transactions on the data D) When you need fast point‑lookup via Search Optimization Answer: B Explanation: External Tables enable querying data stored outside Snowflake without loading it into internal storage. Question 10. Which Snowflake system function returns the clustering depth of a table? A) $SYSTEM$CLUSTERING_DEPTH() B) SYSTEM$CLUSTERING_INFO() C) TABLE_CLUSTERING_DEPTH() D) CLUSTERING_DEPTH() Answer: A Explanation: $SYSTEM$CLUSTERING_DEPTH() provides the depth metric indicating how well a table is clustered.

Recertification Practice Exam

Question 11. What is the primary benefit of using a Materialized View in Snowflake? A) It eliminates the need for a warehouse to run queries B) It stores pre‑computed results to accelerate query performance on frequently accessed data C) It automatically encrypts data at rest D) It provides row‑level security without policies Answer: B Explanation: Materialized Views pre‑compute and store results, reducing query latency for repetitive workloads. Question 12. Which caching layer in Snowflake is shared across all warehouses in an account? A) Result Cache B) Warehouse Cache C) Metadata Cache D) Local Disk Cache Answer: C Explanation: The Metadata Cache stores information about objects (e.g., table metadata) and is shared across warehouses. Question 13. Which Snowflake role has the highest level of authority and can create other system-defined roles? A) SYSADMIN B) SECURITYADMIN

Recertification Practice Exam

Explanation: Dynamic Data Masking replaces column values with masked representations for roles without permission. Question 16. Which Snowflake object can be used to execute arbitrary Python code on Snowflake compute resources? A) Python UDF (Secure) B) External Function C) Stored Procedure (JavaScript) D) Snowpipe Answer: A Explanation: Secure Python UDFs run Python code within Snowflake’s secure execution environment. Question 17. When using Snowpark for data transformation, which of the following statements is true about execution? A) All transformations are executed on the client machine before sending results to Snowflake B) Snowpark generates a single SQL statement that runs entirely on Snowflake compute C) Snowpark requires a separate compute cluster outside Snowflake D) Snowpark cannot perform joins Answer: B Explanation: Snowpark translates DataFrame operations into optimized SQL that executes on Snowflake’s virtual warehouses. Question 18. Which Snowflake function can be used to flatten a nested VARIANT column? A) PARSE_JSON()

Recertification Practice Exam

B) TO_VARIANT()

C) FLATTEN()

D) OBJECT_INSERT()

Answer: C Explanation: FLATTEN() expands nested arrays/objects in a VARIANT column into a relational format. Question 19. What does the Snowflake SEARCH OPTIMIZATION SERVICE primarily improve? A) Bulk load throughput B) Point‑lookup query performance on large tables C) Data compression ratios D) Streaming ingestion latency Answer: B Explanation: Search Optimization creates auxiliary structures that accelerate point‑lookup queries on large tables. Question 20. Which Snowflake feature provides a zero‑copy, instant clone of a database for testing without consuming additional storage? A) Copy Into B) Time Travel C) Zero‑Copy Cloning D) Data Replication Answer: C

Recertification Practice Exam

A) GRANT USAGE ON DATABASE TO SHARE

B) CREATE SHARE … GRANT SELECT ON …

C) ALTER SHARE … ADD DATABASE …

D) GRANT SHARE ON ACCOUNT TO ROLE

Answer: B Explanation: CREATE SHARE defines the share, and GRANT SELECT (or other privileges) on objects adds them to the share. Question 24. Which Snowflake object should you use to enforce column‑level access control without creating separate views for each role? A) Row Access Policy B) Secure View C) Masking Policy D) External Function Answer: C Explanation: Masking Policies apply dynamic masking at the column level based on role context. Question 25. Which Snowflake function can you query to see the amount of data scanned by a specific query? A) QUERY_HISTORY() B) RESULT_SCAN() C) METADATA$QUERY_SCAN_BYTES() D) SYSTEM$QUERY_PROFILE()

Recertification Practice Exam

Answer: A Explanation: QUERY_HISTORY() returns metadata including the BYTES_SCANNED column for each query. Question 26. When using Snowpipe Streaming, which Snowflake object receives the streamed data? A) Snowpipe (auto‑ingest) B) Snowflake Stage C) Snowflake Table with a Stream attached D) Snowflake Stream Answer: D Explanation: Snowpipe Streaming writes data directly into a Snowflake Stream, which then can be consumed by downstream tasks. Question 27. Which Snowflake feature allows you to run a Python script that calls external services (e.g., AWS Lambda) as part of a query? A) Python UDF B) External Function C) Stored Procedure (JavaScript) D) Snowpipe Answer: B Explanation: External Functions enable Snowflake to invoke external services like AWS Lambda during query execution.

Recertification Practice Exam

D) External Function Answer: B Explanation: Tabular UDFs (User‑Defined Table Functions) output a result set, acting like a table. Question 31. Which Snowflake feature lets you monitor data quality by defining custom metrics on a table? A) Data Metric Functions (DMFs) B) Query Profiler C) Snowpipe Alerts D) Task History Answer: A Explanation: DMFs allow you to define and compute data quality metrics that can be monitored over time. Question 32. When would you choose a Snowflake “Append‑Only” Stream over a Standard Stream? A) When you need to capture UPDATE and DELETE operations B) When the source table only receives INSERTs and you want minimal metadata overhead C) When you need to capture row‑level changes for CDC D) When you want automatic purging of old data Answer: B Explanation: Append‑Only Streams track only INSERTs, reducing overhead for tables that never get updates or deletes.

Recertification Practice Exam

Question 33. Which Snowflake role can create and manage warehouses but cannot manage users? A) ACCOUNTADMIN B) SECURITYADMIN C) SYSADMIN D) USERADMIN Answer: C Explanation: SYSADMIN has privileges to create and manage warehouses, databases, and schemas but not user management. Question 34. What is the primary purpose of Snowflake’s Fail‑Safe feature? A) To provide a 7‑day window for recovering dropped tables after the Time Travel period expires B) To automatically clone databases for testing C) To encrypt data in transit D) To enforce row‑level security Answer: A Explanation: Fail‑Safe offers a 7‑day non‑recoverable period after Time Travel ends, allowing Snowflake to recover data for disaster scenarios. Question 35. Which Snowflake function can be used to retrieve the result of a previously executed query without re‑executing it? A) RESULT_SCAN() B) QUERY_HISTORY()

Recertification Practice Exam

Question 38. When using Snowflake’s Spark Connector, which mode provides the best performance for large data transfers? A) Single‑node mode B) Bulk‑copy mode using COPY INTO C) Direct JDBC mode D) Snowpipe auto‑ingest Answer: B Explanation: The connector can leverage Snowflake’s bulk load (COPY INTO) for high‑throughput data movement. Question 39. Which Snowflake system-defined role is responsible for managing all object permissions within a database? A) ACCOUNTADMIN B) SECURITYADMIN C) USERADMIN D) SYSADMIN Answer: D Explanation: SYSADMIN manages privileges on databases, schemas, tables, and other objects. Question 40. Which Snowflake feature should you use to enforce that a column containing Social Security Numbers is never stored in plain text? A) Row Access Policy B) Dynamic Data Masking with external tokenization

Recertification Practice Exam

C) Secure View D) Data Classification only Answer: B Explanation: Dynamic Data Masking combined with external tokenization ensures the SSN is masked or tokenized based on policy. Question 41. Which Snowflake object can be used to automatically refresh data from an S bucket every hour without manual intervention? A) External Table with automatic refresh B) Snowpipe with auto‑ingest and event notifications C) Task that runs COPY INTO on a schedule D) Stream that monitors the bucket Answer: B Explanation: Snowpipe with auto‑ingest and S3 event notifications triggers loading as soon as new files appear, effectively providing near‑hourly refresh. Question 42. In Snowflake, which clause is required when creating a Secure UDF to ensure it runs in a separate isolated environment? A) SECURE B) ISOLATED C) RUN_AS_ROLE = 'SECURITYADMIN' D) EXECUTE AS CALLER Answer: A

Recertification Practice Exam

A) $SYSTEM$PARTITION_COUNT()

B) $SYSTEM$MICRO_PARTITION_COUNT()

C) TABLE_PARTITIONS()

D) SYSTEM$CLUSTERING_DEPTH()

Answer: B Explanation: $SYSTEM$MICRO_PARTITION_COUNT() returns the count of micro‑partitions for a table. Question 46. When creating a Snowflake External Function that calls an AWS Lambda, which of the following must be configured? A) A stage pointing to the Lambda URL B) An API Integration object with the appropriate IAM role C) A Secure View that wraps the function D) A Snowpipe to load Lambda responses Answer: B Explanation: An API Integration defines the authentication and network settings needed for Snowflake to invoke the Lambda. Question 47. Which Snowflake feature allows you to store a table’s data in an open‑format file system (e.g., Apache Iceberg) while still providing Snowflake SQL access? A) External Table B) Iceberg Table C) Materialized View D) Secure View

Recertification Practice Exam

Answer: B Explanation: Iceberg Tables support open‑format lakehouse data and can be queried directly via Snowflake. Question 48. Which of the following is a benefit of using Snowflake’s Search Optimization Service on a large dimension table? A) Reduces storage costs by 50% B) Improves point‑lookup query latency from seconds to milliseconds C) Enables automatic clustering without a cluster key D) Provides real‑time streaming ingestion Answer: B Explanation: Search Optimization creates auxiliary structures that dramatically speed up point‑lookup queries. Question 49. Which Snowflake statement is used to create a clone of a table that shares the same micro‑partitions but does not affect the source table’s storage cost? A) CREATE TABLE new_table CLONE source_table; B) CREATE CLONE TABLE new_table FROM source_table; C) CLONE TABLE new_table AS source_table; D) COPY INTO new_table FROM source_table; Answer: A Explanation: The CLONE clause creates a zero‑copy clone sharing underlying storage.