SC-900 Practice Question: Describe the concepts of security, compliance, and identity
Exhibit
{
"command": "Get-MgUser -Filter "startsWith(userPrincipalName,'j')" | Select-Object Id, UserPrincipalName, DisplayName"
}Refer to the exhibit. A security analyst runs this Microsoft Graph PowerShell command. What is the most likely purpose of this command?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
To find users whose user principal name starts with 'j'.
The command uses the Get-MgUser cmdlet with a -Filter parameter to retrieve users whose userPrincipalName starts with 'j'. The -Select parameter limits the output to specific properties. Therefore, option A correctly identifies the purpose. Option B is incorrect because no update operations (e.g., Update-MgUser) are used. Option C is incorrect because no removal operations (e.g., Remove-MgUser) are used. Option D is incorrect because the command filters by userPrincipalName and does not display group membership.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
To find users whose user principal name starts with 'j'.
Why this is correct
The filter filters users with userPrincipalName starting with 'j'.
- ✗
To update the display names of users starting with 'j'.
Why it's wrong here
The command only reads data; it does not update.
- ✗
To remove users whose user principal name starts with 'j'.
Why it's wrong here
The command is Get-MgUser, not Remove-MgUser.
- ✗
To list all users and their group memberships.
Why it's wrong here
The command does not retrieve group memberships.
Go deeper
Related to this question
Learn chapter
Core Security Concepts
Key term
Security
Security in IT is the practice of protecting systems, networks, and data from unauthorized access, damage, or theft.
Key term
Group
A group is a collection of users, devices, or other objects that are assigned permissions and policies together for simplified management in identity and governance systems like Microsoft Entra ID.
About these practice questions
This SC-900 question is part of Courseiva's 1,250-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SC-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SC-900 exam.