SnowPro Associate: Platform exam dumps

SnowPro Associate: Platform practice question 59 of 367

SnowPro® Associate: Platform Certification. Associate level, Snowflake. Free question with the correct answer and a full explanation.

SnowPro Associate: Platform Question 59

Single answer○ Create objects (for example: databases, schemas, stages)

A data engineering team needs to load CSV files from an Amazon S3 bucket into a new Snowflake table. A Snowflake administrator has already created a new database named RAW_DB and granted the engineer a role with the ability to create objects in that database. The engineer wants to organize all ingestion-related objects in a dedicated schema and create a reusable stage definition that points to the S3 location. Which sequence of SQL statements best meets this requirement?

  1. A

    CREATE SCHEMA RAW_DB.INGEST; CREATE STAGE RAW_DB.INGEST.S3_STAGE URL='s3://company-data/inbound/' STORAGE_INTEGRATION = my_s3_int;

  2. B

    CREATE DATABASE RAW_DB.INGEST; CREATE STAGE S3_STAGE LOCATION='s3://company-data/inbound/';

  3. C

    CREATE SCHEMA INGEST IN DATABASE RAW_DB; CREATE EXTERNAL STAGE S3_STAGE ON 's3://company-data/inbound/';

  4. D

    CREATE STAGE RAW_DB.INGEST.S3_STAGE ON BUCKET='company-data/inbound'; CREATE SCHEMA RAW_DB.INGEST;

Show answer and explanation

Correct answer: A

Explanation

The correct approach is to create a schema inside the existing database and then create an external stage inside that schema. In Snowflake, databases contain schemas, and schemas contain objects such as tables, views, and stages. For external stages that point to Amazon S3, the standard syntax uses CREATE STAGE URL='s3://path/' along with credentials or, preferably, a STORAGE_INTEGRATION. This question tests practical understanding of Snowflake object hierarchy and valid DDL syntax for creating schemas and stages. According to Snowflake documentation, stages are named database objects used to reference data files, and external stages commonly use storage integrations for secure access to S3.

  • A. Correct.

    Correct. In Snowflake, a schema is created within a database, and a stage can then be created within that schema using a fully qualified name such as RAW_DB.INGEST.S3_STAGE. For an external stage pointing to Amazon S3, using URL='s3://...' with a configured STORAGE_INTEGRATION is valid and aligns with Snowflake best practices for secure access to cloud storage.

  • B. Incorrect.

    Incorrect. RAW_DB already exists as a database, so CREATE DATABASE RAW_DB.INGEST is invalid because databases do not contain other databases. Also, Snowflake stages use the URL parameter for external locations, not LOCATION in this form for creating a stage.

  • C. Incorrect.

    Incorrect. The syntax is not valid Snowflake SQL. Snowflake uses CREATE SCHEMA RAW_DB.INGEST or CREATE SCHEMA INGEST; after setting the current database, but not CREATE SCHEMA INGEST IN DATABASE RAW_DB in this form. Also, CREATE EXTERNAL STAGE and ON 's3://...' are not valid Snowflake stage creation syntax.

  • D. Incorrect.

    Incorrect. The object creation order is wrong because the schema must exist before creating a stage inside it. In addition, ON BUCKET='...' is not valid Snowflake syntax for stage creation. Snowflake external stages reference cloud storage with URL='s3://...'.

Timed practice exam

Take a SnowPro Associate: Platform practice test under exam conditions

65 questions in 85 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam