Snowflake SnowPro Core Practice Test 21
Question 200
For an original SnowPro Core educational scenario, consider: A telemetry analyst needs one record per reading in a nested JSON array and is considering manual string splitting. Select THREE compatible elements: a proper correction, a targeted diagnostic and an acceptance result.
- Change: Use LATERAL FLATTEN against the appropriate VARIANT array and select the expanded VALUE fields.
- Result: Each intended array element appears as a queryable row while empty or malformed payloads are handled deliberately.
- Check: Validate path selection, output row counts, INDEX and VALUE on arrays including empty and missing cases.
- Result: Target queries finish within agreed latency while extra compute cost remains justified.
- Change: Design a supported Snowflake Iceberg table with its external cloud data and metadata location and appropriate catalog configuration.
- Check: Inspect queued overload time, cluster count, concurrency and credit usage during a realistic peak.
Explanation
Correct Answer
A:Acceptance: Each intended array element appears as a queryable row while empty or malformed payloads are handled deliberately. Applied case: A telemetry analyst needs one record per reading in a nested JSON array and is considering manual string splitting.
B:Required intervention: Use LATERAL FLATTEN against the appropriate VARIANT array and select the expanded VALUE fields.
C:Acceptance: Each intended array element appears as a queryable row while empty or malformed payloads are handled deliberately. FLATTEN is a table function that expands elements of semi-structured arrays into rows.
Incorrect Answers
D:Result: Target queries finish within agreed latency while extra compute cost remains justified. FLATTEN is a table function that expands elements of semi-structured arrays into rows.
E:Change: Design a supported Snowflake Iceberg table with its external cloud data and metadata location and appropriate catalog configuration. A telemetry analyst needs one record per reading in a nested JSON array and is considering manual string splitting.
F:Check: Inspect queued overload time, cluster count, concurrency and credit usage during a realistic peak. FLATTEN is a table function that expands elements of semi-structured arrays into rows.
Question 201
A Snowflake engineer is examining this platform situation: A document analytics app ingests PDFs but needs to enumerate staged file metadata before processing. A proposed shortcut is: Store PDF bytes in a staged location and assume SQL SELECT automatically extracts their tables. What should the Snowflake engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Store PDF bytes in a staged location and assume SQL SELECT automatically extracts their tables.
- Create appropriate streams to expose change data and give independently checkpointed consumers their own streams when needed.
- Use appropriate staged file storage, directory metadata and supported unstructured file references or processing functions as needed.
- Use supported Notebooks in Workspaces and verify migration requirements for any legacy notebook assets.
Explanation
Correct Answer
C:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. Applied case: A document analytics app ingests PDFs but needs to enumerate staged file metadata before processing.
Incorrect Answers
A:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. For this best change assessment, the shortcut changes or bypasses the necessary correctness, governance or operational boundary rather than correcting it.
B:Create appropriate streams to expose change data and give independently checkpointed consumers their own streams when needed. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
D:Use supported Notebooks in Workspaces and verify migration requirements for any legacy notebook assets. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
Question 202
A Snowflake implementation review finds: A document analytics app ingests PDFs but needs to enumerate staged file metadata before processing. The team proposes: Use appropriate staged file storage, directory metadata and supported unstructured file references or processing functions as needed. Which platform principle most strongly supports the recommended response? Select ONE best answer.
- Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
- An idle warehouse can be suspended to stop compute consumption and resumed when authorized work requires it.
- Additional clusters can reduce queuing under concurrency, but do not inherently accelerate one slow query.
- FLATTEN is a table function that expands elements of semi-structured arrays into rows.
Explanation
Correct Answer
A:Demonstrable success requires: File inventory and authorized downstream processing work without misrepresenting staged objects as parsed records. Applied case: A document analytics app ingests PDFs but needs to enumerate staged file metadata before processing.
Incorrect Answers
B:An idle warehouse can be suspended to stop compute consumption and resumed when authorized work requires it. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
C:Additional clusters can reduce queuing under concurrency, but do not inherently accelerate one slow query. A document analytics app ingests PDFs but needs to enumerate staged file metadata before processing.
D:FLATTEN is a table function that expands elements of semi-structured arrays into rows. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
Question 203
The data platform team has not yet approved changes. Current evidence indicates: A document analytics app ingests PDFs but needs to enumerate staged file metadata before processing. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Inspect parsed JSON values, TYPEOF results and casts for null, numeric, Boolean and string examples.
- Inspect stage file listings, directory table refresh and supported document-processing entry points.
- Review warehouse configuration, idle duration and metered credit history around overnight gaps.
- Inspect stream contents and consumption behavior using controlled inserts, updates and two separate downstream consumers.
Explanation
Correct Answer
B:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. Confirm afterward that: File inventory and authorized downstream processing work without misrepresenting staged objects as parsed records.
Incorrect Answers
A:Inspect parsed JSON values, TYPEOF results and casts for null, numeric, Boolean and string examples. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
C:Review warehouse configuration, idle duration and metered credit history around overnight gaps. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
D:Inspect stream contents and consumption behavior using controlled inserts, updates and two separate downstream consumers. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
Question 204
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: A document analytics app ingests PDFs but needs to enumerate staged file metadata before processing. The service owner needs positive and negative results and evidence that legitimate data workflows still function. Which acceptance result demonstrates correct platform behavior without disrupting authorized workflows? Select ONE best answer.
- Target queries finish within agreed latency while extra compute cost remains justified.
- Clusters grow for meaningful demand and shrink when the service target permits without sustaining idle peak capacity.
- File inventory and authorized downstream processing work without misrepresenting staged objects as parsed records.
- Each intended array element appears as a queryable row while empty or malformed payloads are handled deliberately.
Explanation
Correct Answer
C:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. The result must be validated using the documented dataset or access context.
Incorrect Answers
A:Target queries finish within agreed latency while extra compute cost remains justified. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
B:Clusters grow for meaningful demand and shrink when the service target permits without sustaining idle peak capacity. A document analytics app ingests PDFs but needs to enumerate staged file metadata before processing.
D:Each intended array element appears as a queryable row while empty or malformed payloads are handled deliberately. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
Question 205
An implementation sign-off request identifies the following problem: A document analytics app ingests PDFs but needs to enumerate staged file metadata before processing. Which paired technical change and validation should close the implementation review? Select ONE best answer.
- Change: Use appropriate staged file storage, directory metadata and supported unstructured file references or processing functions as needed. Verify: Inspect stage file listings, directory table refresh and supported document-processing entry points.
- Change: Set workload-suitable AUTO_SUSPEND and AUTO_RESUME values and validate startup behavior and billing. Verify: Review warehouse configuration, idle duration and metered credit history around overnight gaps.
- Change: Use LATERAL FLATTEN against the appropriate VARIANT array and select the expanded VALUE fields. Verify: Validate path selection, output row counts, INDEX and VALUE on arrays including empty and missing cases.
- Change: Evaluate Snowpark-optimized warehouse configurations only for supported memory-intensive Snowpark operations with measured benefit. Verify: Compare the job's memory failures, execution time, supported workload requirements and credits on both warehouse types.
Explanation
Correct Answer
A:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. The change is successful only when: File inventory and authorized downstream processing work without misrepresenting staged objects as parsed records.
Incorrect Answers
B:Change: Set workload-suitable AUTO_SUSPEND and AUTO_RESUME values and validate startup behavior and billing. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
C:Change: Use LATERAL FLATTEN against the appropriate VARIANT array and select the expanded VALUE fields. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
D:Change: Evaluate Snowpark-optimized warehouse configurations only for supported memory-intensive Snowpark operations with measured benefit. A document analytics app ingests PDFs but needs to enumerate staged file metadata before processing.
Question 206
A Snowflake engineer is examining this platform situation: A team assumes unstructured audio files become relational rows simply by copying them into an internal stage. A proposed shortcut is: Store PDF bytes in a staged location and assume SQL SELECT automatically extracts their tables. What should the Snowflake engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Use appropriate staged file storage, directory metadata and supported unstructured file references or processing functions as needed.
- Use Time Travel for self-service history and regard Fail-safe on eligible permanent objects as a limited Snowflake-assisted recovery mechanism.
- Separate persistent cloud storage from independently provisioned warehouse compute and Snowflake-managed cloud services when designing the architecture.
- Store PDF bytes in a staged location and assume SQL SELECT automatically extracts their tables.
Explanation
Correct Answer
A:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. This targeted change addresses the stated technical or governance gap without discarding necessary controls.
Incorrect Answers
B:This option addresses a different Snowflake technical topic (Fail-safe purpose and operational limits) rather than the documented Unstructured data and directory metadata decision.
C:Separate persistent cloud storage from independently provisioned warehouse compute and Snowflake-managed cloud services when designing the architecture. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
D:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. Use this instead: Use appropriate staged file storage, directory metadata and supported unstructured file references or processing functions as needed.
Question 207
A Snowflake implementation review finds: A team assumes unstructured audio files become relational rows simply by copying them into an internal stage. The team proposes: Use appropriate staged file storage, directory metadata and supported unstructured file references or processing functions as needed. Which platform principle most strongly supports the recommended response? Select ONE best answer.
- Temporary tables exist only for their creating session and are removed when the session ends.
- VARIANT can hold semi-structured values and path-based access, while typed columns support explicit relational validation and calculations.
- Managed AI functions can operate within supported Snowflake services, but model output requires governance and validation rather than assumption of determinism.
- Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
Explanation
Correct Answer
D:Demonstrable success requires: File inventory and authorized downstream processing work without misrepresenting staged objects as parsed records. This principle explains the proposed technical approach, which is: Use appropriate staged file storage, directory metadata and supported unstructured file references or processing functions as needed.
Incorrect Answers
A:This option addresses a different Snowflake technical topic (Session-scoped temporary tables) rather than the documented Unstructured data and directory metadata decision.
B:VARIANT can hold semi-structured values and path-based access, while typed columns support explicit relational validation and calculations. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
C:This option addresses a different Snowflake technical topic (Snowflake Cortex AI SQL functions) rather than the documented Unstructured data and directory metadata decision.
Question 208
The data platform team has not yet approved changes. Current evidence indicates: A team assumes unstructured audio files become relational rows simply by copying them into an internal stage. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Inspect partition statistics and query profile scans before and after relevant data layout changes.
- Compare query profile spill bytes, elapsed time, warehouse size and warehouse credits under equivalent inputs.
- Create a controlled clone, compare initial storage and query results, then modify only the clone.
- Inspect stage file listings, directory table refresh and supported document-processing entry points.
Explanation
Correct Answer
D:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. Applied case: A team assumes unstructured audio files become relational rows simply by copying them into an internal stage.
Incorrect Answers
A:Inspect partition statistics and query profile scans before and after relevant data layout changes. A team assumes unstructured audio files become relational rows simply by copying them into an internal stage.
B:Compare query profile spill bytes, elapsed time, warehouse size and warehouse credits under equivalent inputs. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
C:Create a controlled clone, compare initial storage and query results, then modify only the clone. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
Question 209
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: A team assumes unstructured audio files become relational rows simply by copying them into an internal stage. The service owner needs positive and negative results and evidence that legitimate data workflows still function. Which acceptance result demonstrates correct platform behavior without disrupting authorized workflows? Select ONE best answer.
- Flexible payloads remain queryable and critical measures retain correct types rather than becoming ambiguous text.
- Analysts can create and maintain notebooks in the supported current experience with governed data access.
- Cost analysis and architecture diagrams identify cloud services and warehouse activity as distinct components.
- File inventory and authorized downstream processing work without misrepresenting staged objects as parsed records.
Explanation
Correct Answer
D:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. The approved implementation step was: Use appropriate staged file storage, directory metadata and supported unstructured file references or processing functions as needed.
Incorrect Answers
A:Flexible payloads remain queryable and critical measures retain correct types rather than becoming ambiguous text. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
B:Analysts can create and maintain notebooks in the supported current experience with governed data access. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
C:Cost analysis and architecture diagrams identify cloud services and warehouse activity as distinct components. A team assumes unstructured audio files become relational rows simply by copying them into an internal stage.
Question 210
For an original SnowPro Core educational scenario, consider: A team assumes unstructured audio files become relational rows simply by copying them into an internal stage. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Check: Inspect stage file listings, directory table refresh and supported document-processing entry points.
- Change: Use appropriate staged file storage, directory metadata and supported unstructured file references or processing functions as needed.
- Change: Separate persistent cloud storage from independently provisioned warehouse compute and Snowflake-managed cloud services when designing the architecture.
- Store PDF bytes in a staged location and assume SQL SELECT automatically extracts their tables.
- Check: Create a controlled clone, compare initial storage and query results, then modify only the clone.
Explanation
Correct Answer
A:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. Acceptance: File inventory and authorized downstream processing work without misrepresenting staged objects as parsed records.
B:Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows. Evidence: Inspect stage file listings, directory table refresh and supported document-processing entry points.
Incorrect Answers
C:Change: Separate persistent cloud storage from independently provisioned warehouse compute and Snowflake-managed cloud services when designing the architecture. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
D:For this select two assessment, the shortcut changes or bypasses the necessary correctness, governance or operational boundary rather than correcting it. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.
E:Check: Create a controlled clone, compare initial storage and query results, then modify only the clone. Stages store files and directory tables expose metadata; a file's existence alone does not transform its contents into structured table rows.