- A
Approve the access request once from the JIT blade and set a long expiration.
Why wrong: Approving access is a temporary grant. The recommendation will still appear for the VM if JIT is not enabled. Exemption removes the recommendation entirely.
- B
Add an exemption for the VM on the 'Management ports should be closed on just-in-time based virtual machines' recommendation.
Correct. Exempting the VM from the recommendation disables JIT monitoring for that VM, allowing permanent open ports without alerts.
- C
Configure a custom Azure Policy to allow open management ports for that VM.
Why wrong: You could use policy to override, but Defender for Cloud's built-in exemption mechanism is the simpler and intended way to exclude a specific resource from a recommendation.
- D
Disable the JIT solution for the entire subscription from the Defender for Cloud environment settings.
Why wrong: Disabling JIT for the whole subscription would affect all VMs, not just the one VM. Exemption is resource-specific.
Quick Answer
The answer is to add an exemption for the VM on the 'Management ports should be closed on just-in-time based virtual machines' recommendation. This works because an exemption in Microsoft Defender for Cloud explicitly excludes a specific resource from a recommendation’s compliance evaluation, effectively suppressing any alerts or recommendations for that VM’s open management ports. On the SC-200 exam, this scenario tests your understanding that exemptions are a governance tool to handle exceptions without disabling the entire security control, while a common trap is confusing a long-duration JIT approval with a permanent exemption—approvals only grant temporary access and do not suppress the underlying recommendation. Remember the memory tip: “Exempt the rule, not the request”—if you want a VM to never trigger a recommendation, you must exempt the resource from the recommendation itself, not just approve a longer access window.
SC-200 Practice Question: Mitigate threats using Microsoft Defender for Cloud
This SC-200 practice question tests your understanding of mitigate threats using microsoft defender for cloud. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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.
A company uses Microsoft Defender for Cloud's Just-In-Time (JIT) VM access to secure its Azure virtual machines. A security analyst needs to grant a developer temporary RDP access to a specific VM for debugging purposes. Instead of using the default request approval flow, the analyst wants to configure an exemption so that the developer's access request never triggers a recommendation for that VM. Which action must the analyst perform?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"never"Why it matters: Absolute qualifier. True only if the statement has zero exceptions — be cautious of options that seem obvious but break down in edge cases.
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
Add an exemption for the VM on the 'Management ports should be closed on just-in-time based virtual machines' recommendation.
To prevent a specific VM from triggering a recommendation for open management ports, you must add an exemption directly on the 'Management ports should be closed on just-in-time based virtual machines' recommendation in Defender for Cloud. This exemption tells the recommendation engine to exclude that VM from compliance evaluation, so no alert or recommendation is generated for it. Approving a request with a long expiration does not suppress the underlying recommendation; it only grants temporary access.
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.
- ✗
Approve the access request once from the JIT blade and set a long expiration.
Why it's wrong here
Approving access is a temporary grant. The recommendation will still appear for the VM if JIT is not enabled. Exemption removes the recommendation entirely.
- ✓
Add an exemption for the VM on the 'Management ports should be closed on just-in-time based virtual machines' recommendation.
Why this is correct
Correct. Exempting the VM from the recommendation disables JIT monitoring for that VM, allowing permanent open ports without alerts.
Clue confirmation
The clue word "never" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Configure a custom Azure Policy to allow open management ports for that VM.
Why it's wrong here
You could use policy to override, but Defender for Cloud's built-in exemption mechanism is the simpler and intended way to exclude a specific resource from a recommendation.
- ✗
Disable the JIT solution for the entire subscription from the Defender for Cloud environment settings.
Why it's wrong here
Disabling JIT for the whole subscription would affect all VMs, not just the one VM. Exemption is resource-specific.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates confuse 'approving a request with a long expiration' with 'exempting the VM from the recommendation,' not realizing that an exemption is a separate Azure Policy concept that permanently suppresses the recommendation for that resource.
Detailed technical explanation
How to think about this question
Defender for Cloud recommendations are evaluated by the Azure Policy guest configuration and security engine; exemptions are stored as Azure Policy exemption resources that can be applied at the subscription, resource group, or individual resource level. When you add an exemption on the 'Management ports should be closed...' recommendation for a specific VM, the engine skips that VM during compliance scans, effectively silencing the recommendation without altering the underlying JIT configuration. This is distinct from disabling the JIT solution or modifying policy assignments, which would affect all resources under the scope.
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 company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
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.
- →
Mitigate threats using Microsoft Defender for Cloud — study guide chapter
Learn the concepts, then practise the questions
- →
Mitigate threats using Microsoft Defender for Cloud practice questions
Targeted practice on this topic area only
- →
All SC-200 questions
1,639 questions across all exam domains
- →
Microsoft Security Operations Analyst SC-200 study guide
Full concept coverage aligned to exam objectives
- →
SC-200 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SC-200 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Manage a security operations environment practice questions
Practise SC-200 questions linked to Manage a security operations environment.
Respond to security incidents practice questions
Practise SC-200 questions linked to Respond to security incidents.
Perform threat hunting practice questions
Practise SC-200 questions linked to Perform threat hunting.
Mitigate threats using Microsoft Defender XDR practice questions
Practise SC-200 questions linked to Mitigate threats using Microsoft Defender XDR.
Mitigate threats using Microsoft Defender for Cloud practice questions
Practise SC-200 questions linked to Mitigate threats using Microsoft Defender for Cloud.
Mitigate threats using Microsoft Sentinel practice questions
Practise SC-200 questions linked to Mitigate threats using Microsoft Sentinel.
SC-200 fundamentals practice questions
Practise SC-200 questions linked to SC-200 fundamentals.
SC-200 scenario practice questions
Practise SC-200 questions linked to SC-200 scenario.
SC-200 troubleshooting practice questions
Practise SC-200 questions linked to SC-200 troubleshooting.
Practice this exam
Start a free SC-200 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-200 question test?
Mitigate threats using Microsoft Defender for Cloud — This question tests Mitigate threats using Microsoft Defender for Cloud — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Add an exemption for the VM on the 'Management ports should be closed on just-in-time based virtual machines' recommendation. — To prevent a specific VM from triggering a recommendation for open management ports, you must add an exemption directly on the 'Management ports should be closed on just-in-time based virtual machines' recommendation in Defender for Cloud. This exemption tells the recommendation engine to exclude that VM from compliance evaluation, so no alert or recommendation is generated for it. Approving a request with a long expiration does not suppress the underlying recommendation; it only grants temporary access.
What should I do if I get this SC-200 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "never". Absolute qualifier. True only if the statement has zero exceptions — be cautious of options that seem obvious but break down in edge cases.
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 →
Keep practising
More SC-200 practice questions
- An organization uses Microsoft 365 Defender. During an incident, the analyst wants to automatically isolate a compromise…
- A security analyst is preparing to use a Jupyter notebook for threat hunting in Microsoft Sentinel. Which of the followi…
- An organization has enabled enhanced security features for a hybrid infrastructure including SQL servers on-premises and…
- A phishing email was delivered to several users. The analyst wants to find all messages in the campaign, see delivery ac…
- A company uses Microsoft Defender for Cloud and wants to automatically ensure that all Azure virtual machines have a spe…
- A company uses Microsoft Defender for Cloud and wants to automatically remediate non-compliant Azure resources by deploy…
Last reviewed: Jun 11, 2026
This SC-200 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-200 exam.
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.
Sign in to join the discussion.