Just-In-Time Local Admin Access for Ransomware Protection
Short answer
C Azure AD Privileged Identity Management (PIM) provides just-in-time administrative access to Windows computers, minimizing lateral movement.
Question
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?
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
- https://learn.microsoft.com/en-us/security/ransomware/protect-against-ransomware
- https://learn.microsoft.com/en-us/entra/identity/devices/assign-local-admin
These links open the official vendor documentation in a new tab.
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
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
-
Jacquesvz 👍 5 Answered AAgree 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
-
yarvis 👍 5 Answered ALAPS - https://learn.microsoft.com/en-us/security/compass/incident-response-playbook-dart-ransomware-approach
-
Kvoth3 👍 4What 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.
-
Bouncy 👍 4 Answered AA, 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...
-
mynk29 👍 4 Answered AGranting 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
-
Ario 👍 4for those check discussions don't be fool by most rated answers .
-
besoaus 👍 3I'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
-
smosmo 👍 3 Answered AAgree with A
-
keithtemplin 👍 2 Answered CYou 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
-
a07fb8c 👍 2 Answered CREQUIREMENT: "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
-
Ramye 👍 2The 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
-
Dirkonormalo 👍 2 Answered CI configured that with pim too. We decided against laps, because we wanted personalized accounts in central audit with justification. Ites confusing me
-
init2winit 👍 2 Answered AAgree with A, as Yarvis pointed out in the link. For endpoint administrative management, use the local administrative password solution (LAPS).
-
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.
-
Baz10 👍 2Hahah leaving a riddle and then dipping smh
-
Itu2022 👍 2was on exam 15/06/23
-
Greens 👍 1 Answered AWhy 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.
-
Reevs 👍 1 Answered AA. 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.
-
2c7fd04 👍 1 Answered CAnswer 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
-
P1mp 👍 1 Answered AImplement 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.
-
nExoR 👍 1PAWs 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
-
Bondaexam 👍 1what 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???
-
jasscomp 👍 1Incorrect - 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
-
Bruno_Pinheiro95 👍 1 Answered CLAPS does not provide just-in-time access. Answer is C
-
ARYMBS 👍 1This does not work on Hybrid AzureAD Joined....
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SC-100 Questions
Access 110 questions with complete answers and detailed explanations.
View Full SC-100 Practice Test →