ADA-C01 practice question 7 of 10
A team is provisioning new lower environments from the production database using cloning. All production objects and references reside in the database, and do not have external references. What set of object references needs to be re-pointed before granting access for usage?
Full set: 75 questionsDomain Account Management and Data Protection
When a Snowflake database is cloned, the Data Definition Language (DDL) for all its objects is replicated in the new database. If object definitions use fully qualified names (e.g., productiondb.schema.table), these references are not automatically updated to point to the new cloned database. Consequently, objects in the cloned environment, such as views, secure views, and materialized views, will still point to the original production tables. Similarly, if a table's default value references a sequence using its fully qualified name, the cloned table will incorrectly reference the production sequence. These references must be manually updated to ensure the new environment is isolated.
A. This option is incomplete. It correctly identifies sequences and views but omits materialized views, which are also defined by queries and are subject to the same referencing issues.
C. This option is incorrect because the scenario explicitly states the database has no external references. Storage integrations are used for external stages, making them irrelevant here.
D. This is incorrect. Cloning copies object metadata exactly. Any hardcoded, fully qualified names within object definitions will persist and point to the source, requiring manual updates.
1. Snowflake Documentation: Object Cloning
Section: Introduction to Cloning
Content: "A clone is a writable
independent object that shares the underlying storage with the source object. Changes made to either the source object or the clone are not reflected in the other object." This principle confirms that the cloned object's definition is a copy of the source's definition at the time of cloning. If the source definition contains fully qualified names
the clone will inherit them.
URL: https://docs.snowflake.com/en/user-guide/object-cloning
2. Snowflake Documentation: CREATE
Section: General Usage Notes
Content: The documentation for cloning various objects (databases
schemas
tables) implies that the metadata is copied. For objects defined by SQL queries like views
this means the query text is copied verbatim. If the query text contains proddb.prodschema.table1
the cloned view will also contain proddb.prodschema.table1.
URL: https://docs.snowflake.com/en/sql-reference/sql/create-clone
3. Snowflake Documentation: CREATE VIEW
Section: Usage Notes
Content: "The view definition is not dynamic. A view is not updated if the underlying sources are modified..." This highlights that a view's definition is fixed upon creation. When cloned
this fixed definition is copied
including any fully qualified names. The same logic applies to Materialized Views.
URL: https://docs.snowflake.com/en/sql-reference/sql/create-view
Keep practicing
Take the free ADA-C01 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ADA-C01 practice questions
- Question 1A Snowflake Administrator wants to create a virtual warehouse that supports several dashb…
- Question 2A requirement has been identified to allow members of a corporate Data Product team to br…
- Question 3What is required for stages, without credentials, to limit data exfiltration after a stor…
- Question 4Which function is the role SECURITYADMIN responsible for that is not granted to role USER…
- Question 5For Snowflake network policies, what will occur when the account_level and user_level net…
- Question 6In which scenario will use of an external table simplify a data pipeline?
