A user inherits roles 'RoleA' and 'RoleB'. 'RoleA' has 'srchIndexesAllowed' set to 'index1' and 'RoleB' has it set to 'index2'. What indexes can the user access?
Splunk unions `srchIndexesAllowed` across all inherited roles, so the user's effective index permissions are the combined set: index1 from RoleA plus index2 from RoleB. No intersection or precedence applies here, satisfying the stem's requirement that both roles are inherited simultaneously.
Why this answer
When a user inherits multiple roles, the permissions are additive — the user receives the union of all granted permissions. RoleA allows index1 and RoleB allows index2, so the user can search both index1 and index2. Splunk does not require a single role to grant all access; it merges srchIndexesAllowed across all effective roles.
Exam trap
SPLK-1003 often tests whether candidates know Splunk permissions are additive (union) rather than restrictive or last-wins, so those who assume one role overrides another pick a single-index answer.
How to eliminate wrong answers
Option B is wrong because it assumes only the first role's permissions apply, ignoring RoleB's grant of index2. Option C is wrong because it assumes only the second role's permissions apply, ignoring RoleA's grant of index1. Option D is wrong because it assumes conflicting or multiple roles result in no access, but Splunk's model is additive, not restrictive, for srchIndexesAllowed.