Courseiva

CCNA Snowflake Architecture Questions

66 questions · Snowflake Architecture · All types, answers revealed

1
MCQmedium

An architect is configuring a Snowflake account to support a workload that requires reading data from an external Apache Iceberg table stored in an external cloud storage location. The architect wants to ensure that queries against the Iceberg table can leverage Snowflake's compute and caching. Which Snowflake feature should the architect use?

A.Secure views
B.Iceberg tables
C.External tables
D.External stages
AnswerB

Snowflake Iceberg tables provide native support for Apache Iceberg, allowing Snowflake to read and write Iceberg data stored externally while leveraging Snowflake's compute and caching. They support ACID transactions, schema evolution, and time travel. This is the optimal feature for querying external Iceberg data with Snowflake's performance benefits.

Why this answer

Snowflake Iceberg tables enable native integration with Apache Iceberg, allowing Snowflake to query and write to external Iceberg data using its compute and caching. This feature supports ACID transactions and schema evolution, making it ideal for lakehouse architectures. External tables and stages do not provide the same level of integration.

Exam trap

The trap here is equating external tables with Iceberg tables; external tables are for generic external files, while Iceberg tables provide full Iceberg semantics and performance benefits.

2
MCQmedium

An organization requires a storage solution for semi-structured data that must be accessible by multiple independent compute clusters without data duplication. Which Snowflake architectural component facilitates this requirement?

A.Virtual Warehouses
B.Micro-partitions
C.The Cloud Services Layer
D.The Centralized Storage Layer
AnswerD

The centralized storage layer stores all data in a single, durable cloud storage bucket. Because it is decoupled from compute, any number of virtual warehouses can mount the same data simultaneously. This provides a single source of truth without the overhead or latency of duplicating data across compute clusters.

Why this answer

Snowflake utilizes a decoupled architecture where the centralized storage layer is physically separated from independent compute clusters. This allows multiple virtual warehouses to concurrently access the same underlying data without requiring data movement or replication. This architecture is vital for minimizing storage costs and ensuring consistency across diverse analytical workloads, such as ETL pipelines and ad-hoc BI queries sharing a single source of truth.

Exam trap

Candidates often confuse the 'Storage Layer' with the 'Cloud Services Layer'. They incorrectly assume that because Snowflake is a cloud service, the storage logic resides within the Cloud Services layer instead of the decoupled storage.

3
Multi-Selectmedium

When creating a Zero-copy Clone of a production database to a development environment, which THREE statements accurately describe the behavior? (Choose THREE)

Select 3 answers
A.The clone does not incur additional storage costs until the data in the clone or source is modified.
B.The operation is nearly instantaneous as it only involves metadata manipulation.
C.Changes made to the production database are automatically reflected in the development clone.
D.Cloning a database also clones the associated Virtual Warehouses used by that database.
E.The clone has its own independent Time Travel retention period and history.
AnswersA, B, E

Because cloning only duplicates metadata pointers to the existing micro-partitions, no new data is written initially. Only when rows are updated or deleted in either the source or the clone do new micro-partitions get created, at which point the account begins to incur storage charges for the unique data.

Why this answer

Zero-copy cloning is a powerful architectural feature that duplicates the metadata of an object without copying the underlying data. This makes the operation nearly instantaneous and cost-effective. However, the clone is an independent object; changes in the source don't reflect in the clone, and the clone starts with its own Time Travel history.

Exam trap

Candidates often assume that a clone shares the same Time Travel history as the source. In reality, the clone is a distinct object that begins its own unique history from the moment of creation.

4
MCQhard

A company is using Search Optimization Service (SOS) to speed up point lookups. They notice that after adding SOS to a column, the storage costs have increased significantly. Which architectural factor most likely contributes to this cost increase?

A.The SOS service creates a full physical copy of the table in a separate region.
B.The maintenance of the search access path for a high-churn table with many updates.
C.The SOS service requires a dedicated X-Large virtual warehouse to be running 24/7.
D.SOS automatically converts the table from columnar storage to a row-based format.
AnswerB

In a high-churn table, every update or delete operation requires the Search Optimization Service to update its auxiliary data structures. This background maintenance is a serverless process that consumes credits and generates new storage versions. Architects must carefully weigh the performance benefits of SOS against the maintenance costs in frequently changing tables.

Why this answer

Search Optimization Service works by creating and maintaining an auxiliary data structure (a search access path) that tracks the values in the optimized columns. This structure requires additional storage. More importantly, when data in the table changes, this auxiliary structure must be updated, which consumes serverless compute resources and creates new versions of the search data, increasing storage and maintenance costs.

Exam trap

Candidates often overlook the relationship between data churn and SOS costs, assuming that SOS only costs money for the initial index creation rather than the ongoing maintenance required for every update.

5
MCQhard

An architect is designing a data pipeline that ingests JSON data into a Snowflake table with a VARIANT column. The pipeline uses Snowpipe for continuous ingestion. The architect notices that some JSON records contain nested arrays and occasionally exceed 16 MB in size. Which statement accurately describes a limitation or behavior the architect must consider?

A.The VARIANT data type has no size limit, but Snowpipe enforces a 16 MB limit per file.
B.The VARIANT data type can store up to 16 MB of uncompressed data per value, and exceeding this limit causes the load to fail with an error.
C.Snowpipe compresses JSON data, so the 16 MB limit applies to the compressed size, allowing larger uncompressed records.
D.Snowpipe automatically splits large JSON records larger than 16 MB into multiple VARIANT rows to comply with the size limit.
AnswerB

Snowflake's VARIANT type has a maximum size of 16 MB for uncompressed data. If a single JSON record exceeds this, the ingestion fails. Architects must ensure individual records are within this limit, possibly by splitting or aggregating differently. Snowpipe does not automatically handle oversized records, so validation and preprocessing are essential.

Why this answer

VARIANT columns in Snowflake have a strict 16 MB uncompressed size limit per value. When ingesting JSON via Snowpipe, if any single record exceeds this, the load fails. Architects must preprocess data to split or truncate large records.

Compression does not change the uncompressed size limit, and Snowpipe does not split records automatically.

Exam trap

The trap here is confusing file-level size limits with per-value VARIANT limits; Snowpipe can ingest large files, but individual VARIANT values must be within 16 MB uncompressed.

6
MCQmedium

A data architect is designing a multi-cluster warehouse strategy. They require the warehouse to automatically scale up if queueing persists while maintaining cost efficiency during periods of low activity. Which configuration best addresses these requirements?

A.Set MAX_CONCURRENCY_LEVEL to 1 and disable auto-suspend.
B.Set the warehouse to 'MAXIMIZED' mode with auto-suspend at 60 minutes.
C.Enable Auto-scale with MIN_CLUSTER_COUNT=1 and MAX_CLUSTER_COUNT=5, and set Auto-suspend to 60 seconds.
D.Increase warehouse size to 4XL and disable multi-cluster scaling.
AnswerC

This configuration enables horizontal scaling to address queueing while ensuring idle clusters are terminated promptly. Using a short 60-second auto-suspend window minimizes costs by ensuring that expensive compute resources are not held during periods of inactivity, providing an optimized balance of performance and fiscal responsibility.

Why this answer

Configuring 'Multi-cluster' with 'Auto-scale' mode allows Snowflake to spin up additional clusters to handle concurrency, preventing queueing. Setting the 'Auto-suspend' parameter to a short duration ensures compute resources are released when idle, directly controlling costs. This combination is the architectural standard for balancing high-concurrency demand spikes with efficient resource utilization in dynamic environments where workloads fluctuate significantly throughout the business day.

Exam trap

Many test-takers confuse scaling up (increasing warehouse size for complex queries) with scaling out (adding clusters for concurrency), selecting the wrong setting to handle continuous ingestion queueing spikes.

7
MCQmedium

A Snowflake architect is optimizing a virtual warehouse for a workload that consists of many small, concurrent queries with high concurrency requirements. The queries are simple and return small result sets. The architect wants to minimize queuing and ensure fast response times while controlling costs. Which warehouse configuration should the architect choose?

A.A multi-cluster warehouse with Economy scaling policy and a medium warehouse size.
B.A single-cluster warehouse with a small warehouse size and increased statement timeout.
C.A multi-cluster warehouse with Standard scaling policy and a small warehouse size.
D.A single-cluster warehouse with a large warehouse size.
AnswerC

A multi-cluster warehouse with Standard scaling policy automatically adds clusters when queries are queued, immediately reducing queuing for high concurrency. A small warehouse size is cost-effective for simple queries with small result sets. This configuration balances performance and cost by scaling out only when needed, making it ideal for many small, concurrent queries.

Why this answer

A multi-cluster warehouse with Standard scaling policy and a small warehouse size is optimal for many small, concurrent queries. Standard policy adds clusters immediately when queries are queued, reducing latency. Small size keeps costs low for simple queries.

This setup ensures high concurrency without over-provisioning compute resources.

Exam trap

The trap here is assuming that a larger single warehouse can handle high concurrency better, but concurrency is limited by the number of clusters, not just size.

8
MCQmedium

What is the primary benefit of using Snowflake's Result Cache for repeated queries?

A.It eliminates the need for data loading processes.
B.It provides performance benefits by avoiding compute resource usage for identical queries.
C.It allows for cross-region replication of data.
D.It updates dynamically as base tables receive new data.
AnswerB

By returning results directly from the cache, Snowflake avoids executing the query on the warehouse. This eliminates compute costs and latency, providing an immediate response. This feature is highly efficient for workloads with high repetition, such as executive dashboards, where the same queries are executed multiple times within a day.

Why this answer

The Result Cache stores the output of query executions for 24 hours. If a subsequent query exactly matches a previous one and the underlying data has not changed, Snowflake returns the cached results immediately. This bypasses the compute layer entirely, saving costs and providing near-instant response times.

This is a critical architectural feature for optimizing workloads that involve repetitive dashboard refreshes or common reporting metrics that do not require constant re-computation.

Exam trap

Candidates often think the Result Cache is a form of local storage for table data, failing to distinguish it from the actual persistent storage or virtual warehouse cache.

9
MCQmedium

