Question 1
If a table has a data retention of 10 days and is loaded with 256 MB of data daily, what will be the total storage after 5 days of ingestion?
Correct Answer:
1280 MB
Explanation:
Understanding how data retention interacts with daily ingestion helps you predict storage growth. If you load 256 MB each day and keep data for 10 days, the storage increases by 256 MB per day until the retention window is full; no data is purged yet. After 5 days, all five days of data are still within the 10-day retention, so you simply have 256 MB times 5 days. That equals 1280 MB of total storage. So 1280 MB is the correct total after 5 days. The other amounts would imply holding only one day of data, holding data for the full 10 days, or having no data at all, which isn’t the case here.
Question 2
Which use case is valid for SnowCD?
Correct Answer:
Integrating SnowCD into automated deployment scripts
Explanation:
SnowCD is built to automate and orchestrate Snowflake deployments as code, so its strongest use case is integrating it into automated deployment scripts. By treating schema changes, grants, and other environment updates as versioned, codified steps, SnowCD enables repeatable, auditable deployments that fit neatly into CI/CD pipelines. It’s about applying changes in a controlled, automated way across environments, not about data ingestion, visualization, or scheduling tasks. Therefore loading data from Kafka isn’t a SnowCD function, visualizing query performance isn’t its purpose, and scheduling data replication falls outside its deployment-focused role.
Question 3
What is the typical micro-partition size before compression?
Correct Answer:
50 to 500 MB
Explanation:
Micro-partitions are the basic storage unit Snowflake uses to organize data. Before any compression, a typical micro-partition holds about 50 to 500 MB of data. This size is chosen to balance efficient pruning during queries—Snowflake can skip partitions that don’t match filters—while keeping the partition small enough to load, cache, and scan quickly. Data is stored columnar within the partition and then compressed, so the on-disk size after compression is smaller, but the uncompressed size remains in that 50–500 MB range. Sizes much smaller (like 5–10 MB) would increase metadata overhead and reduce pruning efficiency, while sizes in the gigabyte range (1–2 GB or more) would hurt pruning and increase scan costs.
Question 4
Is it best practice to avoid binding data using Python's string formatting functions due to SQL injection risk?
Correct Answer:
True
Explanation:
Binding data with parameterized queries is the safer, standard approach for including values in SQL. Building SQL by inserting values directly with Python's string formatting (or f-strings) mixes code and data, and any user-supplied input can alter the SQL itself, leading to SQL injection risks. Parameter binding sends the SQL statement with placeholders first, and the values are supplied separately by the driver. The database then treats those values strictly as data, applying proper escaping and typing, so the input cannot change the intended logic of the query. This not only prevents injection but also often improves performance through statement plan reuse when the same query runs with different values. In Snowflake with the Python connector, you typically provide the query with placeholders and pass the parameters separately, which enforces safe separation of code and data. So yes, it’s best practice to avoid Python string formatting for binding data due to SQL injection risk.
Question 5
Which technique speeds up queries on a table with city demography data for both range and equality searches?
Correct Answer:
Turn on search optimization for the table.
Explanation:
The technique being tested focuses on accelerating predicate-based searches using a specialized indexing feature. Turning on search optimization for a table makes Snowflake maintain a lightweight search index that speeds up predicates, especially for both range queries (for example, filtering by a range of population or year) and exact-match lookups (such as filtering by city name or code). This optimization helps the query engine prune irrelevant micro-partitions more effectively, so queries can locate matching rows quickly without scanning the entire table. It’s particularly advantageous for large city demography tables where you run a mix of range and equality filters. While clustering and materialized views have their uses, they address different patterns or require more manual tuning and maintenance. Secure views don’t inherently improve performance, and clustering requires careful design of cluster keys and ongoing maintenance. Search optimization provides a targeted, often easier-to-manage speedup for the combined range and exact-match searches described.
Question 1
Exam overview

About this Exam

Prepare with the Snowflake Data Engineer Practice Exam practice quiz. This question bank includes 10 questions covering data, table, retention, days, and storage. Use it to review important concepts, identify knowledge gaps, and build confidence for the related exam, course, or assessment.

More details

Additional Information

Snowflake Data Engineer Practice Exam

This practice set contains 10 questions from the matching question bank and focuses on data, table, retention, days, and storage. Work through each question carefully, review the provided solutions, and revisit topics that need more study before your next attempt.

This is an independent study resource intended for practice and review; it is not an official examination or an endorsement by any organization named in the title.

Quiz information

Frequently Asked Questions

The complete question count is available after full access is unlocked.
No fixed duration is currently configured for this quiz.
Question explanations are included where they are available in the quiz content, helping you review the reasoning after answering.
Yes. You can retake the practice test again as you continue studying during your available access period.
After your access is confirmed, you can continue into the complete practice exam from this quiz flow.
Unless explicitly stated otherwise, this page provides independent practice material for study and exam preparation and is not the official examination itself.
Keep studying

Related Questions