Just-In-Time Local Admin Access for Ransomware Protection

SC-100 By islever Editorial Last updated

Design a resiliency strategy for ransomware and other attacks based on Microsoft Security Best Practices Design solutions for securing privileged access

Short answer

C Azure AD Privileged Identity Management (PIM) provides just-in-time administrative access to Windows computers, minimizing lateral movement.

Question

You have an Azure AD tenant that syncs with an Active Directory Domain Services (AD DS) domain. Client computers run Windows and are hybrid-joined to Azure AD.
You are designing a strategy to protect endpoints against ransomware. The strategy follows Microsoft Security Best Practices.
You plan to remove all the domain accounts from the Administrators groups on the Windows computers.
You need to recommend a solution that will provide users with administrative access to the Windows computers only when access is required. The solution must minimize the lateral movement of ransomware attacks if an administrator account on a computer is compromised.
What should you include in the recommendation?
  1. Local Administrator Password Solution (LAPS)
  2. Azure AD Identity Protection
  3. Azure AD Privileged Identity Management (PIM) Correct Answer
  4. Privileged Access Workstations (PAWs)

Key Takeaways

The phrase "only when access is required" is the key indicator for Just-In-Time (JIT) access, which is the primary function of Azure AD PIM, distinguishing it from password randomization tools like LAPS.

Azure AD Privileged Identity Management (PIM) provides just-in-time (JIT) administrative access to Windows endpoints, aligning with Microsoft Security Best Practices to minimize ransomware lateral movement.

Common mistake: Choosing LAPS (Option A) because it prevents lateral movement, failing to realize that LAPS does not provide just-in-time access and grants persistent admin rights until the password rotates.

Expert Analysis

Just-In-Time Requirement The question specifies that administrative access must be granted "only when access is required." This is the defining characteristic of Just-In-Time (JIT) access, which directly points to Azure AD Privileged Identity Management (PIM). PIM allows users to activate into a privileged role or group for a limited time window, perfectly fulfilling the JIT constraint.

Lateral Movement and Ransomware Best Practices The scenario explicitly references Microsoft Security Best Practices for protecting endpoints against ransomware. Microsoft's official ransomware guidance dictates removing users from the local Administrators group and using Azure AD PIM to provide JIT access to that group on Azure AD joined devices. This prevents lateral movement because users do not have standing admin access, and any elevation is time-bound and audited.

Evaluating LAPS (Option A) While LAPS randomizes local admin passwords and prevents lateral movement via pass-the-hash, it does not provide JIT access. Retrieving a LAPS password grants full admin access until the password rotates, which could be days or weeks. Comments correctly note that LAPS is a break-glass mechanism for the built-in admin, not a JIT elevation tool for daily user tasks.

Evaluating PAWs and Identity Protection (Options D and B) Privileged Access Workstations (PAWs) are dedicated, isolated machines for sensitive tasks; they are not a JIT mechanism for granting admin access on standard user workstations. Azure AD Identity Protection handles risk-based sign-in policies but does not grant local administrative privileges.

Official Reference

Exam Strategy

When a question specifies that access is needed "only when required" or "just-in-time," immediately look for Azure AD Privileged Identity Management (PIM) as the solution. Distinguish between tools that manage passwords (LAPS) and those that manage role/group activation (PIM). If the scenario involves removing standing admin rights to prevent lateral movement, PIM is the Microsoft-recommended method for time-bound elevation.

Community Votes

A
60%
C
40%

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

Discussion 25 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 25

  1. Jacquesvz 👍 5 Answered A
    Agree with A, check this link for reason - https://techcommunity.microsoft.com/t5/itops-talk-blog/step-by-step-guide-how-to-configure-microsoft-local/ba-p/2806185
  2. yarvis 👍 5 Answered A
    LAPS - https://learn.microsoft.com/en-us/security/compass/incident-response-playbook-dart-ransomware-approach
  3. Kvoth3 👍 4
    What about D. To provide users with administrative access to the Windows computers only when access is required, you can use Privileged Access Workstations (PAWs). PAWs are dedicated operating systems for sensitive tasks that are protected from Internet attacks and threat vectors. They separate these sensitive tasks and accounts from the daily use workstations and devices, providing strong protection from phishing attacks, application and OS vulnerabilities, various impersonation attacks, and credential theft attacks such as keystroke logging, Pass-the-Hash, and Pass-The-Ticket 1. PAWs can be used to minimize the lateral movement of ransomware attacks if an administrator account on a computer is compromised. PAWs provide a secure environment for administrative tasks that require elevated privileges. They are designed to protect against advanced persistent threats (APTs) and other sophisticated attacks.
  4. Bouncy 👍 4 Answered A
    A, but only because the others don't make sense. If you ever need to remove admins from PCs in real life, do not use LAPS. Use Microsoft Intune Endpoint Privilege Management instead. It lets you decide precisely for which action users may receive an elevation, whereas LAPS will give users full local admin access until the password changes - which can take days or even weeks in reality...
  5. mynk29 👍 4 Answered A
    Granting users access to their PC is not the typical use case for LAPS- admins use it for troubleshooting/as a break glass account. But PIM is explicitly not meant to do it. see https://www.reddit.com/r/Intune/comments/yqdiyf/azure_ad_joined_device_local_admin_via_pim/ PAW and Identity protection are not relevant so will reluctantly go with A.