An architect is evaluating Snowflake's Virtual Warehouse architecture for a new workload that requires continuous, high-concurrency query execution with minimal latency. The workload consists of many small, short-running queries issued by hundreds of users simultaneously. Which configuration should the architect recommend to best meet these requirements?

A.Deploy a single multi-cluster warehouse with a minimum of 3 clusters and a maximum of 10 clusters, using STANDARD scaling policy.
B.Deploy a single large warehouse with a maximum cluster count of 1 and enable auto-suspend after 60 seconds.
C.Deploy a single multi-cluster warehouse with ECONOMY scaling policy and a maximum of 2 clusters.
D.Deploy multiple independent warehouses, each sized X-Small, and assign each user to a dedicated warehouse.
AnswerA

Multi-cluster warehouses with STANDARD scaling policy automatically add clusters when queries are queued and remove them when load decreases, directly addressing high-concurrency short queries. A minimum of 3 clusters ensures baseline capacity, while the maximum of 10 provides headroom for peak loads, minimizing latency without over-provisioning.

Why this answer

High-concurrency, short-running queries benefit from a multi-cluster warehouse with STANDARD scaling, which aggressively adds clusters to reduce queuing. A minimum of 3 clusters handles baseline concurrency, and a maximum of 10 allows scaling for peaks. ECONOMY scaling is more conservative and may introduce latency, while single-cluster or per-user warehouses do not scale as efficiently.

Exam trap

The trap here is assuming that a larger warehouse size or more warehouses per user solves concurrency, when the key is horizontal scaling via multi-cluster warehouses with the appropriate scaling policy.

10
MCQmedium

Refer to the exhibit. Based on the configuration provided, how will the multi-cluster warehouse behave when the query load increases?

A.A new cluster will start immediately as soon as a single query is queued.
B.The warehouse will scale up to an X-Large size to handle the increased load.
C.A second cluster will only start if the system estimates it will remain busy for 6 minutes.
D.All five clusters will start simultaneously when the first query is submitted to the warehouse.
AnswerC

The 'Economy' scaling policy specifically waits to spin up additional clusters until there is a consistent workload. It uses a heuristic to ensure that the cluster, once started, will be utilized effectively for at least six minutes, thereby avoiding the costs of frequently starting and stopping clusters for transient spikes.

Why this answer

The Economy scaling policy is designed to conserve credits by only starting a new cluster if Snowflake estimates there is enough concurrent load to keep the new cluster busy for at least six minutes. This contrasts with the Standard policy, which starts clusters immediately to minimize queuing, making Economy better for workloads where latency is less critical.

Exam trap

Test-takers often confuse Economy and Standard multi-cluster warehouse policies, incorrectly believing the Economy policy spins up additional clusters immediately when queues begin to form.

11
MCQeasy

Which statement accurately describes the characteristics of micro-partitions in Snowflake's architecture?

A.They are physical files that users must manually define using partition keys.
B.They are immutable files that are encrypted and stored in the storage layer.
C.They use a row-based storage format to optimize for high-frequency OLTP writes.
D.They are stored in the Cloud Services layer to allow for faster metadata access.
AnswerB

Micro-partitions are immutable, meaning they cannot be modified once written. When data is updated or deleted, Snowflake creates new versions of the partitions. These files are automatically encrypted at rest and stored in the cloud provider's object storage. This immutability is the foundation for Snowflake's data versioning capabilities.

Why this answer

Micro-partitions are the fundamental unit of storage in Snowflake. They are automatically created, immutable, and columnar in nature. This architecture enables Snowflake to perform efficient pruning and supports features like Time Travel and Zero-copy cloning.

Understanding micro-partitions is vital for understanding how Snowflake achieves high performance without requiring manual indexing or partitioning strategies.

Exam trap

Candidates frequently confuse micro-partitions with traditional database blocks or index pages, incorrectly assuming they are mutable and can be updated in place by the compute layer during DML operations.

12
MCQeasy

A Snowflake architect is designing a multi-cluster warehouse to handle varying concurrency demands for a BI dashboard that experiences peak usage during business hours. The architect wants to ensure that queries are not queued and that the warehouse scales out automatically. Which configuration should the architect use?

A.Set the warehouse to multi-cluster mode with a minimum cluster count of 1 and maximum cluster count of 1.
B.Set the warehouse to multi-cluster mode with scaling policy set to STANDARD.
C.Set the warehouse to single-cluster mode with a larger warehouse size.
D.Set the warehouse to multi-cluster mode with scaling policy set to ECONOMY.
AnswerB

The STANDARD scaling policy starts additional clusters immediately when queries are queued, minimizing wait times. It is designed for high concurrency and ensures that queries are not queued by scaling out proactively. This meets the requirement of automatic scaling without queuing during peak usage.

Why this answer

To prevent queuing during peak concurrency, a multi-cluster warehouse with the STANDARD scaling policy is optimal. The STANDARD policy adds clusters immediately when queries are queued, ensuring low latency. ECONOMY may delay scaling, and single-cluster or fixed cluster count configurations cannot scale out dynamically.

Exam trap

The trap here is assuming that a larger warehouse size solves concurrency issues, when actually multi-cluster scaling is needed to handle multiple concurrent queries.

13
MCQmedium

A Snowflake architect needs to design a solution for a global retail company that requires near real-time analytics on streaming point-of-sale data. The data arrives continuously via Snowpipe and must be immediately available for complex joins with historical sales data. The architect must minimize data latency and ensure that the compute resources for ingestion do not compete with those for analytical queries. Which Snowflake feature should the architect implement to meet these requirements?

A.Snowpipe with auto-ingest
B.Snowpipe Streaming
C.Snowflake Tasks with streams
D.Snowflake External Tables
AnswerB

Snowpipe Streaming enables low-latency, high-throughput ingestion of streaming data directly into Snowflake tables without the need for a stage or file-based ingestion. It uses a separate compute resource (Snowpipe Streaming service) that does not consume virtual warehouse credits, thus avoiding competition with analytical queries. This meets the requirement for near real-time availability and resource isolation.

Why this answer

Snowpipe Streaming is the correct choice because it provides a direct, low-latency path for streaming data into Snowflake tables, bypassing the need for file staging and reducing latency to seconds. It uses a separate compute service that does not consume virtual warehouse credits, ensuring that ingestion does not compete with analytical queries. This aligns with the need for near real-time analytics on streaming point-of-sale data.

Exam trap

The trap here is assuming that Snowpipe with auto-ingest provides real-time ingestion, but it actually has higher latency due to file staging and notification delays.

14
MCQhard

Refer to the exhibit. A query profile shows that 'partitions_scanned' is 5,000 while 'partitions_total' is 5,000 for a specific TableScan operator. What architectural issue does this indicate, and what is the recommended solution?

A.The warehouse is too small; increase it to improve the scan speed.
B.The query is hitting the metadata cache; no action is required.
C.Data is poorly clustered for the query filters; define a Cluster Key.
D.The table is a Transient table; convert it to a Permanent table.
AnswerC

Zero pruning indicates that the min/max values for the filtered columns overlap across all micro-partitions, or the filters are not being applied effectively. By defining a Cluster Key, Snowflake will reorganize the data so that values are grouped together, allowing the Cloud Services layer to prune the majority of partitions based on their metadata.

Why this answer

When the number of scanned partitions equals the total partitions, it means that no pruning occurred, and Snowflake performed a full table scan. Architecturally, this usually happens because the query filter does not align with the way data is organized in micro-partitions. Defining a Cluster Key on the columns used in the filter is the standard architectural fix to enable efficient pruning.

Exam trap

Candidates often suggest scaling up the warehouse size when partitions scanned equals total partitions, failing to realize that compute power cannot fix a missing partition pruning strategy.

15
MCQmedium

How does the Snowflake Cloud Services layer facilitate zero-copy cloning?

A.It performs a background process that copies micro-partitions to a new storage location.
B.It updates the metadata to point to existing micro-partitions.
C.It uses a temporary cache to manage differences between the clone and source.
D.It forces a full snapshot of the object storage bucket to ensure consistency.
AnswerB

By simply creating a new reference in the metadata layer, the clone points to the original micro-partitions. Because micro-partitions are immutable, this is safe; subsequent changes to the clone trigger the creation of new partitions, ensuring that the original data remains untouched and consistent for all users.

Why this answer

The Cloud Services layer maintains metadata maps that track which micro-partitions belong to which tables. When a zero-copy clone is performed, Snowflake simply creates a new metadata entry that points to the existing micro-partitions of the source table. No data is physically copied, which allows for near-instant creation of environments.

This architectural design highlights how metadata separation allows for efficient data management without the storage overhead associated with traditional database cloning methods.

Exam trap

Candidates often mistakenly believe that cloning copies the actual data blocks, failing to realize that Snowflake only creates new metadata pointers to existing micro-partitions without duplicating the underlying storage files.

16
MCQhard

A Snowflake architect is designing a multi-cluster warehouse for a workload that experiences unpredictable spikes in concurrency. The architect wants to ensure that queries are not queued unnecessarily while minimizing credit consumption during periods of low demand. The warehouse is configured with a minimum cluster count of 1 and a maximum of 5. Which scaling policy should the architect choose to best meet these goals?

A.Auto-suspend scaling policy
B.Maximized scaling policy
C.Standard scaling policy
D.Economy scaling policy
AnswerC

The Standard scaling policy starts additional clusters immediately when queries are queued, up to the maximum, and shuts them down after a period of inactivity (default 60 seconds). This minimizes queuing during sudden spikes and reduces credits during low demand by scaling down. It is designed for workloads that require high concurrency and can tolerate some credit usage for responsiveness, matching the scenario's need to avoid unnecessary queuing while controlling costs.

Why this answer

The Standard scaling policy is designed to minimize queuing by promptly adding clusters when queries are waiting, and it scales down after inactivity to save credits. Economy scaling is more conservative and may allow queuing during rapid spikes. Auto-suspend is unrelated to cluster scaling, and Maximized is not a valid policy.

Therefore, Standard best meets the requirement to handle unpredictable concurrency without excessive credit use.

Exam trap

