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

Configuring private and public IP addresses

In this demonstration, we are going to configure a private and a public IP address. When we created the VNet, a private IP address was already created for us automatically by Azure. However, we are going to create another in this demonstration and associate it, together with the public IP address, to a network interface card (NIC). To configure a private and public IP address from PowerShell, you have to take the following steps:

  1. In the same PowerShell window, add the following code to retrieve the VNet and subnet configuration:
$vnet = Get-AzVirtualNetwork -Name PacktVirtualNetwork -ResourceGroupName PacktVNetResourceGroup
$subnet = Get-AzVirtualNetworkSubnetConfig -Name default -VirtualNetwork $vnet
  1. Next, create a private and public IP address and assign them to the configuration as follows:
$publicIP = New-AzPublicIpAddress `
...