{"id":24242,"date":"2026-09-29T06:12:40","date_gmt":"2026-09-29T06:12:40","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=24242"},"modified":"2026-09-29T06:12:40","modified_gmt":"2026-09-29T06:12:40","slug":"snowflake-snowpro-core-cof-c03-practice-test-questions-and-exam-dumps-part18-q341-360","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/snowflake-snowpro-core-cof-c03-practice-test-questions-and-exam-dumps-part18-q341-360\/","title":{"rendered":"Snowflake SnowPro Core COF-C03 Practice Test Questions and Exam Dumps Part18 Q341-360"},"content":{"rendered":"<h2><b>View Full <\/b><a href=\"https:\/\/www.examlabs.com\/snowpro-core-cof-c03-exam-dumps\"><b>Snowflake SnowPro Core COF-C03 Exam Dumps<\/b><\/a><b> and Practice Test Dumps.<\/b><\/h2>\n<p>&nbsp;<\/p>\n<h3><b>Question 341<\/b><\/h3>\n<p><b>Which Snowflake sampling method selects rows based on a random row-level process?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SYSTEM<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">BERNOULLI<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">BLOCK<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">PARTITION<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">BERNOULLI sampling evaluates each row independently to determine whether it should be included in the sample. The specified sampling percentage represents the approximate probability that an individual row will be selected. Because the selection operates at the row level, the resulting sample can contain rows distributed throughout the table rather than selecting entire storage blocks. SYSTEM sampling uses a different approach based on Snowflake&#8217;s underlying data organization. Sampling is useful for exploratory analysis, testing, and working with representative subsets when processing the complete table is unnecessary.<\/span><\/p>\n<h3><b>Question 342<\/b><\/h3>\n<p><b>Which sampling method operates by selecting data at the micro-partition level rather than independently evaluating every row?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">BERNOULLI<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">ROW<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SYSTEM<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">RANDOM_ROW<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">SYSTEM sampling selects data at the micro-partition level. Instead of independently evaluating each row, Snowflake determines which micro-partitions participate in the sample. As a result, the actual number of rows returned can vary depending on how data is distributed across micro-partitions. BERNOULLI sampling, in contrast, makes row-level selections. SYSTEM sampling can be useful when users want a random subset while potentially reducing the amount of data that needs to be processed. Understanding the distinction between these methods helps users choose an appropriate sampling approach.<\/span><\/p>\n<h3><b>Question 343<\/b><\/h3>\n<p><b>What is the primary purpose of the SAMPLE clause in Snowflake SQL?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Encrypting selected rows<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Returning a subset of table data<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Sorting table records<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Compressing micro-partitions<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The SAMPLE clause allows users to retrieve a subset of rows from a table rather than processing the complete dataset. This can be useful for exploratory analysis, development, testing, and quick inspection of large datasets. Snowflake supports different sampling approaches, including BERNOULLI and SYSTEM, which determine how rows or micro-partitions are selected. SAMPLE does not encrypt data, sort the complete table, or directly perform micro-partition compression. Its purpose is to reduce the amount of data returned or processed for a particular query.<\/span><\/p>\n<h3><b>Question 344<\/b><\/h3>\n<p><b>Which Snowflake function is useful for estimating the number of distinct values without necessarily calculating an exact count?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">APPROX_COUNT_DISTINCT<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">COUNT_ALL_EXACT<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">DISTINCT_ESTIMATE_TABLE<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">APPROX_SUM_ROWS<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">APPROX_COUNT_DISTINCT provides an approximate count of distinct values. Approximate algorithms can be useful when analytical workloads involve very large datasets and an estimate is sufficient for the business requirement. An approximate calculation can reduce computational requirements compared with an exact distinct count in some situations. The function is therefore useful for large-scale exploratory analysis, cardinality estimation, and analytical reporting where a small estimation error is acceptable. The other options are not standard Snowflake functions for approximate distinct counting.<\/span><\/p>\n<h3><b>Question 345<\/b><\/h3>\n<p><b>Which function can calculate an approximate percentile for a numeric expression?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">MEDIAN_EXACT<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">APPROX_PERCENTILE<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">PERCENTAGE_ESTIMATE<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">APPROX_MEDIAN_COUNT<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">APPROX_PERCENTILE calculates an approximate percentile for an expression. Percentiles are useful for understanding the distribution of numerical values, such as transaction amounts, response times, or customer activity. Approximate percentile functions can be valuable for large analytical workloads where exact calculations may require more processing and the use case can tolerate an approximate result. The function works with a specified percentile value and returns an estimate based on the available data. The other listed names are not standard Snowflake functions for approximate percentile calculations.<\/span><\/p>\n<h3><b>Question 346<\/b><\/h3>\n<p><b>Which Snowflake object generates sequential numeric values that can be used when inserting rows?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Sequence<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Stage<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Stream<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Share<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A Snowflake sequence is a database object that generates sequential numeric values. Sequences can be used when applications or data-loading processes require generated numeric identifiers or other incrementing values. Unlike a stage, which identifies a file-storage location, a stream tracks table changes, and a share exposes selected data to another account. A sequence provides a reusable mechanism for generating numeric values according to its configuration. It can therefore be useful in workflows where unique or sequential identifiers need to be generated independently of manually supplied values.<\/span><\/p>\n<h3><b>Question 347<\/b><\/h3>\n<p><b>Which column definition can automatically generate numeric values for newly inserted rows?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">GENERATED ALWAYS AS IDENTITY<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">GENERATED AS SEQUENCE TEXT<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">AUTO_NUMBER VARCHAR<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">DEFAULT AUTO STRING<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">GENERATED ALWAYS AS IDENTITY defines an identity column whose values are generated automatically when rows are inserted. This is useful when a table requires system-generated numeric identifiers instead of requiring users or applications to supply every identifier manually. Identity columns are especially useful for surrogate keys and other internally generated numeric values. The generated values are handled by Snowflake according to the identity-column definition. The other options do not represent standard Snowflake syntax for automatically generating numeric identity values.<\/span><\/p>\n<h3><b>Question 348<\/b><\/h3>\n<p><b>What is a key characteristic of an identity column in Snowflake?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It requires JSON input<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It automatically generates numeric values<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It stores only timestamps<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It prevents all duplicate rows<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An identity column automatically generates numeric values for inserted rows according to its definition. This removes the need for applications or users to manually provide values for that column in typical insert operations. Identity columns are commonly useful for surrogate identifiers and internally generated keys. They do not inherently store timestamps, require JSON input, or guarantee that every row in the table is unique across all columns. Their primary purpose is automated numeric value generation. Other constraints may still be needed when specific uniqueness requirements must be enforced.<\/span><\/p>\n<h3><b>Question 349<\/b><\/h3>\n<p><b>Which SQL construct allows a table function to be evaluated using values from preceding tables in the FROM clause?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">LATERAL<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">GLOBAL<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">PARALLEL<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">CORRELATED_TABLE<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The LATERAL construct allows a table function or subquery in the FROM clause to reference columns from preceding items in that same FROM clause. This enables row-dependent processing where the function&#8217;s input can change according to values from an earlier table expression. LATERAL is particularly useful when working with table functions that need access to data from each input row. It provides a way to correlate table expressions while preserving SQL&#8217;s relational query structure. The other listed constructs are not standard Snowflake syntax for this behavior.<\/span><\/p>\n<h3><b>Question 350<\/b><\/h3>\n<p><b>Which Snowflake function is commonly used with LATERAL to expand elements from an ARRAY or OBJECT into rows?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">OBJECT_BUILD<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">FLATTEN<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">ARRAY_ROWS<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">EXPAND_OBJECT<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">FLATTEN is a table function that converts elements of semi-structured data into rows. It can process values such as arrays and objects stored in VARIANT data. When combined with LATERAL, FLATTEN can be applied to values from each row of a source table, allowing nested data to be expanded dynamically. This pattern is useful for querying JSON-like structures and transforming nested information into a relational form. The other listed names are not standard Snowflake functions for expanding arrays or objects into rows.<\/span><\/p>\n<h3><b>Question 351<\/b><\/h3>\n<p><b>Which Snowflake statement is used to transfer ownership of an object to another role?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">MOVE OWNERSHIP<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">ALTER OWNERSHIP<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">GRANT OWNERSHIP<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">TRANSFER ROLE<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">GRANT OWNERSHIP is used to transfer ownership of a Snowflake object to another role. Ownership is an important authorization concept because the owning role has significant control over the object and its associated privileges. Transferring ownership should therefore be performed carefully, particularly in environments that use role-based administrative responsibilities. GRANT OWNERSHIP differs from granting ordinary privileges such as SELECT or USAGE because ownership represents control of the object itself. The other listed statements are not standard Snowflake syntax for transferring object ownership.<\/span><\/p>\n<h3><b>Question 352<\/b><\/h3>\n<p><b>Which command removes a previously granted privilege from a role?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">DELETE PRIVILEGE<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">REVOKE<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">REMOVE GRANT<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">DROP ACCESS<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">REVOKE removes a previously granted privilege from a role or other authorized principal. For example, an administrator can revoke SELECT access when a role should no longer be permitted to query a table. Revocation is an important part of maintaining access controls because permissions can change as responsibilities evolve. REVOKE is different from DROP because dropping an object removes the object itself rather than simply changing authorization. Proper privilege management commonly involves both granting required access and revoking access that is no longer appropriate.<\/span><\/p>\n<h3><b>Question 353<\/b><\/h3>\n<p><b>Which Snowflake feature can automatically grant a privilege on newly created objects of a specified type within a schema?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Future grants<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Current grants<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Automatic ownership<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Object inheritance only<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Future grants allow administrators to specify privileges that should automatically be granted on objects created later. For example, a role can be configured to receive SELECT privileges on future tables within a schema. This reduces the need to manually grant the same privilege every time a new object is created. Future grants are especially useful in environments with recurring object creation and standardized access requirements. They differ from ordinary grants, which apply to objects that already exist. Future grants therefore support more consistent ongoing privilege administration.<\/span><\/p>\n<h3><b>Question 354<\/b><\/h3>\n<p><b>Which schema type centralizes privilege management so that object owners cannot independently grant access on objects within the schema?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Temporary schema<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Managed access schema<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">External schema<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Shared schema<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A managed access schema centralizes privilege management with the schema owner or a role with the appropriate authority. Object owners inside the schema do not independently control grants in the same way they can in a standard schema. This design helps organizations apply consistent access policies across collections of tables, views, and other objects. Managed access schemas are particularly useful when security administration needs to be separated from individual object ownership. Temporary, external, and shared schema descriptions do not provide this specific centralized privilege-management model.<\/span><\/p>\n<h3><b>Question 355<\/b><\/h3>\n<p><b>Which privilege is generally required to create objects inside a Snowflake schema?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">CREATE privilege on the schema<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">INSERT privilege on the database<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SELECT privilege on the warehouse<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">MODIFY privilege on the account<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Creating objects within a Snowflake schema generally requires the appropriate CREATE privilege on that schema, along with the necessary access to the containing database and other relevant resources. The specific CREATE privilege depends on the type of object being created. INSERT is related to adding data rather than creating schema objects, SELECT controls data querying, and warehouse privileges concern compute usage. Understanding object-level privileges is important because Snowflake authorization is based on permissions granted to roles. Creation therefore requires an appropriate creation privilege rather than a data-query privilege.<\/span><\/p>\n<h3><b>Question 356<\/b><\/h3>\n<p><b>Which Snowflake role is primarily associated with managing users and roles rather than administering all account-level capabilities?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">USERADMIN<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">PUBLIC<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SYSADMIN<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SECURITYADMIN<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">USERADMIN is intended primarily for managing users and roles. It supports administrative activities related to creating and managing these security principals without representing the broadest account-level administrative authority. SECURITYADMIN is more broadly associated with security privileges and grant management, while SYSADMIN focuses on managing databases, schemas, warehouses, and other objects used by the organization. PUBLIC is a role available to users but is not a dedicated administrative role. Separating responsibilities among roles supports controlled administration and reduces unnecessary concentration of privileges.<\/span><\/p>\n<h3><b>Question 357<\/b><\/h3>\n<p><b>Which command can allow a user to activate secondary roles for privilege evaluation during a session?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">USE SECONDARY ROLES<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">SET SECONDARY ACCESS<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">ENABLE ROLE CHAIN<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">ACTIVATE ALL GRANTS<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">USE SECONDARY ROLES controls whether secondary roles are active for privilege evaluation during a session. Snowflake role-based access can involve a primary role together with secondary roles, allowing privileges from multiple roles to participate when secondary roles are enabled. This can be useful when users need access provided by more than one assigned role without repeatedly changing their primary role. The command provides explicit session-level control over secondary-role activation. The other listed statements are not standard Snowflake commands for enabling secondary roles.<\/span><\/p>\n<h3><b>Question 358<\/b><\/h3>\n<p><b>Which Snowflake object can be used to package reusable procedural logic that may contain multiple SQL statements and control-flow operations?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Stored procedure<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Sequence<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Stage<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Share<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A stored procedure packages reusable procedural logic that can include multiple SQL statements and supported control-flow constructs. Procedures are useful for implementing repeatable administrative or data-processing operations that require more than a single SQL expression. They can accept parameters and execute logic according to the procedure definition. A sequence generates numeric values, a stage identifies file-storage locations, and a share provides controlled data access to consumers. Stored procedures therefore provide a reusable programming-oriented mechanism within Snowflake for procedural database operations.<\/span><\/p>\n<h3><b>Question 359<\/b><\/h3>\n<p><b>Which Snowflake function returns the current session&#8217;s active primary role?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">CURRENT_USER()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">CURRENT_ROLE()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">CURRENT_DATABASE()<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">CURRENT_SCHEMA()<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CURRENT_ROLE() returns the role that is currently active as the primary role for the session. This function can be useful when SQL logic, troubleshooting, or auditing needs to determine which primary role is active at execution time. CURRENT_USER() identifies the current user, while CURRENT_DATABASE() and CURRENT_SCHEMA() identify the active database and schema contexts. These functions provide different session-context information. CURRENT_ROLE() is therefore the appropriate function when the requirement is specifically to identify the active primary role.<\/span><\/p>\n<h3><b>Question 360<\/b><\/h3>\n<p><b>Which Snowflake object is intended to provide a centralized location for reusable named file-format settings?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Sequence<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">File format<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Stream<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Resource monitor<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A named file format is a Snowflake object that stores reusable file-format settings for operations involving staged files. Instead of repeatedly specifying the same parsing options, users can reference a named file format in applicable data-loading or unloading operations. This promotes consistency and simplifies management when the same file characteristics are used repeatedly. A sequence generates numeric values, a stream tracks table changes, and a Resource Monitor manages credit-related controls. Named file formats therefore provide reusable configuration for interpreting supported files consistently across data workflows.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full Snowflake SnowPro Core COF-C03 Exam Dumps and Practice Test Dumps. &nbsp; Question 341 Which Snowflake sampling method selects rows based on a random row-level process? SYSTEM BERNOULLI BLOCK PARTITION Correct Answer: 2 Explanation BERNOULLI sampling evaluates each row independently to determine whether it should be included in the sample. The specified sampling percentage [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/24242"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=24242"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/24242\/revisions"}],"predecessor-version":[{"id":24243,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/24242\/revisions\/24243"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=24242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=24242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=24242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}