The trap here is confusing the warehouse auto-suspend setting with the multi-cluster scaling policy, or assuming a policy called Maximized exists.

17
MCQhard

Which feature of the Cloud Services layer specifically ensures that all transactions maintain ACID properties?

A.The local SSD cache on the Virtual Warehouse nodes.
B.The Global Transaction Manager within the Cloud Services layer.
C.The object storage layer's native versioning capability.
D.The client-side driver which handles transaction sequencing.
AnswerB

The transaction manager within the Cloud Services layer acts as a centralized coordinator for all state-changing operations. It ensures that every transaction follows ACID principles by managing locks (at the metadata level), sequencing, and ensuring atomicity. This allows Snowflake to scale compute indefinitely while maintaining strict data consistency throughout the system.

Why this answer

The Cloud Services layer maintains a centralized metadata repository and a transaction manager that ensures ACID compliance across all distributed operations. By using a global transaction manager, Snowflake ensures that all DML operations are either fully committed or rolled back, providing the consistency and isolation required for complex analytical and transactional applications. This centralized control is essential for maintaining data integrity in a massively parallel, distributed environment where concurrent writes are common.

Exam trap

Candidates often confuse the Global Transaction Manager with the compute engine, incorrectly believing that the warehouse is responsible for maintaining ACID transaction states during DML operations.

18
MCQhard

Which component of the Snowflake architecture is responsible for managing metadata, access control policies, and the global state of the database objects across all accounts?

A.The Virtual Warehouse layer.
B.The Cloud Services layer.
C.The Database Storage layer.
D.The Result Cache.
AnswerB

The Cloud Services layer coordinates all activities in Snowflake, including session management, security, and metadata management. It ensures that data remains consistent globally by tracking state changes, which allows features like time travel and cloning to function reliably across all regions and compute clusters in an account.

Why this answer

The Cloud Services layer acts as the brain of Snowflake, handling authentication, query parsing, optimization, and metadata management. It maintains the global state and security integrity without requiring direct user interaction with storage or compute nodes. Understanding this layer is crucial for architects because it governs the metadata repository that enables features like zero-copy cloning, time travel, and robust security controls that are foundational to the Snowflake ecosystem.

Exam trap

Students often attribute metadata management and global state tracking to the storage layer or compute warehouses, forgetting that the Cloud Services layer acts as Snowflake's central brain.

19
MCQeasy

A retail company uses Snowflake to analyze point-of-sale data. They notice that queries filtering on the 'transaction_date' column are slow because the table is not clustered on that column. The table is very large and experiences frequent inserts. Which Snowflake feature should the architect recommend to automatically maintain clustering on the 'transaction_date' column?

A.Use a task to periodically run ALTER TABLE ... CLUSTER BY on the table.
B.Create a materialized view that selects all columns and filters on 'transaction_date'.
C.Enable the search optimization service on the 'transaction_date' column.
D.Define a clustering key on 'transaction_date' and enable automatic clustering.
AnswerD

Automatic clustering is a Snowflake service that continuously reorganizes micro-partitions in the background to maintain the clustering key as new data is inserted. By defining a clustering key on 'transaction_date' and enabling automatic clustering (which is on by default for clustered tables), the table remains optimally clustered without manual intervention. This improves query performance for filters on that column.

Why this answer

Defining a clustering key on 'transaction_date' and enabling automatic clustering allows Snowflake to maintain the clustering as new data is inserted. Automatic clustering runs in the background, ensuring that queries filtering on that column benefit from partition pruning. This is the native, recommended solution for large, frequently updated tables.

Other options either do not address clustering or are inefficient.

Exam trap

The trap here is assuming that manual reclustering via tasks or materialized views can replace automatic clustering, when in fact automatic clustering is the designed feature for ongoing maintenance.

20
MCQmedium

In Snowflake's architecture, what happens to the existing data in a table when a new Cluster Key is defined and the Automatic Clustering service is enabled?

A.The table is immediately locked and the data is rewritten to match the new key.
B.Snowflake uses a serverless background service to incrementally re-cluster the data.
C.The user must run the RECLUSTER command to trigger the data movement manually.
D.Existing data remains unchanged; only new data will be clustered using the new key.
AnswerB

Automatic Clustering is a serverless feature that monitors the clustering health of tables. When a key is defined, the service uses its own compute resources to reshuffle data into new micro-partitions that better align with the key. This process is incremental and prioritizes the most 'out-of-order' partitions to improve query pruning efficiency.

Why this answer

When a cluster key is defined, Snowflake does not immediately rewrite the table. Instead, the Automatic Clustering service, which is a serverless background task, identifies micro-partitions that are poorly clustered according to the new key. It then incrementally reorganizes the data by creating new micro-partitions and marking the old ones for deletion, all without impacting active workloads.

Exam trap

Candidates often mistakenly believe that defining a Cluster Key triggers an immediate, full-table rewrite, which would cause significant performance degradation and consume massive compute resources during the re-clustering process.

21
MCQhard

An architect is designing a Snowflake environment for a global e-commerce platform. The platform needs to support read-heavy workloads from multiple regions with low latency. The data is stored in a single Snowflake account in the US West (Oregon) region. The architect wants to minimize data transfer costs and improve query performance for users in Europe and Asia. Which approach should the architect recommend?

A.Use Snowflake's multi-cluster warehouse feature to deploy warehouses in each region that read from the primary database.
B.Configure a Snowflake materialized view in each region that refreshes from the primary table.
C.Enable Snowflake's global data sharing by creating a share and granting access to accounts in each region.
D.Create a read-only replica of the primary database in each region using database replication and configure clients to connect to the nearest replica.
AnswerD

Database replication creates a read-only copy of the database in another region. Clients in Europe and Asia can query the local replica, reducing latency and avoiding cross-region data transfer costs for read queries. This is the recommended approach for global read-heavy workloads with low latency requirements.

Why this answer

Database replication allows you to create a read-only replica of a database in another region. Clients can connect to the replica in their region, reducing latency and avoiding cross-region data transfer costs for reads. This is ideal for global read-heavy workloads.

Exam trap

The trap here is assuming that multi-cluster warehouses or data sharing can provide regional low-latency access, when only database replication creates a local copy in another region.

22
Multi-Selecthard

A Data Provider wants to share data with a Consumer who does not have a Snowflake account. Which TWO architectural components are required to facilitate this type of sharing?

Select 2 answers
A.A Reader Account created and managed by the Data Provider.
B.A Private Data Exchange listing that is restricted to the consumer's IP.
C.A Share object containing grants on the database and schema.
D.A Storage Integration that allows the consumer to access the provider's S3 bucket.
E.A Secure View that masks the provider's metadata from the consumer.
AnswersA, C

Reader Accounts are a specific architectural feature designed for consumers who do not have their own Snowflake account. The Data Provider creates the account within their own organization and provides the login credentials to the consumer. The provider is responsible for all costs incurred by the virtual warehouses within the reader account.

Why this answer

To share data with a non-Snowflake user, a Data Provider must create a Reader Account. This is a managed Snowflake account created and paid for by the provider. The provider then uses a 'Share' object to grant access to specific database objects.

This allows the consumer to query the shared data using a web interface or supported drivers without needing their own Snowflake contract.

Exam trap

Candidates often incorrectly assume that a Data Exchange or a Data Marketplace listing is required for all external sharing, forgetting that a simple Reader Account is the most direct method for non-Snowflake users.

23
MCQmedium

Which Snowflake architectural layer is responsible for the 'Time Travel' functionality?

A.The compute warehouse layer.
B.The cloud storage object repository.
C.The Cloud Services layer.
D.The local SSD cache of the virtual warehouse.
AnswerC

The Cloud Services layer maintains the versioned metadata. By tracking the state of objects over time, it can route queries to the correct set of micro-partitions that existed at the requested point in time. This centralized metadata management is essential for the seamless and performant implementation of the Time Travel feature.

Why this answer

Time Travel works because micro-partitions are immutable. When data is modified, Snowflake preserves the original micro-partitions for a defined period based on the object's retention policy. The Cloud Services layer acts as a time-based index, allowing the system to query the state of the metadata as it existed at a specific point in time, enabling users to reconstruct previous data states without requiring manual backups.

Exam trap

Candidates often mistakenly attribute Time Travel to the Data Storage layer. While data is stored in the cloud, the logic that tracks metadata versions and handles time-based point-in-time recovery resides in Cloud Services.

24
MCQhard

An architect is configuring a Snowflake account to use Federated Authentication with Okta as the identity provider (IdP). The requirement is to allow users to authenticate to Snowflake using their Okta credentials and to automatically provision users and roles based on Okta group memberships. Which configuration steps must the architect perform to meet these requirements?

A.Configure Snowflake to use Okta as an external OAuth server, and use Snowflake's built-in user provisioning.
B.Configure SAML 2.0 in Okta and Snowflake, and manually create users and roles in Snowflake to match Okta groups.
C.Configure SAML 2.0 in Okta and Snowflake, and enable SCIM provisioning to synchronize users and groups.
D.Configure OAuth 2.0 in Okta and Snowflake, and use the Snowflake Connector for Okta to sync users.
AnswerC

SAML 2.0 handles authentication by allowing Okta to act as IdP and Snowflake as SP. SCIM provisioning automates user and role creation and updates based on Okta group assignments. This combination meets both authentication and automatic provisioning requirements without manual intervention.

Why this answer

The correct configuration involves setting up SAML 2.0 for authentication and SCIM for automatic provisioning. SAML allows Okta to authenticate users, while SCIM synchronizes users and groups, enabling automatic creation and updates of Snowflake users and roles based on Okta group memberships. This dual approach satisfies both authentication and provisioning requirements.

Exam trap

The trap here is confusing authentication protocols with provisioning protocols; SAML handles authentication but not user synchronization, which requires SCIM.

25
MCQeasy

Which layer of the Snowflake architecture is responsible for ensuring ACID compliance and transactional integrity?

A.The Storage Layer, which uses immutable files to prevent data corruption.
B.The Virtual Warehouse Layer, which executes the commit and rollback commands.
C.The Cloud Services Layer, which manages metadata and transaction state.
D.The Network Layer, which ensures that data packets are delivered without errors.
AnswerC

