Courseiva

CCNA Snowflake Features Architecture Questions

75 of 78 questions · Page 1/2 · Snowflake Features Architecture topic · Answers revealed

1
MCQeasy

Which component of the Snowflake architecture is responsible for the permanent storage of data and is independent of compute resources?

A.Cloud Services Layer
B.Virtual Warehouse
C.Database Storage Layer
D.Query Optimizer
AnswerC

The Database Storage layer is the foundation where data is stored in a proprietary, compressed, and columnar format. It resides in cloud object storage and is managed by Snowflake, ensuring high availability, automatic scaling, and durability across the entire AI Data Cloud environment.

Why this answer

The Storage Layer is the foundation of Snowflake's multi-cluster shared data architecture. By separating storage from compute, Snowflake allows users to scale compute resources independently based on workload demand without duplicating data. This design ensures durability, massive scalability, and cost-efficiency, as users only pay for the storage consumed and the compute time utilized during active query processing tasks.

Exam trap

Candidates frequently confuse the Database Storage layer with the Virtual Warehouse component. They forget that storage is entirely independent and persistent, whereas warehouses are ephemeral compute resources.

2
MCQeasy

Which Snowflake feature allows you to access data from a previous point in time to recover from accidental deletions or updates?

A.Fail-safe
B.Time Travel
C.Data Sharing
D.Cloning
AnswerB

Time Travel enables users to access historical data via SQL syntax using the AT or BEFORE clauses. It is highly configurable, with retention periods ranging from 0 to 90 days depending on the Snowflake edition, allowing businesses to tailor their data recovery strategy to their specific needs.

Why this answer

Time Travel is a critical feature that allows users to query, clone, or restore data as it existed at any point within a defined retention period. This is essential for auditing, compliance, and disaster recovery. Because of the immutable nature of micro-partitions, Snowflake can simply reference older versions of the data, providing a high-performance, low-cost solution for data recovery without needing traditional backup and restore cycles.

Exam trap

Candidates often confuse Time Travel with Fail-safe, assuming Time Travel is for disaster recovery after the retention period has expired, which is not the case.

3
MCQmedium

What happens when you modify data in a zero-copy cloned table?

A.The original table is automatically updated.
B.The entire dataset is copied to the clone.
C.Only the modified micro-partitions are stored as new files.
D.The clone becomes locked and read-only.
AnswerC

Snowflake implements copy-on-write at the micro-partition level. When a row in a cloned table is modified, the entire micro-partition containing that row is rewritten. The new partition is unique to the clone, while the rest of the table remains linked to the original, shared micro-partitions.

Why this answer

When data is modified in a clone, Snowflake uses a 'copy-on-write' mechanism. Only the changed micro-partitions are created as new, independent files. The cloned table then points to the new partition for the modified data while still pointing to the original micro-partitions for all unmodified data.

This ensures that the clone remains isolated from the original table without requiring an initial full copy of the entire dataset.

Exam trap

Candidates often mistakenly believe zero-copy cloning creates a full physical copy of the data, leading them to worry about immediate storage costs or the time required to create the clone.

4
MCQmedium

A data architect needs to ensure that data in Snowflake is encrypted at rest and in transit. Which feature provides the highest level of security by allowing the customer to manage their own encryption keys?

A.Standard Snowflake encryption
B.Tri-Secret Secure
C.Always Encrypted
D.Data Masking
AnswerB

Tri-Secret Secure allows customers to provide their own encryption keys, which are combined with Snowflake's internal keys. This process ensures that the data is encrypted using a hierarchical key model where the top-level key is controlled entirely by the customer via an external cloud-based KMS.

Why this answer

Tri-Secret Secure combines Snowflake-managed keys with customer-managed keys stored in an external Key Management Service (KMS). This architecture provides an additional layer of protection, ensuring that even if Snowflake's internal infrastructure were compromised, the data remains encrypted without the customer-provided key. It is essential for highly regulated industries requiring absolute control over their data lifecycle and encryption keys.

Exam trap

Candidates often confuse Tri-Secret Secure with standard encryption-at-rest features, failing to recognize that the former specifically involves the customer's own KMS.

5
MCQeasy

A Snowflake administrator is configuring a new external stage to load data from an Amazon S3 bucket. The storage integration already exists and is named MY_S3_INT. The administrator needs to reference this integration when creating the stage. Which SQL statement correctly creates the stage with the necessary parameters?

A.CREATE STAGE my_stage URL='s3://mybucket/path/' INTEGRATION=MY_S3_INT;
B.CREATE STAGE my_stage URL='s3://mybucket/path/' STORAGE_INTEGRATION='MY_S3_INT';
C.CREATE STAGE my_stage URL='s3://mybucket/path/' STORAGE_INTEGRATION=MY_S3_INT;
D.CREATE STAGE my_stage URL='s3://mybucket/path/' CREDENTIALS=(AWS_KEY_ID='...' AWS_SECRET_KEY='...');
AnswerC

This statement correctly creates an external stage pointing to the S3 bucket path and references the existing storage integration MY_S3_INT using the STORAGE_INTEGRATION parameter. This allows Snowflake to access the S3 bucket using the IAM role configured in the integration, avoiding the need to embed credentials in the stage definition.

Why this answer

To create an external stage that uses a storage integration, the correct syntax includes the STORAGE_INTEGRATION parameter followed by the integration name as an identifier (unquoted). This allows Snowflake to assume the IAM role defined in the integration to access the S3 bucket securely, without embedding credentials.

Exam trap

The trap here is confusing the parameter name or incorrectly quoting the integration name, which leads to syntax errors or misconfiguration.

6
MCQmedium

A data engineer creates a materialized view on a large sales fact table to improve performance for a frequently run aggregation query. After a few days, users report that the materialized view sometimes returns stale data compared to the base table. The engineer verifies that the base table is being updated continuously via Snowpipe. What is the most likely explanation for the stale results?

A.Materialized views are not supported on tables that are updated by Snowpipe; therefore, the view is not being refreshed.
B.The materialized view is refreshed asynchronously, and there can be a delay between base table updates and the view reflecting those changes.
C.The materialized view was created without specifying a refresh interval, so it never refreshes automatically.
D.Materialized views in Snowflake are automatically refreshed only when the base table changes, but Snowpipe loads do not trigger refreshes.
AnswerB

Materialized views in Snowflake are maintained automatically but asynchronously. When the base table changes, the materialized view is not updated immediately; instead, Snowflake schedules a refresh that may introduce a lag. This explains why users see stale data for a period after Snowpipe loads new rows.

Why this answer

Materialized views in Snowflake are automatically maintained but refreshes are asynchronous, meaning there can be a delay before changes in the base table are reflected. This inherent lag explains why users might see stale data shortly after Snowpipe loads new records. The refresh process is managed by Snowflake and does not require manual intervention or interval settings.

Exam trap

The trap here is assuming that materialized views are updated in real-time with the base table, when in fact they are refreshed asynchronously.

7
MCQmedium

A data architect is designing a multi-cluster warehouse to handle unpredictable peak concurrent user sessions. Which scaling property ensures that Snowflake automatically starts additional warehouse clusters to prevent query queuing while maintaining performance?

A.Auto-resume
B.Scaling Policy
C.Multi-cluster warehouse configuration
D.Warehouse auto-suspend
AnswerC

Setting a value greater than 1 for MAX_CLUSTER_COUNT enables the multi-cluster warehouse capability. This allows Snowflake to automatically start additional clusters when the current load results in query queuing, directly addressing the requirement for maintaining performance during peak concurrent usage scenarios within the Snowflake architecture.

Why this answer

Multi-cluster warehouses are designed specifically to handle high concurrency. By setting the 'MIN_CLUSTER_COUNT' and 'MAX_CLUSTER_COUNT' properties, Snowflake monitors the queue length and automatically provisions additional clusters to distribute the load. This architectural feature is vital for maintaining consistent performance during bursty workloads without manual intervention, ensuring that end-users do not experience latency when the warehouse reaches its full processing capacity under heavy concurrent query requests.

Exam trap

Candidates often confuse scaling up (resizing the warehouse) with scaling out (multi-cluster). Resizing helps with complex, long-running queries, whereas multi-cluster scaling specifically addresses concurrency and queuing issues for multiple users.

8
MCQeasy

A user needs to query data stored in an external stage that points to an Amazon S3 bucket. The user has been granted the necessary privileges on the stage and the storage integration. Which of the following is required to successfully query the data directly from the stage using a SELECT statement?

A.The S3 bucket must be in the same AWS region as the Snowflake account.
B.The external stage must be defined with a file format that matches the data.
C.The user must have the ACCOUNTADMIN role to query external stages.
D.The data must first be loaded into a Snowflake table using COPY INTO.
AnswerB

To query data directly from an external stage, the stage must be configured with a file format that matches the data files (e.g., CSV, JSON, Parquet). This allows Snowflake to parse the files correctly. Without a proper file format, the query will fail or return incorrect results. The file format can be specified in the stage definition or in the SELECT statement.

Why this answer

To query data directly from an external stage, the stage must have a file format defined that matches the data files. This enables Snowflake to interpret the data correctly. Loading data into a table is optional, and administrative roles or same-region buckets are not required.

The key is proper configuration of the stage and appropriate privileges.

Exam trap

The trap here is assuming that data must always be loaded into a table before querying, overlooking Snowflake's ability to query external stages directly.

9
Multi-Selecthard

A Snowflake administrator is configuring a new virtual warehouse for a team of data scientists who will run ad-hoc queries with varying concurrency. The administrator wants to ensure optimal performance and cost-efficiency. Which two configurations should the administrator consider? (Choose two.)

Select 2 answers
A.Set the warehouse to auto-suspend after 5 minutes of inactivity to reduce credit consumption.
B.Disable the query result cache to ensure queries always use the latest data.
C.Set the warehouse to run 24/7 without auto-suspend to avoid startup latency.
D.Enable multi-cluster warehouse with a minimum of 1 and maximum of 3 clusters to handle concurrency spikes.
E.Increase the warehouse size to 4X-Large to ensure queries run as fast as possible.
AnswersA, D

Auto-suspend automatically stops the warehouse after a period of inactivity, which saves credits. A 5-minute auto-suspend is a reasonable balance for ad-hoc queries, as it avoids keeping the warehouse running when not needed, while not being so short that it causes frequent restarts. This helps with cost-efficiency for intermittent workloads.

Why this answer

For ad-hoc queries with varying concurrency, a multi-cluster warehouse with a min of 1 and max of 3 clusters handles concurrency spikes efficiently, while auto-suspend after 5 minutes reduces credits during idle periods. These two settings balance performance and cost, making them the best choices.

Exam trap

The trap here is focusing solely on performance (e.g., oversizing or disabling caches) or cost (e.g., 24/7 running) without considering the balance needed for ad-hoc workloads.

10
MCQeasy

A data engineer runs a long-running aggregation query on a virtual warehouse. Mid-execution, the warehouse is resized from MEDIUM to LARGE. What happens to the query?

A.The query is cancelled and must be resubmitted manually after the resize completes.
B.The query fails with an error indicating the warehouse size changed during execution.
C.The query is paused, the warehouse resizes, and the query automatically resumes on the LARGE warehouse with full progress preserved.
D.The query continues running on the MEDIUM warehouse until completion, and the resize applies to subsequent queries.
AnswerD

Snowflake does not migrate a running query to a differently sized warehouse. The resize takes effect only after the current query finishes and the warehouse restarts with the new size. This behavior prevents disruption and ensures query stability, though it means the in-flight query cannot benefit from the additional compute resources.

Why this answer

When a warehouse is resized while queries are running, Snowflake postpones the change until the warehouse becomes idle. The running query continues on the original size and completes normally. The new size applies only to future queries after the warehouse restarts.

This design avoids disrupting active workloads and ensures consistent execution.

Exam trap

The trap here is assuming that a resize immediately affects in-flight queries or that it interrupts them, when Snowflake defers the change until the warehouse is idle.

11
MCQmedium

A Snowflake user needs to query data that is stored in an external table pointing to Parquet files in an external stage. The user wants to optimize query performance by reducing the amount of data scanned. Which feature should the user leverage?

A.Create a materialized view on the external table
B.Use partition pruning by organizing the external files into a directory structure that reflects common filter columns
C.Define a clustering key on the external table
D.Enable the search optimization service on the external table
AnswerB

External tables in Snowflake can take advantage of partition pruning when the underlying files are organized in a hierarchical directory structure (e.g., by date or region). Snowflake automatically uses the partition columns from the path to prune files during query execution, reducing the amount of data scanned. This is a key optimization for external tables.

Why this answer

For external tables, Snowflake can prune partitions based on the directory structure of the external files. By organizing files into folders that correspond to common filter columns (e.g., year/month/day), queries with filters on those columns can skip irrelevant files, significantly reducing data scanned and improving performance.

Exam trap

The trap here is assuming that features like clustering or search optimization, which work on internal tables, also apply to external tables.

12
MCQmedium

A data engineer is loading a 5 TB compressed CSV file into a Snowflake table using the COPY INTO command. The file is stored in an external stage pointing to an Amazon S3 bucket. The engineer notices that the load is slower than expected and wants to improve performance. Which of the following actions is most likely to improve the load performance?

A.Use a larger file format that supports compression, such as Parquet.
B.Enable the VALIDATION_MODE parameter to speed up data validation.
C.Increase the size of the virtual warehouse used for the load.
D.Split the large CSV file into multiple smaller files and load them in parallel.
AnswerD

Snowflake loads data in parallel by assigning each file to a separate thread. A single large file cannot be parallelized within itself, so splitting it into multiple smaller files (e.g., 100-250 MB compressed) allows Snowflake to distribute the load across multiple compute resources, significantly improving throughput.

Why this answer

Snowflake's COPY INTO loads data in parallel by processing multiple files concurrently. When a single large file is loaded, it is handled by one thread, limiting throughput. Splitting the file into multiple smaller files enables Snowflake to use multiple threads and compute resources, thereby improving load performance.

Other options do not directly address the parallelism limitation.

Exam trap

The trap here is assuming that increasing warehouse size will always speed up data loading, but COPY INTO parallelism is driven by the number of files, not warehouse size.

13
MCQmedium

How does Snowflake's architecture provide the ability to run multiple concurrent workloads without resource contention?

A.By using a single large warehouse for all workloads.
B.By deploying separate virtual warehouses for each workload.
C.By relying on the underlying cloud provider's hypervisor.
D.By implementing software-based resource queues in the storage layer.
AnswerB

Deploying separate virtual warehouses allows each workload to operate on its own dedicated compute resources. This ensures that no single query or workload can starve others of CPU or memory. Since each warehouse acts independently, the system maintains high performance for all concurrent processes, regardless of their individual resource demands.

Why this answer

Snowflake's multi-cluster warehouse architecture allows for complete isolation of compute resources. Each workload can be assigned to a specific virtual warehouse, ensuring that one workload's resource usage does not impact the performance of another. This decoupling is a cornerstone of the Snowflake AI Data Cloud, enabling organizations to handle diverse workloads—from heavy data engineering to real-time analytics—simultaneously without the risk of 'noisy neighbor' scenarios affecting user experience.

Exam trap

Candidates often assume that using a larger warehouse prevents contention. However, resource isolation is specifically achieved by assigning separate virtual warehouses to different workloads to prevent the noisy neighbor effect.

14
MCQeasy

What is the primary benefit of the Snowflake architecture's decoupling of storage and compute?

A.It allows data to be stored in multiple cloud regions simultaneously.
B.It enables independent scaling of storage and compute resources.
C.It automatically encrypts all data at rest and in transit.
D.It eliminates the need for virtual warehouses.
AnswerB

Decoupling allows users to scale storage to accommodate massive datasets while keeping compute clusters small, or conversely, to spin up large compute warehouses for short-term heavy processing on a small dataset, all without physical data movement or the need to resize entire infrastructure clusters at once.

Why this answer

The separation of storage and compute allows organizations to scale these resources independently based on demand. You can store petabytes of data without paying for compute, and you can spin up massive compute clusters to run complex analytics without needing to replicate or move your data. This architectural flexibility is a core differentiator, enabling cost-effective data warehousing and high-performance processing without the rigid constraints of traditional on-premises or monolithic cloud databases.

Exam trap

Candidates sometimes confuse the benefits of separation with 'shared-nothing' architectures. They may incorrectly attribute the benefit to data movement or replication rather than the ability to scale resources independently.

15
MCQhard

A company is migrating from an on-premises Hadoop cluster to Snowflake. They are concerned about how Snowflake manages the lifecycle of micro-partitions and whether they need to manually 'defragment' the storage over time. How does Snowflake address this?

A.Users must run the 'VACUUM' command weekly to reclaim space from deleted rows.
B.Snowflake uses an immutable storage model where data is never updated in place.
C.The system automatically performs a full table rewrite every time a DML operation occurs.
D.Storage is managed by the underlying cloud provider's file system, which handles defragmentation.
AnswerB

By using immutable micro-partitions, Snowflake ensures that data blocks are never partially rewritten, which avoids fragmentation and corruption issues. This design also simplifies features like Time Travel and Zero-copy Cloning, as older versions of data are preserved as distinct, read-only files until they are no longer needed according to the account's retention policies.

Why this answer

Snowflake's storage layer is immutable, meaning micro-partitions are never modified in place. When data is updated or deleted, Snowflake creates new micro-partitions and marks the old ones for Time Travel and Fail-safe. This architecture eliminates the need for manual defragmentation, as the system continuously manages the storage and metadata to maintain optimal performance and data integrity.

Exam trap

Candidates often assume Snowflake requires manual maintenance like vacuuming or defragmenting, applying their knowledge of legacy databases like PostgreSQL or Hadoop to Snowflake.

16
MCQmedium

When a query is submitted to Snowflake, which component is responsible for retrieving the metadata required to build the query execution plan?

A.The Virtual Warehouse
B.The Cloud Services Layer
C.The Database Storage Layer
D.The Query Results Cache
AnswerB

The Cloud Services layer includes the metadata repository that manages table definitions, micro-partition locations, and data statistics. This layer is responsible for interpreting the SQL request and using this metadata to generate an efficient execution plan before delegating the physical processing tasks to the chosen virtual warehouse.

Why this answer

The Cloud Services layer maintains the metadata store, which contains information about table structures, file locations (in object storage), and statistics. When a user runs a query, the Cloud Services layer queries this metadata to optimize the execution path. This centralized management ensures that the compute nodes only receive instructions on which files to process, significantly reducing overhead and improving query performance by pruning unnecessary data before it is ever accessed.

Exam trap

Candidates often incorrectly assume that the Virtual Warehouse retrieves metadata, failing to realize that the Cloud Services layer manages the metadata store independently of the compute resources.

17
MCQeasy

A user runs a query that was executed by another user 10 minutes ago, and the underlying data has not changed. The query returns results instantly without using a virtual warehouse. Which Snowflake feature explains this behavior?

A.The metadata cache in the Cloud Services layer.
B.The materialized view automatically created for the query.
C.The local disk cache on the virtual warehouse.
D.The query result cache stored in the Cloud Services layer.
AnswerD

The query result cache in Cloud Services stores the results of every query for 24 hours. If an identical query is run and the underlying data has not changed, Snowflake returns the cached result without provisioning a warehouse. This explains the instant response and zero warehouse usage, as the cache is independent of virtual warehouses.

Why this answer

The query result cache is a Cloud Services feature that persists query results for 24 hours. When an identical query is re-executed and the underlying data remains unchanged, Snowflake serves the cached result directly, bypassing warehouse computation and delivering sub-second response times.

Exam trap

The trap here is confusing the query result cache with the warehouse local disk cache, which requires a running warehouse and stores data, not results.

18
MCQhard

A data engineer loads a batch of records into a table and then runs a query that filters on a column with a high-cardinality value. The query profile shows partition pruning eliminated most micro-partitions, but the query still scans many rows within the surviving partitions. The table has never been clustered. Which characteristic of Snowflake micro-partitions best explains why pruning was effective at the partition level yet still left many rows to scan?

A.Micro-partitions are compressed and encrypted, so the optimizer cannot read metadata until the files are decompressed on the warehouse.
B.Micro-partitions are immutable and therefore require a full table scan whenever a filter column is not the clustering key.
C.Micro-partitions are immutable and store columnar data, so pruning uses min/max metadata while row-level filtering still requires reading surviving partitions.
D.Micro-partitions are hash-distributed across compute nodes, so pruning depends on which node holds the relevant hash bucket.
AnswerC

Micro-partitions are immutable columnar storage units that overlap in value ranges. Pruning uses per-column min/max metadata to skip partitions that cannot contain matching values, but within a surviving partition the columnar data must still be scanned for matching rows. This explains effective partition-level pruning with residual row scanning.

Why this answer

Micro-partitions are immutable columnar storage units that Snowflake automatically maintains with per-column metadata, including min/max values. That metadata lets the optimizer prune partitions that cannot satisfy a filter even on unclustered tables. However, pruning is coarse: once a partition survives, its columnar data must be scanned for matching rows, which is why residual row scanning remains and why clustering can further improve pruning.

Exam trap

The trap here is assuming that because a table is unclustered or because micro-partitions are immutable, pruning cannot occur, when in fact automatic metadata enables pruning and immutability only affects how data is rewritten.

19
MCQmedium

