exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 4 question 94 discussion

Actual exam question from Microsoft's AZ-104
Question #: 94
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: 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
athli
Highly Voted 1 year ago
Selected Answer: B
Since Python on Windows is no longer supported, we have to use Linux platform. ASP.NET is only supported on Windows platform. So we need at least 2 App Service plan
upvoted 16 times
Tayhull2023
12 months ago
As stated in the reference, thanks for the pointing this out! https://learn.microsoft.com/en-us/visualstudio/python/publish-to-app-service-windows?view=vs-2022
upvoted 5 times
djhyfdgjk
5 months, 2 weeks ago
With regard to Python on Windows that article states : "For Windows, you can build your own custom Windows container image and run the image in App Service." So you can build your custom Windows image and use it for all WebApps within a single App Service Plan.
upvoted 2 times
...
...
...
Babustest
Highly Voted 10 months, 3 weeks ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/app-service/overview Can run only on Windows: .NET, ASP.NET Can run only on Linux: Python Can run on either Windows/Linux: PHP From Azure documentation: ASP.NET Core (on Windows or Linux) ASP.NET (on Windows) PHP (on Windows or Linux) Ruby (on Linux) Node.js (on Windows or Linux) Java (on Windows or Linux) Python (on Linux) HTML Custom container (Windows or Linux)
upvoted 10 times
...
Amir1909
Most Recent 5 months, 2 weeks ago
B is correct
upvoted 1 times
...
Exilic
1 year ago
Selected Answer: B
ChatGPT gave me a different answer To determine the minimum number of App Service plans needed for the web apps, you should consider the runtime stack and compatibility. Here are the considerations for each web app: WebApp1 - .NET 6 (LTS) This can share an App Service plan with WebApp2 since both are .NET applications. WebApp2 - ASP.NET V4.8 This can share an App Service plan with WebApp1 since both are .NET applications. WebApp3 - PHP 8.1 This requires a separate App Service plan since it's a different runtime stack (PHP). WebApp4 - Python 3.11 This also requires a separate App Service plan since it's a different runtime stack (Python). So, you need at least two App Service plans: one for WebApp1 and WebApp2 (shared since they both use .NET), and another for WebApp3 and WebApp4 (separate since they use different runtime stacks). The correct answer is B. 2.
upvoted 3 times
...
LemonGremlin
1 year ago
Correct Answer: B .NET: Windows and Linux ASP .NET: Windows only PHP: Windows and Linux Python: Windows and Linux 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 4 times
GoldenDisciple2
12 months ago
Based on your comment, the answer could be 1 if you just use Windows for all of them.
upvoted 2 times
...
...
JeyD
1 year ago
Selected Answer: D
ChatGPT An App Service plan defines a set of compute resources for a web app to run. These compute resources are analogous to the server farm in conventional web hosting. One or more apps can be configured to run on the same computing resources (or in the same App Service plan)1. In your case, you plan to create four Azure Web Apps with different runtime stacks: .NET 6 (LTS), ASP.NET v4.8, PHP 8.1, and Python 3.11. Since each of these web apps uses a different runtime stack, you should create a minimum of four App Service plans, one for each web app2. This will ensure that each web app can run on the appropriate runtime stack.
upvoted 1 times
JackGelder
3 months, 2 weeks ago
Chat GRP is wrong. Only OS matters that support technology stack matters, but not stack itself. For example, you can run both python and .NET Core apps on single Linux plan. So answer is 2, because python is supported only on linux and ASP.NET v4.8 - windows only. Other stacks are for either linux or windows
upvoted 1 times
JackGelder
3 months, 2 weeks ago
I meant ChatGPT
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