The Cloud Services layer acts as the global coordinator for all transactions. It maintains the metadata that tracks which micro-partitions belong to which version of a table and manages the locks required to ensure ACID compliance. This architecture allows for multiple virtual warehouses to access the same data consistently without conflict.

Why this answer

ACID compliance is managed by the Cloud Services layer. This layer handles transaction management, including locking at the table level and ensuring that all operations within a transaction either succeed completely or fail without impacting data integrity. This centralized management allows Snowflake to provide strong consistency across its distributed storage and compute layers.

Exam trap

Candidates often mistakenly attribute transactional integrity to the Virtual Warehouse (compute) layer, assuming that because the warehouse runs the query, it must also be responsible for managing the ACID state.

26
MCQmedium

An architect is configuring a Snowflake account to use Federated Authentication with Okta. The requirement is that users must authenticate through Okta and receive Snowflake roles based on their Okta group membership. The architect has already configured the SAML integration. What additional step is required to map Okta groups to Snowflake roles?

A.Configure the Snowflake JDBC driver to pass Okta group information as a session parameter.
B.Create a SAML integration with the attribute 'Role' in the Okta SAML assertion.
C.Create a stored procedure that queries the Okta API and assigns roles based on group membership.
D.Create a SCIM integration in Snowflake and configure the Okta provisioning connector.
AnswerD

SCIM integration allows Snowflake to receive user and group information from Okta, enabling automatic provisioning and role mapping. By configuring the Okta provisioning connector, group memberships can be synchronized, and Snowflake roles can be assigned based on those groups. This is the standard way to map Okta groups to Snowflake roles without manual intervention.

Why this answer

To map Okta groups to Snowflake roles automatically, the architect must set up SCIM integration. SCIM allows Okta to provision users and groups into Snowflake, and Snowflake can then assign roles based on group membership. SAML alone handles authentication but not provisioning.

The other options either misunderstand the role of SAML or propose custom solutions that are not standard.

Exam trap

The trap here is confusing authentication (SAML) with provisioning (SCIM); SAML alone does not synchronize group memberships or assign roles.

27
MCQhard

Refer to the exhibit. Which architectural mechanism is responsible for the significant difference between 'partitions_total' and 'partitions_scanned'?

A.Materialized views automatically created by the optimizer.
B.Metadata-based partition pruning.
C.Automatic indexing of the date column by the system.
D.Data clustering on the 'date' column.
AnswerB

Partition pruning uses the metadata (min/max values) for each micro-partition stored in the Cloud Services layer. When a filter is applied, the engine checks this metadata to skip any partition that doesn't meet the criteria. This is the fundamental architectural mechanism for efficient data retrieval in Snowflake's columnar storage format.

Why this answer

The difference between total partitions and scanned partitions is caused by partition pruning, a critical optimization feature of Snowflake. By consulting the metadata in the Cloud Services layer, the engine identifies that only 150 partitions contain data matching the '2023-01-01' filter. This prevents the compute engine from scanning unnecessary files, which significantly improves query performance and reduces compute costs by minimizing the amount of data processed during a table scan.

Exam trap

Candidates often confuse 'partition pruning' with 'data clustering,' erroneously thinking that the engine scans all files but filters them later, rather than skipping files entirely using metadata.

28
Multi-Selectmedium

A Snowflake architect is evaluating the use of Search Optimization Service for a large table that is frequently queried with highly selective filters on a column with high cardinality, such as a UUID. The architect wants to understand the benefits and limitations of enabling Search Optimization Service on this column. Which two statements are true regarding Search Optimization Service? (Choose two.)

Select 2 answers
A.Search Optimization Service can be used to optimize joins between two large tables on the optimized column.
B.Search Optimization Service automatically optimizes all columns in the table without the need to specify which columns to optimize.
C.Enabling Search Optimization Service on a column increases storage costs due to the additional search access path.
D.Search Optimization Service is most effective for queries that use wildcard characters at the beginning of a string pattern, such as LIKE '%abc'.
E.Search Optimization Service can significantly improve query performance for equality and IN predicates on the optimized column.
AnswersC, E

Search Optimization Service adds a persistent search access path that consumes additional storage. This overhead is proportional to the number of distinct values and the size of the optimized columns. Architects must consider the trade-off between query performance gains and increased storage costs.

Why this answer

Search Optimization Service improves performance for highly selective queries using equality and IN predicates on optimized columns, and it incurs additional storage costs. It does not automatically optimize all columns, is ineffective for leading wildcards, and is not intended for join optimization. These characteristics make it suitable for point lookups on high-cardinality columns like UUIDs.

Exam trap

The trap here is assuming Search Optimization Service automatically applies to all columns or works for any string pattern, when it requires explicit column selection and does not support leading wildcards.

29
MCQmedium

A large retail organization is experiencing slow performance on a specific set of complex queries that filter by a non-clustered high-cardinality timestamp column. Which architectural feature of Snowflake should the architect prioritize to optimize these specific lookups without manually rebuilding the entire table structure?

A.Manually re-sorting the data using an ORDER BY clause during a table rewrite.
B.Implementing a Materialized View on the timestamp column.
C.Enabling the Search Optimization Service for the specific table and column.
D.Increasing the size of the Virtual Warehouse to a larger T-shirt size.
AnswerC

The Search Optimization Service is specifically designed to improve the performance of point lookup queries on large tables by using a specialized search access path. It is ideal for high-cardinality columns where the query filters a small fraction of the total rows, allowing the system to skip irrelevant micro-partitions more efficiently than standard pruning.

Why this answer

Snowflake utilizes Search Optimization Service (SOS) as a background process that creates a specialized persistent data structure to accelerate point lookup queries on specific columns. This is particularly effective for high-cardinality columns where traditional micro-partition pruning is less effective. SOS operates independently of the table clustering, providing a maintenance-free way to improve performance for highly selective filters in large datasets.

Exam trap

Candidates often choose clustering keys for high-cardinality timestamp columns, overlooking that frequent point lookups on high-cardinality columns perform poorly with micro-partition pruning alone and require the Search Optimization Service.

30
MCQeasy

A Snowflake architect is explaining the layers of Snowflake's architecture to a new team. Which layer is responsible for managing metadata, optimizing queries, and providing transaction management?

A.Compute layer
B.Database layer
C.Storage layer
D.Cloud Services layer
AnswerD

The Cloud Services layer is the brain of Snowflake. It handles metadata management, query parsing and optimization, transaction management, and access control. It ensures ACID compliance and coordinates all activities across the platform. This layer is responsible for the services that make Snowflake a fully managed, transactional data warehouse.

Why this answer

Snowflake's architecture consists of three layers: storage, compute, and Cloud Services. The Cloud Services layer is responsible for metadata management, query optimization, transaction management, and access control. It coordinates all activities and ensures ACID compliance.

The compute layer executes queries, and the storage layer stores data. Thus, the Cloud Services layer is the correct answer.

Exam trap

The trap here is attributing metadata and transaction management to the compute or storage layer, when these are centralized in the Cloud Services layer.

31
MCQhard

What happens when a Virtual Warehouse is 'resized' to a larger size while queries are currently running on it?

A.All running queries are terminated and restarted.
B.The warehouse is paused until all current queries finish.
C.Running queries continue on the original resources; new queries use the new size.
D.The warehouse creates a new temporary warehouse.
AnswerC

This is the correct behavior. The existing nodes continue processing their assigned tasks until completion. As soon as the resize completes, any new queries submitted to the warehouse are routed to the expanded compute infrastructure, enabling immediate benefit from the additional power without impacting existing work in progress.

Why this answer

Resizing a warehouse is a dynamic operation. When you increase the size, Snowflake adds new compute nodes to the existing cluster. The currently running queries continue to run on the old nodes, while all new queries submitted after the resize operation begin using the new, larger capacity.

This allows for seamless scaling without interrupting or failing active queries, which is critical for high-availability production environments requiring zero downtime.

Exam trap

Candidates often assume that resizing a warehouse immediately impacts currently running queries, causing them to run faster. They ignore the fact that current queries are pinned to the original resources until completion.

32
MCQeasy

What is the function of the 'Snowflake Data Storage' layer in the overall architecture?

A.It manages user connections and sessions.
B.It stores and organizes data in a proprietary, columnar format.
C.It executes queries and processes data transformations.
D.It keeps track of query history and metadata.
AnswerB

The Data Storage layer automatically organizes data into immutable micro-partitions. This columnar format is highly optimized for analytical queries, enabling efficient data retrieval by reading only the necessary columns. This managed approach removes the need for manual performance tuning or storage indexing, which is a key architectural advantage of Snowflake.

Why this answer

The Data Storage layer is responsible for the persistent storage of data, which is organized into micro-partitions and stored in a proprietary, compressed, and columnar format. It is completely managed by Snowflake, meaning users do not need to worry about storage management, file indexing, or configuration. This layer acts as the foundation, allowing the compute layer to access data independently while maintaining high reliability, durability, and performance for various analytical workloads.

Exam trap

Candidates often assume that users must manage the storage format or indexing, failing to recognize that Snowflake's storage layer is fully managed and proprietary.

33
MCQmedium

A company wants to share a large dataset with a consumer who is in a different Snowflake region but on the same cloud provider. What is the most architecturally sound way to achieve this while ensuring the consumer has the most up-to-date data?

A.Replicate the database to the consumer's region and then create a Share from the replica.
B.Use a Secure Data Share directly across regions as Snowflake handles this automatically.
C.Provide the consumer with a Storage Integration to the provider's S3 bucket in the original region.
D.Create a Data Exchange and invite the consumer to join the exchange from their region.
AnswerA

Snowflake's cross-region sharing requires the data to be physically present in the target region first. By replicating the database, the provider ensures that a read-only copy is maintained in the consumer's region, which can then be shared securely using standard Snowflake sharing mechanisms without data leaving the region again.

Why this answer

Snowflake Secure Data Sharing is restricted to the same region. To share across regions, the provider must first use Database Replication to move the data to a secondary database in the consumer's region. Once replicated, the data can be shared locally within that region, providing the consumer with a consistent and high-performance experience.

