exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 1 question 74 discussion

Actual exam question from Microsoft's AZ-300
Question #: 74
Topic #: 1
[All AZ-300 Questions]

Note: This question is part of series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are planning to create a virtual network that has a scale set that contains six virtual machines (VMs).
A monitoring solution on a different network will need access to the VMs inside the scale set.
You need to define public access to the VMs.
Solution: Design a scale set to automatically assign public IP addresses to all VMs.
Does the solution meet the goal?

  • A. Yes
  • B. No
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
piotr
Highly Voted 5 years, 9 months ago
Answer A. If all VM have public IP, monitoring solution will be able to reach them.
upvoted 46 times
jwang
5 years, 3 months ago
Correct. https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-faq
upvoted 2 times
tartar
4 years, 10 months ago
A is ok
upvoted 2 times
...
...
praveen97
5 years ago
Agree with piotr. Answer is Yes. https://docs.microsoft.com/en-gb/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-networking#public-ipv4-per-virtual-machine
upvoted 2 times
...
David_986969
4 years, 12 months ago
It can be done and it would work, but it would not be cost effective and it would let more expose de scale set. So it would not be the best solution
upvoted 2 times
...
abhishek_arya02
4 years, 11 months ago
But it will not be optimal solution as it will add extra cost
upvoted 1 times
macco455
4 years, 11 months ago
There is nothing in the question to be cost effective though. Therefore it should be answer A
upvoted 2 times
...
...
...
dumpmaster
Highly Voted 5 years, 8 months ago
In general, Azure scale set virtual machines do not require their own public IP addresses. For most scenarios, it is more economical and secure to associate a public IP address to a load balancer or to an individual virtual machine (aka a jumpbox), which then routes incoming connections to scale set virtual machines as needed (for example, through inbound NAT rules). However, some scenarios do require scale set virtual machines to have their own public IP addresses. An example is gaming, where a console needs to make a direct connection to a cloud virtual machine, which is doing game physics processing. Another example is where virtual machines need to make external connections to one another across regions in a distributed database.
upvoted 17 times
...
nabylion
Most Recent 4 years, 11 months ago
public IP@ will be changing for each VM every time there is new VM or deletetion of existing VM in the VMSS , so monitoring will not be effective
upvoted 1 times
...
gnoamchomsky
5 years ago
Question is really bad. Yes, this would meet the goal as you can access every machine through the public address. But, in ANY real world scenario - would you really assign a public IP address to all of the machines? That would be BIG no. So even though technically it would work, we should really select No.
upvoted 3 times
...
[Removed]
5 years ago
There are few viable solutions to reach VMs inside Scale Set (including assigning Public IPs and using NAT) but the question is NOT to find the most suitable or least expensive solution to assign these IPs Question is - if Scale Set automatically assign Public IPs to its VMs (which is a valid option), will Monitoring Solution will be able to access these individual VMs inside Scale Set And answer for this question is Yes Although we can access these VMs through Load Balancer via NAT, this is not optimal solution for Monitoring Tool, which requires direct access to VMs it monitors Public IPs can be dynamically assigned to VMs in VMSS but this is not what they are asking So answer is A - Yes
upvoted 2 times
...
nabylion
5 years ago
Public IP@ will be dynamically assigned to VMs in VMSS, so B is correct.
upvoted 3 times
ExamWynner
5 years ago
Agreed on B. The key words here is "automatically assign public IP addresses to all VMs", what if auto scale out and scale in happens?
upvoted 2 times
...
...
tanito83
5 years ago
The answer is A. Please, modify it.
upvoted 2 times
...
Clouder2020
5 years, 1 month ago
Answer seems A. https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-networking
upvoted 2 times
...
sumedh01
5 years, 1 month ago
Answer : B All VMs do not need public IP addresses. Public IP addresses are necessary because they provide the load balanced entry point for the virtual machines in the scale set. The public IP address will route traffic to the appropriate virtual machines in the scale set.
upvoted 1 times
denkes
5 years, 1 month ago
Fully confusing explanation.
upvoted 3 times
...
...
DP80
5 years, 3 months ago
The answer seems to be A. You can actually design a vmss with a public IP in each vm. This is what I found on Microsoft docs => To create a virtual machine scale set that assigns a public IP address to each VM, make sure the API version of the Microsoft.Compute/virtualMachineScaleSets resource is 2017-03-30, and add a publicipaddressconfiguration JSON packet to the scale set ipConfigurations section. Example: "publicipaddressconfiguration": { "name": "pub1", "properties": { "idleTimeoutInMinutes": 15 } } Link - https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-faq
upvoted 4 times
...
Happiman
5 years, 4 months ago
There are four solutions, three of them are Deploy a standalone VM that has a public IP address to the virtual network. Implement an Azure Load Balancer. Design a scale set to automatically assign public IP addresses to all VMs. https://subscription.packtpub.com/book/virtualization_and_cloud/9781788991735/1/ch01lvl1sec17/vm-scale-sets
upvoted 6 times
TYT
5 years, 3 months ago
Stand alone VM as a jump box works, but the load balancer may not. You need specific access to a VM to monitor. Having the scale set automatically assigning public IPs also will work.
upvoted 5 times
X_L
5 years ago
LB's support NAT rules, which can translate a particular port to a particular VMSS member. There are courses on PluralSight even showing this in detail.
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 ...