Docsity

DEA R01 SnowPro Advanced Data Engineer Recertification Practice Exam, Exams of Technology

Toggle sidebar
bg1
DEA R01 SnowPro Advanced Data Engineer
Recertification Practice Exam
**Question 1. Which Snowflake object is used to define a location for loading data from Amazon S3?**
A) DATABASE
B) SCHEMA
C) STAGE
D) WAREHOUSE
Answer: C
Explanation: A STAGE abstracts an external location (e.g., S3 bucket) and provides credentials for data
loading.
**Question 2. When using the COPY INTO command, which file format option should be set to ignore
the first line of a CSV file that contains headers?**
A) SKIP_HEADER=0
B) SKIP_HEADER=1
C) HEADER=TRUE
D) IGNORE_HEADER=TRUE
Answer: B
Explanation: SKIP_HEADER=1 tells Snowflake to skip the first row during loading.
**Question 3. Which Snowpipe ingestion method automatically loads files as soon as they appear in the
stage without requiring a REST call?**
A) Manual COPY command
B) Auto‑ingest via Cloud Event Notifications
C) Snowflake Web UI upload
D) Snowpipe REST API
Answer: B
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

Partial preview of the text

Download DEA R01 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 used to define a location for loading data from Amazon S3? A) DATABASE B) SCHEMA C) STAGE D) WAREHOUSE Answer: C Explanation: A STAGE abstracts an external location (e.g., S3 bucket) and provides credentials for data loading. Question 2. When using the COPY INTO command, which file format option should be set to ignore the first line of a CSV file that contains headers? A) SKIP_HEADER= B) SKIP_HEADER= C) HEADER=TRUE D) IGNORE_HEADER=TRUE Answer: B Explanation: SKIP_HEADER=1 tells Snowflake to skip the first row during loading. Question 3. Which Snowpipe ingestion method automatically loads files as soon as they appear in the stage without requiring a REST call? A) Manual COPY command B) Auto‑ingest via Cloud Event Notifications C) Snowflake Web UI upload D) Snowpipe REST API Answer: B

Recertification Practice Exam

Explanation: Auto‑ingest uses cloud notifications (e.g., S3 event notifications) to trigger Snowpipe automatically. Question 4. In Snowflake Streams, what does an “Append‑only” stream track? A) Inserts, updates, and deletes B) Only inserts (new rows) C) Only updates D) Only deletes Answer: B Explanation: Append‑only streams only capture new rows added to the source table. Question 5. Which of the following statements about Snowflake Tasks is FALSE? A) A task can call a stored procedure. B) Tasks can be scheduled using a CRON expression. C) A task can have multiple parent tasks in a DAG. D) Tasks always run on the same warehouse that created them. Answer: D Explanation: Tasks can be assigned to any warehouse, not necessarily the one that created them. Question 6. When unloading data with COPY INTO , which clause allows you to partition the output files by a column value? A) PARTITION BY = ‘col_name’ B) SINGLE = TRUE C) HEADER = TRUE D) FILE_FORMAT = (TYPE = CSV)

Recertification Practice Exam

C) ODBC Driver D) SnowSQL CLI Answer: B Explanation: The JDBC driver provides native Java integration and supports batch loading efficiently. Question 10. Snowpark allows developers to write UDFs in which of the following languages? A) Python only B) Scala only C) Java only D) Python and Scala (and Java via the API) Answer: D Explanation: Snowpark supports Python, Scala, and Java for building UDFs and stored procedures. Question 11. Which Snowflake feature allows you to share data with another Snowflake account without copying the data? A) Cloning B) Data Sharing (Secure Data Share) C) External Tables D) Materialized Views Answer: B Explanation: Secure Data Sharing provides a live, read‑only view of data to a consumer account. Question 12. A Reader Account in Snowflake is used for which purpose? A) To host a private Snowflake instance for a partner.

Recertification Practice Exam

B) To allow non‑Snowflake users to query shared data via a Snowflake‑managed account. C) To store backup copies of data. D) To run ETL jobs in isolation. Answer: B Explanation: Reader Accounts are Snowflake‑managed accounts that enable external users to query shared data without a full Snowflake license. Question 13. Which warehouse scaling policy automatically adds clusters only when query queue depth exceeds a threshold? A) Standard Auto‑Scale B) Economy Auto‑Scale C) Maximize Auto‑Scale D) Fixed Size Answer: A Explanation: Standard scaling adds clusters based on queue depth, while Economy adds only when the queue is long and there’s idle capacity. Question 14. What does the AUTO_SUSPEND parameter control for a virtual warehouse? A) Minimum size of the warehouse. B) Number of concurrent queries allowed. C) Time of inactivity before the warehouse is suspended. D) Maximum credit usage per hour. Answer: C Explanation: AUTO_SUSPEND defines how many seconds of inactivity trigger automatic suspension.

