Snowflake SnowPro Advanced Data Engineer Practice Test Questions and Exam Dumps Part4 Q61-80

View Full Snowflake SnowPro Advanced Data Engineer Exam Dumps and Practice Test Dumps

 

Question 61

Which feature allows automatic clustering maintenance?

  1. Snowpipe
  2. Stream
  3. Automatic Clustering
  4. Data Sharing

Correct Answer: 3

Explanation:

Automatic Clustering helps maintain the physical organization of table micro-partitions as data changes over time. When a table has clustering information defined, Snowflake can automatically perform background maintenance to improve clustering where appropriate. This can help preserve partition pruning effectiveness for workloads that benefit from organized data. Snowpipe handles file ingestion, Streams capture changes, and Data Sharing distributes data securely. Automatic Clustering should be evaluated based on query patterns because maintaining clustering consumes compute resources.

Question 62

What does a clustering key define?

  1. Target partitioning columns
  2. User authentication rules
  3. File loading frequency
  4. Task dependency order

Correct Answer: 1

Explanation:

A clustering key identifies expressions or columns that Snowflake can use to organize micro-partitions for a table. The goal is to improve pruning for queries that frequently filter or join using those expressions. Choosing effective clustering dimensions requires understanding workload patterns and data distribution. Authentication rules, file loading frequency, and task dependencies address different aspects of the platform. A clustering key does not create traditional indexes; Snowflake uses its micro-partition architecture and metadata to determine which partitions can be skipped.

Question 63

Which capability can unload query results to cloud storage?

  1. Stream
  2. Task
  3. COPY INTO
  4. Resource Monitor

Correct Answer: 3

Explanation:

COPY INTO can unload table or query results to supported stage locations, including external cloud-storage destinations. Data engineers can use unloading to create extracts, exchange datasets, or feed downstream systems that consume files. File format settings can determine how the exported data is represented. Streams track changes, Tasks automate execution, and Resource Monitors manage credit consumption. When designing export pipelines, engineers should consider file naming, partitioning, compression, access controls, and downstream compatibility.

Question 64

Which command changes a warehouse’s compute size?

  1. CREATE ROLE
  2. ALTER WAREHOUSE
  3. CREATE STREAM
  4. DROP STAGE

Correct Answer: 2

Explanation:

ALTER WAREHOUSE can modify warehouse properties, including its configured size. Changing warehouse size changes the compute resources available to queries that execute on that warehouse. This can be useful when workloads require more or less processing capacity. CREATE ROLE manages authorization objects, CREATE STREAM establishes change tracking, and DROP STAGE removes a stage. Warehouse sizing should be based on workload characteristics and monitored performance rather than simply increasing resources for every query.

Question 65

Which setting can suspend an idle warehouse automatically?

  1. AUTO_SUSPEND
  2. QUERY_TAG
  3. FILE_FORMAT
  4. DATA_RETENTION_TIME_IN_DAYS

Correct Answer: 1

Explanation:

AUTO_SUSPEND specifies how long a warehouse can remain idle before Snowflake automatically suspends it. Suspension stops warehouse compute from continuing to run while no work is being performed, which can help control credit consumption. When a new query requires the warehouse, it can resume according to the configured behavior. QUERY_TAG identifies query context, FILE_FORMAT controls file interpretation, and DATA_RETENTION_TIME_IN_DAYS relates to historical data availability. Appropriate suspension settings depend on workload frequency and latency requirements.

Question 66

What does multi-cluster compute primarily address?

  1. Data encryption
  2. Concurrent workload demand
  3. File parsing
  4. Change capture

Correct Answer: 2

Explanation:

Multi-cluster warehouses are designed to handle increased query concurrency by allowing additional compute clusters to become available as workload demand changes. This can help reduce queuing when many users or processes submit queries simultaneously. It addresses concurrency rather than increasing the storage capacity of a table or changing how files are parsed. Data encryption, file parsing, and change capture are handled by different Snowflake features. Multi-cluster configuration should be selected according to concurrency patterns and workload requirements.

Question 67

Which scaling policy favors adding clusters sooner?

  1. ECONOMY
  2. STANDARD
  3. LEGACY
  4. MANUAL

