MCQs on Setting Up Azure Virtual Machines | Azure VM

Setting up Azure Virtual Machines (VMs) is essential for scalable, on-demand computing power in the cloud. In this guide, learn the basics of creating an Azure VM, choosing VM images and sizes, and managing resource groups and regions to ensure efficient organization and deployment of cloud resources. Here are 30 multiple-choice questions covering these topics.


Chapter 2: Setting Up Azure VMs

Creating an Azure VM

  1. Which of the following steps is the first in creating an Azure VM?
    • A) Selecting the OS image
    • B) Configuring network settings
    • C) Naming the VM
    • D) Choosing a resource group
  2. In the Azure portal, where do you start to create a new VM?
    • A) Virtual Machines tab
    • B) Resource Groups tab
    • C) Network Security tab
    • D) Subscription tab
  3. Which of these is a required parameter when creating an Azure VM?
    • A) Region
    • B) Network interface name
    • C) OS type only
    • D) Billing plan
  4. What is used to automate Azure VM deployments in Azure Resource Manager (ARM)?
    • A) Azure CLI
    • B) PowerShell
    • C) ARM Templates
    • D) Microsoft Excel
  5. In an Azure VM, what allows users to connect via remote desktop?
    • A) HTTPS
    • B) RDP
    • C) FTP
    • D) SSH

VM Images and Sizes

  1. What are VM images in Azure primarily used for?
    • A) Storing user data
    • B) Defining the operating system and configurations
    • C) Setting up VM scaling policies
    • D) Allocating resource groups
  2. Which of the following can be included in an Azure VM image?
    • A) Operating System
    • B) Network configurations
    • C) Subscription details
    • D) Billing settings
  3. How does selecting a larger VM size impact costs in Azure?
    • A) Reduces costs
    • B) Increases costs
    • C) Has no effect on costs
    • D) Depends on the region
  4. Which VM size is best for high-performance computing in Azure?
    • A) B-series
    • B) A-series
    • C) E-series
    • D) H-series
  5. If a VM image isn’t available in your region, what should you do?
    • A) Create a new image
    • B) Change to another region
    • C) Select another VM size
    • D) Restart the portal
  6. VM sizes in Azure are grouped into series. Which of the following is suitable for general-purpose workloads?
    • A) B-series
    • B) E-series
    • C) D-series
    • D) L-series
  7. What does the F-series VM size specialize in?
    • A) GPU-intensive tasks
    • B) Memory optimization
    • C) CPU-bound tasks
    • D) Storage optimization

Resource Groups and Regions

  1. What is the main purpose of a resource group in Azure?
    • A) To organize Azure resources
    • B) To manage network settings
    • C) To handle billing information
    • D) To control virtual network rules
  2. Which feature allows you to deploy resources in multiple regions using a single resource group?
    • A) Availability Zones
    • B) Resource Group Cloning
    • C) Regional Replication
    • D) Global Resource Distribution
  3. Can you move an Azure VM to another resource group after it has been created?
    • A) Yes
    • B) No
    • C) Only within the same region
    • D) Only if the VM is stopped
  4. Why might you select a specific region when creating an Azure VM?
    • A) To reduce network latency
    • B) For cost benefits
    • C) For compliance and data residency
    • D) All of the above
  5. What happens if the primary region hosting your VM experiences an outage?
    • A) Resources become inaccessible
    • B) Resources automatically move to another region
    • C) VM size is downgraded
    • D) Resource group settings change
  6. Which feature helps ensure high availability within a specific Azure region?
    • A) Resource groups
    • B) Availability Zones
    • C) Network Security Groups
    • D) Cost Management
  7. How can a resource group’s resources be deployed consistently across multiple environments?
    • A) Using ARM templates
    • B) Creating separate subscriptions
    • C) Assigning different administrators
    • D) Switching VM sizes
  8. Which factor should be considered when choosing a region for an Azure VM?
    • A) Data residency requirements
    • B) Local currency support
    • C) Size of the VM
    • D) Number of administrators

Mixed Questions

  1. Which tool is NOT commonly used for creating Azure VMs?
    • A) Azure CLI
    • B) Visual Studio Code
    • C) Azure PowerShell
    • D) SQL Server Management Studio
  2. Azure provides several VM images. What is the typical format of an Azure Marketplace VM image?
    • A) OS-Application-Configuration
    • B) Region-OS-Version
    • C) Publisher-Offer-SKU
    • D) Cost-Region-OS
  3. Which storage option is generally recommended for Azure VMs running critical workloads?
    • A) Standard HDD
    • B) Standard SSD
    • C) Premium SSD
    • D) Standard Blob
  4. What is a key advantage of creating resource groups?
    • A) Better resource organization and management
    • B) Reduced cost
    • C) Improved data analysis
    • D) Faster performance
  5. How do Availability Zones contribute to Azure VM setup?
    • A) By providing data storage options
    • B) By improving high availability
    • C) By increasing compute power
    • D) By reducing memory requirements
  6. When would you use the az vm create command?
    • A) To start an existing VM
    • B) To create a new VM
    • C) To resize a VM
    • D) To update VM software
  7. Which Azure VM series is designed for large databases or memory-intensive applications?
    • A) D-series
    • B) G-series
    • C) B-series
    • D) A-series
  8. What is the main benefit of selecting a VM region close to the end-users?
    • A) Lower costs
    • B) Better compliance
    • C) Lower latency
    • D) Higher resource group limits
  9. Azure VM images are updated regularly. Why is this beneficial?
    • A) It reduces setup times
    • B) It provides the latest security and feature updates
    • C) It improves performance
    • D) It reduces the cost of the VM
  10. Which Azure VM series is optimized for storage and offers high disk throughput?
    • A) L-series
    • B) B-series
    • C) F-series
    • D) E-series

Answer Key

QnoAnswer
1D) Choosing a resource group
2A) Virtual Machines tab
3A) Region
4C) ARM Templates
5B) RDP
6B) Defining the operating system and configurations
7A) Operating System
8B) Increases costs
9D) H-series
10B) Change to another region
11C) D-series
12C) CPU-bound tasks
13A) To organize Azure resources
14A) Availability Zones
15A) Yes
16D) All of the above
17A) Resources become inaccessible
18B) Availability Zones
19A) Using ARM templates
20A) Data residency requirements
21D) SQL Server Management Studio
22C) Publisher-Offer-SKU
23C) Premium SSD
24A) Better resource organization and management
25B) By improving high availability
26B) To create a new VM
27B) G-series
28C) Lower latency
29B) It provides the latest security and feature updates
30A) L-series

Use a Blank Sheet, Note your Answers and Finally tally with our answer at last. Give Yourself Score.

X
error: Content is protected !!
Scroll to Top