Book Image

Implementing Microsoft Azure Architect Technologies: AZ-303 Exam Prep and Beyond - Second Edition

By : Brett Hargreaves, Sjoukje Zaal
Book Image

Implementing Microsoft Azure Architect Technologies: AZ-303 Exam Prep and Beyond - Second Edition

By: Brett Hargreaves, Sjoukje Zaal

Overview of this book

From designing solutions on Azure to configuring and managing virtual networks, the AZ-303 certification validates your knowledge and skills for all this and much more. Whether you want to take the certification exam or gain hands-on experience in administering, developing, and architecting Azure solutions, this study guide will help you get started. Divided into four modules, this book systematically takes you through the wide range of concepts and features covered in the AZ-303 exam. The first module demonstrates how to implement and monitor infrastructure. You'll develop the skills required to deploy and manage core Azure components such as virtual machines, networking, storage, and Active Directory (AD). As you progress, you'll build on that knowledge and learn how to create resilient and secure applications before moving on to working with web apps, functions, and containers. The final module will get you up to speed with data platforms such as SQL and Cosmos DB, including how to configure the different high availability options. Finally, you'll solve mock tests and assess yourself with the answers provided to get ready to take the exam with confidence. By the end of this book, you'll have learned the concepts and techniques you need to know to prepare for the AZ-303 exam and design effective solutions on Microsoft Azure.
Table of Contents (25 chapters)
1
Section 1: Implement and Monitor Azure Infrastructure
10
Section 2: Implement Management and Security Solutions
14
Section 3: Implement Solutions for Apps
18
Section 4: Implement and Manage Data Platforms
21
Chapter 17: Mock Exam Questions
22
Chapter 18: Mock Exam Answers

Configuring access to Azure resources by assigning roles

If a user in your organization needs permission to access Azure resources, you need to assign the user to the appropriate role in Azure. In this section, we are going to assign administrator access to a user for a VM. First, we need to run a script in Azure Cloud Shell to create the VM. Let's get started:

  1. Navigate to the Azure portal by opening https://portal.azure.com.
  2. Open Azure Cloud Shell.
  3. First, we need to create a new resource group:
    az group create --location eastus --name PacktVMResourceGroup
  4. Then, we need to create the VM:
    az vm create '
    --resource-group PacktVMResourceGroup '
    --name VM1 '
    --image win2016datacenter '
    --admin-username packtuser '
    --admin-password PacktPassword123
  5. Now that we have the VM in place, we can configure access to the VM for the user. Open the PacktVMResourceGroup resource group and select VM1 from the list.

    You will be redirected to the VM settings...