Preventing Accidental Changes to the Homepage App Service Plan | Exam AZ-500 Simulation Answer

Preventing Accidental Changes to the Homepage App Service Plan

Question

SIMULATION -

You need to prevent administrators from performing accidental changes to the Homepage app service plan.

To complete this task, sign in to the Azure portal.

Explanations

See the explanation below.

You need to configure a 'lock' for the app service plan. A read-only lock ensures that no one can make changes to the app service plan without first deleting the lock.

1. In the Azure portal, type App Service Plans in the search box, select App Service Plans from the search results then select Homepage. Alternatively, browse to App Service Plans in the left navigation pane.

2. In the properties of the app service plan, click on Locks.

3. Click the Add button to add a new lock.

4. Enter a name in the Lock name field. It doesn't matter what name you provide for the exam.

5. For the Lock type, select Read-only.

6. Click OK to save the changes.

To prevent administrators from performing accidental changes to the Homepage app service plan in Azure, you can use the following steps:

  1. Sign in to the Azure portal (https://portal.azure.com/).
  2. Navigate to the "App Service Plans" blade from the left-hand menu.
  3. Select the app service plan that you want to protect.
  4. Click on the "Access control (IAM)" blade from the left-hand menu.
  5. Click on the "Add" button to add a new role assignment.
  6. In the "Add role assignment" panel, select "Reader" as the role.
  7. In the "Select" box, search for the name of the administrator or the admin group you want to protect, and select it from the list.
  8. Click on the "Save" button to add the role assignment.

By following these steps, you have effectively prevented the administrators from performing any accidental changes to the Homepage app service plan. The "Reader" role provides view-only access, which means that the administrators can see the app service plan but cannot make any changes to it.