




















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















































































Question 1. Which Snowflake account design best supports strict environment segregation (e.g., production, development, sandbox) while allowing shared governance policies? A) Multiple Snowflake accounts, one per environment B) Single account with separate databases per environment C) Single account with separate virtual warehouses per environment D) Multiple Snowflake accounts with a shared organization hierarchy Answer: D Explanation: Using multiple accounts under a single organization lets each environment be isolated (different accounts) while central governance (e.g., network policies, role hierarchy) can be applied across the organization. Question 2. In Snowflake, which edition provides built-in encryption at rest with customerâmanaged keys (CMK) and private connectivity options? A) Standard B) Enterprise C) Business Critical D) Virtual Private Snowflake (VPS) Answer: C Explanation: Business Critical (formerly Enterprise for Sensitive Data) adds features such as CustomerâManaged Keys and PrivateLink/Private Connectivity for enhanced security. Question 3. Which Snowflake system role has the highest level of privileges and can grant any privilege on any object? A) ACCOUNTADMIN B) SECURITYADMIN C) SYSADMIN D) USERADMIN Answer: A
Explanation: ACCOUNTADMIN is the topâlevel role; it can grant any privilege, including systemâlevel privileges, across the entire account. Question 4. When designing a custom RBAC model, what is the recommended practice for separating functional responsibilities from data access? A) Create a single role that includes both functional and data privileges B) Use functional roles for tasks and grant them objectâlevel privileges directly C) Create functional roles without data privileges and assign separate access roles for data D) Assign all users the SYSADMIN role and use rowâlevel security for data control Answer: C Explanation: Separating functional (e.g., ETL, reporting) and access roles improves leastâprivilege enforcement and makes privilege management easier. Question 5. Which Snowflake feature allows a user to temporarily assume an additional role within a session without changing the primary role? A) Role hierarchy B) Secondary role activation C) Role inheritance D) Role cloning Answer: B Explanation: Users can activate secondary roles in a session using USE ROLE <role_name> without altering their primary role, enabling temporary privilege elevation. Question 6. How does a Database Role differ from a traditional Snowflake role? A) It can only be granted at the account level B) It is scoped to a single database and simplifies objectâlevel grants within that database C) It automatically inherits all privileges from the ACCOUNTADMIN role
B) OAuth tokens can be scoped and have limited lifetimes, reducing credential exposure C) OAuth enables direct access to Snowflakeâs internal storage layers D) OAuth automatically grants ACCOUNTADMIN privileges to the caller Answer: B Explanation: OAuth tokens are shortâlived and can be scoped to specific roles, improving security for programmatic access. Question 10. Which Snowflake network policy component controls inbound traffic based on source IP address? A) PrivateLink endpoint B) Allowed IP list in a network policy C) Egress rule set D) Cloud provider security group Answer: B Explanation: Snowflake network policies allow you to specify an allowed list of IP addresses (or CIDR ranges) for inbound connections. Question 11. When implementing columnâlevel security with Dynamic Data Masking, which of the following is true? A) Masking policies are applied only to external tables B) Masking policies can reference session variables for conditional masking C) Masking policies encrypt the underlying data at rest D) Masking policies require a separate Snowflake edition Answer: B Explanation: Masking policies can use session context (e.g., CURRENT_ROLE) to decide whether to mask or reveal column values.
Question 12. Which Snowflake feature can be used to enforce rowâlevel security without modifying the underlying tables? A) Secure Views B) Row Access Policies C) Object Tagging D) Data Masking Rules Answer: B Explanation: Row Access Policies allow you to define predicates that filter rows based on the executing role or session context. Question 13. How does Object Tagging assist with cost management in Snowflake? A) Tags automatically compress data, reducing storage costs B) Tags can be used in queries to filter highâcost objects for reporting C) Tags enable automated warehouse scaling based on tag values D) Tags are required for all objects in Business Critical edition Answer: B Explanation: By tagging objects (e.g., âcostâcenter=marketingâ), you can query the ACCOUNT_USAGE views to report storage and compute costs per tag, aiding cost allocation. Question 14. Which Snowflake construct is recommended for exposing a subset of columns while preserving query performance? A) Secure View with column masking B) Table clone with column pruning C) Materialized View with selective columns D) External Table with column projection Answer: A
D) Table Answer: B Explanation: Ownership granted at the database level gives the role control over all objects within that database, including schemas, tables, and stages. Question 18. In a Snowflake data model, which design pattern is most appropriate for handling rapidly changing, highly relational data with many manyâtoâmany relationships? A) Star schema B) Snowflake schema C) Data Vault D) Flat file model Answer: C Explanation: Data Vault is designed for agility and scalability, handling manyâtoâmany relationships and evolving structures efficiently. Question 19. Which Snowflake data type is used to store semiâstructured JSON, Avro, or Parquet data without a predefined schema? A) OBJECT B) VARIANT C) ARRAY D) GEOGRAPHY Answer: B Explanation: VARIANT can hold any semiâstructured data format, allowing schemaâonâread queries with functions like FLATTEN. Question 20. Which Snowflake feature enables querying data directly from cloud storage without loading it into Snowflake tables? A) Snowpipe
B) External Tables C) Snowflake Streams D) ZeroâCopy Cloning Answer: B Explanation: External Tables map files in cloud storage (e.g., S3) to a virtual table, allowing direct SQL queries without data ingestion. Question 21. What is a primary benefit of using Iceberg tables in Snowflake? A) Automatic columnâlevel encryption B) Support for ACID transactions on external data lakes C) Builtâin rowâlevel security policies D) Realâtime streaming ingestion without Snowpipe Answer: B Explanation: Iceberg tables provide transactional guarantees (ACID) for data stored in external object stores, enabling reliable lakehouse workloads. Question 22. Which CI/CD tool can directly execute Snowflake SQL scripts via the Snowflake SnowSQL commandâline client? A) Jenkins B) Terraform C) GitHub Actions D) All of the above Answer: D Explanation: All listed tools can invoke SnowSQL in pipeline steps to run DDL/DML scripts, facilitating automated deployments.
Explanation: Cloned tables can be dropped independently; they merely share storage until modifications occur. Question 26. When replicating a Snowflake database across regions for disaster recovery, which object type is NOT supported for replication? A) Tables B) Secure Views C) External Tables D) Materialized Views Answer: C Explanation: External Tables reference data in external storage and are not replicated by Snowflakeâs native database replication feature. Question 27. Which COPY INTO option controls how rows that cause errors are handled during bulk loading? A) ON_ERROR B) FORCE = TRUE C) PURGE = FALSE D) PATTERN = â.*â Answer: A Explanation: The ON_ERROR parameter defines actions such as CONTINUE, SKIP_FILE, or ABORT for rows that generate errors. Question 28. Which Snowpipe feature enables nearârealâtime loading of data as soon as files appear in a stage? A) Automatic file detection via event notifications B) Manual invocation of COPY INTO inside a stored procedure C) Batch loading using a scheduled Task
D) Streaming ingest via Snowpipe Streaming API Answer: A Explanation: Snowpipe automatically triggers when cloud storage events (e.g., S3 put) are sent to Snowflake, loading files in seconds. Question 29. What is the primary difference between Snowpipe and Snowpipe Streaming? A) Snowpipe Streaming supports microâbatch loads from internal stages only B) Snowpipe Streaming ingests data via a continuous API, enabling subâsecond latency C) Snowpipe Streaming requires manual COPY INTO statements D) Snowpipe Streaming does not support error handling Answer: B Explanation: Snowpipe Streaming provides a continuous ingest API for realâtime data streams, whereas classic Snowpipe processes files as they land. Question 30. Which Snowflake object is required to define the file format (e.g., CSV, JSON) for a COPY INTO operation? A) Stage B) File Format C) Pipe D) Table Function Answer: B Explanation: A File Format object specifies parsing options (delimiter, compression, etc.) used by COPY INTO and Snowpipe. Question 31. Which Snowflake feature allows you to track changes (INSERT, UPDATE, DELETE) on a standard table? A) Streams
Question 34. Which Snowpark API is used to write custom transformations in Scala, Java, or Python? A) Snowpark DataFrames B) Snowpark Stored Procedures C) Snowpark UDFs D) Snowpark Sessions Answer: A Explanation: Snowpark DataFrames let developers apply DataFrameâstyle operations (select, filter, join) in supported languages, running natively in Snowflake. Question 35. When unloading data to an external stage, which COPY INTO option specifies the compression type for the output files? A) FILE_FORMAT = (TYPE = CSV COMPRESSION = GZIP) B) COMPRESSION = âGZIPâ C) ENCRYPTION = (TYPE = 'AWS_SSE_KMS') D) HEADER = TRUE Answer: A Explanation: The FILE_FORMAT clause can include a COMPRESSION parameter to control the compression of the generated files. Question 36. Which Snowflake connector is optimized for bulk loading of data from Apache Spark? A) Snowflake JDBC driver B) Snowflake Spark Connector C) Snowflake ODBC driver D) Snowflake Python connector Answer: B
Explanation: The Snowflake Spark Connector provides native integration with Spark, supporting parallel bulk writes and reads. Question 37. Which Snowflake warehouse sizing strategy automatically adds or removes clusters based on query concurrency? A) AutoâSuspend/Resume only B) MultiâCluster Warehouse with AutoâScaling C) SingleâCluster Warehouse with Manual Scaling D) SnowparkâOptimized Warehouse Answer: B Explanation: MultiâCluster Warehouses can be configured to autoâscale up or down based on the number of queued queries, improving concurrency. Question 38. Which of the following causes a warehouse to spill to remote storage? A) Insufficient credits in the account B) Query results exceeding the warehouse cache size C) Running more than the maximum number of concurrent queries D) Using a warehouse with a size smaller than the required compute for the query Answer: D Explanation: When a warehouse lacks enough compute resources, intermediate results may be written (spilled) to remote storage, slowing performance. Question 39. What is the purpose of the Query Acceleration Service (QAS) in Snowflake? A) To accelerate data loading via Snowpipe B) To provide an additional compute layer for highâfrequency, lowâlatency queries C) To automatically rewrite queries for better performance D) To cache result sets across accounts
Answer: C Explanation: The ROW_COUNT column in INFORMATION_SCHEMA.TABLES provides stored statistics about row count without a full scan. Question 43. Which Snowflake object is used to enforce a credit consumption limit for a set of warehouses? A) Resource Monitor B) Credit Quota C) Warehouse Policy D) Usage Guard Answer: A Explanation: Resource Monitors track credit usage and can suspend warehouses when defined thresholds are exceeded. Question 44. Which ACCOUNT_USAGE view provides daily credit consumption per warehouse? A) WAREHOUSE_METERING_HISTORY B) WAREHOUSE_LOAD_HISTORY C) CREDIT_USAGE_DAILY D) WAREHOUSE_USAGE_HISTORY Answer: A Explanation: WAREHOUSE_METERING_HISTORY contains perâwarehouse credit consumption details, useful for cost analysis. Question 45. Which Snowflake feature can be used to trigger an alert when a warehouseâs credit usage exceeds a defined threshold?
A) Snowflake Alerts (via ALERTS view) B) Resource Monitor with NOTIFY action C) Event Table with a StreamâTask pattern D) All of the above Answer: D Explanation: All three mechanisms can generate notifications: native Alerts, Resource Monitor notifications, or custom StreamâTask pipelines writing to an Event Table. Question 46. Which Snowflake edition supports PrivateLink for both inbound and outbound traffic? A) Standard B) Enterprise C) Business Critical D) Virtual Private Snowflake (VPS) only Answer: C Explanation: Business Critical provides full PrivateLink support, allowing private connectivity into and out of Snowflake. Question 47. When designing a multiâaccount organization, which Snowflake feature enables sharing of a single network policy across accounts? A) Global Network Policy B) Organizationâwide Network Policies (via ACCOUNTADMIN) C) CrossâAccount Role Grants D) PrivateLink Endpoint Services Answer: B Explanation: An organization admin can create network policies that are inherited by all member accounts, ensuring consistent ingress controls.
Answer: A Explanation: Tagging objects and linking tags to masking policies enables automatic application of masks when the tag is present. Question 51. Which Snowflake privilege is required to create a new network policy? A) CREATE NETWORK POLICY B) MODIFY ACCOUNT C) MANAGE GRANTS D) GLOBAL CREATE POLICY Answer: A Explanation: The CREATE NETWORK POLICY privilege (granted by ACCOUNTADMIN) allows a role to define network policies. Question 52. In a Snowflake multiâcluster warehouse, what does the âminimum clustersâ setting control? A) The number of clusters that are always running, even if idle B) The maximum number of concurrent queries allowed C) The number of clusters that can be paused automatically D) The number of clusters reserved for highâpriority queries only Answer: A Explanation: The minimum clusters value ensures a baseline number of clusters stay active to reduce latency for incoming queries. Question 53. Which Snowflake function returns the size (in bytes) of a VARIANT column for a given row? A) OBJECT_SIZE() B) ARRAY_SIZE()
Answer: A Explanation: OBJECT_SIZE returns the approximate size in bytes of a VARIANT, OBJECT, or ARRAY value. Question 54. Which Snowflake feature can be used to automatically purge files from a stage after successful COPY INTO execution? A) AUTO_PURGE = TRUE in the stage definition B) PURGE = TRUE option in the COPY INTO command C) CLEANUP = TRUE in the file format D) STAGE_RETENTION = 0 days Answer: B Explanation: Adding PURGE = TRUE to COPY INTO removes the source files from the stage after they are loaded successfully. Question 55. Which Snowflake command can be used to list all active sessions for a given user? A) SHOW SESSIONS LIKE 'INFORMATION_SCHEMA.SESSIONS view provides details about active sessions, filterable by USER_NAME. Question 56. Which Snowflake feature provides a way to define a âsoft deleteâ period for tables, allowing recovery after accidental DROP?