Recertification Practice Exam

Answer: A Explanation: A clustering key on the date column orders micro‑partitions, allowing the optimizer to prune irrelevant partitions. Question 18. The SYSTEM$CLUSTERING_INFORMATION function returns which of the following? A) The current size of the warehouse. B) The number of micro‑partitions in a table. C) Detailed statistics about clustering depth and key distribution. D) The list of all active sessions. Answer: C Explanation: SYSTEM$CLUSTERING_INFORMATION provides clustering depth, key cardinality, and other metrics for a table. Question 19. Result caching in Snowflake will NOT be used if which condition occurs? A) The same query is run within the cache retention window. B) The underlying data has changed since the previous execution. C) The query references a stage. D) The query uses a secure view. Answer: B Explanation: Result cache is invalidated when the source data changes. Question 20. Which caching layer stores query results locally on the compute node’s SSD? A) Result Cache B) Metadata Cache C) Warehouse Local Disk Cache

Recertification Practice Exam

D) Cloud Services Cache Answer: C Explanation: The warehouse’s local disk cache stores data files locally to accelerate subsequent scans. Question 21. When should you consider using a Search Optimization Service (SOS) on a table? A) The table is frequently loaded with bulk inserts. B) The table has high‑selectivity point lookups on a single column. C) The table is used only for full‑table scans. D) The table contains only VARIANT data. Answer: B Explanation: SOS builds an auxiliary index to speed up selective queries on large tables. Question 22. Which Snowflake object can be used to automatically refresh data from an external source on a schedule? A) Materialized View B) External Table with AUTO_REFRESH C) Snowpipe D) Task Answer: D Explanation: Tasks can execute SQL (e.g., REFRESH EXTERNAL TABLE) on a defined schedule. Question 23. What is the default data retention period for Time Travel at the account level (if not overridden)? A) 0 days B) 1 day

Recertification Practice Exam

B) Double the storage of the source object. C) Only metadata, but all data is duplicated on first write. D) Half the storage of the source object. Answer: A Explanation: Zero‑Copy Cloning references the same micro‑partitions; storage is only used when data diverges (copy‑on‑write). Question 27. Which of the following statements about Fail‑Safe is TRUE? A) Fail‑Safe can be configured to any number of days. B) Fail‑Safe is automatically enabled for all tables and cannot be turned off. C) Fail‑Safe allows users to query historical data directly. D) Fail‑Safe is a manual process performed by the account admin. Answer: B Explanation: Fail‑Safe is a non‑configurable 7‑day period after Time Travel where Snowflake can recover data for disaster recovery. Question 28. When cloning a table with a clustering key, what happens to the clustering metadata? A) The clone inherits the clustering key but not the clustering depth. B) The clone has no clustering key and must be re‑defined. C) The clone inherits both the key and current clustering depth. D) Clustering metadata is stripped to reduce storage cost. Answer: C Explanation: Cloned tables retain the clustering key and the current state of clustering information. Question 29. In Snowflake replication, which type of database is considered the source of truth?

Recertification Practice Exam

A) Primary Database B) Secondary Database C) Replica Database D) Backup Database Answer: A Explanation: The Primary database receives writes; replicas (Secondary) are read‑only copies for DR. Question 30. Which role has the highest level of privileges in a Snowflake account? A) SYSADMIN B) SECURITYADMIN C) ACCOUNTADMIN D) USERADMIN Answer: C Explanation: ACCOUNTADMIN can manage all objects, roles, and account‑level parameters. Question 31. Which Snowflake role is primarily responsible for managing object grants and role hierarchies? A) ACCOUNTADMIN B) SECURITYADMIN C) SYSADMIN D) USERADMIN Answer: B Explanation: SECURITYADMIN handles role creation, role hierarchy, and object grant management.

Recertification Practice Exam

Explanation: Row Access Policies filter rows based on a predicate, applied to the whole table. Question 35. Object Tagging in Snowflake is primarily used for: A) Data encryption. B) Auditing and governance metadata. C) Automatic clustering. D) Query result caching. Answer: B Explanation: Tags attach custom metadata to objects for governance, cost allocation, or compliance tracking. Question 36. Which Snowflake feature allows you to restrict which IP addresses can connect to your account? A) Network Policy B) Access Control List C) Firewall Rule Set D) Virtual Private Cloud (VPC) Answer: A Explanation: Network Policies define allowed/blocked IP address ranges for client connections. Question 37. Multi‑Factor Authentication (MFA) in Snowflake can be enforced via which setting? A) ACCOUNTADMIN parameter B) USERADMIN role option C) SECURITYADMIN > ENABLE_MFA = TRUE D) SESSION parameter MFA_REQUIRED