A company needs to ensure that data stored in a Snowflake table is encrypted at rest with keys that the company manages and rotates independently. Which Snowflake feature should be configured?

A.Tri-Secret Secure with customer-managed keys.
B.Periodic rekeying of Snowflake-managed keys.
C.Client-side encryption before loading data into Snowflake.
D.Enabling AES-256 encryption on the virtual warehouse.
AnswerA

Tri-Secret Secure combines a Snowflake-managed key with a customer-managed key in a composite master key. This allows the customer to control key rotation and revoke access by removing their key. It meets the requirement for customer-managed encryption at rest with independent rotation, as the customer manages their key in a cloud provider's KMS.

Why this answer

Tri-Secret Secure allows customers to add their own key from a cloud provider's KMS to Snowflake's encryption hierarchy. The customer can rotate or revoke their key at any time, giving them control over data access. This satisfies the need for customer-managed keys with independent rotation.

Exam trap

The trap here is assuming that Snowflake's automatic key rotation or client-side encryption meets the requirement for customer-managed keys with independent rotation.

20
MCQmedium

A company wants to share data with a partner without replicating the data. Which Snowflake feature is designed for this purpose?

A.External Tables
B.Data Replication
C.Data Sharing
D.Database Cloning
AnswerC

Data Sharing leverages Snowflake's unique architecture to provide secure access to data objects without copying them. The provider grants access to specific views or tables, and the consumer maps them into their account. This enables real-time collaboration while maintaining strict security controls and eliminating data synchronization overhead.

Why this answer

Snowflake Data Sharing allows multiple accounts to access the same underlying data directly from the provider's storage without copying or moving any files. This is a revolutionary aspect of Snowflake's architecture, as it provides a live, secure, and governed data access model. By removing the need for ETL or data movement, organizations can collaborate instantly and ensure that the partner is always viewing the most current, accurate version of the shared data.

Exam trap

Candidates often confuse Data Sharing with Data Replication or Data Export. They assume sharing requires creating a duplicate copy of the data in the partner account, which is incorrect.

21
MCQeasy

A Snowflake administrator needs to ensure that a virtual warehouse automatically suspends after a period of inactivity to save costs. Which parameter should they configure?

A.WAREHOUSE_SIZE
B.AUTO_SUSPEND
C.STATEMENT_TIMEOUT_IN_SECONDS
D.AUTO_RESUME
AnswerB

AUTO_SUSPEND specifies the number of seconds of inactivity after which a virtual warehouse is automatically suspended. Setting this parameter allows the warehouse to shut down when not in use, preventing unnecessary credit consumption. It is a standard cost-saving configuration in Snowflake and directly addresses the requirement.

Why this answer

AUTO_SUSPEND is the parameter that defines the idle time before a virtual warehouse is automatically suspended. Configuring it appropriately ensures that warehouses do not run unnecessarily, reducing credit usage. AUTO_RESUME is complementary but does not suspend the warehouse.

The other parameters affect query timeout or warehouse size, not automatic suspension.

Exam trap

The trap here is mixing up AUTO_SUSPEND and AUTO_RESUME, assuming that AUTO_RESUME handles suspension when it actually handles resumption.

22
MCQmedium

How does Snowflake's architecture provide high availability and disaster recovery across different geographic locations?

A.By automatically replicating all data to every cloud region globally by default.
B.Through the use of Fail-safe, which allows users to restore data from any region.
C.By enabling Database Replication and Failover to a secondary region or cloud.
D.By using Virtual Warehouses that automatically span across multiple cloud providers.
AnswerC

Database Replication allows for the synchronization of data and metadata from a primary database to one or more secondary databases in different regions or cloud platforms. If the primary region becomes unavailable, the secondary database can be promoted to primary, allowing applications to continue functioning with minimal downtime and data loss.

Why this answer

Snowflake's architecture leverages 'Snowgrid' to enable cross-cloud and cross-region capabilities. This allows organizations to replicate databases and synchronize metadata across different regions or even different cloud providers. In the event of a regional outage, users can failover to a secondary region to maintain business continuity, ensuring that critical data applications remain available.

Exam trap

Candidates often confuse simple data backup with high availability, failing to identify that Database Replication and Failover are the specific features required for cross-region disaster recovery.

23
MCQmedium

How does Snowflake's architecture provide high availability for its internal metadata and security services?

A.By storing metadata in the user's private S3 bucket.
B.By deploying the Cloud Services layer across multiple availability zones.
C.By manually replicating the database to a secondary region.
D.By using a single large instance to manage all metadata.
AnswerB

The Cloud Services layer is architected to run across multiple availability zones simultaneously. This redundancy ensures that if any single zone experiences a disruption, the service can continue to operate and manage the metadata and security state, providing seamless high availability to the end-user without downtime.

Why this answer

Snowflake is designed as a multi-zone service. The Cloud Services layer, which manages metadata, authentication, and security, is deployed across multiple availability zones in the cloud provider's region. If one zone fails, the service automatically fails over to another zone without manual intervention.

This architectural design ensures that Snowflake remains resilient against infrastructure outages, maintaining high availability for the control plane even if specific data center components experience issues.

Exam trap

Candidates often assume that high availability is handled by the compute warehouses. In reality, the critical metadata and security services are managed by the Cloud Services layer across multiple zones.

24
MCQmedium

What is the primary role of the Query Optimizer in Snowflake?

A.To index data manually.
B.To create an efficient execution plan.
C.To compress data stored in the database.
D.To manage user credentials.
AnswerB

The query optimizer's primary task is to transform SQL queries into the most effective execution plan. It evaluates how to retrieve data from micro-partitions using metadata and determines the best join and aggregation strategies to maximize speed while minimizing resource consumption during the query's execution on the virtual warehouse.

Why this answer

The Query Optimizer analyzes the SQL submitted by a user and generates the most efficient execution plan based on the data's metadata. By evaluating join orders, data pruning, and the distribution of data across compute nodes, it ensures that the query consumes minimal resources. This is a crucial function of the Cloud Services layer, making Snowflake accessible to SQL users of all levels while maintaining 'expert-level' performance without needing manual tuning or hints.

Exam trap

Candidates often incorrectly assume the Query Optimizer manages data storage or physical hardware placement, confusing it with the underlying storage layer's responsibilities.

25
MCQmedium

What is the primary benefit of Snowflake's 'Multi-Cluster Warehouse' feature when handling highly concurrent workloads?

A.It allows scaling storage independently of compute.
B.It prevents query queuing by automatically spinning up additional clusters.
C.It reduces the cost of queries by decreasing the warehouse size.
D.It enables data sharing between different Snowflake accounts.
AnswerB

A Multi-Cluster Warehouse is designed to add more compute clusters dynamically when the existing cluster is fully saturated by concurrent queries. This horizontal scaling approach ensures that incoming queries are processed immediately rather than being queued, which is critical for maintaining performance in high-concurrency environments.

Why this answer

Multi-Cluster Warehouses allow Snowflake to automatically scale compute capacity by spinning up additional clusters of identical size when demand increases. This prevents query queuing and ensures consistent performance during peak times. By managing the number of active clusters dynamically, Snowflake provides a seamless user experience for concurrent workloads, enabling organizations to meet service-level agreements without manual intervention or over-provisioning compute resources during quiet periods.

Exam trap

Candidates often confuse scaling up (increasing size) with scaling out (multi-cluster). Multi-cluster warehouses specifically address concurrency issues by adding clusters, not by making a single cluster larger.

26
MCQmedium

Which component in the Snowflake architecture is responsible for managing the data storage lifecycle, including compaction and file management?

A.The Virtual Warehouse
B.The Cloud Services layer
C.The Object Storage provider
D.The Data Loader
AnswerB

The Cloud Services layer acts as the orchestrator for the entire Snowflake platform. It performs automated maintenance, including file compaction and metadata management, ensuring the storage layer remains performant without any manual intervention from the database administrator or end-user.

Why this answer

Snowflake is a fully managed service, which means it automatically handles storage optimization tasks. The Cloud Services layer keeps track of all micro-partitions and performs background maintenance, such as coalescing small files into larger, more efficient ones. This 'zero-management' philosophy allows users to focus on querying their data rather than worrying about physical file layout, vacuuming, or manual performance tuning of the underlying storage environment.

Exam trap

Candidates often mistakenly attribute storage management and file compaction to the Virtual Warehouse, failing to recognize that the Cloud Services layer performs these background maintenance tasks.

27
MCQhard

Refer to the exhibit. Which Snowflake security feature is represented by this JSON definition?

A.Row-level Security
B.Column-level Masking
D.Data Projections
AnswerB

The exhibit defines a masking policy that evaluates the user's role and returns either the raw value or a masked string. This is the definition of column-level masking, where the data representation changes based on the user's authorization level during query time, protecting sensitive values.

Why this answer

Masking policies allow for fine-grained access control by obfuscating data based on the user's role. This is a crucial component of Snowflake's column-level security. By applying this policy to a column, sensitive data like PII is automatically hidden from unauthorized users while remaining visible to authorized administrators, ensuring compliance with data privacy regulations without needing multiple versions of the same table.

Exam trap

Candidates frequently confuse Column-level Masking with Row Access Policies. Masking specifically hides or obfuscates the data inside a column, whereas Row Access Policies determine which rows a user can see.

28
MCQmedium

Which feature allows Snowflake to automatically utilize results from previous queries without consuming compute resources?

A.Warehouse Caching
B.Query Result Cache
C.Metadata Cache
D.Micro-partition Pruning
AnswerB

The Query Result Cache is a persistent storage feature in the Cloud Services layer that holds the output of queries. Because it stores the finished result sets, the system can return the data without executing the query plan, which requires zero compute usage from the warehouse.

Why this answer

The Query Result Cache stores the results of queries for 24 hours. If an identical query is executed and the underlying data has not changed, Snowflake returns the result from the cache immediately. This avoids the need to spin up or use warehouse compute resources, providing near-instant responses while significantly reducing costs.

It is a critical component for optimizing dashboard performance and reducing redundant processing of static data in analytical environments.

Exam trap

Candidates frequently confuse the Query Result Cache with the Data Cache (Warehouse Cache). The Result Cache is global and requires no warehouse compute, while the Data Cache lives on the warehouse.

29
MCQmedium

An organization wants to simplify its data pipeline by automatically updating target tables whenever new data arrives in the source tables, without manually managing tasks or streams. Which Snowflake feature is designed for this architectural pattern?

A.Materialized Views
B.Snowpipe Streaming
C.Dynamic Tables
D.External Functions
AnswerC

Dynamic Tables allow engineers to define the results of a query as a table that Snowflake automatically keeps up to date. This feature simplifies the architecture of data pipelines by shifting from an imperative model (managing 'how' and 'when' to move data) to a declarative model (defining 'what' the final data should look like).

Why this answer

