exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 3 question 10 discussion

Actual exam question from Microsoft's AZ-303
Question #: 10
Topic #: 3
[All AZ-303 Questions]

You have an Azure web app that runs in a Premium App Service plan.
Developers plan to update the app weekly.
You need to ensure that the app can be switched from the current version to the new version. The solution must meet the following requirements:
✑ Provide the developers with the ability to test the app in Azure prior to switching versions. Testing must use the same app instance.
✑ Ensure that the app version can be rolled back.
✑ Minimize downtime.
What should you do?

  • A. Create a deployment slot.
  • B. Copy the App Service plan.
  • C. Add an instance of the app to the scale set.
  • D. Create an Azure Active Directory (Azure AD) enterprise application.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Azure Functions deployment slots allow your function app to run different instances called "slots". Slots are different environments exposed via a publicly available endpoint. One app instance is always mapped to the production slot, and you can swap instances assigned to a slot on demand.
There are a number of advantages to using deployment slots. The following scenarios describe common uses for slots:
✑ Different environments for different purposes: Using different slots gives you the opportunity to differentiate app instances before swapping to production or a staging slot.
✑ Easy fallbacks: After a swap with production, the slot with a previously staged app now has the previous production app. If the changes swapped into the production slot aren't as you expect, you can immediately reverse the swap to get your "last known good instance" back.

Prewarming -

Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-deployment-slots

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
xaccan
Highly Voted 4 years, 6 months ago
A is correct: https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
upvoted 24 times
Miffy
4 years, 5 months ago
The sample answer is correct, but not its explanation link. Yours is the good one. Thanks.
upvoted 5 times
...
...
jd94
Highly Voted 4 years, 1 month ago
6/12/2021. Passed the exam. Deployment slot.
upvoted 6 times
...
sandeepmalik
Most Recent 3 years, 4 months ago
In today's exam. Score 900+ Correct answer.
upvoted 1 times
...
moon2351
3 years, 5 months ago
A is correct
upvoted 1 times
...
nd78
3 years, 6 months ago
on Exam today 21st Jan, 2022
upvoted 1 times
...
tomatosis
3 years, 7 months ago
On exam 23 Dec 2021, I chose the same
upvoted 1 times
...
Dpejic
3 years, 8 months ago
On exam today 22/11/21 Score 839
upvoted 2 times
...
edmacoar123
3 years, 8 months ago
On exam today 19/11/21. Correct answer. Score 860.
upvoted 2 times
...
syu31svc
3 years, 11 months ago
When you deploy your web app, web app on Linux, mobile back end, or API app to Azure App Service, you can use a separate deployment slot instead of the default production slot when you're running in the Standard, Premium, or Isolated App Service plan tier. Deployment slots are live apps with their own host names. App content and configurations elements can be swapped between two deployment slots, including the production slot. https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots A is correct
upvoted 2 times
...
VMUN
4 years, 1 month ago
26-June-21, Passed the exam. Correct Answer
upvoted 5 times
...
TSMRE
4 years, 1 month ago
On exam 6/7/21
upvoted 3 times
...
Schandra
4 years, 6 months ago
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 ...