Recertification Practice Exam

Answer: C Explanation: The SECURITYADMIN role can set the ACCOUNT parameter ENABLE_MFA to enforce MFA for users. Key Pair Authentication Question 38. When using key‑pair authentication, which Snowflake object stores the public key? A) USER B) ROLE C) WAREHOUSE D) INTEGRATION Answer: A Explanation: The PUBLIC_KEY attribute is stored on the USER object for key‑pair authentication. Question 39. Secure UDFs differ from regular UDFs because they: A) Run in a separate Snowflake account. B) Hide the underlying code and prevent access to external objects. C) Can only be written in JavaScript. D) Do not support return of VARIANT data. Answer: B Explanation: Secure UDFs protect the implementation logic and restrict access to external resources. Question 40. External Functions in Snowflake require which Snowflake object to define the endpoint? A) STORAGE INTEGRATION B) API INTEGRATION

Recertification Practice Exam

C) ARRAY_AGG()

D) PARSE_JSON()

Answer: B Explanation: OBJECT_CONSTRUCT builds a VARIANT OBJECT from supplied arguments. Question 44. In Snowflake, a scalar UDF written in JavaScript can reference which built‑in object to access query arguments? A) args B) INPUTS C) data D) THIS Answer: A Explanation: In JavaScript UDFs, the arguments are accessed via the args array. Question 45. Which Snowpark language allows you to write a stored procedure that can call external services via HTTP? A) JavaScript B) Python C) Scala D) SQL Answer: B Explanation: Snowpark for Python supports native libraries (e.g., requests) that can invoke HTTP endpoints inside a stored procedure. Question 46. The MERGE statement is useful for implementing which type of operation?

Recertification Practice Exam

A) Upsert (insert or update) based on a match condition. B) Bulk delete only. C) Creating a new table from a SELECT. D) Changing column data types. Answer: A Explanation: MERGE combines INSERT, UPDATE, and DELETE actions in a single statement based on matching criteria. Question 47. Which Snowflake view provides information about the credit usage of each virtual warehouse? A) WAREHOUSE_LOAD_HISTORY B) QUERY_HISTORY C) WAREHOUSE_METERING_HISTORY D) ACCOUNT_USAGE.WAREHOUSE_METERING_HISTORY Answer: D Explanation: ACCOUNT_USAGE.WAREHOUSE_METERING_HISTORY contains per‑warehouse credit consumption details. Question 48. A Resource Monitor can be configured to send a notification when usage reaches 80% of its quota and then _____ the associated warehouses. A) Auto‑resume B) Auto‑suspend C) Auto‑scale down D) Auto‑clone Answer: B

Recertification Practice Exam

D) Exceeding the maximum allowed DAG depth. Answer: D Explanation: Snowflake does not enforce a hard limit on DAG depth; tasks fail for runtime errors, resource issues, or permission problems. Question 52. The ACCOUNT_USAGE.QUERY_HISTORY view retains query metadata for how many days by default? A) 1 day B) 7 days C) 30 days D) 90 days Answer: C Explanation: ACCOUNT_USAGE retains 30 days of query history unless the account is set to a longer retention. Question 53. Which of the following Snowflake functions can be used to retrieve the current warehouse’s size (e.g., XSMALL, MEDIUM)? A) CURRENT_WAREHOUSE() B) WAREHOUSE_SIZE() C) SESSION_WAREHOUSE() D) SYSTEM$WAREHOUSE_SIZE() Answer: D Explanation: SYSTEM$WAREHOUSE_SIZE() returns the size of the currently active warehouse. Question 54. In Snowflake, which clause can be added to a SELECT statement to force the use of result cache even if the underlying data changed?

Recertification Practice Exam

A) FORCE_RESULT_CACHE = TRUE

B) USE_CACHED_RESULT = TRUE

C) CACHE = ALWAYS

D) None – result cache is automatically invalidated on data change. Answer: D Explanation: Result cache cannot be forced when data changes; it is invalidated automatically. Question 55. Which Snowflake feature allows you to automatically cluster a table based on a clustering key without manual reclustering? A) Automatic Clustering Service (enabled by default) B) Search Optimization Service C) Materialized View D) Data Retention Policy Answer: A Explanation: Automatic clustering continuously maintains clustering depth for tables with defined clustering keys. Question 56. When creating a secure view, which of the following is true? A) The view’s definition is visible to all users with SELECT privilege. B) The view can reference only other secure objects. C) Secure views bypass row‑level security. D) Secure views can be created only by ACCOUNTADMIN. Answer: B Explanation: Secure views can reference only other secure objects (views, tables, UDFs) to maintain security isolation.