{
    "id": "f3756abd-01e7-4eb8-914b-84b982f5977a",
    "name": "Manage Resource Locks",
    "slug": "manage-resource-locks",
    "status": "published",
    "lab_type": "azure",
    "is_sample": false,
    "duration_in_seconds": 1200,
    "metadata": {},
    "session": null,
    "company": "a491bc32-c056-4946-9169-cc053387bada",
    "created": "2020-08-11T12:14:09.184376Z",
    "modified": "2023-10-03T18:59:10.323880Z",
    "is_beta": false,
    "lab_objectives": [],
    "main_learning_area": null,
    "learning_areas": [],
    "categories": [],
    "tags": [],
    "difficulty": null,
    "is_web_access": false,
    "is_lab_experience": false,
    "is_featured": false,
    "cve": null,
    "severity": null,
    "year": null,
    "classification": null,
    "is_trackable": false,
    "cpe_credits": null,
    "is_skill_check": false,
    "external_url": "https://portal.azure.com/",
    "solution_video": "caaef948-ad44-4a8f-9330-af3cf13347c2",
    "explanation_video": null,
    "description": "# Task: Manage Resource Locks\n\n## Video: Resource Locks\n\n**Estimated time:** 5 minutes\n\n## Goal\n\nThe goal of this task is to verify the function of ARM resource locks.  This includes creating resource level and resource group level locks and verify that they prevent unwanted changes to resources.\n\n## Pre-requisites\n\n1. Non-production Azure subscription\n2. Resource group named **task-lock-rg**\n3. Several resources in the **task-lock-rg** resource group\n\n## Requirements\n\n1. Requirement 1: Lock a resource\n1. Requirement 2: Lock a resource group\n\n## Pre-requisite setup\n\nFor this task, you will need to start with a resource group named **task-lock-rg**.  The resource group should contain the following resources:\n\n1. A route table named **lock-rt**\n2. A network security group (NSG) named **lock-nsg**\n3. A virtual network named **lock-vnet**\n\nYou can deploy the resources to your subscription by running the following from a bash cloud shell:\n\n```bash\ncurl https://inedemoassets.blob.core.windows.net/taskfiles/azure_admin/deploy-3509T050-pre.sh | sh\n```\n\n## Requirement 1: Lock a resource\n\nFor this requirement you will create a read-only lock for the **lock-rt** route table.  You will then attempt to change the **Virtual network gateway route propagation** setting (if it is disabled, attempt to set it to enabled and save, or vise-versa).  Finally you will attempt to delete the **task-lock-rg** resource group.\n\n## Requirement 2: Lock a resource group\n\nFor this requirement you will crete a delete lock on the **task-lock-rg** resource group.  You will then attempt to delete the **lock-nsg** network security group.\n\n## Cleanup\n\nTo clean up this task, first delete both locks (resource level and resource group level), then delete the **task-lock-rg** resource group.",
    "description_html": "<h1>Task: Manage Resource Locks</h1>\n<h2>Video: Resource Locks</h2>\n<p><strong>Estimated time:</strong> 5 minutes</p>\n<h2>Goal</h2>\n<p>The goal of this task is to verify the function of ARM resource locks.  This includes creating resource level and resource group level locks and verify that they prevent unwanted changes to resources.</p>\n<h2>Pre-requisites</h2>\n<ol>\n<li>Non-production Azure subscription</li>\n<li>Resource group named <strong>task-lock-rg</strong></li>\n<li>Several resources in the <strong>task-lock-rg</strong> resource group</li>\n</ol>\n<h2>Requirements</h2>\n<ol>\n<li>Requirement 1: Lock a resource</li>\n<li>Requirement 2: Lock a resource group</li>\n</ol>\n<h2>Pre-requisite setup</h2>\n<p>For this task, you will need to start with a resource group named <strong>task-lock-rg</strong>.  The resource group should contain the following resources:</p>\n<ol>\n<li>A route table named <strong>lock-rt</strong></li>\n<li>A network security group (NSG) named <strong>lock-nsg</strong></li>\n<li>A virtual network named <strong>lock-vnet</strong></li>\n</ol>\n<p>You can deploy the resources to your subscription by running the following from a bash cloud shell:</p>\n<pre class=\"codehilite\"><code class=\"language-bash\">curl https://inedemoassets.blob.core.windows.net/taskfiles/azure_admin/deploy-3509T050-pre.sh | sh</code></pre>\n\n<h2>Requirement 1: Lock a resource</h2>\n<p>For this requirement you will create a read-only lock for the <strong>lock-rt</strong> route table.  You will then attempt to change the <strong>Virtual network gateway route propagation</strong> setting (if it is disabled, attempt to set it to enabled and save, or vise-versa).  Finally you will attempt to delete the <strong>task-lock-rg</strong> resource group.</p>\n<h2>Requirement 2: Lock a resource group</h2>\n<p>For this requirement you will crete a delete lock on the <strong>task-lock-rg</strong> resource group.  You will then attempt to delete the <strong>lock-nsg</strong> network security group.</p>\n<h2>Cleanup</h2>\n<p>To clean up this task, first delete both locks (resource level and resource group level), then delete the <strong>task-lock-rg</strong> resource group.</p>",
    "tasks": "",
    "tasks_html": "",
    "published_date": "2020-04-07T18:00:00Z",
    "solutions": "",
    "solutions_html": "",
    "flags": [],
    "min_points_to_pass": null,
    "access_type": "default",
    "user_status": "unstarted",
    "user_lab_status": null,
    "user_status_modified": null,
    "user_flags": []
}