Exam trap

Candidates often mistakenly believe Secure Data Sharing works natively across regions without any additional steps, ignoring the requirement for database replication in the consumer region.

34
Multi-Selectmedium

An architect is designing a staging area for a data pipeline where data will only be needed for 24 hours before being transformed and moved. Which TWO table types would be most cost-effective for this scenario? (Select TWO)

Select 2 answers
A.Permanent tables with a 1-day Time Travel retention period.
B.Transient tables, as they do not incur Fail-safe storage costs.
C.Temporary tables, which are automatically dropped at the end of the session.
D.External tables pointing to a folder in an S3 bucket.
E.Materialized views created on top of the source external stage.
AnswersB, C

Transient tables are designed specifically for data that does not require the high-availability protection of Fail-safe. They support up to 1 day of Time Travel, allowing for recovery from accidental errors during the ETL process, but they completely bypass the 7-day Fail-safe period, significantly reducing storage costs for short-term staging data.

Why this answer

Temporary and Transient tables are the most cost-effective choices for short-lived data. Temporary tables are tied to a session, making them ideal for ETL steps. Transient tables persist across sessions but lack Fail-safe storage, reducing costs for data that can be easily recreated.

Both types avoid the 7-day Fail-safe storage charges associated with Permanent tables.

Exam trap

Candidates often select permanent tables for short-lived staging data, forgetting that permanent tables incur unnecessary 7-day Fail-safe storage costs that transient and temporary tables successfully avoid.

35
Multi-Selectmedium

Which THREE of the following functions are primarily handled by the Snowflake Cloud Services layer? (Choose THREE)

Select 3 answers
A.Authentication and access control for users and applications.
B.Executing complex JOIN operations between large tables.
C.Maintaining metadata for micro-partitions and table versions.
D.Query optimization and generation of execution plans.
E.Physically storing the data in encrypted S3 or Azure Blobs.
AnswersA, C, D

Authentication is a core security function managed within the global services layer to ensure that only authorized users can access the system before any compute resources are engaged. It handles the validation of credentials and the enforcement of role-based access control policies across the entire Snowflake account.

Why this answer

The Cloud Services layer is the 'brain' of Snowflake, managing the overall state and coordination of the system. It handles tasks that do not require the heavy computational power of virtual warehouses, such as security, metadata management, and query optimization. Understanding the separation between compute, storage, and services is fundamental to passing the Architect exam and optimizing Snowflake costs.

Exam trap

Candidates often attribute query execution and data loading tasks to the Cloud Services layer, confusing the orchestration brain with the virtual warehouse compute resources.

36
MCQmedium

Refer to the exhibit. A user runs a query that returns results in 0.2 seconds and shows 'Result Cache used' in the Query Profile. Where did Snowflake retrieve this data from?

A.The Virtual Warehouse local SSD cache.
B.The centralized cloud storage bucket.
C.The Cloud Services layer.
D.The local disk of the user's client.
AnswerC

The Cloud Services layer maintains the result cache. When a query is submitted, Snowflake checks if an identical query exists in the cache. If found, the result is returned immediately without utilizing any compute resources from a Virtual Warehouse, providing significant performance and cost efficiency benefits.

Why this answer

When Snowflake detects a query that matches a previously executed result set, it uses the Result Cache located in the Cloud Services layer. This avoids spinning up or utilizing a Virtual Warehouse, which is why the execution time is extremely low. Understanding this mechanism is crucial for architects to optimize costs by leveraging existing cached result sets instead of re-running compute-heavy analytical queries unnecessarily.

Exam trap

Candidates often mistakenly believe the Result Cache is stored within the Virtual Warehouse. They assume that if a warehouse is suspended, the result cache is lost or inaccessible, which is incorrect.

37
MCQhard

An architect is designing a multi-cluster warehouse for a retail analytics workload that experiences unpredictable spikes in concurrency. The warehouse is configured with a minimum of 2 clusters and a maximum of 10 clusters, scaling policy set to Economy. During a sudden spike, queries are queuing despite the warehouse scaling out to 6 clusters. What is the most likely cause of the queuing?

A.The Economy scaling policy adds clusters more slowly than the Standard policy, causing queries to queue during rapid spikes.
B.The queries are not suitable for multi-cluster warehouses because they are too complex.
C.The warehouse is configured with a maximum cluster count that is too low for the workload.
D.The warehouse has reached the limit of concurrent queries per cluster, so adding more clusters does not help.
AnswerA

The Economy scaling policy is designed to favor cost savings by scaling out more conservatively and scaling in aggressively. It may take longer to add clusters during a sudden spike, leading to temporary queuing even if the maximum cluster count has not been reached. The Standard policy would add clusters more quickly, reducing queuing at the expense of higher cost.

Why this answer

The Economy scaling policy prioritizes cost by scaling out slowly and scaling in quickly. During a sudden spike, it may not add clusters fast enough to prevent queuing, even if the maximum cluster count is not reached. The Standard policy would scale out more aggressively to minimize queuing.

Exam trap

The trap here is assuming that queuing always means the maximum cluster count is too low, when the scaling policy's aggressiveness can also cause temporary queuing.

38
Multi-Selectmedium

An architect is designing a secure data sharing strategy using Snowflake's Data Sharing feature. The goal is to share a subset of data with a partner account while ensuring that the partner cannot access underlying micro-partitions directly and that the shared data is always up-to-date. Which two statements are true regarding Snowflake Data Sharing? (Choose two.)

Select 2 answers
A.The consumer can modify the shared data by inserting new rows into the shared tables.
B.Data sharing provides live, read-only access to the shared data without copying it, ensuring the partner always sees the latest changes.
C.Data sharing requires the consumer to have a Snowflake account in the same cloud region as the provider.
D.The consumer can create their own micro-partitions on the shared data to improve query performance.
E.The provider can share data using a share object that grants USAGE privileges on specific database objects to the consumer.
AnswersB, E

Snowflake Data Sharing creates a secure view or database object that references the provider's data. The consumer queries the data directly from the provider's storage, so any updates are immediately visible. No data is copied, and access is read-only, ensuring real-time consistency and eliminating data duplication.

Why this answer

Snowflake Data Sharing provides live, read-only access to data without copying, and providers use share objects to grant granular privileges. Consumers cannot modify shared data or create micro-partitions. Cross-region sharing is possible with replication, so the same-region requirement is not absolute.

Exam trap

The trap here is assuming that shared data can be modified or that sharing is limited to the same region; in reality, it is read-only and can span regions with replication.

39
MCQmedium

A financial services company runs a Snowflake account in the AWS us-east-1 region. The security team mandates that all data at rest must be encrypted with customer-managed keys, and they require an audit trail of key usage. Which Snowflake feature should the architect implement to meet these requirements with minimal administrative overhead?

A.Enable client-side encryption using the Snowflake JDBC driver's encryption capabilities.
B.Implement a Snowflake External Function that encrypts data before writing to internal stages.
C.Use Snowflake's default encryption with AES-256 and enable periodic key rotation.
D.Configure Tri-Secret Secure with a customer-managed key in AWS KMS.
AnswerD

Tri-Secret Secure combines a Snowflake-managed key with a customer-managed key in AWS KMS, ensuring that data cannot be decrypted without both keys. It provides an audit trail of key usage via AWS CloudTrail and meets the requirement for customer-managed encryption at rest with minimal overhead because Snowflake integrates directly with KMS.

Why this answer

Tri-Secret Secure is the only Snowflake feature that allows customers to use their own AWS KMS key in combination with a Snowflake-managed key, providing customer-managed encryption at rest with an audit trail through AWS CloudTrail. The other options either do not provide customer-managed keys or do not meet the audit trail requirement.

Exam trap

The trap here is assuming that Snowflake's default encryption or client-side encryption satisfies customer-managed key requirements, when only Tri-Secret Secure provides that level of control.

40
MCQhard

A query that usually takes 10 seconds is now taking 5 minutes. The Query Profile shows that 'Local Disk Spilling' is high. What does this indicate about the warehouse and the query?

A.The query is waiting for metadata locks from the Cloud Services layer.
B.The network bandwidth between the warehouse and the storage layer is throttled.
C.The data processed by the query exceeds the available memory on the warehouse nodes.
D.The Result Cache has been invalidated by a concurrent DML operation.
AnswerC

When a query involves massive sorts, hashes, or joins, Snowflake attempts to perform these in memory. If the data set is too large for the allocated RAM of the warehouse size, it 'spills' the excess to local SSD. This is significantly slower than RAM, leading to the observed performance degradation.

Why this answer

Disk spilling occurs when the memory (RAM) available on the Virtual Warehouse nodes is exhausted by the query's intermediate data, such as large joins or sorts. The system first spills to local SSD (Local Spilling) and, if that is also full, to remote storage. This is a clear sign that the warehouse size is too small for the query's memory requirements.

Exam trap

Candidates often confuse local disk spilling with insufficient warehouse capacity for concurrency, incorrectly suggesting a multi-cluster warehouse (scaling out) instead of a larger warehouse size (scaling up) to provide more memory per node.

41
MCQhard

Refer to the exhibit. An architect is configuring a Snowflake Storage Integration to access an external S3 bucket. Based on the IAM policy shown, what will happen if a Snowflake user attempts to create an External Stage pointing to 's3://production-data/raw/'?

A.The stage will be created successfully and data can be loaded because GetObject is allowed.
B.The stage creation will fail immediately because Snowflake cannot validate the bucket's existence.
C.Data loading will work, but only if the user specifies the exact filenames in the COPY command.
D.The operation will fail because the ListBucket permission is constrained to the 'logs/' prefix.
AnswerD

The IAM policy explicitly restricts the 's3:ListBucket' action to the 'logs/*' prefix using a condition block. When Snowflake tries to access 's3://production-data/raw/', the AWS IAM service will deny the request because the requested prefix does not match the allowed condition in the policy statement.

Why this answer

Snowflake requires both s3:ListBucket and s3:GetObject permissions to access data in an external stage. While the policy allows GetObject for the entire bucket, the ListBucket permission is restricted by a condition to only allow the 'logs/' prefix. Therefore, any attempt to list or access files in the 'raw/' prefix will result in an Access Denied error from AWS.

