SnowPro Specialty: AI Governance & Security Practice Questions

SnowPro Specialty: AI Governance & Security (ADS-B01) exam preparation

SnowPro Specialty: AI Governance & Security practice questions in English: 180 questions with explanations. The mock exam has 80 questions and 115 minutes.

SnowPro Specialty: AI Governance & Security free question 4 / 10 · Domain 2: AI Access Control and Identity

A user whose DEFAULT_ROLE is ANALYST also holds the role MCP_ACCESS, which has the MCP server privileges. The MCP client of the user requests the session:role:all scope. Which role is the primary role of the session?

  1. The role named in the first scope that the server advertises
  2. ANALYST, the DEFAULT_ROLE of the user
  3. MCP_ACCESS, the role with the MCP privileges
  4. The roles of the user together as one set
Show the answer and explanation

Answer: B

Why this is correct
Under "Role behavior in OAuth sessions", the page lists the special primary-role scopes. For session:role:all, the primary role is the DEFAULT_ROLE of the user, and despite the name this does not activate every role or secondary roles. The user in the question therefore connects as ANALYST. The page tells administrators to set each user's DEFAULT_ROLE to the role that holds the privileges on the MCP server and its tools, and to set a default warehouse, because sessions fail to start without one.

Why the other options are wrong
"MCP_ACCESS, the role with the MCP privileges" … The scope does not pick a role by its privileges. The page tells administrators to set the DEFAULT_ROLE of each user to the role that has the privileges on the MCP server.
"The roles of the user together as one set" … The page says that despite its name, this scope does not activate every role or secondary roles.
"The role named in the first scope that the server advertises" … A named role is used when the client requests a scope of the form session:role:<role_name>. The scope in the question is session:role:all.

The default role decides
For session:role:all, the primary role is the DEFAULT_ROLE of the user, and this does not activate every role or secondary roles.

Go to the SnowPro Specialty: AI Governance & Security practice app (10 free questions; purchase unlocks all questions)

See the full practice set