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.
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
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.
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.
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
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.
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)
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.
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.
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.
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.
EleChie
Highly Voted 1 year, 7 months agoIndy429
4 months, 1 week agoOzzy3458
1 year, 6 months agoadeyhtech87
1 year, 2 months agoslovik
1 year, 6 months agosimonseztech
Highly Voted 1 year, 6 months agoDhelailla
Most Recent 1 month, 2 weeks agoet20230303
1 month, 2 weeks agoDhelailla
3 weeks agoAmir1909
1 month, 4 weeks agoAmir1909
2 months agoiamchoy
7 months, 1 week agoriccardoto
8 months, 1 week agoMGJG
8 months, 2 weeks agosakibmas
8 months, 4 weeks agoMehedi007
8 months, 4 weeks agoLGWJ12
8 months, 4 weeks agoBentot
9 months, 2 weeks agosomeonewaiting
10 months, 1 week agosankar07
1 year agomacrawat
1 year, 1 month agokklohit
1 year, 1 month agohfk2020
1 year, 1 month ago