Exam trap

Candidates often focus only on the IAM policy's 'Action' section and overlook the 'Resource' conditions, failing to notice that the ListBucket permission is restricted to a specific sub-folder prefix.

42
MCQeasy

A healthcare organization needs to share patient data with external research partners without copying the data. The partners use their own Snowflake accounts and require read-only access to a specific subset of tables. Which Snowflake feature should the architect use to meet these requirements?

A.Create a secure view and grant SELECT privileges to the partners' roles.
B.Use Snowflake Data Sharing to create a share and grant access to the partners' accounts.
C.Export the data to an external stage and provide the partners with credentials.
D.Set up a Snowflake reader account for each partner and grant access to the tables.
AnswerB

Snowflake Data Sharing allows sharing data across accounts without copying. The provider creates a share, adds the specific tables or secure views, and grants access to the consumer accounts. Consumers can then create databases from the share and query the data with read-only access. This meets the requirement for external sharing without data duplication.

Why this answer

Snowflake Data Sharing enables secure, governed access to data across Snowflake accounts without copying. By creating a share and granting access to the partners' accounts, the healthcare organization can provide read-only access to specific tables. This approach ensures data remains in the provider's account, reducing risk and eliminating data duplication.

Exam trap

The trap here is assuming that secure views alone can be shared across accounts; they must be included in a share to be accessible externally.

43
MCQmedium

An architect is designing a Snowflake environment for a financial services company that requires the highest level of security. The company must ensure that data is encrypted at rest and in transit, and that encryption keys are managed by the customer, not Snowflake. Which Snowflake feature should the architect implement?

A.Enable periodic rekeying of Snowflake-managed keys and store the keys in an external HSM.
B.Use the ENCRYPTION parameter in the CREATE DATABASE command to specify a customer key.
C.Enable Tri-Secret Secure with a customer-managed key in AWS KMS or Azure Key Vault.
D.Configure Snowflake to use client-side encryption with a customer-provided key before loading data.
AnswerC

Tri-Secret Secure combines a Snowflake-managed key with a customer-managed key to create a composite master key. This ensures that the customer controls one of the keys, and data cannot be decrypted without both. It meets the requirement for customer-managed encryption keys and is available in Business Critical edition and higher.

Why this answer

Tri-Secret Secure is the Snowflake feature that allows customers to use their own encryption key, managed in a cloud KMS, in addition to Snowflake's key. This provides customer control over encryption keys and meets the highest security requirements. The other options either do not provide customer-managed keys for Snowflake's internal encryption or are not valid Snowflake features.

Exam trap

The trap here is assuming that client-side encryption or database-level parameters can provide customer-managed keys for Snowflake's internal encryption, when only Tri-Secret Secure does.

44
MCQhard

A database architect needs to design a high-churn table that receives millions of updates daily. To minimize storage costs associated with Fail-safe and Time Travel while maintaining some recovery capability, which table type and configuration should be used?

A.Permanent table with Time Travel set to 0 days.
B.Transient table with Time Travel set to 1 day.
C.Temporary table with Time Travel set to 90 days.
D.Permanent table with a cluster key defined on the update timestamp.
AnswerB

Transient tables provide a balance by allowing up to 1 day of Time Travel for accidental deletion recovery while completely eliminating the 7-day Fail-safe period. This architecture is ideal for high-churn data where the cost of Fail-safe storage would outweigh the benefit of long-term emergency recovery provided by Snowflake support.

Why this answer

Transient tables are designed for data that is important but does not require the high level of protection provided by Fail-safe. They support Time Travel (up to 1 day) but do not have a Fail-safe period. For high-churn tables, this significantly reduces storage costs because Fail-safe records all changes for 7 days, which can be expensive with frequent updates.

Exam trap

Candidates often assume that Transient tables lack any recovery capability, ignoring that they still support Time Travel (up to 1 day), which is sufficient for most short-term recovery needs in high-churn environments.

45
MCQmedium

A Snowflake architect is designing a solution where multiple independent compute clusters (virtual warehouses) must access the same underlying data without needing to copy it, and each workload must be isolated to avoid resource contention. Which Snowflake architecture feature directly enables this?

A.Database replication
B.Zero-copy cloning
C.Multi-cluster shared data architecture
D.Virtual warehouse auto-scaling
AnswerC

Snowflake's multi-cluster shared data architecture separates storage from compute. Multiple virtual warehouses can concurrently access the same centralized data without duplication. Each warehouse is an independent compute cluster, so workloads are isolated and do not contend for resources. This directly satisfies the requirement of shared data without copying and workload isolation.

Why this answer

Snowflake's architecture separates storage and compute, allowing multiple virtual warehouses to access the same central data repository without duplication. This multi-cluster shared data design provides compute isolation and elastic scalability while ensuring all warehouses see consistent data. Replication and cloning create copies, and auto-scaling manages resources within a single warehouse, so they do not meet the requirement of shared data across independent compute clusters.

Exam trap

The trap here is confusing auto-scaling or replication with the core architecture that enables multiple independent compute clusters to share the same data without copying.

46
MCQmedium

A large-scale data ingestion pipeline is experiencing intermittent queuing. Which architectural element should be analyzed to identify the source of the contention?

A.The Cloud Services metadata repository.
B.The virtual warehouse load statistics.
C.The object storage latency from the cloud provider.
D.The internal state of the micro-partition pruning engine.
AnswerB

Warehouse load statistics track query concurrency and resource utilization. If a warehouse reaches its limit, queries are placed in a queue. By evaluating these statistics, an architect can determine if the warehouse size is appropriate for the ingestion workload or if auto-scaling clusters are required to manage contention.

Why this answer

Queuing in Snowflake occurs when the virtual warehouse lacks sufficient capacity to handle the number of concurrent queries submitted. Analyzing the Query History and the Warehouse Load statistics allows the architect to see if the warehouse is saturated. If the warehouse is maxed out on concurrency, the architect can either scale up (increase size) or scale out (multi-cluster warehouse) to provide additional compute resources to accommodate the ingestion load effectively.

Exam trap

Candidates often confuse queuing with storage limits or query performance issues, incorrectly selecting storage metrics or query history details instead of warehouse load statistics, which directly measure compute concurrency saturation.

47
MCQmedium

An e-commerce company uses Snowflake to analyze clickstream data. They want to optimize query performance for a large fact table that is frequently filtered by 'event_date' and 'user_id'. The table is growing rapidly, and queries often scan many micro-partitions. Which architectural feature should the architect recommend to improve pruning?

A.Create a materialized view that pre-aggregates data by event_date and user_id.
B.Enable search optimization service on the table.
C.Partition the table by event_date using Snowflake's partitioning feature.
D.Define a clustering key on (event_date, user_id).
AnswerD

Clustering keys reorganize data within micro-partitions to improve pruning. By clustering on event_date and user_id, Snowflake co-locates related rows, reducing the number of micro-partitions scanned for filters on these columns. This directly enhances query performance for the described workload and is the recommended approach for large tables with predictable filter patterns.

Why this answer

Clustering keys on frequently filtered columns like event_date and user_id allow Snowflake to prune micro-partitions effectively. When data is clustered, rows with similar values are stored together, so queries with filters on those columns scan fewer micro-partitions. This reduces I/O and improves performance for large fact tables with growing data volumes.

Exam trap

The trap here is assuming that search optimization service replaces the need for clustering; search optimization is for point lookups, not for range or multi-column pruning.

48
MCQmedium

What is the primary architectural advantage of using External Tables with the 'REFRESH' property instead of traditional data loading via COPY INTO?

A.External tables provide significantly faster query performance than internal tables.
B.It allows for querying data in place without incurring Snowflake storage costs.
C.External tables automatically support ACID transactions for updates and deletes.
D.Using external tables eliminates the need for a Virtual Warehouse for queries.
AnswerB

The main advantage of external tables is the ability to analyze data without moving it into Snowflake. This avoids duplicating data and eliminates Snowflake-specific storage charges, although users still pay for the underlying cloud provider storage and the compute credits used by the virtual warehouse to process the queries.

Why this answer

External tables allow Snowflake to query data directly from cloud storage without importing it into Snowflake's proprietary storage format. This is beneficial for data lake architectures where data must remain accessible to other tools. The REFRESH property ensures that the Snowflake metadata stays in sync with the files in the cloud bucket as they are added or removed.

Exam trap

Many assume external tables improve query performance over COPY INTO, missing that their primary architectural benefit is querying data in place to avoid duplication and storage costs.

49
MCQhard

A Business Critical edition customer wants to implement a disaster recovery strategy that ensures their Snowflake account can failover to a different region with a Recovery Time Objective (RTO) of less than 1 hour. Which architectural feature is required?

A.Database Replication, which synchronizes tables across regions.
B.Client Redirect, which provides a single connection URL for failover.
C.Failover Groups, which replicate databases and account-level objects.
D.Tri-Secret Secure, which ensures data is encrypted during regional transfer.
AnswerC

Failover Groups (and the broader Account Replication feature) allow for the grouping of databases and account-level objects (like RBAC and users) into a single unit of replication. This ensures that the secondary region is a 'hot' standby, ready to take over with all necessary security and data in place, meeting strict RTO requirements.

Why this answer

Snowflake's Failover Groups (a part of Business Continuity) allow architects to replicate not just data (databases), but also account-level metadata like users, roles, and warehouse configurations to a standby account in a different region. In the event of a regional outage, the architect can promote the standby account to primary, providing a fast and comprehensive failover capability.

Exam trap

Candidates often select 'Database Replication' alone, forgetting that a true failover requires the replication of account-level objects like users and roles, which is only provided by Failover Groups.

50
MCQhard

Which architectural component is responsible for managing the ACID properties across distributed compute nodes during a complex DML operation?

A.The virtual warehouse compute engine.
B.The cloud storage object repository.
C.The Cloud Services layer.
D.The micro-partition header files.
AnswerC

The Cloud Services layer serves as the brains of the architecture, managing metadata, authentication, and transaction coordination. It guarantees ACID compliance by acting as the single source of truth for the system's state, ensuring that distributed DML operations are handled correctly and consistently across all connected compute resources.

