exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 4 question 24 discussion

Actual exam question from Microsoft's AZ-500
Question #: 24
Topic #: 4
[All AZ-500 Questions]

HOTSPOT -
You have an Azure subscription that contains the resources shown in the following table.

An IP address of 10.1.0.4 is assigned to VM5. VM5 does not have a public IP address.
VM5 has just in time (JIT) VM access configured as shown in the following exhibit.

You enable JIT VM access for VM5.
NSG1 has the inbound rules shown in the following exhibit.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

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
nexel
Highly Voted 3 years, 9 months ago
Just tested in Lab environment: 1. In case if rule 100 is deleted manually the access will not work. So the answer is - YES 2. RDP is not blocked because rule 100 is in place and we should consider it as it is. - NO 3. Azure Bastion host is not enabling RDP from the internet. This is the key feature of Bastion - allowing access to VMs which does not have a public IP address. So the answer is - NO
upvoted 51 times
JBAnalyst
4 months, 2 weeks ago
Given answer is correct, i agree with all your answers but not answer 2 By default, when JIT is enabled, all rdp access is blocked, and therefore "remote desktop access to vm5 is blocked" unless a user request access. That access allows only that user, vm5 is blocked at all times!
upvoted 1 times
...
8de3321
5 months ago
For the 2nd one the 1001 rule is also saying the answer will be NO
upvoted 1 times
JBAnalyst
4 months, 2 weeks ago
The JIT rules take priority as long as they are JIT enabled. and the default is "no rdp access"
upvoted 1 times
...
...
nExoR
9 months, 1 week ago
"Azure Bastion host is not enabling RDP from the internet." - so what is is doing exactly? as it is exatcly the role of the bastion host to allow access from Internet to SSH/RDP.
upvoted 1 times
...
chikorita
2 years, 2 months ago
WHY ARE WE ALL IGNORING THE FACT THAT WE HAVE NSG2 attached to Subnet of VM....whose rules are not confirmed...considering default rules,,,access must be blocked.....SO its YYN
upvoted 4 times
...
...
CASGTI
Highly Voted 4 years ago
Now... question 2... For me, is "NO" also, because RDP is allowed, that the machine dont have a public IP means you cant access from internet, does not means you cant access. and question 3 ... for me would be "YES" Why? just because a well configured bastion host, will allow you to connect from the internet to the bastion, and then from there, to the machine by using the private IP (as stated on question 2, RDP is allowed, but just internally, so the bastion will solve this)
upvoted 17 times
Frosticus
3 years, 10 months ago
JIT does not work with bastion: https://charbelnemnom.com/how-to-configure-just-in-time-vm-access-for-azure-firewall-in-azure-security-center/#Azure_Bastion_and_Jut-In-Time_VM_access
upvoted 5 times
licna
3 years, 3 months ago
See the update on the article linked: "Updated – 29/11/2021 – Azure Bastion is now supported with Just-In-Time VM access as confirmed by Microsoft in the multilayered protection for Azure virtual machine access. The Bastion private IP range (AzureBastionSubnet) will have to be entered either when Just-In-Time (JIT) is set up, or when the JIT request is created in Microsoft Defender for Cloud."
upvoted 4 times
...
...
...
6226d51
Most Recent 8 months ago
1.Deleting the security rule that has priority of 100 will revoke the approved JIT access request. The "approved" JIT access request. So RDP access is already granted for 3hours (Time range). So I would answer NO. As the JIT configuration itself is still there in Security center (defender) the rule only has been removed from the NSG.
upvoted 1 times
...
pentium75
9 months, 1 week ago
Unclear questions. First issue, we know that NSG2 is applied, but we don't know anything about it. Does it have default settings or not? Question 1 - Deleting the rule "will revoke the approved access request" (!). What does this mean? Deleting the rule WILL prevent access (= access will no longer work, even though it has been requested and approved). But it will NOT 'revoke the approved access request' as such; JIT logs will still show that the access has been requested and approved. Question 2 - "Remote Desktop access is blocked" ... for whom? It is currently allowed due the JIT request. Question 3 - Bastion - that depends how the Bastion host is exposed. And it would only work as long as JIT request is active. I'd go for YES-NO-YES, but there's too much unknown here.
upvoted 1 times
...
Nava702
1 year, 1 month ago
From the article below //The proper way to remove Security Center's JIT policy is to go the Security Center portal -> Azure Defender -> "Just-in-time VM access" under the Advances protection and remove the policy from the configured VM. Removing the NSG rule alone will not do the trick as JIT has recover option.// https://learn.microsoft.com/en-us/answers/questions/417961/disable-jit-in-security-center So Answer for Q1 - NO I think Q2 asks in general if RDP access is blocked or not. Once JIT expires or if it is not considered, it is indeed blocked, so - YES Q3 Bastion hosts allow you to connect to VMs without public IPs from the internet, however since RDP is blocked in general, the answer - NO
upvoted 1 times
...
epomatti
1 year, 4 months ago
Just a poorly written question with a lot of information missing. Really a garbage work if this is what is actually in the exam.
upvoted 2 times
...
_ajay
1 year, 4 months ago
JIT rule 100 will be deleted automatically after 3 hours
upvoted 1 times
...
xxavimr
1 year, 5 months ago
I think the bastion question is YES too. Look at his architecture https://learn.microsoft.com/en-us/azure/architecture/solution-ideas/articles/multilayered-protection-azure-vm
upvoted 1 times
xxavimr
1 year, 5 months ago
And Azure Bastion does not need 443 open and it still uses 3389 port to connect to the VM
upvoted 1 times
Mnguyen0503
1 year, 4 months ago
This is correct. Once authenticated, Bastion will give administrators access to RDP and SSH directly from the Internet. The only downside is that it is a admin-only tool, and not recommended for regular users.
upvoted 1 times
...
...
...
wardy1983
1 year, 5 months ago
Explanation: 1. In case if rule 100 is deleted manually the access will not work. So the answer is - YES 2. RDP is not blocked because rule 100 is in place and we should consider it as it is. - NO 3. Azure Bastion host is not enabling RDP from the internet. This is the key feature of Bastion - allowing access to VMs which does not have a public IP address. So the answer is - NO
upvoted 2 times
Mnguyen0503
1 year, 4 months ago
You clearly haven't tried Azure Bastion. It IS the Microsoft recommended method to allow administrators access to VM RDP and SSH services without having to link the VM with a public IP. So 3 is yes.
upvoted 4 times
...
...
Pixan
1 year, 6 months ago
Hi Everyone!! Join ET and get actual and valid study material: https://examstopics.quora.com/ and pass your exam in first attempt. Study Smart Not Hard
upvoted 1 times
...
wardy1983
1 year, 6 months ago
1. In case if rule 100 is deleted manually the access will not work. So the answer is - YES 2. RDP is not blocked because rule 100 is in place and we should consider it as it is. - NO 3. Azure Bastion host is not enabling RDP from the internet. This is the key feature of Bastion - allowing access to VMs which does not have a public IP address. So the answer is - NO
upvoted 1 times
...
TheProfessor
1 year, 7 months ago
Answer is Y Y N
upvoted 2 times
...
Catlyn
1 year, 7 months ago
1. No : Editing the NSG will not revoke the approved JIT request though it may affect the access. 2. No: RDP is not blocked as Rule 1001 still exists and it allows any any. Meaning it can allow devices from peered VNETs (not from internet as no public IP). 3. Yes: Azure Bastion can allow access to VMs without public IP if the user has access to Azure Portal.
upvoted 3 times
...
heatfan900
1 year, 9 months ago
Y, N, Y The DENY takes over and denies RDP access. RDP access is not blocked because the first rule ALLOWS it. A BASTION HOST will allow you to connect to the VM over the internet by behaving as a JUMP BOX that you can RDP from internally.
upvoted 5 times
heatfan900
1 year, 8 months ago
A FURTHER NOTE, WHEN LOOKING AT THE JIT ACCESS CONFIG YOU CAN CLEARLY SEE THAT THE ACCESS IS GRANTED ON DEMAND FOR THE PERIOD OF THREE HRS ONLY. THEREFORE, BOTH RULES WILL EXPIRE AFTER SUCH TIME. THE RULE WITH THE HIGHER PRIORITY WINS OUT SO ACCESS IS ALLOWED. TECHNICALLY, NO ONE WOULD EVER CONFIGURE TWO RULES THAT DIRECTLY CONFLICT WITH EACH OTHER AND THIS IS ONLY DONE FOR THE SAKE OF THIS QUESTION. THAT BEING SAID, BESIDES THE JIT RULE WHICH IS SET AGAINST NSG (REASON Y YOU NEED AN NSG TO SETUP JIT IN THE FIRST PLACE) RDP ACCESS IS ALLOWED DIRECTLY AS WELL BUT SINCE THERE IS NO PUBLIC IP THEN A BASTION HOST WILL NEED TO BE AVAILABLE FOR RDP ACCESS TO THE SERVER FROM THE INTERNET.
upvoted 2 times
...
...
Ario
1 year, 10 months ago
you have to consider each of this questions individually , the answer for all 3 will be NO If you have configured a Just-In-Time (JIT) access rule in your Network Security Group (NSG) to allow RDP access to a VM for a specific duration, such as 3 hours, and you approve a user's request for access, the user will continue to have access until the specified duration ends, regardless of whether you remove the rule from the NSG.
upvoted 2 times
...
Pupu86
1 year, 10 months ago
Need not worry about NSG2 as a NSG tied to NIC takes precedence over a NSG tied to a subnet. In this case, NSG2 is a distractor in this question.
upvoted 1 times
...
mssii
2 years, 2 months ago
2nd question is "yes" because of deny for rdp connection. I assume it doesn't matter about priority https://learn.microsoft.com/en-us/azure/defender-for-cloud/just-in-time-access-overview?tabs=defender-for-container-arch-aks
upvoted 1 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