exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 6 question 24 discussion

Actual exam question from Microsoft's AZ-204
Question #: 24
Topic #: 6
[All AZ-204 Questions]

HOTSPOT -
A software as a service (SaaS) company provides document management services. The company has a service that consists of several Azure web apps. All
Azure web apps run in an Azure App Service Plan named PrimaryASP.
You are developing a new web service by using a web app named ExcelParser. The web app contains a third-party library for processing Microsoft Excel files.
The license for the third-party library stipulates that you can only run a single instance of the library.
You need to configure the service.
How should you complete the script? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
https://docs.microsoft.com/en-us/azure/app-service/manage-scale-per-app

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
huislaw
Highly Voted 3 years, 1 month ago
Answer is correct, -PerSiteScaling $true; $app.SiteConfig.NumberOfWorkers = 1
upvoted 16 times
1CY1
10 months, 1 week ago
Did exam 29 July 2024, passed with a score of 907. Most questions from ExamTopics. This question was in there, went with this answer. One case study in ExamTopics and one I had not seen before about a Coffee Shop. No Logic Apps or Kubernetes.
upvoted 5 times
...
...
WH16
Highly Voted 1 year, 10 months ago
This was on the exam (9th August 2023). Went with proposed.
upvoted 5 times
...
70PineApple
Most Recent 2 years, 3 months ago
Got this in exam today..20/02/23
upvoted 2 times
...
rotimislaw
2 years, 5 months ago
Why PerSiteScaling $true is needed?
upvoted 3 times
Heighte
2 years, 2 months ago
i guess not to impact other apps on the service plan
upvoted 3 times
...
unraval
1 year, 8 months ago
Enable per-app scaling with an existing App Service Plan by passing in the -PerSiteScaling $true parameter to the Set-AzAppServicePlan cmdlet. https://learn.microsoft.com/en-us/azure/app-service/manage-scale-per-app
upvoted 2 times
...
...
OPT_001122
2 years, 6 months ago
Correct PerSiteScaling $true $app.SiteConfig.NumberOfWorkers = 1
upvoted 2 times
...
LGWJ12
2 years, 6 months ago
yes, the Answer is correct.
upvoted 4 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 ...