exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 2 question 26 discussion

Actual exam question from Microsoft's AZ-104
Question #: 26
Topic #: 2
[All AZ-104 Questions]

You have an Azure subscription.
Users access the resources in the subscription from either home or from customer sites. From home, users must establish a point-to-site VPN to access the Azure resources. The users on the customer sites access the Azure resources by using site-to-site VPNs.
You have a line-of-business-app named App1 that runs on several Azure virtual machine. The virtual machines run Windows Server 2016.
You need to ensure that the connections to App1 are spread across all the virtual machines.
What are two possible Azure services that you can use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. an internal load balancer
  • B. a public load balancer
  • C. an Azure Content Delivery Network (CDN)
  • D. Traffic Manager
  • E. an Azure Application Gateway
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

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
mlantonis
Highly Voted 3 years, 7 months ago
Correct Answer: A and E A: The customer sites are connected through VPNs, so an internal load balancer is enough. B: The customer sites are connected through VPNs, so there's no need for a public load balancer, an internal load balancer is enough. C: A CDN does not provide load balancing for applications, so it not relevant for this situation. D: Traffic manager is a DNS based solution to direct users' requests to the nearest (typically) instance and does not provide load balancing for this situation. E: Azure Application Gateway is a valid option, as it provides load balancing in addition to routing and security functions
upvoted 532 times
Veks
2 years, 7 months ago
I agree with an answer, this is only logical solution (A and E), but the questions are really.... stupid. "Several virtual machines for running an app", that doesn't explicitly mean that I'll use load balancer. I could have lots of different VM configurations and not use load balancer. What if I'm doing an SPA app and have an API's on different VM (cause of any user defined, project specific needs). In that case what is my App then? Is it just a client side or is it a backend API. Anyway, sry for spamming, I just would like them to have more precise questions.
upvoted 5 times
...
ShaulS
3 years, 1 month ago
A: what do you mean by "internal LB is enough"?
upvoted 2 times
e_karma
3 years ago
It means that nobody is accessing the resources through public ip ..So no need of a public load balancer.
upvoted 27 times
...
...
juniorccs
3 years, 4 months ago
Very nice and complete explanation, thanks a lot!
upvoted 3 times
...
Sh4kE
2 years, 11 months ago
But isn't answer B also an option which would suffice the requirements? It only states to load balance traffic to all VMs. It does not restrict how to access the services, even though we are already connected via vpn...
upvoted 3 times
Def21
2 years, 6 months ago
I'd say you are right. But they ask only for two answers and this would not be preferred solution.
upvoted 1 times
...
klexams
2 years, 6 months ago
there is a reason why people use VPN.
upvoted 1 times
...
zr79
2 years, 9 months ago
VMs are internal and users connect through S2S and P2S VPN. you do not want to expose your internal workloads to the internet using public LB
upvoted 2 times
...
...
...
mgladh
Highly Voted 4 years ago
i would say A and E is the correct answer.
upvoted 88 times
...
dnt91
Most Recent 4 days, 16 hours ago
Selected Answer: AD
Public Load Balancer cannot be used here as the connections must use a VPN (ie private ip addresses on Azure) Application Gateway is not on option. a lob application is not a web app (even some old web app can be lob application.) the first (and most natural) answer is an internal load balancer. The second is traffic manager. You can configure a traffic manager with for example a routing method weighted and then add to your TM an external endpoint with a private IP address
upvoted 1 times
...
CloudEngJS
2 weeks, 1 day ago
Selected Answer: AB
Line of business app can be anything custom written, it never mentioned web app. App Gateway uses http and https, so it may not work, ergo internal and external load balancers are the answer by process of elimination.
upvoted 1 times
Sunth65
1 week, 3 days ago
NB! You have a line-of-business-app named App1 that runs on several Azure virtual machine.
upvoted 1 times
...
...
CloudEngJS
1 month ago
Selected Answer: AB
The question never stated this is a web app, therefore the only plausible answers are internal or public load balancer. Web app only support http(s)
upvoted 1 times
...
Dankho
1 month, 3 weeks ago
Selected Answer: AE
Wouldn't pick the public one so....
upvoted 1 times
...
GuessWhoops
2 months, 2 weeks ago
You know what is complicated? Azure Application Gateway is used specific for HTTP/HTTPS based requests, in its setup, when you create the routing rule, there is an option that force you to select the Protocol either HTTP or HTTPS, there is a port option, but those are for custom ports, fact is, it is based on HTTP/S. This question does not specify if the line-of-business app is HTTP/S based, a WebApp. A public balancer here would be a more broad option to attend all scenarios, however, yes, it would have a cost for public IP and would be unecessary since we already got VPNs setup. This is one of those scenarios that I would comment on the question, stating that is poorly worded. No doubt on Internal LB, but cant decide here between AAG/PLB.
upvoted 1 times
...
lokii9980
2 months, 3 weeks ago
Two possible Azure services that can be used to spread connections to App1 across all virtual machines are: A. An internal load balancer: This service can be used to distribute network traffic to virtual machines that are part of an availability set or a virtual machine scale set. It works by forwarding incoming traffic to healthy virtual machines in the backend pool. Since App1 runs on multiple virtual machines, an internal load balancer can be used to distribute the traffic evenly among them. E. An Azure Application Gateway: This service is a layer 7 load balancer that can distribute traffic based on different criteria, such as URL path or host header. It can also perform SSL offloading, web application firewall, and other features that can enhance the performance and security of web applications. Since App1 is a line-of-business app, it's likely that it runs over HTTP or HTTPS, which makes an Azure Application Gateway a suitable solution for load balancing.
upvoted 1 times
...
Madbo
2 months, 3 weeks ago
Two possible Azure services that can be used to spread connections to App1 across all virtual machines are: A. an internal load balancer: An internal load balancer can be used to distribute traffic among the virtual machines running App1. It can distribute traffic based on various algorithms such as round-robin, least connections, and IP hash. The internal load balancer is a layer 4 (Transport Layer) load balancer that can distribute traffic within a virtual network. E. an Azure Application Gateway: An Azure Application Gateway is a layer 7 (Application Layer) load balancer that can distribute traffic based on various criteria such as URL path, host headers, and cookie. It can also perform SSL offloading, session affinity, and URL-based routing. It is typically used to route traffic to different backend services based on the incoming request's contents. It is a more advanced option than the internal load balancer but requires a public IP address.
upvoted 5 times
...
SeMo0o0o0o
3 months, 1 week ago
Selected Answer: AE
A & E are correct
upvoted 1 times
...
SefOne
1 year, 2 months ago
Selected Answer: AE
No doubt about it AE
upvoted 1 times
...
itguyeu
1 year, 5 months ago
I used free version access for this site and it helped me pass the exam. Some questions that I had on the exams, I took the exam more than once, are not available under the free tier access, but 80% of the questions came from here. I do recommend investing a bit of money and getting full access to this site. I didn't memorise answers but analysed them and studied as Microsoft does tweak them a bit. This Q was on the exam and the answer isA, E.
upvoted 2 times
...
Mazinger
1 year, 10 months ago
Selected Answer: AE
Two possible Azure services that can be used to spread connections to App1 across all virtual machines are: A. An internal load balancer: This can be used to distribute incoming traffic to virtual machines in a backend pool based on various routing rules and health probes. It is a Layer 4 (TCP/UDP) load balancer that is used for internal traffic within a virtual network. E. An Azure Application Gateway: This can be used to route incoming traffic to virtual machines based on various routing rules, including URL path-based routing, cookie-based session affinity, and SSL offloading. It is a Layer 7 (HTTP/HTTPS) load balancer that can be used for both internal and external traffic. Both of these services can be used to distribute incoming traffic across multiple virtual machines, improving availability and scalability of App1.
upvoted 2 times
...
Blippen
1 year, 11 months ago
Correct Answer: A and E Given that the application is a webapp.
upvoted 1 times
...
Uniteck
2 years ago
A & E is the correct answer
upvoted 1 times
...
alirasouli
2 years, 2 months ago
Selected Answer: AE
Quote from Microsoft's documentation: Azure provides a suite of fully managed load-balancing solutions for your scenarios: * If you are looking to do DNS based global routing and do not have requirements for Transport Layer Security (TLS) protocol termination ("SSL offload"), per-HTTP/HTTPS request or application-layer processing, review Traffic Manager. * If you want to load balance between your servers in a region at the application layer, review Application Gateway. * If you need to optimize global routing of your web traffic and optimize top-tier end-user performance and reliability through quick global failover, see Front Door.
upvoted 2 times
...
majerly
2 years, 2 months ago
Today in exam AE
upvoted 5 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