Use Entra PIM for requested access to VMs

SC-500 By islever Editorial Last updated

Short answer

B Assign an Entra PIM role so ServerAdmins members must request and activate temporary Azure role access to RG1's virtual machines

Question

You have an Azure subscription that contains a resource group named RG1 and is linked to a Microsoft Entra tenant.
RG1 contains 10 virtual machines, a virtual network named VNET1, and a network security group (NSG) named NSG1.
The tenant contains a security group named ServerAdmins. Members of the ServerAdmins group are able to access the virtual machines by using requests access.
What should you configure?
  1. a just in time (JIT) VM access policy in Microsoft Defender for Cloud
  2. a Microsoft Entra Privileged Identity Management (PIM) role assignment Correct Answer
  3. an Azure policy assigned to RG1
  4. an Azure Bastion host on VNET1

Key Takeaways

The question tests the difference between port-level JIT VM access and identity-level PIM eligibility; the trap is that "requests access" to VMs sounds like Defender for Cloud JIT, but the requirement centers on the Entra security group ServerAdmins.

This SC-500 question asks how to let the ServerAdmins group obtain access to RG1's 10 virtual machines through requests. The correct choice is (B): an Entra Privileged Identity Management role assignment, which makes group members eligible to request and activate temporary Azure role access with approval and justification.

Common mistake: Option A (JIT VM access) is the most plausible wrong answer: it does let users request temporary RDP/SSH access, but it operates per-VM on management ports and never governs the Entra group's entitlement to Azure roles.

Expert Analysis

Why Option A sounds right

Just-in-time (JIT) VM access in Microsoft Defender for Cloud is a genuinely good fit for half of this scenario. It keeps RDP 3389 and SSH 22 closed by default and lets authorized users request temporary access to a VM's management ports, with approvals and MFA where configured. That matches the phrasing "access the virtual machines by using requests access" almost word for word, which is why A is the most attractive distractor. A community comment makes exactly this case: JIT "is designed precisely to protect the VM administration ports such as RDP 3389 and SSH 22, keeping them blocked and allowing authorized users to request temporary access."

The single point where A breaks down

The request in this question is not about opening a management port on one VM. It is about the ServerAdmins security group in the Entra tenant — a governance and identity question about who may obtain elevated rights across RG1's 10 VMs. JIT controls port-level access per VM and is configured per VM or via a VM policy; it never evaluates an Entra group's membership, never issues a role, and never applies to VNET1 or NSG1. Once you notice that the noun in the requirement is a group, A stops being correct.

Why B is the correct answer

Entra Privileged Identity Management (PIM) is the service built for "requests access" at the group/role level: ServerAdmins members are made eligible for an Azure role (for example Contributor on RG1) and must request or activate it — triggering approval, justification and MFA — instead of holding it permanently. Option B also covers the whole resource group rather than individual ports, which is what a 10-VM estate plus VNET1 and NSG1 implies.

Ruling out C and D

C, an Azure Policy assigned to RG1, enforces resource compliance (allowed locations, SKUs, tagging); it does not grant or gate user access requests. D, an Azure Bastion host on VNET1, provides secure RDP/SSH connectivity over the browser with no public IPs — it removes the need for inbound ports but offers no request/approval workflow at all.

Exam Strategy

On SC-500, always identify the noun the requirement acts on before picking a service: a group or user entitlement points to Entra ID governance and PIM, while a port, VM or resource property points to Defender for Cloud or Azure Policy. When "request access" appears, ask whether the request is for a role (PIM) or for an open management port (JIT), because both use that language. Eliminate options that cannot reference an Entra security group at all — Bastion and Policy never evaluate group membership.

Frequently Asked Questions

How is Entra PIM different from JIT VM access in Defender for Cloud?

PIM governs identity: it makes group members eligible to request activation of an Azure role with approval, justification and MFA. JIT VM access governs infrastructure: it keeps RDP/SSH ports closed and lets users request temporary opening of those ports on a specific VM.

Why isn't an Azure Policy assigned to RG1 the right answer?

Azure Policy evaluates resource configuration for compliance, such as allowed regions or required tags, and can deny or audit non-compliant resources. It does not create, request or approve user access to virtual machines.

Does Azure Bastion help ServerAdmins get access to the VMs?

Azure Bastion provides browser-based RDP/SSH over the private network without public IPs, improving connectivity security. It offers no eligibility, request or approval workflow, so it cannot satisfy the access-request requirement.

Community Votes

A
50%
B
50%

50% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 2 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 2

  1. M15tin 👍 1 Answered B
    El requisito clave es que los miembros de ServerAdmins puedan obtener acceso a las máquinas virtuales mediante solicitudes de acceso. Microsoft Entra PIM permite: Configurar a los miembros de ServerAdmins como elegibles para un rol de Azure, en lugar de asignárselo permanentemente. Exigir que el usuario solicite/active el rol cuando necesite administrar las VM. Configurar aprobación, MFA, justificación y duración limitada de la activación. Por ejemplo, hacer que ServerAdmins sea elegible para Virtual Machine Administrator Login sobre RG1.
  2. M15tin 👍 1 Answered A
    “Los miembros del grupo ServerAdmins pueden acceder a las máquinas virtuales mediante solicitudes de acceso.” Just-in-time (JIT) VM access de Microsoft Defender for Cloud está diseñado precisamente para proteger los puertos de administración de las VM, como RDP 3389 y SSH 22, manteniéndolos bloqueados y permitiendo que usuarios autorizados soliciten acceso temporal.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All SC-500 Questions

Access 100 questions with complete answers and detailed explanations.

View Full SC-500 Practice Test →

← Back to SC-500 Study Guide