AZ-104考題解析_部署和管理 Azure 計算資源 (20–25%)
Q1.You have an app named App1 that runs on an Azure web app named webapp1. The developers at your company upload an update of App1 to a Git repository named Git1. Webapp1 has the deployment slots shown in the following table. You need to ensure that the App1 update is tested before the update is made available to users. Which two actions should you perform? ○ Stop webapp1-prod. ○ Deploy the App1 update to webapp1-prod, and then test the update. ○ Deploy the App1 update to webapp1-test, and then test the update. ○ Stop webapp1-test. ○ Swap the slots. Azure App Service 部署位置可讓您透過在預備環境中測試變更,再將其推送到生產環境,安全地部署更新。以下是此情境的運作方式: webapp1-prod → 正式環境槽位:這是使用者存取應用程式正式版本的地方。 webapp1-test → 測試/預發環境槽位:這是您在不影響使用者的情況下測試新版本的地方。 Step1.部署到 webapp1-test 確保更新能在正式應用於生產環境前,先在預備環境中進行測試。 Step2.透過位置交換來推播更新。在確認更新於預備位置運作正常後,您會將 webapp1-test 與 webapp1-prod 進行交換。這樣就能讓經過測試的更新無縫上線,不會造成服務中斷。 ======================================================================== Q2.You have an Azure subscription. You ne...