Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-104 topic 4 question 32 discussion

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

You plan to create the Azure web apps shown in the following table.

What is the minimum number of App Service plans you should create for the web apps?

  • A. 1
  • B. 2
  • C. 3
  • D. 4
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
EleChie
Highly Voted 1 year, 7 months ago
Correct Answer: B .NET Core 3.0: Windows and Linux ASP .NET V4.7: Windows only PHP 7.3: Windows and Linux Ruby 2.6: Linux only Also, you can’t use Windows and Linux Apps in the same App Service Plan, because when you create a new App Service plan you have to choose the OS type. You can't mix Windows and Linux apps in the same App Service plan. So, you need 2 ASPs. Reference: https://docs.microsoft.com/en-us/azure/app-service/overview
upvoted 85 times
Indy429
4 months, 1 week ago
Makes a lot of sense. At first I thought A, but I forgot about the fact that you can only have 1 OS per App Service Plan. B seems to be the safest answer.
upvoted 1 times
...
Ozzy3458
1 year, 6 months ago
Ruby 2.6 ca run on Windows. check it ! So the answer is correct. A is the correct answer. RubyInstaller for Windows https://rubyinstaller.org
upvoted 7 times
adeyhtech87
1 year, 2 months ago
Ruby 2.7 works with only the Linux App service plan, as I can check in Jan 2023. Not sure, if Ruby 2.6 would have ever supported Windows. So the answer is B correct. We basically need 1 service plan for Linux App setup environment and one for windows based workload.
upvoted 7 times
...
slovik
1 year, 6 months ago
Maybe it can but it's not listed as webapp runtime for windows: $ az webapp list-runtimes --os windows [ "dotnet:7", "dotnet:6", "DOTNETCORE:3.1", "ASPNET:V4.8", "ASPNET:V3.5", "NODE:18LTS", "NODE:16LTS", "NODE:14LTS", "PHP:7.4", "java:1.8:Java SE:8", "java:11:Java SE:11", "java:17:Java SE:17", "java:1.8:TOMCAT:10.0", "java:11:TOMCAT:10.0", "java:17:TOMCAT:10.0", "java:1.8:TOMCAT:9.0", "java:11:TOMCAT:9.0", "java:17:TOMCAT:9.0", "java:1.8:TOMCAT:8.5", "java:11:TOMCAT:8.5", "java:17:TOMCAT:8.5" ]
upvoted 24 times
...
...
...
simonseztech
Highly Voted 1 year, 6 months ago
Selected Answer: B
Tested on 2022-10-12 in the portal : PHP & Ruby are Linux only so the answer is 2
upvoted 18 times
...
Dhelailla
Most Recent 1 month, 2 weeks ago
Selected Answer: A Just tested on my lab after googled it and all 4 apps worked on Windows. So you just need 1 App Service plan.
upvoted 1 times
et20230303
1 month, 2 weeks ago
how did you get Ruby to work on windows?
upvoted 2 times
Dhelailla
3 weeks ago
With the Windows Package Manager: https://www.ruby-lang.org/en/documentation/installation/
upvoted 1 times
...
...
...
Amir1909
1 month, 4 weeks ago
B is correct
upvoted 1 times
...
Amir1909
2 months ago
B is correct
upvoted 1 times
...
iamchoy
7 months, 1 week ago
Selected Answer: B
Azure App Service plans define the region (Datacenter) of the physical server where your web app will be hosted and the amount of storage, RAM, and CPU the underlying virtual machine will have. One App Service plan can host multiple web apps, mobile apps, API apps, and function apps. All apps in the same plan run on the same VM instance(s) and share the same resources. Different runtime stacks (like .NET Core, ASP.NET, PHP, or Ruby) can coexist in the same App Service plan, provided they are supported by the operating system of the plan (Windows or Linux). Given the web apps you have: - WebApp1: .NET Core 3.1 (LTS) runs on both Windows and Linux. - WebApp2: ASP.NET v4.8 runs only on Windows. - WebApp3: PHP 7.3 runs on both Windows and Linux. - WebApp4: Ruby 2.6 typically runs on Linux. You can choose to have: 1. One App Service plan for WebApp1, WebApp2, and WebApp3 all on Windows. 2. A separate App Service plan for WebApp4 on Linux. This results in a total of 2 App Service plans. The answer is: B. 2
upvoted 7 times
...
riccardoto
8 months, 1 week ago
Selected Answer: B
The correct answer is still "B", but probably this question will soon require some update. - current LTS versioon of .NET Core is called .NET 6 (goes both in windows and Linux) - .NET 4.7 is not available (.NET 4.8 is) - this goes in windows only - PHP is available in versions 8.0, 8.1, 8.2 --> this goes in liinux only - Ruby support has ended in April 2023. All in all, the table is specifying "runtime stack", so I guess it should state more clearly that it expect answers with "code" publish mode. Actually, one could also just deploy 1 service plan by using the "docker container" mode - though the operational effort would be higher.
upvoted 5 times
...
MGJG
8 months, 2 weeks ago
OpenAI: f you want to minimize the number of App Service plans to just one, you would need to choose an App Service plan that can accommodate all the different runtime stacks. In this case, you can use a "Windows" based plan since it can support .NET, ASP.NET, PHP, and Ruby applications. So, you would need one App Service plan for all the web apps: App Service Plan for Multiple Runtime Stacks: webapp1 (Runtime stack: .NET Core 3.1) webapp2 (Runtime stack: ASP.NET v4.8) webapp3 (Runtime stack: PHP 7.3) webapp4 (Runtime stack: Ruby 2.6)
upvoted 1 times
...
sakibmas
8 months, 4 weeks ago
Selected Answer: A
Ruby 2.6 can run on Windows
upvoted 1 times
...
Mehedi007
8 months, 4 weeks ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/app-service/overview#next-steps Also you can’t use Windows and Linux Apps in the same App Service Plan. Passed the exam on 26 July 2023. Scored 870. Exact question came.
upvoted 3 times
...
LGWJ12
8 months, 4 weeks ago
Selected Answer: B
WebApp1 and WebApp2 in windows appservice plan and WebApp3 and WebApp4 in linux. The correct answer is B.
upvoted 1 times
...
Bentot
9 months, 2 weeks ago
It is stated that Ruby 2.6, the 2.6 version can run on windows. Tricky question.
upvoted 1 times
...
someonewaiting
10 months, 1 week ago
I suspect that does az-104 really worth it. This question shouldn't be for operators, it should be for developers.
upvoted 4 times
...
sankar07
1 year ago
Selected Answer: B
2 is right. You need 1 for windows and 1 for linux. Because .Net 47 runs only on windows. Ruby runs only on linux. The other 2 can run on both.
upvoted 2 times
...
macrawat
1 year, 1 month ago
This is a dumb question
upvoted 13 times
...
kklohit
1 year, 1 month ago
Selected Answer: B
The answer is B. Each Azure App Service plan can host multiple web apps, but each plan is limited to a specific set of features and corresponding worker size. In this case, .NET Core 3.1, ASP .NET V 4.8, PHP 7.3, and Ruby 2.6 are all different runtime stacks, so each web app must be hosted on a separate App Service plan. Therefore, the minimum number of App Service plans required to host all four web apps is two. You can host WebApp1 and WebApp2 on an App Service plan that supports .NET Core and ASP.NET, and you can host WebApp3 and WebApp4 on another App Service plan that supports PHP and Ruby.
upvoted 1 times
...
hfk2020
1 year, 1 month ago
The .NET Core 3.1, PHP 7.3, and Ruby 2.6 runtime stacks work on both Linux and Windows operating systems. ASP.NET V4.8 is a Windows-specific runtime stack and does not work on Linux. If you want to run ASP.NET web applications on Linux, you can use .NET Core runtime stack, which supports cross-platform development and can run ASP.NET Core web applications on Linux as well as Windows.
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 ...