Correct Answer: 2

Explanation:

The STANDARD scaling policy is designed to favor responsiveness to queued workloads by starting additional clusters more readily when demand increases. This can be useful when reducing query queuing is more important than minimizing compute usage. The ECONOMY policy is more conservative about starting additional clusters and can favor credit efficiency. The appropriate policy depends on workload concurrency, acceptable latency, and cost considerations. Scaling policies should be evaluated using actual workload behavior rather than assumed performance benefits.

Question 68

Which feature limits warehouse credit consumption by threshold?

  1. Resource Monitor
  2. Stream
  3. Stage
  4. File Format

Correct Answer: 1

Explanation:

A Resource Monitor can be configured with credit quotas and actions that respond when usage reaches specified thresholds. This provides administrators with a mechanism for monitoring and controlling Snowflake credit consumption. Depending on configuration and privileges, actions can include notifications or suspending warehouses. Streams capture table changes, stages reference files, and file formats define parsing rules. Resource Monitors are therefore useful for implementing operational cost controls across selected warehouses.

Question 69

What does warehouse queuing indicate?

  1. Queries await compute resources
  2. Files await encryption
  3. Tables await deletion
  4. Roles await creation

Correct Answer: 4

Explanation:

Warehouse queuing occurs when submitted queries cannot immediately obtain the required compute resources and must wait. This can happen when concurrency exceeds the capacity available from the warehouse configuration. Administrators can investigate queue times and workload patterns to determine whether changes to warehouse sizing, multi-cluster configuration, workload scheduling, or query efficiency are appropriate. File encryption, table deletion, and role creation are unrelated to warehouse query queuing.

Question 70

Which setting controls maximum cluster count?

  1. MIN_CLUSTER_COUNT
  2. MAX_CLUSTER_COUNT
  3. AUTO_RESUME
  4. STATEMENT_TIMEOUT

Correct Answer: 2

Explanation:

MAX_CLUSTER_COUNT specifies the maximum number of clusters that a multi-cluster warehouse can use. When workload demand increases, Snowflake can add clusters up to this configured limit according to the warehouse’s scaling behavior. MIN_CLUSTER_COUNT defines the minimum cluster count, AUTO_RESUME controls whether a suspended warehouse can resume when work arrives, and STATEMENT_TIMEOUT limits statement execution time. Correct cluster limits help balance concurrency requirements against compute consumption.

Question 71

Which object can execute a stored procedure on a schedule?

  1. Stage
  2. Task
  3. Stream
  4. File Format

Correct Answer: 4

Explanation:

A Task can execute SQL statements or supported procedural logic according to a defined schedule or trigger configuration. This makes Tasks useful for automating stored procedure execution as part of recurring data pipelines. A Stage manages file locations, a Stream captures source changes, and a File Format defines how files are interpreted. When using procedures in Tasks, engineers should consider execution privileges, dependencies, failure handling, and warehouse availability.

Question 72

What does a task graph establish?

  1. Storage encryption
  2. Execution dependencies
  3. File compression
  4. Column masking

Correct Answer: 3

Explanation:

A task graph establishes relationships among Tasks so that downstream tasks can execute according to upstream completion and dependency conditions. This enables multi-step workflows to be coordinated within Snowflake rather than relying entirely on external orchestration. Storage encryption, file compression, and column masking address different technical concerns. Task graphs are useful for organizing transformation sequences, but engineers should also consider failure behavior, retry requirements, scheduling, and resource consumption when designing them.

Question 73

Which object can receive rows from a stream-driven process?

  1. Target table
  2. File format
  3. Storage integration
  4. Resource monitor

Correct Answer: 1

Explanation:

A target table can receive rows processed from changes identified by a Stream. A common incremental pipeline reads stream records and applies INSERT, UPDATE, DELETE, or MERGE logic to a downstream target. This avoids repeatedly processing the complete source dataset when only changed records need attention. File formats describe staged data, Storage Integrations manage external storage access, and Resource Monitors manage credit thresholds. The target design should account for keys, duplicates, ordering, and transaction boundaries.

