exam questions

Exam AZ-103 All Questions

View all questions & answers for the AZ-103 exam

Exam AZ-103 topic 4 question 17 discussion

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

HOTSPOT -
You have an Azure virtual machine named VM1 that connects to a virtual network named VNet1. VM1 has the following configurations:
✑ Subnet 10.0.0.0/24
✑ Availability set: AVSet
✑ Network security group (NSG): None
Private IP address: 10.0.0.4 (dynamic)

✑ Public IP address: 40.90.219.6 (dynamic)
You deploy a standard, Internet-facing load balancer named slb1.
You need to configure slb1 to allow connectivity to VM1.
Which changes should you apply to VM1 as you configure slb1? To answer, select the appropriate options in the answer area.
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
FrancisFerreira
Highly Voted 5 years, 1 month ago
Most people here seem to forget that Standard SKU Public IPs cannot have Dynamic assignments. If the Public IP on VM1 is set to Dynamic, that means it is a Public IP with Basic SKU (Public IPs with Standard SKU have Static assignments by default, that cannot be changed). We cannot associate Basic SKUs IPs with Standard SKUs LBs... So, top-box must be "Removing public IP address from VM1". Now, Standard LBs are secure by default (like Standard IPs), so we won't be able to connect to then without explicitly allowing such connections via NSG... So, bottom-box must be "Create and configure NSG".
upvoted 61 times
azun
4 years, 10 months ago
This is the right explanation of the answers to this questions.tried and tested !!
upvoted 4 times
...
Shades
4 years, 9 months ago
This is most accurate explanation
upvoted 3 times
...
...
phongvu
Highly Voted 5 years, 1 month ago
I believe the answer for 1 should be "Removing public IP address from VM1" and 2 should be "Create and configure NSG".
upvoted 16 times
Geeky
4 years, 8 months ago
I agree
upvoted 1 times
...
...
KenZx
Most Recent 4 years, 5 months ago
So many people being tricked by this question. VM1 has public Ip address and sku basic and private Ip address (dynamic). So internet facing Load balancer sku "standard" requires backend pool which has private ip address type static => Answer 1: change dynamic to static Asnwer 2: create and configure NSG
upvoted 3 times
Jovial
4 years, 3 months ago
Dont spread false answers . You dont know anything about Azure Test it for your self Azure clearly informs you while adding a backend pool that vm of avset should have a static Public IP address or not public address. I can still use a dynamic private "You can only attach virtual machines in northeurope that have a standard SKU public IP configuration or no public IP configuration. All IP configurations must be on the same virtual network."
upvoted 2 times
gerryboy
3 years, 9 months ago
you have a very good point but why get so emotional?
upvoted 2 times
...
...
...
Thi
4 years, 6 months ago
Given answer correct
upvoted 1 times
Thi
4 years, 6 months ago
i wrote wrong ...i will go for -Remove the public address from VM1 -Create and configure an NSG
upvoted 1 times
...
...
niceeu
4 years, 6 months ago
"Basic SKU Load Balancers use Basic SKU IP Addresses, which aren't compatible with Standard SKU Load Balancers as they require Standard SKU IP Addresses" The IP Addresses are Dynamically assigned, therefore making them, "Basic SKU." Ans1: remove Public IP Ans2: Create & configure NSG https://docs.microsoft.com/en-us/azure/aks/load-balancer-standard
upvoted 2 times
...
awsc
4 years, 8 months ago
Tested this today -Remove the public address from VM1 -Create and configure an NSG
upvoted 3 times
...
masa1313
4 years, 8 months ago
Remove the public address from VM1 Create and configure an NSG
upvoted 1 times
...
Saman2020
4 years, 8 months ago
Private IP and NSG are required for a Standard LB.
upvoted 2 times
Saman2020
4 years, 8 months ago
I mean static private IP
upvoted 1 times
...
...
TahaMubarak
4 years, 8 months ago
I was thinking about removing the public IP address then said what is the issue if you leave the public IP to the VM as long as the LB will use another public IP and will use the VM private IP
upvoted 2 times
...
bnair
4 years, 8 months ago
"You can only attach virtual machines that are in the same location and on the same virtual network as the loadbalancer. Virtual machines must have a standard SKU public IP or no public IP."
upvoted 1 times
...
Ravihonnagiri
4 years, 9 months ago
Public IP SKUs and Load Balancer SKUs must match. For Standard Load Balancer , use VMs with Standard IP addresses in the backend pool. Also, you cannot reach standard lb as nothing is allowed. So NSG creation is mandatory Reference:https://docs.microsoft.com/en-us/azure/load-balancer/quickstart-load-balancer-standard-public-portal#create-backend-servers Box1: Remove public IP Box2: create and configure NSG
upvoted 4 times
...
AzExam2020
4 years, 9 months ago
The answer given is correct, the VM is in Availability Set.
upvoted 1 times
...
Shades
4 years, 9 months ago
To add a backend pool to standard LB , you must have VMs that have static IP , otherwise you get this error: You can only attach virtual machines in your region that have a standard SKU public IP configuration or no public IP configuration. All IP configurations must be on the same virtual network. and for allowing communication for Standard LB: Standard Load Balancer is secure by default. This means Network Security Groups (NSGs) are used to explicitly permit and whitelist allowed traffic. If you do not have an NSG on a subnet or NIC of your virtual machine resource, traffic is not allowed to reach this resource. Please configure an NSG to ensure communication if needed.
upvoted 2 times
...
kate00
4 years, 9 months ago
I tested the first scenario. When I tried to add VM with no nsg and dynamic public ip on the back pool, no VM was available which can be added on. On the top, "You can only attach virtual machines in westus that have a standard SKU public IP configuration or no public IP configuration. All IP configurations must be on the same virtual network." was shown. Firstly, I attached NSG on the NIC of VM and still no VM was available on the backpool. Secondly, I disassociated the dynamic public ip from the VM and I can see the vm list which I can add on the backpool.
upvoted 1 times
...
ariahi
4 years, 10 months ago
Why would you need a public IP if you have a load balancer in front of the VM? Just send traffic to the private IP.
upvoted 2 times
...
chan4u
4 years, 10 months ago
Tried and correct answer is : 1) Remove Public IP address (In this case since the IP is dynamic and since it is dynamic it is of Basic category). A Standard load balancer cannot have Basic Public IP Address. Private IP can be Static or dynamic. 2) Create and configure NSG.
upvoted 5 times
...
jonnybugaloo
4 years, 10 months ago
Just tested here. You should first remove the Public IP from the VM1, and then, create a NSG to VM1 First Box says: Before you create a backend pool. Here, you can only add VM 1 if the VM has a Static Public IP (Standard), that is not the case, or removing the public IP from this VM. You can enter on public IP configuration associated to VM, and dissociate it from the VM. Second box says Before you can connect to VM1 - Here you should have an NSG associated to VM1. So, based on the options, is create and configure a NSG.
upvoted 1 times
jonnybugaloo
4 years, 10 months ago
And the questions says: Which changes should you apply to VM1 as you configure slb1? So, the second box means that the NSG is for VM1.
upvoted 1 times
...
Hanuman
4 years, 10 months ago
correct
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