Dynamic Tables are a declarative way to define data transformations. Instead of writing complex code to manage streams and tasks, users provide a SQL query that defines the desired end state. Snowflake's architecture then automatically manages the scheduling and incremental processing required to keep the target table synchronized with the source data based on a target 'lag'.

Exam trap

Candidates often suggest manually orchestrating Streams and Tasks, missing that Dynamic Tables are specifically built to automate declarative transformations with a target lag.

30
MCQeasy

A Snowflake administrator needs to grant USAGE on a virtual warehouse named ANALYTICS_WH to a role named ANALYST_ROLE. Which SQL command accomplishes this?

A.ALTER WAREHOUSE ANALYTICS_WH SET ROLE ANALYST_ROLE;
B.GRANT USAGE ON DATABASE ANALYTICS_WH TO ROLE ANALYST_ROLE;
C.GRANT OPERATE ON WAREHOUSE ANALYTICS_WH TO ROLE ANALYST_ROLE;
D.GRANT USAGE ON WAREHOUSE ANALYTICS_WH TO ROLE ANALYST_ROLE;
AnswerD

This command grants the USAGE privilege on the virtual warehouse ANALYTICS_WH to the role ANALYST_ROLE. In Snowflake, roles require USAGE privilege on a warehouse to start it and run queries. The syntax GRANT privilege ON object_type object_name TO ROLE role_name is correct for virtual warehouses. This is the standard way to allow a role to use compute resources.

Why this answer

To allow a role to use a virtual warehouse, you must grant the USAGE privilege on that warehouse to the role. The correct syntax uses GRANT USAGE ON WAREHOUSE <name> TO ROLE <role>. This enables the role to start the warehouse and execute queries.

Other privileges like OPERATE or MODIFY are for administrative control, not query usage. The database and ALTER WAREHOUSE approaches are incorrect object types or commands.

Exam trap

The trap here is confusing the USAGE privilege on a warehouse with privileges on databases or schemas, or assuming that OPERATE privilege is sufficient for query execution.

31
MCQmedium

A data architect is designing a multi-cluster warehouse to handle unpredictable bursts in query volume. Which architectural feature ensures that the warehouse automatically scales out to maintain performance without manual intervention?

A.Warehouse auto-suspend
B.Query result cache
C.Multi-cluster warehouse scaling
D.Warehouse resizing
AnswerC

Multi-cluster scaling allows the warehouse to automatically start additional clusters based on the defined load. When queries queue, Snowflake triggers the creation of extra clusters up to the defined maximum, ensuring that incoming workloads are distributed across available resources to maintain consistent response times for all users.

Why this answer

Multi-cluster warehouses use a scaling policy to automatically start and stop clusters based on the current load. This is critical for Snowflake's elasticity, allowing the system to handle concurrent users efficiently while controlling costs. By configuring the minimum and maximum cluster counts, the architect ensures the platform scales dynamically to meet demand, preventing performance bottlenecks during peak processing times while minimizing resource idle time during low activity.

Exam trap

Test-takers frequently confuse 'scaling up' (resizing the warehouse) with 'scaling out' (adding clusters in a multi-cluster warehouse) when dealing with high concurrent user concurrency.

32
MCQmedium

A data engineer is loading streaming events through Snowpipe. The ingest rate spikes unpredictably, causing queued files to wait several minutes before loading, while the target table is queried heavily by BI users. The engineer wants Snowpipe processing to scale independently of the BI virtual warehouse so that neither workload interferes with the other. Which Snowflake feature should the engineer leverage to achieve this?

A.Rely on Snowflake-managed compute that Snowpipe uses serverlessly to load files without consuming user warehouse resources.
B.Enable multi-cluster scaling on the BI virtual warehouse so both workloads share its compute.
C.Create a dedicated virtual warehouse and configure Snowpipe to run all its COPY statements on that warehouse.
D.Increase the size of the existing BI virtual warehouse so it can absorb the additional Snowpipe load.
AnswerA

Snowpipe uses Snowflake-managed compute resources provided by the Cloud Services layer, so file ingestion runs independently of any user-provisioned virtual warehouse. This means BI queries on the virtual warehouse and Snowpipe loads do not compete for the same compute, allowing each to scale on its own and resolving the contention described in the scenario.

Why this answer

Snowpipe performs continuous data ingestion using compute resources managed by Snowflake rather than a user-created virtual warehouse. Because its compute is separate from the warehouse serving BI queries, ingest and query workloads scale independently, eliminating the interference described. This architecture is what allows Snowpipe to load files promptly even when users are actively querying the target tables.

Exam trap

The trap here is assuming Snowpipe runs on a user virtual warehouse and can therefore be isolated by assigning it a separate warehouse.

33
MCQmedium

When sharing data via the Snowflake Marketplace, what architectural component ensures that the consumer sees the most up-to-date data without the provider having to re-send files?

A.The use of Secure Views to filter data for the consumer.
B.Snowflake's metadata-driven architecture that shares pointers to micro-partitions.
C.Automatic replication of the shared database to the consumer's account.
D.The Cloud Services layer caching the shared results for the consumer.
AnswerB

Because Snowflake separates metadata from physical storage, a provider can grant a consumer access to specific metadata. When the consumer runs a query, their virtual warehouse reads the provider's micro-partitions directly. This eliminates the need for data movement (ETL) and ensures that any updates made by the provider are immediately visible to the consumer.

Why this answer

Snowflake Data Sharing is built on a multi-tenant metadata architecture. When a provider shares a database, they are not moving or copying the physical data. Instead, they are sharing the metadata that points to the underlying micro-partitions.

This means the consumer always queries the live data stored in the provider's account, ensuring real-time access and consistency.

Exam trap

Candidates often think data sharing involves copying or replicating files to the consumer, failing to understand that Snowflake shares only the metadata pointers to the provider's micro-partitions.

34
Multi-Selectmedium

A Snowflake administrator is configuring a new virtual warehouse for a data science team. The team requires the ability to run multiple concurrent queries without queuing, and they want to minimize credit consumption during idle periods. The administrator needs to configure the warehouse with appropriate settings. Which two actions should the administrator take? (Choose two.)

Select 2 answers
A.Enable multi-cluster warehouse with auto-scaling.
B.Configure the warehouse to use a smaller size to reduce credits.
C.Set the warehouse to auto-resume when a query is submitted.
D.Set the warehouse to auto-suspend after a short period of inactivity.
E.Enable the query result cache to avoid re-execution.
AnswersA, D

Multi-cluster warehouses with auto-scaling automatically add clusters when queries are queued and remove them when they are no longer needed. This allows multiple concurrent queries to run without queuing, as additional clusters provide more compute resources. It also helps minimize credit consumption because clusters are only added when required. This setting directly addresses the need for concurrency without queuing while controlling costs.

Why this answer

To handle multiple concurrent queries without queuing, enabling multi-cluster warehouse with auto-scaling allows Snowflake to add clusters dynamically as needed. To minimize credit consumption during idle periods, setting a short auto-suspend period ensures the warehouse stops when not in use. Together, these settings provide both concurrency and cost efficiency.

Other options either do not address the requirements or could hinder performance.

Exam trap

The trap here is focusing on auto-resume or result caching, which are helpful but do not directly solve the concurrency and idle cost requirements.

35
MCQeasy

A data scientist wants to create a copy of a 100 TB production table to test a new transformation logic. How does Snowflake’s Zero-copy Cloning architecture handle this request?

A.Snowflake creates a physical copy of all 100 TB of data in a new storage bucket.
B.The new table shares the same metadata and micro-partitions as the original table.
C.The clone is a 'read-only' view of the original table and cannot be modified.
D.Cloning requires a running virtual warehouse to copy the data blocks to the new table.
AnswerB

When a clone is created, Snowflake simply duplicates the metadata that defines the table structure and its associated micro-partitions. Both the original and the clone point to the same immutable data files. This architecture allows the clone to be independent for DML operations while initially occupying no additional storage space beyond metadata.

Why this answer

Zero-copy cloning is a metadata-only operation in Snowflake. Instead of physically duplicating the data, Snowflake creates new metadata entries that point to the existing micro-partitions of the source table. This allows for instantaneous creation of large clones without consuming additional storage space until changes are made to the clone, at which point new micro-partitions are created.

Exam trap

Candidates often incorrectly assume that cloning requires physical storage space proportional to the original table size, missing the fact that it is a metadata-only operation consuming no initial storage.

36
MCQhard

What is the primary benefit of the Snowflake Query Result Cache compared to a standard warehouse cache?

A.It persists data for longer than 24 hours.
B.It allows for user-defined schema updates.
C.It requires the warehouse to be active.
D.It provides instant performance without compute costs.
AnswerD

Since the result cache is retrieved from the Cloud Services layer, it requires zero compute resources to return. This bypasses the virtual warehouse entirely, resulting in sub-second response times for identical queries and zero credit consumption, which is highly beneficial for dashboards and repeated reporting tasks.

Why this answer