Why this answer

The Cloud Services layer acts as the orchestrator for all transactions in Snowflake. It coordinates across the distributed compute resources to ensure atomicity, consistency, isolation, and durability. By managing the global transaction state and the metadata of micro-partitions, the Cloud Services layer ensures that even when multiple warehouses or users are modifying the same data, the state remains consistent and conflict-free, which is essential for multi-user analytical workloads.

Exam trap

Many candidates wrongly attribute ACID compliance and transaction management to the storage layer, rather than recognizing it as a centralized function of the Cloud Services layer.

51
MCQhard

A query is performing poorly due to 'Remote Disk I/O'. The architect notices that the query profile shows a large number of micro-partitions being scanned. The table is already clustered on the filter column. What is the most likely cause of the high Remote Disk I/O?

A.The metadata layer is overloaded and cannot provide pruning information.
B.The warehouse cache is cold or the data exceeds the local cache capacity.
C.The table has too many small files, causing metadata bloat.
D.The clustering depth is 1.0, which indicates the table is perfectly clustered.
AnswerB

High Remote Disk I/O is a hallmark of a cold cache or a cache that is too small for the dataset. When the SSDs on the compute nodes don't contain the required micro-partitions, Snowflake must retrieve them from the remote cloud storage, which is significantly slower than reading from the local cache.

Why this answer

Remote Disk I/O occurs when a Virtual Warehouse must pull data from the Storage layer (S3/Azure/GCP) because it is not available in the local SSD cache. Even if a table is clustered, if the local cache is 'cold' or if the warehouse is too small to hold the working set, the system will constantly fetch data from the remote storage.

Exam trap

Many test-takers assume clustering solves all performance issues, forgetting that a cold cache forces the warehouse to read from remote storage regardless of table clustering.

52
MCQmedium

When a query is executed, which layer is responsible for the 'Query Plan' generation?

A.The Database Storage layer.
B.The Virtual Warehouse layer.
C.The Cloud Services layer.
D.The Result Cache.
AnswerC

The Cloud Services layer is the intelligence hub that handles all SQL parsing, optimization, and query planning. It takes the user's SQL, verifies the user's permissions, generates an optimal execution plan, and then coordinates with the virtual warehouse to execute the steps identified in that plan against the data.

Why this answer

The Cloud Services layer is responsible for query optimization and the generation of the query execution plan. It compiles the SQL into a set of steps that the virtual warehouse will execute. This planning stage involves analyzing the metadata, understanding data distribution, and selecting the most efficient path for data retrieval, which is a critical function that ensures high performance across diverse and complex data workloads in Snowflake.

Exam trap

Candidates frequently confuse the Virtual Warehouse (compute) with the Cloud Services layer, incorrectly assuming the compute layer generates the query plan rather than the management layer.

53
MCQhard

A global e-commerce company stores order events in a Snowflake table that ingests roughly 40 million rows per day. Analysts report that point-lookup queries filtering on ORDER_ID are fast, but range queries that filter on ORDER_DATE and aggregate by REGION scan almost every partition and take several minutes. The architect must reduce bytes scanned for the date-range workload while minimizing rebuild cost, and the table already has a natural daily ingestion cadence. Which action best satisfies the requirement?

A.Resize the virtual warehouse to a larger multi-cluster size so more compute is available for the scan.
B.Define a clustering key on (ORDER_DATE, REGION) and enable Automatic Clustering on the table.
C.Create a materialized view that selects ORDER_DATE, REGION, and the aggregate measures, then query the view instead of the base table.
D.Enable a search optimization service on the ORDER_DATE column to speed up the range filter.
AnswerB

Clustering on ORDER_DATE first aligns micro-partition boundaries with the dominant range predicate, so pruning eliminates most partitions; adding REGION as a secondary key improves co-location for the regional aggregation. Because rows arrive in daily order, natural clustering is already close to the new key, so Automatic Clustering performs mostly incremental reclustering rather than a full rebuild. This directly reduces bytes scanned for the date-range workload.

Why this answer

The date-range aggregation reads almost every micro-partition, which is a pruning problem rather than a compute or lookup problem. Establishing a clustering key with ORDER_DATE first and REGION second aligns partition boundaries with the dominant filter, and because ingestion is naturally ordered by date, Automatic Clustering can incrementally maintain the layout instead of rebuilding from scratch. That combination directly lowers bytes scanned for the range workload while keeping maintenance cost proportionate to new data.

Exam trap

The trap here is assuming that adding warehouse compute or a search optimization service will fix a scan-heavy range query, when the actual bottleneck is micro-partition pruning that only a well-chosen clustering key can address.

54
MCQmedium

A data architect is designing a multi-cluster warehouse for a retail company's peak sales periods. The warehouse must automatically add clusters when queries are queued and shut them down when demand drops. The company wants to minimize credit consumption while maintaining query performance. Which configuration should the architect implement?

A.Set the warehouse to Auto-scale mode with a scaling policy of Economy.
B.Set the warehouse to Maximized mode with a scaling policy of Economy.
C.Set the warehouse to Maximized mode with a scaling policy of Standard.
D.Set the warehouse to Auto-scale mode with a scaling policy of Standard.
AnswerD

Auto-scale mode allows Snowflake to add clusters when queries are queued and remove them when idle. The Standard scaling policy starts clusters immediately when needed and shuts them down after a period of inactivity, balancing performance and cost. This directly satisfies the requirement to automatically adjust capacity while minimizing credit usage.

Why this answer

Auto-scale mode with the Standard scaling policy dynamically adjusts the number of clusters based on query load, adding clusters when queries queue and removing them after idle periods. This provides the necessary performance during peak sales while controlling costs by not over-provisioning. The Standard policy is optimized for performance, making it ideal for time-sensitive workloads that still require cost efficiency.

Exam trap

The trap here is assuming that Economy scaling policy always saves costs without considering its impact on query latency during critical peak periods.

55
MCQeasy

An architect is explaining Snowflake's architecture to a team new to the platform. The team wants to understand which component is responsible for storing metadata about tables, columns, and micro-partitions to enable efficient query pruning. Which Snowflake layer provides this functionality?

A.Cloud services layer
B.Database layer
C.Compute layer
D.Storage layer
AnswerA

The cloud services layer is the brain of Snowflake, managing metadata, query parsing, optimization, access control, and more. It stores metadata about tables, columns, micro-partitions, and statistics that enable query pruning. This layer coordinates all activities across the platform.

Why this answer

The cloud services layer is responsible for metadata management, including table definitions, column statistics, and micro-partition metadata used for pruning. It is a key component that enables Snowflake's performance and ease of use, distinct from storage and compute layers.

Exam trap

The trap here is attributing metadata storage to the storage layer because it holds data, but metadata is centrally managed by the cloud services layer.

56
MCQmedium

Why does Snowflake's architecture separate compute from storage?

A.To ensure that all queries are executed on the same machine.
B.To enable independent scaling and improve resource efficiency.
C.To force data to be moved into the compute node before processing.
D.To eliminate the need for any storage management.
AnswerB

Decoupling allows users to scale compute power (Virtual Warehouses) for heavy processing while keeping storage scaling independent. This avoids the cost of scaling both simultaneously, a common inefficiency in traditional databases where compute and storage are tightly coupled on the same hardware, limiting the flexibility needed for modern data workloads.

Why this answer

Separating compute from storage allows both layers to scale independently based on demand. You can scale storage without adding compute power and vice versa, which is highly cost-effective and prevents resource contention. This decoupling enables multiple workloads to access the same underlying data without impacting each other's performance, facilitating a multi-tenant environment where various business units can query the same data source simultaneously without the typical limitations found in monolithic database systems.

Exam trap

Candidates often confuse compute separation with data replication, assuming that separating compute means duplicating storage across different regions rather than allowing independent scalability of query processing and persistent data layers.

57
MCQhard

A financial services company uses Snowflake to store sensitive customer data. They need to ensure that data is encrypted at rest and in transit, and that encryption keys are managed by the cloud provider's hardware security modules (HSMs). The company also requires that Snowflake support periodic key rotation. Which Snowflake feature should the architect recommend to meet these requirements?

A.Snowflake External Functions with AWS KMS encryption.
B.Snowflake-managed encryption with annual key rotation.
C.Tri-Secret Secure with customer-managed keys in a cloud provider HSM.
D.Client-side encryption using Snowflake's ENCRYPT function.
AnswerC

Tri-Secret Secure combines a Snowflake-managed key with a customer-managed key stored in the cloud provider's HSM, providing dual control. This meets the requirement for encryption at rest and in transit, HSM-backed key management, and supports periodic key rotation. It is designed for Business Critical edition and above, offering the highest level of encryption key control.

Why this answer

Tri-Secret Secure is a Snowflake feature that combines a Snowflake-managed key with a customer-managed key stored in the cloud provider's HSM. This provides dual control over encryption keys, meets HSM requirements, and supports key rotation. It encrypts data at rest and in transit, and is available in Business Critical edition and higher.

Exam trap

The trap here is confusing Snowflake-managed encryption with customer-managed HSM keys, or assuming that client-side encryption satisfies HSM and rotation requirements.

58
MCQhard

A security architect is reviewing the network architecture. Why is the 'Private Link' (or Private Connectivity) feature considered an architectural enhancement for high-security environments?

A.It provides faster data ingestion by removing encryption overhead.
B.It ensures that all traffic stays within the cloud provider's network backbone.
C.It allows the customer to host the Snowflake compute nodes in their own VPC.
D.It replaces the need for Snowflake role-based access control.
AnswerB

By using private links, traffic is routed through the cloud provider's dedicated private network. This avoids the public internet entirely, which is a key requirement for highly regulated industries. It provides a more secure and predictable network path, reducing the risk of man-in-the-middle attacks and data interception.

Why this answer

Private connectivity ensures that traffic between the customer's VPC and Snowflake never traverses the public internet. By using private endpoints, the data flow is kept within the cloud provider's backbone network. This architectural design reduces the attack surface, minimizes exposure to public threats, and helps organizations meet strict regulatory requirements that prohibit data transmission over public routes, while maintaining the scalability of a SaaS platform.