Question 74

Which feature helps enforce column-level data protection?

  1. Warehouse scaling
  2. Dynamic Tables
  3. Masking policy
  4. File unloading

Correct Answer: 2

Explanation:

A masking policy can control how sensitive column values are presented based on the querying context and applicable authorization conditions. This provides a mechanism for protecting sensitive information while allowing approved users or roles to access appropriate representations of the data. Warehouse scaling changes compute capacity, Dynamic Tables manage derived datasets, and file unloading exports data. Masking policies are an important component of Snowflake data-governance architectures and should be designed together with role-based access controls.

Question 75

Which feature can tokenize sensitive values before downstream use?

  1. Tokenization policy
  2. Query history
  3. Warehouse suspension
  4. Stage listing

Correct Answer: 1

Explanation:

Tokenization can replace sensitive values with representative tokens so that downstream processes can work with protected representations instead of directly exposing the original information. Snowflake data-engineering architectures may integrate tokenization approaches with governance controls depending on security requirements and implementation design. Query History records statement activity, warehouse suspension controls compute lifecycle, and stage listing provides information about staged objects. Sensitive-data protection should also consider access privileges, masking, encryption, and regulatory requirements.

Question 76

What does row access policy control?

  1. Row visibility
  2. Warehouse size
  3. File compression
  4. Task frequency

Correct Answer: 3

Explanation:

A row access policy controls which rows a user or role can see when querying a protected table or view. This supports fine-grained data governance where different users may need access to different subsets of the same dataset. The policy can evaluate contextual information such as roles or other attributes when determining visibility. Warehouse sizing, file compression, and task frequency address unrelated operational functions. Row access policies should be tested carefully to ensure that intended access boundaries are consistently enforced.

Question 77

Which object can centralize reusable transformation SQL?

  1. Stored procedure
  2. External stage
  3. Resource monitor
  4. File format

Correct Answer: 4

Explanation:

A stored procedure can encapsulate reusable SQL and procedural logic that can be invoked by authorized users or automated processes. This can simplify complex transformations, validation routines, administrative workflows, and reusable data-processing operations. External stages provide file locations, Resource Monitors manage credit thresholds, and File Formats define file interpretation. Stored procedures can also be invoked by Tasks, making them useful components in automated pipeline architectures where transformation logic needs centralized maintenance.

Question 78

Which feature allows procedural branching within Snowflake code?

  1. SQL comment
  2. Snowflake Scripting
  3. File format
  4. Stage directory

Correct Answer: 2

Explanation:

Snowflake Scripting provides procedural constructs that can be used for variables, conditional logic, loops, exception handling, and other procedural programming requirements within Snowflake. This can be useful when a transformation or administrative workflow requires logic that is more complex than a single declarative SQL statement. Comments document code, file formats define staged-file characteristics, and stage directories organize staged objects. Snowflake Scripting can be incorporated into stored procedures and other supported execution contexts.

Question 79

Which capability can capture procedure execution errors?

  1. Exception handling
  2. File compression
  3. Query clustering
  4. Warehouse resizing

Correct Answer: 1

Explanation:

Exception handling allows procedural code to detect and respond to runtime errors rather than allowing failures to go completely unmanaged. Snowflake Scripting supports exception-handling constructs that can be used to perform logging, cleanup, alternate actions, or controlled failure behavior. This is valuable in production data pipelines where predictable error management is important. File compression, query clustering, and warehouse resizing do not provide procedural error handling. The response strategy should match the criticality and recovery requirements of the workflow.

Question 80

Which approach supports reusable pipeline configuration?

  1. Hard-coded values everywhere
  2. Session termination
  3. Parameterized procedures
  4. Manual file renaming

Correct Answer: 3

Explanation:

Parameterized procedures can accept input values and use them to execute reusable processing logic across different datasets, environments, dates, or operational conditions. This reduces the need to maintain separate copies of nearly identical pipeline code. Parameters can represent items such as source identifiers, processing dates, or target objects when the procedure design supports them. Hard-coded values reduce flexibility, session termination does not provide configuration reuse, and manual file renaming is unrelated to reusable pipeline logic.