The Query Result Cache is managed by the Cloud Services layer and stores the exact result of a query for 24 hours (provided the underlying data hasn't changed). Unlike the warehouse cache, which is local to a specific virtual warehouse and requires the warehouse to be running, the Result Cache is globally accessible. This provides instantaneous performance for repeat queries without incurring any compute credit costs, regardless of which warehouse or user is requesting the data.

Exam trap

Test-takers often confuse the Query Result Cache with the local Virtual Warehouse cache, assuming that result cache hits still consume compute credits and require an active warehouse.

37
MCQmedium

A data engineer wants to ensure that data loaded into Snowflake is encrypted at rest and in transit. Which Snowflake architecture component handles the encryption and decryption processes automatically without requiring user-managed keys or manual intervention?

A.The Virtual Warehouse compute engine
B.The Snowflake Cloud Services layer
C.The Snowflake Stage object configuration
D.The Snowflake Database Catalog
AnswerB

The Cloud Services layer manages the orchestration of data security, including the automated key management service (KMS). It handles the encryption of data at rest and in transit, ensuring that all customer data is protected by default without manual configuration by the end user.

Why this answer

Snowflake utilizes a multi-layered security architecture where encryption is handled transparently by the cloud service layer. Data is automatically encrypted using AES-256 before being written to persistent storage. This architectural feature is critical because it ensures compliance and data protection without adding operational overhead for the end user, allowing architects to focus on data transformation logic rather than managing complex infrastructure security keys.

Exam trap

Candidates often think encryption keys must be managed manually via the Virtual Warehouse layer or created individually for every single database table.

38
Multi-Selectmedium

An administrator needs to implement a data governance strategy that includes tracking sensitive data and masking PII. Which TWO Snowflake features should be used to achieve this?

Select 2 answers
A.Object Tagging
B.Dynamic Data Masking
C.Search Optimization Service
D.Query Profile
E.Resource Monitors
AnswersA, B

Object Tagging is a feature that allows you to apply metadata labels to Snowflake objects, such as tables or columns. These tags help in identifying and tracking sensitive data across the entire account. Once tagged, administrators can easily run reports to see where sensitive information resides and ensure that appropriate security policies are consistently applied.

Why this answer

Snowflake provides built-in governance features like Object Tagging and Dynamic Data Masking. Object Tagging allows administrators to categorize data (e.g., tagging a column as 'PII'), while Dynamic Data Masking uses policies to redact or obscure sensitive information at query time based on the user's role. Together, these features provide a robust framework for managing data privacy and compliance.

Exam trap

Candidates often select access control roles alone, missing the combination of Object Tagging for classification and Dynamic Data Masking for runtime protection.

39
MCQmedium

A data architect needs to ensure that a specific set of resource-intensive queries always have dedicated compute resources and do not compete with other workloads. Which Snowflake feature should be used?

A.Resource monitors
B.Multi-cluster warehouses
C.Separate virtual warehouses
D.Query acceleration service
AnswerC

Creating a dedicated virtual warehouse for the specific queries ensures they have their own compute resources and do not compete with other workloads. Each virtual warehouse is an independent cluster, so resource-intensive queries on one warehouse do not impact queries on another. This is the standard Snowflake approach for workload isolation.

Why this answer

To guarantee dedicated compute for specific queries and avoid competition, the architect should provision a separate virtual warehouse. Snowflake's architecture separates compute from storage, allowing multiple independent warehouses to access the same data. By assigning the resource-intensive queries to their own warehouse, the architect ensures they have exclusive use of that compute cluster, preventing contention with other workloads.

Exam trap

The trap here is confusing concurrency scaling (multi-cluster warehouses) with workload isolation, when only separate warehouses provide dedicated compute resources.

40
MCQmedium

A data analyst wants to explore semi-structured JSON data stored in a Snowflake table column. They need to extract specific fields and flatten nested arrays. Which Snowflake feature is best suited for this task?

A.VARIANT data type with dot notation and FLATTEN function
B.OBJECT data type with LATERAL VIEW EXPLODE
C.ARRAY data type with UNNEST function
D.String data type with JSON_EXTRACT_PATH_TEXT function
AnswerA

The VARIANT data type natively stores semi-structured data like JSON. Analysts can use dot notation to access fields and the FLATTEN function to explode nested arrays into rows. This combination is the standard Snowflake approach for querying and transforming JSON, providing flexibility and performance without pre-processing.

Why this answer

Snowflake's VARIANT data type is designed for semi-structured data such as JSON. Analysts can access fields using dot notation (e.g., column:field) and use the FLATTEN function to expand arrays into multiple rows. This native support eliminates the need for external processing and allows SQL-based exploration.

The other options reference incompatible data types or functions from other systems.

Exam trap

The trap here is confusing Snowflake syntax with other databases, such as using LATERAL VIEW EXPLODE or UNNEST, which are not supported in Snowflake.

41
MCQmedium

What is the primary function of the Snowflake metadata store during the query optimization process?

A.To store the actual data rows.
B.To manage the user identity and roles.
C.To enable partition pruning.
D.To perform real-time data compression.
AnswerC

Partition pruning is the process of using metadata to eliminate unnecessary data scans. By checking the min/max values stored in the metadata for each partition, Snowflake avoids loading data that does not meet query criteria. This is the single most important factor in achieving high-performance analytics in Snowflake.

Why this answer

The metadata store contains critical information about every micro-partition, including the range of values (min/max) for each column. During query optimization, Snowflake uses this metadata to 'prune' partitions—effectively ignoring any micro-partitions that cannot possibly contain the data requested. This process dramatically reduces the amount of data scanned from storage, allowing queries on massive datasets to return results in milliseconds rather than minutes.

Exam trap

Candidates often think the metadata store is used for data compression or encryption, rather than its primary performance-related role of partition pruning.

42
MCQmedium

Which TWO of the following statements accurately describe the function of the Snowflake Cloud Services layer?

A.It handles query parsing, compilation, and optimization.
B.It stores the actual table data in micro-partitions.
C.It manages authentication, security, and access control.
D.It provides compute resources to execute DML statements.
E.It performs the final data shuffling for JOIN operations.
AnswerA, C

The Cloud Services layer is responsible for the entire lifecycle of a query request before it is sent to a warehouse for execution. This includes parsing the SQL, validating permissions, compiling the execution plan, and applying advanced optimizations to ensure the query runs as efficiently as possible.

Why this answer

The Cloud Services layer acts as the brain of Snowflake. It handles metadata management, access control, query optimization, and infrastructure coordination. By separating these management tasks from the compute layer, Snowflake ensures that global state is maintained independently of specific compute clusters.

Understanding this layer is fundamental to grasping how Snowflake achieves high availability, security, and performance without requiring users to manage underlying hardware or software configurations directly.

Exam trap

Candidates often confuse the roles of the Cloud Services layer and the Compute (Warehouse) layer, incorrectly attributing query execution or data storage tasks to the Cloud Services layer.

43
MCQmedium

A data architect is designing a solution that requires zero-copy cloning of a production database for testing purposes. The clone must be created quickly and should not duplicate storage until changes are made. Which Snowflake feature should they use?

A.UNDROP DATABASE
B.CREATE DATABASE ... CLONE
C.CREATE DATABASE ... FROM SHARE
D.CREATE DATABASE ... AS SELECT
AnswerB

The CREATE DATABASE ... CLONE command creates a zero-copy clone of a database. It copies metadata and references the same micro-partitions as the source, so no additional storage is consumed initially. Changes to either the source or the clone create new micro-partitions, ensuring isolation. This meets the requirement for rapid cloning without immediate storage duplication.

Why this answer

CREATE DATABASE ... CLONE performs a zero-copy clone, which duplicates only metadata and references existing micro-partitions. This allows rapid creation of a clone without immediate storage costs.

Subsequent changes to the clone or source create new micro-partitions, preserving isolation. Other options either copy data physically or serve different purposes.

Exam trap

The trap here is assuming that any CREATE DATABASE statement can clone, when only the CLONE keyword provides zero-copy cloning.

44
MCQmedium

What is the primary function of the Snowflake 'Result Cache'?

A.It stores raw data files for faster retrieval.
B.It automatically scales compute resources.
C.It allows queries to return results without using compute resources.
D.It maintains the metadata of the database objects.
AnswerC

When a query is satisfied by the result cache, Snowflake does not activate any warehouse compute. This means the query executes at no cost and with near-zero latency, which is a major advantage for recurring reports and frequently accessed summary data within the Snowflake platform.

Why this answer

The Result Cache stores the output of every query for 24 hours. When a subsequent query matches a previous one exactly (including the data being accessed), Snowflake returns the cached results immediately without using any compute resources. This provides massive performance benefits and cost savings for repeated queries, which are common in dashboards and reporting applications where the underlying data might not change frequently during the day.

Exam trap

Candidates often think the Result Cache uses warehouse compute credits. They forget that the Result Cache is a Cloud Services function that returns data without ever spinning up or using compute warehouses.

45
MCQmedium

What happens to the performance of a warehouse when multiple users query the same data simultaneously?

A.Performance degrades significantly due to locking.
B.Performance remains consistent due to shared storage.
C.The warehouse must be cloned to allow concurrent access.
D.Each user must have their own dedicated storage.
AnswerB

Because Snowflake's storage layer is decoupled and supports concurrent access, multiple virtual warehouses or users can access the same data without contention. The architecture ensures that each query is independent and isolated, preventing one query from degrading the performance of another, even when querying the exact same tables.

Why this answer

Snowflake's architecture handles concurrent queries by using the metadata from the Cloud Services layer and the underlying micro-partitioning in the Storage layer. Because data is immutable and stored in a shared object store, every query has a consistent view of the data. When multiple users query the same data, the system optimizes reads through its caching mechanisms, ensuring that performance remains stable and predictable regardless of the number of concurrent users.

Exam trap

Candidates often believe that concurrent queries cause performance degradation because they assume shared resources lead to contention, ignoring Snowflake's multi-cluster architecture.

46
MCQhard

Refer to the exhibit. This JSON policy is part of the setup for a Snowflake Storage Integration. What is the architectural purpose of the 'sts:ExternalId' condition in this cross-account IAM trust relationship?

A.It identifies the specific S3 bucket that Snowflake is allowed to access.
B.It prevents the 'confused deputy' problem by ensuring only the correct Snowflake account can assume the role.
C.It maps Snowflake users to specific AWS IAM users for fine-grained access control.
D.It encrypts the data during transit between the cloud provider and Snowflake.
AnswerB

In a multi-tenant environment like Snowflake, the External ID ensures that even if another user knows your AWS Role ARN, they cannot use their own Snowflake account to access your data. AWS requires the External ID provided by Snowflake to match the one in the IAM trust policy, creating a unique and secure handshake between accounts.

Why this answer

The External ID is a security best practice used in cross-account IAM roles to prevent the 'confused deputy' problem. In the Snowflake architecture, it ensures that the cloud provider only allows Snowflake to assume the role if the request includes the specific ID unique to that Snowflake account. This prevents one customer from potentially accessing another customer's cloud resources.

Exam trap

Candidates often assume the External ID is for user authentication or encryption. They miss that it is specifically a security mechanism to prevent the 'confused deputy' security vulnerability.

47
MCQhard

Refer to the exhibit. What is the impact of changing the MAX_CONCURRENCY_LEVEL parameter on this warehouse?

A.It increases the number of clusters in the warehouse.
B.It allows each cluster to run more queries simultaneously.
C.It scales the warehouse size (e.g., X-SMALL to SMALL).
D.It disables the auto-scaling capabilities of the warehouse.
AnswerB

Increasing this setting raises the threshold for concurrent query execution on a single cluster. This is beneficial for high-concurrency, low-complexity workloads where you want to maximize the utilization of your compute resources, although it may impact the latency of individual queries if they become resource-starved.

Why this answer

The MAX_CONCURRENCY_LEVEL parameter controls the number of concurrent queries a single cluster can handle before queuing begins. By increasing this value, you allow more queries to run in parallel on the same compute resources. However, this also divides the CPU and memory among more queries, which can lead to individual query performance degradation if the workload is compute-intensive, making it a critical tuning parameter for balancing throughput and performance.

Exam trap

Candidates often assume increasing concurrency improves speed. They forget that resources are finite; increasing concurrent queries on a single cluster can actually slow down each individual query.

48
MCQmedium

A data engineer runs a query that joins a large fact table with a small dimension table. The query takes 12 minutes. The engineer notices that the small dimension table is broadcast to all compute nodes, and the fact table is redistributed across nodes. Which Snowflake feature is primarily responsible for this behavior, and what is its main benefit in this scenario?

A.Virtual warehouse scaling, which adds compute resources to handle the join operation more quickly.
B.Result caching, which stores the query results for subsequent identical queries, reducing execution time.
C.Query optimizer's join strategy selection, which chooses broadcast for small tables to minimize data movement and improve performance.
D.Micro-partitioning, which automatically divides tables into small chunks and enables pruning during scans.
AnswerC

The Snowflake query optimizer analyzes table statistics and determines the most efficient join strategy. For a large fact table joined with a small dimension table, broadcasting the small table to all nodes avoids redistributing the large table, reducing network overhead and speeding up the join. This is a core optimization technique in Snowflake's architecture.

Why this answer

The Snowflake query optimizer evaluates join inputs and selects the most efficient distribution method. When one side of the join is small, broadcasting it to all nodes eliminates the need to redistribute the larger table, reducing network traffic and improving performance. This optimization is automatic and based on table statistics and heuristics.

Exam trap

The trap here is confusing storage optimizations like micro-partitioning with execution-time join strategies chosen by the optimizer.

49
MCQmedium

Which feature of Snowflake allows for the rapid creation of a near-zero-copy clone of a database, schema, or table without consuming additional storage?

A.Time Travel
B.Zero-Copy Cloning
C.Data Sharing
D.Materialized Views
AnswerB

Zero-Copy Cloning creates a new object that points to the same underlying micro-partitions as the source. It is 'zero-copy' because no data is actually duplicated upon creation. Any subsequent changes to the clone result in new micro-partitions, keeping the original data and the clone isolated.

Why this answer

Zero-Copy Cloning is a powerful feature that creates a reference to the existing micro-partitions rather than copying the data. This enables near-instantaneous creation of development or testing environments that are identical to production. Since it shares the underlying storage until changes are made, it is extremely storage-efficient and provides a foundation for modern DevOps practices within the Snowflake data platform.

Exam trap

Candidates often assume cloning duplicates data and increases storage costs. They fail to realize that Zero-Copy Cloning creates metadata references to existing micro-partitions, resulting in zero additional storage usage.

50
MCQeasy

Which statement best describes the 'Snowflake Data Cloud' architecture's approach to scalability?

A.It requires manual sharding of data across compute nodes.
B.Storage and compute are scaled together as a single unit.
C.It supports independent scaling of compute and storage.
D.Scalability is limited by the physical hardware of the server.
AnswerC

This is the core architectural advantage of Snowflake. You can increase compute resources during peak reporting hours and suspend them afterwards, all while your data remains securely and durably stored in the cloud object storage layer, independent of the warehouse state.

Why this answer

Snowflake's architecture features a unique separation of storage and compute. This allows storage to grow independently as data is added and compute resources to be scaled independently as workloads change. Because compute resources (virtual warehouses) can be added, removed, or resized instantly without affecting the data in storage, Snowflake provides near-infinite, elastic scalability that is perfectly suited for modern, high-demand cloud analytical applications.

Exam trap

Candidates frequently confuse the multi-cluster warehouse scaling out with scaling up, or mistakenly believe storage scaling requires manual intervention or downtime.

51
MCQhard

A Snowflake account has a virtual warehouse that is configured with AUTO_SUSPEND = 60 seconds and AUTO_RESUME = TRUE. A user runs a query that takes 5 minutes to complete. After the query finishes, the warehouse remains idle for 2 minutes and then suspends. During the idle period, what charges apply?

A.No charges apply during the idle period because the warehouse is not processing queries.
B.Charges apply only if the warehouse is resumed during the idle period.
C.Charges apply for the entire 2-minute idle period because the warehouse is still running.
D.Charges apply only for the first 60 seconds of idle time, as per the AUTO_SUSPEND setting.
AnswerC

Snowflake bills for the time a warehouse is running, including idle time before auto-suspension. With AUTO_SUSPEND set to 60 seconds, the warehouse suspends after 60 seconds of inactivity. However, the scenario states it remains idle for 2 minutes before suspending, which implies the auto-suspend setting is not taking effect as expected. Regardless, any time the warehouse is running, credits are consumed. So charges apply for the idle period until suspension.

Why this answer

Snowflake charges for a virtual warehouse based on the time it is running, regardless of whether it is actively processing queries. During the idle period before auto-suspension, the warehouse continues to consume credits. The AUTO_SUSPEND setting controls how long the warehouse remains running after the last query, but any time it is running, charges apply.

Therefore, the entire idle period incurs charges until the warehouse suspends.

Exam trap

The trap here is thinking that idle warehouses do not incur charges, but Snowflake bills for running warehouses even when idle.

52
MCQmedium

A Snowflake administrator configures a storage integration named EXT_S3_INT so that an external stage can read Parquet files from an Amazon S3 bucket. After creating the integration, the administrator runs DESCRIBE INTEGRATION EXT_S3_INT and copies the STORAGE_AWS_IAM_USER_ARN and STORAGE_AWS_EXTERNAL_ID values. What must the administrator do with these two values to allow Snowflake to access the bucket?

A.Attach them to an AWS IAM role trust policy that permits the Snowflake-generated IAM user to assume the role.
B.Register them with an AWS KMS key policy so Snowflake can decrypt the Parquet files at rest.
C.Store them as a secret in Snowflake and reference the secret from the external stage definition.
D.Add them to the S3 bucket policy as principal and condition values in the bucket's resource statement.
AnswerA

The STORAGE_AWS_IAM_USER_ARN identifies the Snowflake-owned IAM user that assumes the role, and STORAGE_AWS_EXTERNAL_ID is the unique external ID that must appear in the role's trust policy condition. Placing both in the trust relationship of the AWS IAM role lets Snowflake authenticate to the bucket without embedding long-term AWS keys in Snowflake.

Why this answer

Storage integrations let Snowflake assume an AWS IAM role instead of storing AWS credentials. The IAM user ARN is the principal that assumes the role, and the external ID is a condition that prevents the confused-deputy problem. Both must be configured in the role's trust policy in AWS, after which the integration can be referenced by an external stage to read the S3 data.

Exam trap

The trap here is assuming the generated IAM user ARN and external ID belong in an S3 bucket policy or a Snowflake secret rather than in the AWS IAM role trust relationship.

53
MCQmedium

An administrator is configuring a virtual warehouse for a data science team that runs unpredictable, long-running training queries. The team wants the warehouse to shut down automatically when idle to save credits, but they also want queries to start immediately when a new request arrives without waiting for a manual resume. Which configuration should the administrator apply?

A.Set the warehouse to auto-suspend and enable multi-cluster scaling to ensure queries start immediately.
B.Configure the warehouse to auto-suspend and disable auto-resume so the team controls when the warehouse starts.
C.Leave the warehouse running permanently and rely on the Query Result Cache to reduce credit consumption.
D.Set the warehouse to auto-suspend after a short idle period and rely on auto-resume to start it when a query is submitted.
AnswerD

Auto-suspend stops the warehouse after the specified idle period, eliminating credit consumption while no queries run. Auto-resume is enabled by default and starts the warehouse automatically when a new query arrives, so the team gets both cost savings and immediate query start without manual intervention. This combination directly satisfies the stated requirements.

Why this answer

Auto-suspend stops a virtual warehouse after a defined idle period, preventing credit usage when no queries are running. Auto-resume, which is enabled by default, automatically starts the warehouse when a new query is submitted. Together they deliver the desired behavior: the warehouse shuts down when idle and starts immediately on demand, with no manual resume step.

Exam trap

The trap here is believing that disabling auto-resume gives more control, when in fact it forces manual intervention and delays query start.

54
Multi-Selectmedium

A Snowflake administrator is configuring a new virtual warehouse to support a data science team that runs occasional, complex queries on large datasets. The team requires fast performance and minimal latency. Which TWO warehouse configuration settings should the administrator consider to optimize performance for this workload? (Choose two.)

Select 2 answers
A.Configure the warehouse to use a larger number of clusters with scaling policy set to ECONOMY.
B.Enable multi-cluster warehouse with a minimum cluster count of 2.
C.Set AUTO_SUSPEND to a low value (e.g., 60 seconds) to minimize idle costs.
D.Enable the Query Acceleration Service (QAS) for the warehouse.
E.Set the warehouse size to X-Large or larger.
AnswersD, E

The Query Acceleration Service (QAS) offloads portions of query processing to shared compute resources, improving performance for queries with large scans and filters. It is beneficial for occasional, complex queries on large datasets, as it can reduce execution time without resizing the warehouse. Enabling QAS is a valid optimization for this scenario.

Why this answer

For occasional complex queries on large datasets, increasing warehouse size provides more compute power for faster processing. Additionally, enabling the Query Acceleration Service (QAS) can offload eligible query parts to shared resources, further improving performance. Multi-cluster warehouses target concurrency, not single-query speed, and AUTO_SUSPEND settings affect cost, not performance.

Exam trap

The trap here is confusing concurrency scaling (multi-cluster) with performance scaling for individual queries, which is achieved through larger warehouse sizes or QAS.

55
MCQeasy

A Snowflake administrator needs to provide a data analyst with the ability to read data from a specific table but prevent the analyst from seeing any personally identifiable information (PII) columns. The administrator decides to use a masking policy. Which statement accurately describes the behavior of a masking policy in Snowflake?

A.A masking policy permanently replaces the sensitive data in the table with masked values for all users.
B.A masking policy is applied at the table level and hides entire rows that contain sensitive data.
C.A masking policy can only be applied to columns of type VARCHAR and not to numeric or date columns.
D.A masking policy is applied at the column level and can conditionally alter the data returned based on the user's role.
AnswerD

Masking policies in Snowflake are column-level security features that can transform data at query time based on the role of the user executing the query. They allow conditional masking, such as showing full data to privileged roles and masked data to others. This precisely matches the administrator's requirement to hide PII from the analyst while allowing access to other columns.

Why this answer

Masking policies in Snowflake are column-level security objects that dynamically mask data based on the user's role. They allow the administrator to hide PII from the analyst while still granting access to the table. The policy can be conditional, so different roles see different values.

This meets the requirement without altering the stored data.

Exam trap

The trap here is confusing masking policies with row access policies or believing that masking alters the stored data.

56
MCQeasy

A Snowflake user runs a SELECT statement against a large fact table. The query returns results in under a second, and the query profile shows that no warehouse was started. Which Snowflake feature most likely served the result?

A.The result set persisted by the user's open session.
B.The metadata cache maintained by the Cloud Services layer.
C.The local disk cache on the virtual warehouse.
D.The Snowflake Query Result Cache in the Cloud Services layer.
AnswerD

The Query Result Cache persists the results of executed queries in the Cloud Services layer for up to 24 hours. If an identical query is reissued and the underlying data has not changed, Snowflake returns the cached result without provisioning a warehouse, which explains the sub-second response and the absence of a warehouse start.

Why this answer

The Query Result Cache is a Cloud Services layer feature that stores the output of completed queries for up to 24 hours. When an identical query is submitted and the micro-partitions referenced by the original query are unchanged, Snowflake returns the cached result directly, bypassing the warehouse entirely. This is why the query completed quickly with no warehouse start.

Exam trap

The trap here is confusing the Query Result Cache, which persists query output in Cloud Services, with a warehouse-local data cache that requires compute to be running.

57
MCQmedium

Which Snowflake feature allows for the creation of a 'zero-copy' clone of a database or table?

A.Data Replication
B.Zero-copy Cloning
C.Table Partitioning
D.Time Travel
AnswerB

Zero-copy cloning uses metadata pointers to reference existing micro-partitions. This means no data is physically copied, allowing for the creation of clones in seconds regardless of the size of the source object. It is a fundamental feature for agile development and safe production testing in Snowflake.

Why this answer

Cloning in Snowflake creates a metadata-only reference to the existing data. Because it does not copy the actual underlying micro-partitions, it is instantaneous and incurs no additional storage costs until the data in the clone is modified. This is a powerful feature for development, testing, and production environments, allowing users to create fully isolated, writable copies of production data in seconds without duplicating large datasets.

Exam trap

Candidates often confuse zero-copy cloning with 'Time Travel' or 'Fail-safe'. While they relate to data history, cloning is a distinct feature for creating new, independent objects from snapshots.

58
MCQmedium

What is the role of the 'Search Optimization Service' in Snowflake?

A.It speeds up complex join operations.
B.It accelerates point-lookup queries.
C.It enables automatic data partitioning.
D.It optimizes storage space for tables.
AnswerB

Point-lookup queries involve filtering a table to return a small subset of rows based on a specific key value. The Search Optimization Service maintains an index that allows these queries to bypass large-scale scanning, returning results much faster than a standard scan-based query execution would.

Why this answer

The Search Optimization Service is specifically designed to improve the performance of point-lookup queries on large tables. By creating a persistent search index, it allows Snowflake to quickly identify specific rows that match a filter, even in massive datasets. This is essential for applications requiring sub-second response times for single-record lookups, which would otherwise require full table scans that are expensive and slow in traditional analytical environments.

Exam trap

Candidates often mistakenly believe the Search Optimization Service is for general query performance or aggregate functions. It is strictly optimized for point-lookup queries (finding one or few specific records).

59
MCQhard

Which THREE of the following are benefits of Snowflake's micro-partitioning architecture?

A.Enables efficient data pruning during query execution.
B.Supports traditional B-tree indexing for faster lookups.
C.Allows for automatic clustering of data.
D.Provides high concurrency without requiring locking.
E.Requires manual vacuuming to reclaim disk space.
AnswerA, C, D

Because micro-partitions store metadata about the ranges of values within them, the Cloud Services layer can easily prune entire partitions that do not contain data relevant to the query's filters, drastically reducing the amount of data that needs to be scanned and processed by the compute layer.

Why this answer

Micro-partitions are the core unit of storage in Snowflake. Because they are immutable and contain metadata (like min/max values), Snowflake can perform efficient pruning, skipping irrelevant data during query execution. This architecture allows for automatic clustering, high concurrency without locking, and efficient DML operations.

Understanding these benefits is crucial for optimizing Snowflake performance, as it explains why traditional indexing strategies are largely unnecessary and why Snowflake handles large-scale analytical workloads so efficiently.

Exam trap

Candidates often include 'indexes' as a benefit of micro-partitioning. Snowflake does not use traditional indexes, so selecting an option mentioning indexes is a common fatal error.

60
Multi-Selectmedium

Which TWO of the following statements accurately describe the functionality of Snowflake's separation of storage and compute architecture?

Select 2 answers
A.Storage costs are independent of the warehouse size.
B.Scaling a warehouse requires reloading all data.
C.Compute resources can be scaled up or out without data movement.
D.Data is physically tied to specific compute clusters.
E.Storage is only accessible during warehouse uptime.
AnswersA, C

Because storage is decoupled from compute, customers pay for the amount of data stored regardless of whether a virtual warehouse is currently active or what size it is. This allows companies to keep vast amounts of historical data without paying for expensive compute resources constantly.

Why this answer

Snowflake's architecture decouples storage from compute, allowing each to scale independently. This is foundational to the platform, enabling users to resize compute resources instantly without moving data. Understanding this model is essential because it avoids the classic 'resource contention' issue found in traditional databases where storage and compute are bound, allowing for optimized cost management and highly elastic performance for diverse analytical workloads across the organization.

Exam trap

Candidates often assume that increasing warehouse size affects storage costs, or that scaling compute requires moving underlying data blocks across physical hardware nodes in the cloud.

61
MCQhard

A Snowflake user executes a complex query that joins a large fact table with several dimension tables. The query takes longer than expected. The user notices that the query plan shows a significant amount of data being spilled to local disk. The warehouse size is currently MEDIUM. What is the most likely cause of the spillage, and what is the recommended action?

A.The query is experiencing contention due to multiple concurrent queries; setting the warehouse to multi-cluster will reduce spillage.
B.The query is too complex for the MEDIUM warehouse; increasing the warehouse size to LARGE will provide more memory and reduce spillage.
C.The query is spilling due to a lack of local disk space on the warehouse; increasing the warehouse size will provide more local disk.
D.The query is spilling because the result cache is disabled; enabling the result cache will prevent spillage.
AnswerB

Spillage to local disk occurs when the warehouse's memory is insufficient to hold intermediate results. Increasing the warehouse size provides more memory per node, which can reduce or eliminate spillage. The MEDIUM warehouse may be undersized for the query's working set. Scaling up to LARGE is a common remedy for memory-intensive operations like large joins and aggregations.

Why this answer

Spillage to local disk indicates that the query's intermediate results exceed the available memory in the warehouse. Increasing the warehouse size provides more memory per node, which can accommodate larger working sets and reduce spillage. This is the recommended action when spillage is observed on a MEDIUM warehouse for a complex query.

Exam trap

The trap here is assuming that multi-cluster warehouses or result caching can solve spillage, when the real issue is per-query memory.

62
MCQmedium

A data engineering team is loading a 500 GB CSV file into a Snowflake table using the COPY command. They notice that the load is taking longer than expected and the warehouse is showing high CPU utilization. Which of the following is the MOST likely cause for the slow performance?

A.The COPY command is using a single thread by default and should be configured for multi-threading.
B.The CSV file contains too many columns, causing parsing overhead.
C.The warehouse size is too small and should be increased to handle the file size.
D.The file is too large for a single COPY command and should be split into smaller files.
AnswerD

Snowflake recommends splitting large files into multiple smaller files (typically 100-250 MB compressed) to enable parallel loading. A single large file cannot be processed in parallel, causing one thread to handle the entire load, leading to high CPU on a single node and longer load times. Splitting the file allows the warehouse to distribute the load across multiple nodes.

Why this answer

For optimal load performance, Snowflake recommends splitting large data files into multiple smaller files (100-250 MB compressed) to allow parallel loading across the warehouse nodes. A single large file cannot be parallelized, leading to slower loads and potential resource contention. Increasing warehouse size or tweaking other parameters does not address the fundamental limitation of loading a single large file.

Exam trap

The trap here is assuming that increasing warehouse size will always solve slow data loading, when the real bottleneck is often file size and lack of parallelism.

63
MCQhard

A user runs a query that filters on a column with a very high cardinality, such as a timestamp with millisecond precision. The table is extremely large and is not clustered. What is the most likely impact on query performance?

A.The query will scan all micro-partitions because pruning is ineffective for high-cardinality columns.
B.The query will use the search optimization service to quickly find matching rows.
C.The query will benefit from the query result cache because the filter is highly selective.
D.Snowflake will automatically create a clustering key on the high-cardinality column to improve pruning.
AnswerA

Without clustering, Snowflake relies on natural micro-partition pruning based on metadata. For a high-cardinality column, the min/max ranges in each micro-partition overlap significantly, so pruning becomes ineffective. The query must scan most or all micro-partitions, leading to poor performance. This is a common issue with unclustered, high-cardinality filter columns.

Why this answer

For a large, unclustered table, filtering on a high-cardinality column like a millisecond timestamp leads to ineffective micro-partition pruning. Snowflake's pruning relies on min/max metadata, and high-cardinality columns have wide, overlapping ranges across micro-partitions. As a result, the query scans most or all micro-partitions, causing poor performance.

Clustering or search optimization could help, but neither is present here.

Exam trap

The trap here is assuming that Snowflake automatically optimizes or clusters high-cardinality columns, when in fact pruning becomes ineffective without explicit clustering or search optimization.

64
MCQmedium

A Snowflake user is designing a table to store semi-structured data from JSON logs. The user wants to query specific fields within the JSON efficiently and also retain the ability to query the entire JSON object. The user also wants to minimize storage costs. Which approach should the user take?

A.Store the JSON as a string in a VARCHAR column.
B.Store the JSON in an external stage and query it using external tables.
C.Shred the JSON into separate relational columns for each field.
D.Store the entire JSON object in a single VARIANT column.
AnswerD

Storing JSON in a VARIANT column allows Snowflake to automatically optimize storage by compressing and storing the JSON in a columnar format internally. Snowflake also extracts frequently accessed paths and stores them as separate micro-partition columns, which can improve query performance for those paths. This approach retains the full JSON object for flexible querying while minimizing storage costs due to Snowflake's automatic optimization. It is the recommended way to store semi-structured data.

Why this answer

Storing JSON in a VARIANT column leverages Snowflake's automatic optimization for semi-structured data, including columnar storage and path extraction. This provides efficient querying of specific fields while retaining the full JSON object, and it minimizes storage costs through compression and automatic micro-partition optimization. Other approaches either increase storage costs, reduce flexibility, or do not utilize Snowflake's native optimizations.

Exam trap

The trap here is assuming that shredding JSON into relational columns is always more efficient, when in fact VARIANT storage is optimized for semi-structured data and can be more cost-effective and flexible.

65
MCQhard

Refer to the exhibit. What is the primary advantage of using the VARIANT data type in this scenario?

A.It forces the data into a rigid relational schema.
B.It enables seamless querying of semi-structured data using SQL.
C.It converts all data to string format for storage.
D.It increases storage costs by requiring a fixed-width format.
AnswerB

By storing data in the VARIANT format, users can navigate nested JSON hierarchies using Snowflake's dot-notation and colon-notation syntax directly within SQL queries. This allows for powerful analytical operations on semi-structured data without requiring it to be transformed into a flat relational structure first.

Why this answer

The VARIANT data type in Snowflake allows for the storage of semi-structured data like JSON, Avro, or Parquet in a native format. By using VARIANT, Snowflake parses the data upon ingestion and stores it in an optimized internal representation. This enables users to query semi-structured data using standard SQL, providing a bridge between the flexibility of NoSQL and the reliability and performance of relational databases.

Exam trap

Candidates often think VARIANT is only for storing raw files. They overlook the critical advantage that Snowflake parses this data upon ingestion to enable native SQL querying capabilities.

66
Multi-Selecthard

A platform team is evaluating Snowflake's Time Travel feature for a production database. They need to understand which capabilities Time Travel provides for recovering from accidental data changes and for querying historical data. (Choose two.)

Select 2 answers
A.Restore a dropped table, schema, or database within the retention period using UNDROP or by cloning from a historical point.
B.Encrypt historical data with a separate customer-managed key that is distinct from the key used for current data.
C.Automatically fail over read and write operations to a secondary account in a different region without data loss.
D.Permanently retain all historical versions of every table indefinitely without any retention period configuration.
E.Query data as it existed at a specific point in the past using an AT or BEFORE clause in the SELECT statement.
AnswersA, E

Time Travel enables recovery of dropped objects within the defined retention period. A dropped table can be restored with UNDROP TABLE, and historical versions can be cloned to create a new object reflecting an earlier state. This capability is a primary reason Time Travel is used for accidental deletion recovery in production databases.

Why this answer

Time Travel provides two core capabilities: querying data as it existed at a past point using AT or BEFORE, and recovering dropped or modified objects within the retention period through UNDROP or historical cloning. Both are directly supported by the feature and are commonly used for auditing and accidental-change recovery, while failover and indefinite retention are handled by other mechanisms.

Exam trap

The trap here is conflating Time Travel with cross-region failover or assuming historical data is retained indefinitely rather than for a bounded retention period.

67
MCQmedium

Which Snowflake architecture feature enables seamless data sharing between two different Snowflake accounts without the need to copy or move data?

A.Database Replication
B.Secure Data Sharing
C.Zero-Copy Cloning
D.Virtual Private Snowflake
AnswerB

Secure Data Sharing is the standard Snowflake feature for sharing data between accounts. It uses the underlying metadata layer to grant access to specific objects in the provider account to one or more consumer accounts, ensuring data is never copied and always remains under the control of the provider.

Why this answer

Secure Data Sharing relies on Snowflake's unique architecture where data is stored in a centralized location while being accessed by multiple compute environments. By granting permissions to an object, a provider can expose data to a consumer account. Because no data movement is required, the shared data is always up-to-date and reflects the current state of the provider's database, providing a real-time collaboration experience without the overhead of traditional ETL.

Exam trap

Candidates often assume that sharing data requires creating a new database copy or using an ETL process to move data to the consumer's account.

68
MCQeasy

Which Snowflake feature provides an 'always-on' mechanism to allow users to instantly query the state of data as it existed at any point in the past within a defined retention period?

A.Database Snapshots
B.Time Travel
C.Materialized Views
D.Data Sharing
AnswerB

Time Travel allows users to access historical data versioning by utilizing Snowflake's micro-partition metadata. This feature is integrated natively into the platform, providing the ability to perform point-in-time recovery and analysis without the need for additional administration or storage management by the user.

Why this answer

Time Travel is a core Snowflake feature that maintains historical data states, allowing users to query data as it existed at a specific timestamp or offset. This feature is vital for data recovery, auditing, and comparing current data against historical trends. By leveraging the metadata-heavy architecture of Snowflake, it provides near-instantaneous access to previous data versions without requiring costly manual backups or complex database snapshots.

Exam trap

Candidates often confuse Time Travel with Fail-safe or manual table snapshots, incorrectly assuming Time Travel requires active user-managed backups to function.

69
Multi-Selecteasy

Which TWO of the following tasks are performed by the Snowflake Cloud Services layer?

Select 2 answers
A.Executing the actual DML operations and data processing tasks.
B.Storing the raw data files in micro-partitions within cloud storage.
C.Managing user authentication and access control for the account.
D.Optimizing and compiling SQL queries for execution.
E.Providing the physical hardware resources for the cloud environment.
AnswersC, D

The Cloud Services layer is responsible for verifying user identities and enforcing security policies. It ensures that only authorized users can connect to the Snowflake environment and that they only have access to the data and objects permitted by their roles. This centralized security model is foundational to Snowflake's architecture.

Why this answer

The Cloud Services layer acts as the 'brain' of Snowflake, managing the overall state of the system and coordinating activities. It handles tasks that do not require heavy computational power, such as security, metadata management, and query optimization. By centralizing these functions, Snowflake ensures consistent governance and performance across all virtual warehouses and storage components.

Exam trap

Candidates often confuse the Cloud Services layer with the Compute layer, incorrectly attributing query execution or data processing tasks to the 'brain' of the system rather than the virtual warehouses.

70
MCQhard

Refer to the exhibit. Given the state described in the JSON, what happens when a user executes the query?

A.The warehouse automatically resumes.
B.The query fails due to lack of compute.
C.The query returns results from the cache.
D.The query waits for the warehouse to start.
AnswerC

Since the result cache is available and the query is identical, the Cloud Services layer returns the cached result. This avoids the overhead of starting a virtual warehouse, resulting in fast query execution times and zero credit usage, which is an optimal use of Snowflake's metadata-driven architecture.

Why this answer

Even though the warehouse is suspended, the query will execute successfully because the Cloud Services layer can fulfill the request from the result cache. This highlights the efficiency of the Snowflake architecture, where the Cloud Services layer functions independently of the compute layer. If the query result exists in the cache and the underlying table data has not changed, Snowflake retrieves the result without starting the warehouse, saving costs.

Exam trap

Candidates often believe that a suspended warehouse prevents any query execution, failing to realize that the Cloud Services layer can serve cached results without activating the compute cluster.

71
MCQeasy

Which component of the Snowflake architecture is responsible for managing data integrity, query optimization, and transaction management?

A.Compute Layer
B.Storage Layer
C.Cloud Services Layer
D.Database Layer
AnswerC

The Cloud Services layer orchestrates all Snowflake activities, including security, metadata, query parsing, optimization, and transaction management. It uses a set of services that run on compute resources managed by Snowflake, ensuring that all operations are secure, consistent, and highly performant across the entire data platform environment.

Why this answer

The Cloud Services layer acts as the 'brain' of Snowflake. It handles all authentication, metadata management, access control, and query optimization. By centralizing these tasks, the architecture keeps the compute layer decoupled and stateless.

This is fundamental to Snowflake's design, as it allows users to perform DDL and DML operations, maintain security, and optimize query plans without requiring management of the underlying hardware or software infrastructure.

Exam trap

Many test-takers confuse the responsibilities of the Virtual Warehouse compute layer with the Cloud Services layer, incorrectly attributing query optimization and metadata management to the compute warehouses.

72
MCQeasy

A company wants to monetize its data by making it available to other Snowflake customers through a centralized, public platform. Which Snowflake feature should they use?

A.Snowflake Data Exchange
B.Snowflake Marketplace
C.Direct Data Sharing
D.Snowflake Snowpark
AnswerB

The Snowflake Marketplace is specifically designed for public data sharing and monetization. It allows providers to showcase their data to thousands of potential customers globally. Consumers can browse, preview, and subscribe to data sets directly from their Snowflake account, with the provider managing access and potentially charging for the subscription.

Why this answer

The Snowflake Marketplace is a public forum where providers can list data sets, services, and applications. It facilitates the discovery and consumption of third-party data and allows providers to reach a wide audience of Snowflake users. This architecture leverages Snowflake's secure data sharing technology to enable seamless commercial transactions and data exchange across different organizations.

Exam trap

Candidates often confuse internal data sharing with the public Snowflake Marketplace, failing to distinguish between private shares and the centralized platform for third-party data monetization.

73
MCQhard

Which component is responsible for orchestrating the lifecycle of a virtual warehouse, including start and stop operations?

A.The Storage layer
B.The Compute layer
C.The Cloud Services layer
D.The Object Storage API
AnswerC

The Cloud Services layer is the command center that manages the entire Snowflake environment, including the lifecycle of virtual warehouses. It monitors usage, evaluates query requests, and handles the automated starting and stopping of warehouses based on workload demand, ensuring that compute resources are managed efficiently and effectively for all users.

Why this answer

The Cloud Services layer orchestrates the life cycle of virtual warehouses. When a query is received, the Cloud Services layer determines if the warehouse is running; if not, it triggers the start process. This is part of the 'serverless' experience Snowflake provides, allowing users to interact with the platform without manually managing compute resources.

This automation is vital for maintaining high availability while optimizing cost through automated suspension and resumption.

Exam trap

Many candidates incorrectly attribute warehouse lifecycle management to the Compute layer. The Cloud Services layer is the 'brain' of Snowflake and handles all orchestration, including starting and stopping virtual warehouses.

74
MCQhard

Refer to the exhibit. Based on the query profile metadata provided, which Snowflake feature most likely contributed to the high efficiency of this query?

A.Search Optimization Service
B.Partition Pruning
C.Materialized Views
D.Query Result Caching
AnswerB

Partition pruning is explicitly shown here. By scanning only 100 out of 10,000 partitions, Snowflake effectively skipped 99% of the data. This occurs because the Cloud Services layer maintains metadata about the range of values in each partition, allowing the engine to avoid unnecessary data reads.

Why this answer

Partition pruning is a core performance feature that allows Snowflake to ignore entire blocks of data that do not meet the filter criteria. By utilizing the metadata stored in the Cloud Services layer, Snowflake identifies the specific partitions containing the relevant 'order_date' values. This dramatically reduces I/O operations and speeds up query execution, which is fundamental to Snowflake's high-performance data processing architecture.

Exam trap

Candidates often guess 'Result Cache' when they see fast queries. However, if the query uses filters on specific columns, 'Partition Pruning' is the architectural feature responsible for skipping unnecessary data blocks.

75
MCQhard

A Snowflake user needs to query data stored in an external cloud storage location (e.g., Amazon S3) without loading it into Snowflake tables. They want to minimize data movement and cost. Which Snowflake feature should they use?

A.External Tables
B.Snowpipe
C.Materialized Views
D.Internal Stages
AnswerA

External tables allow querying data stored in external cloud storage directly, without loading it into Snowflake. They use a stage to access the files and can be queried like regular tables. This minimizes data movement and cost because data remains in the external location and is read on demand. This directly addresses the requirement.

Why this answer

External tables enable querying data in external cloud storage directly, without loading it into Snowflake. This reduces data movement and cost because the data stays in its original location. Internal stages, materialized views, and Snowpipe all involve loading or storing data within Snowflake, which does not meet the requirement.

Exam trap

The trap here is confusing external tables with stages or Snowpipe, thinking that any external data access feature avoids loading, when only external tables allow direct querying.

Page 1 of 2 · 78 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Snowflake Features Architecture questions.