Book Image

Microsoft Azure Administrator ??? Exam Guide AZ-103

By : Sjoukje Zaal
Book Image

Microsoft Azure Administrator ??? Exam Guide AZ-103

By: Sjoukje Zaal

Overview of this book

Microsoft Azure Administrator – Exam Guide AZ-103 will cover all the exam objectives that will help you achieve Microsoft Azure Administrator certification. Whether you want to pass the AZ-103 exam or simply want hands-on experience in administering Azure, this study guide will help you achieve your goal. It covers the latest features and capabilities related to configuring, managing, and securing Azure resources. Following Microsoft's AZ-103 exam syllabus, this guide is divided into five modules. The first module helps you understand how to manage Azure subscriptions and resources. You will be able to configure Azure subscription policies at Azure subscription level and even learn how to use Azure policies for resource groups. Later, the book covers techniques related to implementing and managing storage in Azure. You will be able to create and configure backup policies and perform restore operations. The next module will guide you through creating, configuring, and deploying virtual machines for Windows and Linux. In the last two modules, you will learn about configuring and monitoring virtual networks and managing identities. The book concludes with effective mock tests, along with answers to them to help you confidently pass the exam. By the end of this book, you will have developed the skills you need to pass Exam AZ-103 and gain the corresponding certification.
Table of Contents (26 chapters)
Free Chapter
1
Section 1: Managing Azure Subscriptions and Resources
5
Section 2: Implementing and Managing Storage
9
Section 3: Deploying and Managing Virtual Machines
12
Section 4: Deploying and Managing Virtual Networks
18
Section 5: Managing Identities

Creating a custom role

In the following example, we will create a custom role that can only restart VMs in Azure. For this, you need to create a JSON file that will be deployed using PowerShell. We are assigning that role to a user account inside the JSON file, as follows:

  1. You can define the custom role by using the following JSON code. You should set the Id to null because the custom role gets an ID assigned to it at creation. We will add the custom role to two Azure subscriptions, as follows (replace the subscriptions in the AssignableScopes part with your subscription IDs):
 { 
"Name": "Packt Custom Role",
"Id": null,
"IsCustom": true,
"Description": "Allows for read access to Azure Storage, Network and Compute resources and access to support",
"Actions": [
"Microsoft.Compute/*/read"...