Show 20 more comments
  1. Ario 👍 4
    for those check discussions don't be fool by most rated answers .
  2. besoaus 👍 3
    I'm confused, Why not "C"? PIM will allow us to apply the same, and we can give also "Just in time" Access. And it will eliminate Lateral movement
  3. smosmo 👍 3 Answered A
    Agree with A
  4. keithtemplin 👍 2 Answered C
    You add an empty domain group to the local admins group. You use Azure PIM to provide JITA membership to that group. https://techcommunity.microsoft.com/t5/intune-customer-success/configuring-microsoft-intune-just-in-time-admin-access-with/ba-p/3843972
  5. a07fb8c 👍 2 Answered C
    REQUIREMENT: "You plan to remove all the domain accounts from the Administrators groups on the Windows computers.", therefor the answer is C. https://learn.microsoft.com/en-us/entra/identity/devices/assign-local-admin
  6. Ramye 👍 2
    The more I read about LAPS the more confusing it is. https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-scenarios-azure-active-directory
  7. Dirkonormalo 👍 2 Answered C
    I configured that with pim too. We decided against laps, because we wanted personalized accounts in central audit with justification. Ites confusing me
  8. init2winit 👍 2 Answered A
    Agree with A, as Yarvis pointed out in the link. For endpoint administrative management, use the local administrative password solution (LAPS).
  9. rvln7 👍 2 Answered C
    "only when access is required" I think its C. PIM because LAPS doesn’t provide JIT elevation, accounts still exist with standing privileges.
  10. Baz10 👍 2
    Hahah leaving a riddle and then dipping smh
  11. Itu2022 👍 2
    was on exam 15/06/23
  12. Greens 👍 1 Answered A
    Why A is right: LAPS gives every Windows computer its own random local administrator password. It rotates the password on a schedule, stores it in AD DS or Entra ID, and lets only authorized people read it when they need it. Ransomware usually spreads by reusing the same local admin credentials from one machine to the next (pass-the-hash). If each password is unique, a compromised admin account on one computer can’t be used to get into the others. That is the requirement to minimize lateral movement. Removing domain accounts from the local Administrators groups and using LAPS is part of Microsoft’s own ransomware protection guidance for privileged access.
  13. Reevs 👍 1 Answered A
    A. Local Administrator Password Solution (LAPS). Eliminates Shared Credentials: By removing domain accounts from the local Administrators groups, you are left with the local administrator account for emergencies or localized tasks. LAPS automatically randomises and regularly rotates these local passwords across all endpoints. Provides On-Demand (JIT) Administrative Access: When a user or helpdesk technician needs administrative access to a specific computer, they look up the unique local administrator password via Active Directory or Microsoft Entra ID.
  14. 2c7fd04 👍 1 Answered C
    Answer should be C....if we are talking MS best practices against ransomware, LAPS is not discussed in this article (focused on ransomware): https://learn.microsoft.com/en-us/security/ransomware/protect-against-ransomware
  15. P1mp 👍 1 Answered A
    Implement LAPS to securely manage and randomize local administrator passwords. This ensures administrative access is provided securely and minimizes the risk of lateral movement in the event of an account compromise.
  16. nExoR 👍 1
    PAWs are administration workstations. concept from totally different area. the question asks about users having access on their regular workstations - e.g. to install app. not some specialized, isolated workstation
  17. Bondaexam 👍 1
    what should be the final judgement when multiple answers are chosen by multiple people . Dont tell us to go back and look into the documentation, we all know that . What should be the final judgement???
  18. jasscomp 👍 1
    Incorrect - it does work on HAADJ devices - worked for me https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-overview#understand-device-join-state-restrictions
  19. Bruno_Pinheiro95 👍 1 Answered C
    LAPS does not provide just-in-time access. Answer is C
  20. ARYMBS 👍 1
    This does not work on Hybrid AzureAD Joined....

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-100 Questions

Access 110 questions with complete answers and detailed explanations.

View Full SC-100 Practice Test →

← Back to SC-100 Study Guide