View Full Snowflake SnowPro Advanced Data Engineer Exam Dumps and Practice Test Dumps
Question 221
Which stream metadata value identifies the type of change?
- METADATA$ACTION
- METADATA$CHANGE_TYPE
- METADATA$EVENT_TYPE
- METADATA$OPERATION
Correct Answer: 1
Explanation:
METADATA$ACTION identifies the change represented by a stream record. Its values indicate whether the record represents an insertion or deletion. This metadata is useful when processing change data because downstream logic can distinguish the type of modification without comparing complete table snapshots. Data engineers commonly use stream metadata together with the source columns when building incremental transformation or synchronization pipelines. Understanding these metadata columns is important when designing merge logic, audit processes, and downstream change-processing workflows.
Question 222
Which stream metadata column identifies update pairs?
- METADATA$UPDATE_FLAG
- METADATA$ISUPDATE
- METADATA$MODIFIED
- METADATA$CHANGE_PAIR
Correct Answer: 2
Explanation:
METADATA$ISUPDATE indicates whether a stream record is associated with an update operation. Snowflake represents updates through corresponding change records, allowing downstream consumers to distinguish update-related activity from ordinary inserts or deletes. This information can be particularly useful when constructing incremental processing logic. Engineers should examine both METADATA$ACTION and METADATA$ISUPDATE when processing streams because the two metadata values provide complementary information about the underlying change.
Question 223
Which stream metadata column provides a unique row identifier?
- METADATA$RECORD_ID
- METADATA$SOURCE_ID
- METADATA$ROW_ID
- METADATA$UNIQUE_KEY
Correct Answer: 3
Explanation:
METADATA$ROW_ID provides an identifier associated with a row captured by a stream. It can help data engineers distinguish individual change records when implementing downstream processing or auditing logic. Stream metadata is especially valuable because change processing often requires more context than the business columns alone provide. Engineers should understand the semantics of each metadata field rather than treating stream records as ordinary table rows. Combining row identifiers with action and update indicators can make incremental pipelines easier to reason about.
Question 224
Which option includes existing rows when creating a stream?
- INCLUDE_EXISTING = TRUE
- INITIAL_ROWS = TRUE
- SHOW_INITIAL_ROWS = TRUE
- CAPTURE_HISTORY = TRUE
Correct Answer: 3
Explanation:
SHOW_INITIAL_ROWS = TRUE can be specified when creating a stream to make existing rows available as the stream’s initial contents. This behavior can be useful when a downstream process needs an initial snapshot before continuing with subsequent changes. Without understanding the initialization behavior, engineers may incorrectly assume that a newly created stream automatically exposes all historical table rows. Stream initialization should therefore be considered carefully when designing bootstrap and incremental-processing workflows.
Question 225
Which command manually triggers processing for a task?
- RUN TASK
- EXECUTE TASK
- START TASK NOW
- TRIGGER TASK
Correct Answer: 2
Explanation:
EXECUTE TASK can be used to manually execute a task. This is useful when engineers need to test task logic, initiate processing outside the normal schedule, or troubleshoot an orchestration workflow. Manual execution does not eliminate the need to configure task dependencies and scheduling appropriately for regular production operation. Data engineers should distinguish manually executing a task from resuming a suspended task, because those actions serve different operational purposes within Snowflake task management.
Question 226
Which clause establishes a task dependency?
- AFTER
- DEPENDS_ON
- PARENT_TASK
- FOLLOWING
Correct Answer: 1
Explanation:
The AFTER clause establishes a dependency between tasks in a task graph. A child task can be configured to run after its predecessor completes according to the task graph’s execution rules. This allows data engineers to coordinate multi-step workflows without relying entirely on external orchestration software. Task dependencies are useful for sequencing ingestion, transformation, validation, and publishing operations. Engineers should design task graphs carefully so dependencies represent the actual processing order required by the data pipeline.
Question 227
Which task parameter sets an initial warehouse size for serverless execution?
- SERVERLESS_WAREHOUSE_SIZE
- USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE
- TASK_INITIAL_COMPUTE
- INITIAL_SERVERLESS_CLUSTER
Correct Answer: 2
Explanation:
USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE can specify the initial warehouse size for a serverless task when Snowflake determines managed compute resources. This setting can help influence the starting resource size for serverless task execution. Engineers should understand that serverless task sizing is managed by Snowflake rather than operating exactly like a user-managed virtual warehouse. Monitoring task execution and workload behavior remains important when tuning resource requirements and pipeline performance.
Question 228
Which task property defines a recurring schedule?
- RUN_INTERVAL
- EXECUTION_PERIOD
- SCHEDULE
- TASK_TIMER
Correct Answer: 3
Explanation:
The SCHEDULE property defines when a scheduled task should run. Snowflake supports interval-based and cron-style scheduling through this property. Scheduling is useful for pipelines that must execute automatically at defined times or intervals. Engineers should ensure that the selected schedule aligns with source-data availability and downstream dependencies. Time-zone behavior should also be considered when using cron expressions, particularly for workloads that operate across regions or have business schedules tied to a specific local time.
Question 229
Which task property specifies an error notification integration?
- ERROR_INTEGRATION
- TASK_ALERT
- FAILURE_CHANNEL
- ERROR_HANDLER
Correct Answer: 1
Explanation:
ERROR_INTEGRATION specifies the notification integration used for task error notifications. This provides a mechanism for connecting task failures with supported notification workflows. Error notifications are valuable for production data pipelines because scheduled processing can fail without a user actively watching the workload. Engineers should combine notifications with task history and operational monitoring so that alerts can be investigated and resolved rather than simply acknowledged.
Question 230
Which refresh mode performs complete dynamic table refreshes?
- COMPLETE
- FULL
- TOTAL
- REBUILD
Correct Answer: 2
Explanation:
The FULL refresh mode causes a dynamic table to be refreshed by recomputing the complete result rather than relying on incremental changes. This can be useful when the transformation or workload is not appropriate for incremental processing. Engineers should consider the computational implications because full refreshes can process substantially more data than incremental refreshes. Selecting a refresh mode should therefore reflect the transformation logic, data volume, freshness requirement, and available compute resources.
Question 231
Which dynamic table setting determines when it first initializes?
- START_MODE
- INITIALIZE
- FIRST_REFRESH
- BOOTSTRAP_MODE
Correct Answer: 2
Explanation:
The INITIALIZE setting controls when a dynamic table is initialized. Snowflake supports initialization behavior that can determine whether initialization occurs when the dynamic table is created or according to its scheduling behavior. This distinction can matter when deploying pipelines because initialization may consume significant resources for large datasets. Engineers should plan deployment order and dependencies so that initial population does not interfere with downstream processing or operational readiness.
Question 232
Which dynamic table refresh mode can automatically select a strategy?
- AUTO
- SMART
- ADAPTIVE
- FLEXIBLE
Correct Answer: 1
Explanation:
AUTO allows Snowflake to determine the refresh approach for a dynamic table based on supported capabilities and workload characteristics. This can reduce the need for engineers to explicitly select a refresh strategy during initial configuration. However, automatic selection does not remove the need for monitoring. Engineers should evaluate refresh behavior, freshness requirements, query complexity, and compute consumption to ensure that the resulting pipeline operates within its intended performance and cost expectations.
Question 233
Which command displays task definitions and properties?
- DESCRIBE TASK
- SHOW TASK
- SHOW TASKS
- LIST TASKS
Correct Answer: 3
Explanation:
SHOW TASKS returns information about tasks available within the relevant scope. It is useful when engineers need to inspect task definitions, states, ownership, schedules, or related properties. This command is particularly helpful when troubleshooting orchestration configurations or auditing deployed tasks. SHOW TASKS provides object metadata, while task history provides execution information. Using both perspectives allows engineers to distinguish configuration problems from runtime failures.
Question 234
Which command provides details about one task definition?
- DESCRIBE TASK
- INSPECT TASK
- TASK DETAILS
- SHOW TASK DEFINITION
Correct Answer: 1
Explanation:
DESCRIBE TASK provides details about a specific task definition. Engineers can use it to inspect task properties and configuration when troubleshooting or validating deployment settings. This is different from task execution history, which focuses on runs rather than the task’s stored definition. Reviewing the task definition is especially useful after changing schedules, dependencies, warehouse settings, or SQL logic because it confirms how the object is currently configured.
Question 235
Which command reveals task execution history?
- TASK_HISTORY
- EXECUTION_LOG
- RUN_HISTORY
- TASK_RUNS
Correct Answer: 1
Explanation:
TASK_HISTORY provides information about task executions and is useful for operational troubleshooting. Engineers can examine execution status, timing, task names, and other available metadata to investigate successful or failed runs. Task history is especially important in automated pipelines because a scheduled task may execute without a human observing it directly. Combining task-history information with query history and notification mechanisms can provide a broader view of pipeline behavior.
Question 236
Which function checks whether a stream contains change records?
- SYSTEM$STREAM_HAS_DATA
- SYSTEM$STREAM_READY
- SYSTEM$STREAM_PENDING
- SYSTEM$STREAM_CHANGES
Correct Answer: 1
Explanation:
SYSTEM$STREAM_HAS_DATA checks whether a stream contains data that indicates changes since its current offset. It can be used in task conditions so that downstream processing occurs only when relevant changes are available. This can reduce unnecessary task executions in event-driven pipelines. Engineers should understand that the function checks stream data availability and does not itself consume or advance the stream. Consumption occurs through statements that process the stream’s records.
Question 237
Which stream option captures only inserts for supported tables?
- INSERT_ONLY
- APPEND_ONLY
- CAPTURE_INSERTS
- INSERT_EVENTS
Correct Answer: 2
Explanation:
APPEND_ONLY = TRUE configures an append-only stream for supported source scenarios. Such streams focus on newly inserted rows rather than tracking the full set of update and delete changes. This can simplify change processing for workloads where source data is naturally append-only. Engineers should choose this option only when its semantics match the source workload because update and delete information will not be represented in the same manner as a standard stream.
Question 238
Which Snowpipe property enables cloud event-driven ingestion?
- AUTO_INGEST
- EVENT_TRIGGER
- CLOUD_LISTENER
- FILE_AUTORUN
Correct Answer: 1
Explanation:
AUTO_INGEST = TRUE enables Snowpipe to use supported cloud notification mechanisms for automated file ingestion. When new files arrive in the configured storage location, notifications can cause Snowpipe to process them without requiring an engineer to repeatedly issue loading commands. This architecture is useful for continuously arriving files. Proper cloud notification configuration, permissions, stage settings, and pipe definitions are necessary for reliable operation.
Question 239
Which command can refresh a Snowpipe pipe for staged files?
- ALTER PIPE … REFRESH
- REFRESH PIPE NOW
- UPDATE PIPE FILES
- PIPE REFRESH FILES
Correct Answer: 1
Explanation:
ALTER PIPE … REFRESH can be used to refresh a pipe so that eligible staged files can be considered for ingestion. This is useful in operational scenarios where files may already exist in a stage and need to be queued for Snowpipe processing. Engineers should understand the difference between automatic notification-driven ingestion and manually refreshing a pipe. Manual refreshes can be useful for recovery or operational workflows, but they should not replace a correctly configured continuous-ingestion architecture.
Question 240
Which Snowpipe Streaming feature tracks ingestion progress per channel?
- Sequence counter
- Offset token
- Batch marker
- Stream checkpoint
Correct Answer: 2
Explanation:
Snowpipe Streaming uses offset information to track ingestion progress for channels. Offset tokens can help applications identify the position of successfully ingested records and support reliable delivery semantics. This is especially important in streaming systems where applications continuously send records rather than producing complete files. Engineers designing Snowpipe Streaming pipelines should understand channel management, offset handling, error recovery, and producer behavior to maintain reliable ingestion across application restarts or transient failures.