Exam trap

Candidates often confuse Private Link with encryption, failing to realize the primary architectural benefit is the avoidance of the public internet by staying on the cloud provider's backbone.

59
MCQhard

An architect is configuring a Snowflake account to allow users to authenticate via an external OAuth 2.0 identity provider. The security team requires that the OAuth token includes specific custom claims that map to Snowflake roles. Which Snowflake feature should the architect use to enforce role mapping based on these claims?

A.Key pair authentication with RSA public/private keys
B.SAML 2.0 federation with a security integration
C.External OAuth integration with a security integration object
D.Snowflake managed identity with Azure AD
AnswerC

Snowflake's External OAuth integration allows authentication via an external OAuth 2.0 authorization server. By creating a security integration of type EXTERNAL_OAUTH, you can specify which claims in the token map to Snowflake roles. This enables the identity provider to pass custom claims that Snowflake uses for role assignment, satisfying the requirement to enforce role mapping based on OAuth token claims.

Why this answer

External OAuth integration in Snowflake is designed to accept tokens from an external OAuth 2.0 authorization server. By configuring a security integration with the appropriate issuer, audience, and claim mappings, Snowflake can extract custom claims from the token and map them to roles. This allows the identity provider to control role assignments dynamically.

Other authentication methods like SAML, key pair, or managed identity do not support OAuth token claims for role mapping.

Exam trap

The trap here is assuming that any federation method supports custom claim mapping for roles, but only External OAuth integration specifically handles OAuth 2.0 token claims for role assignment.

60
MCQmedium

Refer to the exhibit. An architect needs to optimize this warehouse to handle a batch process that performs a massive table scan followed by a complex join on 10 billion rows. What is the most effective architectural change?

A.Increase the max_cluster_count to 5 to enable multi-cluster scaling.
B.Change the size of the warehouse from X-SMALL to LARGE.
C.Set the auto_resume property to TRUE to ensure the warehouse starts automatically.
D.Alter the warehouse type from STANDARD to SNOWPARK-OPTIMIZED.
AnswerB

Vertical scaling by increasing the warehouse size is the correct architectural approach for improving the performance of large, complex queries. A 'Large' warehouse has 8 nodes compared to the 1 node of an 'X-Small'. This provides more parallel processing power and significantly more memory to handle the massive join operation and prevent data spilling.

Why this answer

For a single, complex query involving a massive data set, the bottleneck is typically the compute power and memory available to the nodes. Increasing the size (vertical scaling) from X-Small to a larger size (e.g., Large or X-Large) provides more CPUs and memory per node. This allows the warehouse to process more data in parallel and reduces the need for spilling to local or remote disk.

Exam trap

Candidates often choose 'Multi-cluster warehouse' as the solution, confusing the need for concurrency (more users) with the need for raw performance on a single, massive, complex query (larger warehouse size).

61
MCQmedium

Which feature of Snowflake's architecture allows for the scaling of resources to handle high-concurrency BI dashboard requests without affecting the performance of heavy ETL workloads?

A.Warehouse Resizing
B.Data Sharing
C.Independent Virtual Warehouses
D.Automatic Query Clustering
AnswerC

Using independent Virtual Warehouses for different workloads provides complete isolation. ETL pipelines can run on one dedicated warehouse while BI dashboards run on another. This ensures that the resource-heavy ETL processes never impact the performance or concurrency of the user-facing BI dashboards, optimizing the architecture for both.

Why this answer

Snowflake's multi-cluster warehouse architecture enables the separation of workloads. By assigning distinct Virtual Warehouses to different user groups or applications, architects ensure that one workload cannot starve another for resources. This prevents contention and allows for granular, independent scaling based on the specific needs of each workload, which is a core architectural benefit for enterprise-level data environments managing diverse user requirements.

Exam trap

Candidates often confuse 'Multi-cluster' with 'Independent Warehouses'. While multi-cluster handles concurrency for one workload, they fail to recognize that physical separation via distinct warehouses is the only way to prevent resource contention.

62
MCQmedium

What is the primary benefit of the decoupled storage and compute architecture regarding elastic scaling?

A.It eliminates the need for data distribution keys.
B.It allows compute warehouses to be resized or multi-clustered without data movement.
C.It automatically compresses data to reduce cloud storage costs.
D.It ensures that compute nodes can store local temporary data for faster access.
AnswerB

Scaling compute warehouses involves adding nodes to a cluster or starting new clusters. Because storage is decoupled, all nodes in the warehouse have immediate access to the same micro-partitions. There is no need to re-balance or redistribute data when scaling, allowing for near-instant, seamless performance adjustments.

Why this answer

By decoupling storage and compute, Snowflake allows users to scale compute resources up or out without having to move or replicate data. This independence means users can handle massive spikes in query volume by spinning up new warehouses, while the storage remains in a consistent, cost-effective layer. This design enables the 'pay-as-you-go' model, where compute is only active during processing, dramatically reducing costs for intermittent workloads.

Exam trap

Many test-takers incorrectly believe that scaling compute requires duplicating or moving massive underlying datasets, missing the primary benefit of Snowflake's decoupled storage architecture.

63
MCQmedium

An enterprise is designing a multi-tenant SaaS application on Snowflake. Each customer tenant must have completely isolated data storage while allowing the software vendor to query aggregated metrics globally across all tenants without copying data. Which architectural design pattern best satisfies this requirement?

A.Create a single database with a shared table schema where rows are isolated exclusively by a tenant_id column enforced via row-level security policies.
B.Deploy a separate Snowflake account for each customer tenant and use data sharing to pipe all tenant data into a central analytical account for global reporting.
C.Provision a dedicated database for each tenant within a shared Snowflake account, and use cross-database queries or secure views in a central database for global analytics.
D.Store all tenant data inside separate AWS S3 buckets and ingest them into temporary tables on-demand whenever the vendor requires global analytical reporting.
AnswerC

Dedicated per-tenant databases give each customer physically separate storage, meeting the isolation constraint, while cross-database queries and secure views let the vendor read aggregated metrics across all tenants from one account without replicating or copying data.

Why this answer

Utilizing separate databases for each tenant provides strict physical isolation and security controls for tenant-specific tables and views. Secure shares or direct cross-database access via a central administrative account allows the vendor to build unified analytics models. This pattern maintains granular access boundaries while avoiding data duplication overhead across cloud regions.

Exam trap

Candidates frequently suggest using separate Snowflake accounts for each tenant. While this provides isolation, it creates massive management overhead and makes global cross-tenant analytics significantly more complex and costly to implement.

64
MCQhard

Which architectural feature ensures that DML operations in Snowflake do not impact query performance and provide data consistency without the need for manual locking?

A.The use of explicit table-level locks controlled by the Cloud Services layer.
B.The use of micro-partition immutability and MVCC.
C.The integration of a distributed cache that manages row-level locks.
D.The implementation of a primary index for every table that serializes writes.
AnswerB

By utilizing immutable micro-partitions and MVCC, Snowflake ensures that read operations always access a consistent version of the data without locking. When data is modified, new micro-partitions are created, and the metadata is updated, allowing readers to proceed without being interrupted by ongoing write operations in the system.

Why this answer

Snowflake's multi-version concurrency control (MVCC) architecture, combined with the immutability of micro-partitions, allows read and write operations to coexist seamlessly. When a DML operation modifies data, Snowflake does not update existing partitions but instead creates new ones. This design avoids the need for table-level locks, ensuring that read-only queries always see a consistent snapshot of the data based on the commit time of the transaction.

Exam trap

Candidates often assume Snowflake uses traditional row-level or table-level locking, missing the fact that MVCC and immutable micro-partitions eliminate the need for such blocking mechanisms entirely.

65
MCQmedium

A Snowflake architect is configuring a secure data sharing setup between a provider account and a consumer account in a different region. The provider wants to share a database that contains sensitive financial data. The architect must ensure that the data is encrypted in transit and at rest, and that the consumer cannot download the shared data. Which Snowflake feature should the architect use to meet these requirements?

A.Database Replication
B.Snowflake Data Marketplace
C.External Tables with a Secure View
D.Secure Data Sharing
AnswerD

Secure Data Sharing allows sharing live data between Snowflake accounts without copying or transferring the data. The data remains in the provider's account, encrypted at rest and in transit. Consumers access the data via a read-only database, and they cannot download or export the shared data, ensuring security. This meets the requirements for encryption and preventing data exfiltration.

Why this answer

Secure Data Sharing is the correct feature because it enables sharing live, read-only data between Snowflake accounts without copying it. The data remains in the provider's account, encrypted at rest and in transit, and consumers cannot download the shared data. This ensures both security and compliance.

Other options either involve data duplication or do not provide the same level of control over data access.

Exam trap

The trap here is confusing Secure Data Sharing with database replication, which creates a copy of the data and does not prevent the consumer from downloading it.

66
MCQeasy

Which of the following describes the 'Multi-cluster' feature of Snowflake Virtual Warehouses?

A.The ability to automatically add more compute clusters to handle high concurrency.
B.The ability to increase the RAM and CPU of a single cluster for complex queries.
C.The ability to run a single query across multiple different Snowflake regions.
D.The ability to join data from multiple different cloud providers in one query.
AnswerA

Multi-cluster warehouses solve the problem of concurrency by allowing Snowflake to spin up additional identical clusters of nodes. This ensures that queries from many different users can run in parallel without being queued, providing a consistent experience during peak usage periods while scaling back down when demand decreases.

Why this answer

Multi-cluster warehouses are designed to handle high concurrency by automatically adding or removing clusters of the same size based on the number of queued queries. This horizontal scaling ensures that as more users run queries simultaneously, the system can maintain consistent performance without requiring manual intervention or scaling up to a larger warehouse size.

Exam trap

Candidates often confuse multi-cluster warehouses with scaling up (increasing warehouse size). They incorrectly assume multi-cluster warehouses increase performance for a single complex query rather than handling high concurrency by adding more clusters.

Ready to test yourself?

Try a timed practice session using only Snowflake Architecture questions.