Question 150
At Keystone BioLabs, the regulated data engineering team maintains a clinical trial and laboratory audit database system with requirements for record confidentiality and strong audit history. The acceptance review requires independent evidence for: A script creates a SQL login in the master database but never creates a usable user inside the application database. Which observed result BEST proves the intended problem is corrected?
Explanation
Correct Answer
The application identity establishes its intended database session and a second database remains inaccessible without a separate grant. That observable result supports resolution of: A script creates a SQL login in the master database but never creates a usable user inside the application database. The corresponding corrective change is: Map the login to the appropriate database user or use a contained identity pattern supported by the chosen SQL service. The Keystone BioLabs reviewer can distinguish demonstrated database behavior from an untested change claim.
Incorrect Answers
The intended managed identity connects and reads its allowed data while a separate unassigned identity receives an authorization denial. That result is evidence for another corrective change: Create the appropriate contained database users from Microsoft Entra identities and grant only their documented database roles. The alternative problem is: A SQL Managed Instance has Microsoft Entra authentication enabled but service identities lack database users and cannot read required tables. The current Keystone BioLabs issue is instead: A script creates a SQL login in the master database but never creates a usable user inside the application database. Its decisive acceptance evidence would be: The application identity establishes its intended database session and a second database remains inaccessible without a separate grant.
Removing a test user from the authorized group stops new authorized database access after documented token or session refresh. That result is evidence for another corrective change: Use Microsoft Entra group-based database access where supported and govern group membership and conditional access outside SQL. The alternative problem is: An application creates SQL logins for hundreds of human users and cannot promptly disable a terminated employee across several databases. The current Keystone BioLabs issue is instead: A script creates a SQL login in the master database but never creates a usable user inside the application database. Its decisive acceptance evidence would be: The application identity establishes its intended database session and a second database remains inaccessible without a separate grant.
A member of a granted group performs only the specified database actions while an unrelated Entra group remains denied. That result is evidence for another corrective change: Create scoped database users or groups and explicit role grants after configuring the instance Entra administrator. The alternative problem is: A SQL Managed Instance team assumes its Microsoft Entra administrator automatically grants every Entra group access to all databases. The current Keystone BioLabs issue is instead: A script creates a SQL login in the master database but never creates a usable user inside the application database. Its decisive acceptance evidence would be: The application identity establishes its intended database session and a second database remains inaccessible without a separate grant.