exam questions

Exam SC-200 All Questions

View all questions & answers for the SC-200 exam

Exam SC-200 topic 2 question 46 discussion

Actual exam question from Microsoft's SC-200
Question #: 46
Topic #: 2
[All SC-200 Questions]

You have an Azure subscription that uses Microsoft Defender for Cloud and contains a resource group named RG1. RG1 contains 20 virtual machines that run Windows Server 2019.

You need to configure just-in-time (JIT) access for the virtual machines in RG1. The solution must meet the following requirements:

• Limit the maximum request time to two hours.
• Limit protocols access to Remote Desktop Protocol (RDP) only.
• Minimize administrative effort.

What should you use?

  • A. Azure AD Privileged Identity Management (PIM)
  • B. Azure Policy
  • C. Azure Bastion
  • D. Azure Front Door
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Walaakb
Highly Voted 2 years, 1 month ago
Selected Answer: B
correct me if Im wrong but Bastion dose not seems to allow time limit , Im going with B
upvoted 17 times
Ramye
1 year, 2 months ago
Also the requirement is to use RDP only, so Bastion can’t be an answer because with Bastion you do not connect with RDP protocol.
upvoted 1 times
Sekpluz
11 months ago
With Bastion Standard, you can connect with RDP on windows and SSH on linux, the basic Bastion is only SSL from the web browser.
upvoted 1 times
...
uday1985
12 months ago
you can configure the rules to allow only RDP, but JIT is not possible
upvoted 2 times
...
...
...
[Removed]
Highly Voted 2 years, 2 months ago
Selected Answer: C
To meet the given requirements, you should use Azure Bastion to configure just-in-time (JIT) access for the virtual machines in RG1. Azure Bastion provides secure and seamless RDP and SSH access to virtual machines over a web browser and eliminates the need for a public IP address. It simplifies the process of connecting to virtual machines by allowing users to connect directly to virtual machines through the Azure portal. To enable JIT access with Azure Bastion, you can create a JIT policy that defines the rules for access, including limiting access to specific protocols like RDP and setting the maximum request time to two hours. This can be done using the Azure portal or Azure CLI, and once the policy is created, Azure Bastion will automatically enforce the access rules when users try to connect to the virtual machines.
upvoted 7 times
jwkin
2 years, 2 months ago
I agree. https://learn.microsoft.com/en-us/azure/defender-for-cloud/just-in-time-access-usage
upvoted 3 times
sebas12345
10 months, 1 week ago
The link you shared doesn't mention anything about Bastion !
upvoted 1 times
...
...
...
talosDevbot
Most Recent 7 months, 1 week ago
You use Azure Bastion to limit the protocol to RDP only. Bastion does not have JIT access capabilities but Defender for Cloud does. The question states that you already have a Defender for Cloud subscription.
upvoted 1 times
...
BtwIdonno
7 months, 3 weeks ago
I don't even know if there is a clear definition of Azure Policy. I'd choose A because user needs to require for access to the VMs, and that should be via PIM.
upvoted 1 times
...
g_man_rap
9 months ago
Selected Answer: C
A. Azure AD Privileged Identity Management (PIM): Incorrect: PIM is a service that helps manage, control, and monitor access to important resources in Azure. It is primarily focused on managing privileged roles within Azure AD, like who has access to a specific role and for how long. It doesn't provide direct JIT access to virtual machines. B. Azure Policy: Incorrect: Azure Policy helps to enforce organizational standards and assess compliance at scale by applying policies to resources. While you can use policies to control things like allowed VM sizes or locations, Azure Policy does not handle JIT access configurations. C. Azure Bastion: Correct: Azure Bastion is a fully managed service that provides secure and seamless RDP and SSH connectivity to your VMs directly in the Azure portal over SSL. It supports JIT access by limiting the exposure of VMs to the internet and only allowing connections via the Azure portal. It can be configured to limit access to specific protocols (like RDP) and to enforce time restrictions, such as the 2-hour maximum access time requested.
upvoted 1 times
g_man_rap
8 months, 2 weeks ago
Among the provided options, Azure Bastion (Option C) is the closest to the correct response, although it doesn't provide Just-in-Time (JIT) access management.
upvoted 2 times
...
...
Durden871
10 months, 3 weeks ago
From another exam site who says, "Bastion". To meet the given requirements, you should use Azure Bastion to configure just-in-time (JIT) access for the virtual machines in RG1.Azure Bastion provides secure and seamless RDP and SSH access to virtual machines over a web browser and eliminates the need for a public IP address. It simplifies the process of connecting to virtual machines by allowing users to connect directly to virtual machines through the Azure portal.To enable JIT access with Azure Bastion, you can create a JIT policy that defines the rules for access, including limiting access to specific protocols like RDP and setting the maximum request time to two hours. This can be done using the Azure portal or Azure CLI, and once the policy is created, Azure Bastion will automatically enforce the access rules when users try to connect to the virtual machines.
upvoted 2 times
...
Durden871
11 months, 4 weeks ago
This is a stupid question. Bastion is the best fit for security purposes to allow RDP access to a machine without exposing it to the internet. There is no option for JIT in Bastion. In order to set this up, you need a policy. Now, does that mean Azure Policy? Navigate to Microsoft Defender for Cloud in the Azure portal. Go to the Just-in-time VM access section under Configuration & management. Select the virtual machines in RG1 you want to configure JIT for. Configure the JIT policy: Set the maximum request time to 2 hours. Specify RDP (port 3389) as the allowed protocol. Save the configuration.
upvoted 2 times
...
Ramye
1 year, 2 months ago
Selected Answer: B
Answer is B since one of the requirements is to use RDP only. With Bastion you don't connect using RDP and Microsoft specifically mentions not to use RDP as the requirement.
upvoted 3 times
Jay_13
1 year, 2 months ago
Azure Bastion is a fully managed PaaS service that you provision to securely connect to virtual machines via private IP address. It provides secure and seamless RDP/SS… Bastion provides secure RDP and SSH connectivity to all of the VMs in the virtual network for which it's provisioned.
upvoted 2 times
...
...
xoe123
1 year, 3 months ago
Know that Azure Bastion and JIT access cannot be used together. If you enable Azure Bastion with an existing JIT access policy enabled on a VM, the bastion host will not connect to the target machine and you will get a connection error!. https://dev.to/adbertram/how-to-enable-and-configure-azure-jit-for-vms-4a26
upvoted 1 times
...
Gurulee
1 year, 4 months ago
I'd go with Azure Policy since Bastion alone does not support all the requirements listed in question. Azure Bastion and Just in time (JIT) access are two different technologies
upvoted 1 times
...
estyj
1 year, 4 months ago
You can setup JIT network access policy for the Resource Group. https://learn.microsoft.com/en-us/rest/api/defenderforcloud/jit-network-access-policies?view=rest-defenderforcloud-2020-01-01
upvoted 1 times
...
chepeerick
1 year, 6 months ago
Azure Policy
upvoted 1 times
...
Vika_1_111
1 year, 7 months ago
Selected Answer: B
If i read this article correctly, then it can be accomplished by configuring the policy https://learn.microsoft.com/en-us/azure/defender-for-cloud/just-in-time-access-usage
upvoted 1 times
...
donathon
1 year, 8 months ago
Selected Answer: B
Azure Policy make more sense
upvoted 1 times
...
donathon
1 year, 9 months ago
Selected Answer: B
A. Azure AD Privileged Identity Management (PIM) >> You cannot restrict to protocol. B. Azure Policy >> Looks like the answer. C. Azure Bastion >> You cannot limit the time using this. D. Azure Front Door >> Not for this purpose
upvoted 4 times
...
itsadel
1 year, 9 months ago
Selected Answer: C
Azure Bastion provides secure and seamless RDP and SSH access to Azure virtual machines directly through the Azure portal. It acts as a jump server or a bastion host, eliminating the need to expose public IP addresses or configure virtual private networks (VPNs) for remote access.
upvoted 2 times
...
Marchiano
1 year, 10 months ago
Selected Answer: B
There are no references for Azure Bastion on the SC-200 MS Learn course
upvoted 2 times
Marchiano
1 year, 9 months ago
I have changed my mind to A. Azure AD Privileged Identity Management (PIM) With PIM you can set the "Activation maximum duration" and since you are looking to configure JIT, which can restrict the ports, then it will make more sense to me to go through this path. Why to configure an Azure Policy since the scenario specifies that you are looking to configure JIT? So PIM and JIT can provide what is requested. https://learn.microsoft.com/en-us/azure/active-directory/privileged-identity-management/pim-how-to-change-default-settings "Use the Activation maximum duration slider to set the maximum time, in hours, that an activation request for a role assignment remains active before it expires. This value can be from one to 24 hours." https://learn.microsoft.com/en-us/azure/defender-for-cloud/just-in-time-access-usage "JIT lets you allow access to your VMs only when the access is needed, on the ports needed, and for the period of time needed."
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago