Question 6 of 969

Quick Answer

The answer is the `-RoleDefinitionId` parameter with the GUID `173a97e2-97f2-4c7a-8e7c-7e2f1c1e2f1c`. This is correct because the `Add-AzureADMSRoleAssignment` cmdlet requires the role’s unique identifier rather than its display name; the exhibit shows the Compliance Administrator role’s ObjectId, which is actually its `RoleDefinitionId` in the directory schema. On the Microsoft Cybersecurity Architect exam, this tests your ability to distinguish between user, group, and role object IDs when assigning compliance roles using PowerShell in Microsoft Entra ID—a common trap is confusing `-ObjectId` (for the user being assigned) with `-RoleDefinitionId` (for the role itself). Remember the mnemonic: “Role requires its own ID, not the user’s.”

SC-100 Practice Question: Design security operations, identity, and compliance capabilities

This SC-100 practice question tests your understanding of design security operations, identity, and compliance capabilities. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Refer to the exhibit.
```powershell
Get-AzureADMSRoleDefinition | Where-Object {$_.DisplayName -like "*Compliance*"} | Select-Object DisplayName, Id

DisplayName                        Id
---------------------------------- ------------------------------------
Compliance Administrator           173a97e2-97f2-4c7a-8e7c-7e2f1c1e2f1c
Compliance Data Administrator      e9b6a4e1-1c1e-4b1e-9c1e-1e2f1c1e2f1c
```

Refer to the exhibit. You run the PowerShell command in Microsoft Entra ID to find compliance roles. You need to assign the Compliance Administrator role to a user. What is the correct parameter to use in the Add-AzureADMSRoleAssignment cmdlet?

Question 1mediummultiple choice
Full question →

Exhibit

Refer to the exhibit.
```powershell
Get-AzureADMSRoleDefinition | Where-Object {$_.DisplayName -like "*Compliance*"} | Select-Object DisplayName, Id

DisplayName                        Id
---------------------------------- ------------------------------------
Compliance Administrator           173a97e2-97f2-4c7a-8e7c-7e2f1c1e2f1c
Compliance Data Administrator      e9b6a4e1-1c1e-4b1e-9c1e-1e2f1c1e2f1c
```

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

-RoleDefinitionId "173a97e2-97f2-4c7a-8e7c-7e2f1c1e2f1c"

The `Add-AzureADMSRoleAssignment` cmdlet requires the `-RoleDefinitionId` parameter to specify the role by its unique identifier (GUID). The exhibit shows that the Compliance Administrator role has the ObjectId `173a97e2-97f2-4c7a-8e7c-7e2f1c1e2f1c`, which is the role's definition ID, not a user or group object ID. Therefore, option D correctly uses `-RoleDefinitionId` with that GUID.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • -ObjectId "173a97e2-97f2-4c7a-8e7c-7e2f1c1e2f1c"

    Why it's wrong here

    ObjectId is for the user, not role.

  • -RoleName "Compliance Administrator"

    Why it's wrong here

    The cmdlet does not accept RoleName.

  • -RoleId "173a97e2-97f2-4c7a-8e7c-7e2f1c1e2f1c"

    Why it's wrong here

    The parameter is RoleDefinitionId, not RoleId.

  • -RoleDefinitionId "173a97e2-97f2-4c7a-8e7c-7e2f1c1e2f1c"

    Why this is correct

    The correct parameter to specify the role ID.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse the `-ObjectId` parameter (which identifies the assignee) with the role's identifier, or assume a friendly `-RoleName` parameter exists, when in fact the cmdlet strictly requires the role's GUID via `-RoleDefinitionId`.

Detailed technical explanation

How to think about this question

Under the hood, `Add-AzureADMSRoleAssignment` maps to the Microsoft Graph API's `POST /roleManagement/directory/roleAssignments` endpoint, which requires the `roleDefinitionId` property in the request body. The GUID shown in the exhibit is the `roleDefinitionId` for the Compliance Administrator role, stored in the `roleDefinitions` resource. A common real-world scenario is automating role assignments in bulk scripts, where using the wrong parameter like `-ObjectId` would either fail or assign the role to an unintended principal.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SC-100 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Design solutions that align with security best practices and priorities practice questions

Practise SC-100 questions linked to Design solutions that align with security best practices and priorities.

Design security operations, identity, and compliance capabilities practice questions

Practise SC-100 questions linked to Design security operations, identity, and compliance capabilities.

Design security solutions for infrastructure practice questions

Practise SC-100 questions linked to Design security solutions for infrastructure.

Design a Zero Trust strategy and architecture practice questions

Practise SC-100 questions linked to Design a Zero Trust strategy and architecture.

Design security solutions for applications and data practice questions

Practise SC-100 questions linked to Design security solutions for applications and data.

Evaluate GRC and security operations strategies practice questions

Practise SC-100 questions linked to Evaluate GRC and security operations strategies.

Design security for infrastructure practice questions

Practise SC-100 questions linked to Design security for infrastructure.

Design a strategy for data and applications practice questions

Practise SC-100 questions linked to Design a strategy for data and applications.

Recommend security best practices and priorities practice questions

Practise SC-100 questions linked to Recommend security best practices and priorities.

SC-100 fundamentals practice questions

Practise SC-100 questions linked to SC-100 fundamentals.

SC-100 scenario practice questions

Practise SC-100 questions linked to SC-100 scenario.

SC-100 troubleshooting practice questions

Practise SC-100 questions linked to SC-100 troubleshooting.

Practice this exam

Start a free SC-100 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SC-100 question test?

Design security operations, identity, and compliance capabilities — This question tests Design security operations, identity, and compliance capabilities — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: -RoleDefinitionId "173a97e2-97f2-4c7a-8e7c-7e2f1c1e2f1c" — The `Add-AzureADMSRoleAssignment` cmdlet requires the `-RoleDefinitionId` parameter to specify the role by its unique identifier (GUID). The exhibit shows that the Compliance Administrator role has the ObjectId `173a97e2-97f2-4c7a-8e7c-7e2f1c1e2f1c`, which is the role's definition ID, not a user or group object ID. Therefore, option D correctly uses `-RoleDefinitionId` with that GUID.

What should I do if I get this SC-100 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This SC-100 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-100 exam.