SnowPro Advanced: Security Engineer exam dumps

SnowPro Advanced: Security Engineer practice question 204 of 431

SnowPro® Advanced: Security Engineer. Professional level, Snowflake. Free question with the correct answer and a full explanation.

SnowPro Advanced: Security Engineer Question 204

Single answerManage and audit privileges such as CREATE REPLICATION GROUP and REPLICATE

A global enterprise is setting up cross-region disaster recovery for several databases and wants to enforce least privilege. The SECURITYADMIN role has been asked to let a platform engineer create and manage replication groups without granting broad account-level control. During an audit, the security team also needs to verify which roles can create replication groups and which roles have been granted the ability to replicate specific objects. Which approach best satisfies both the operational and audit requirements?

  1. A

    Grant the platform engineer's role the CREATE REPLICATION GROUP privilege at the account level, grant REPLICATE on the required databases to that role, and use SHOW GRANTS TO ROLE plus SHOW GRANTS ON to audit the privileges.

  2. B

    Grant the platform engineer's role OWNERSHIP on the account so it can create replication groups, and use SHOW ROLES to determine which roles can replicate objects.

  3. C

    Grant the platform engineer's role the global MONITOR privilege and USAGE on the databases, because MONITOR allows creation of replication groups and SHOW DATABASES reveals replicate permissions.

  4. D

    Grant the platform engineer's role CREATE FAILOVER GROUP on the account and OPERATE on the databases, then use ACCOUNT_USAGE.QUERY_HISTORY to identify who can create replication groups and replicate objects.

Show answer and explanation

Correct answer: A

Explanation

The best answer is to grant only the specific privileges required: CREATE REPLICATION GROUP at the account level and REPLICATE on the objects that must be replicated. This follows Snowflake's least-privilege model and avoids unnecessary elevation such as granting OWNERSHIP on the account. For auditing, Snowflake privilege inspection commands such as SHOW GRANTS TO ROLE and SHOW GRANTS ON are the most direct ways to verify current privilege assignments. In practice, security teams often use these commands, along with account usage views where appropriate, to validate access. Candidates should distinguish between replication groups and failover groups, and between creation privileges at the account level versus object-level privileges like REPLICATE.

  • A. Correct.

    Correct. CREATE REPLICATION GROUP is an account-level privilege that can be granted to a role to allow creation of replication groups without transferring broad administrative ownership of the account. To include objects in replication, the role also needs the REPLICATE privilege on the relevant objects, such as databases. For auditing, SHOW GRANTS TO ROLE helps identify privileges granted to a specific role, and SHOW GRANTS ON helps identify which roles have privileges on a given object, including REPLICATE where applicable. This aligns with least-privilege administration and standard Snowflake privilege-auditing practices.

  • B. Incorrect.

    Incorrect. OWNERSHIP on the account is far broader than necessary and violates least-privilege principles. Snowflake supports granting the specific CREATE REPLICATION GROUP privilege rather than elevating a role to effective full control. In addition, SHOW ROLES lists roles but does not provide a complete privilege mapping showing which roles have REPLICATE on specific objects.

  • C. Incorrect.

    Incorrect. MONITOR does not permit creating replication groups. It is intended for visibility into resources and operations, not object creation. USAGE on databases also does not confer REPLICATE. SHOW DATABASES returns database metadata but is not the correct mechanism for auditing granted privileges such as REPLICATE or CREATE REPLICATION GROUP.

  • D. Incorrect.

    Incorrect. CREATE FAILOVER GROUP and CREATE REPLICATION GROUP are distinct privileges tied to different object types. Granting CREATE FAILOVER GROUP does not allow creation of replication groups. OPERATE on databases is also not the privilege used for replication eligibility. QUERY_HISTORY can show executed SQL statements, but it does not directly provide an authoritative inventory of which roles currently hold CREATE REPLICATION GROUP or REPLICATE privileges.

Timed practice exam

Take a SnowPro Advanced: Security Engineer practice test under exam conditions

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

Start timed exam