Unit5 - Subjective Questions

INT327 • Practice Questions with Detailed Answers

1

Explain the fundamental concept of a virtual machine (VM) in Azure and describe two primary use cases where VMs are often the preferred compute resource over other options like containers or serverless functions.

2

Compare and contrast Azure Availability Sets and Availability Zones, explaining how each contributes to enhancing the availability of virtual machines. Provide a scenario where one might be preferred over the other.

3

Describe the typical sequence of Azure CLI commands required to create a new Linux virtual machine in Azure, including creating a resource group, a virtual network, and the VM itself. Assume you want to use SSH for access and generate a new SSH key pair.

4

What is an Azure App Service Plan, and why is it a crucial component when deploying web applications to Azure App Service? Discuss how different pricing tiers (e.g., Free, Basic, Standard, Premium) impact application performance, scalability, and features.

5

Explain the utility of Deployment Slots in Azure App Service. How do they facilitate safe application deployments and minimize downtime?

6

Define Azure Container Instances (ACI) and identify three scenarios where ACI would be a more suitable choice for deploying containerized applications compared to a full-fledged Azure Kubernetes Service (AKS) cluster.

7

Outline the step-by-step process of hosting a .NET Core web application on Azure App Service, assuming the code is available in a GitHub repository. Include considerations for deployment methods and application settings.

8

Describe the primary purpose of an Azure Backup Vault (also known as a Recovery Services Vault when performing backup operations) and explain how it helps in ensuring business continuity for Azure resources. Name at least three types of workloads it can protect.

9

A company needs to ensure maximum uptime for a critical database server running on an Azure VM. Discuss the Azure services and configurations you would recommend to achieve high availability and disaster recovery for this VM.

10

How can you configure a custom domain name for an Azure App Service web application? Detail the necessary steps both in Azure and with the domain registrar.

11

Explain the "per-second billing" model of Azure Container Instances and how it differentiates ACI's cost efficiency for burstable or short-lived workloads compared to traditional VMs.

12

Distinguish between Azure Standard SSD and Premium SSD for VM storage, highlighting their typical use cases and performance characteristics.

13

Imagine a scenario where a web application experiences sudden spikes in traffic. How can an Azure App Service Plan be configured to automatically scale out the application to handle increased load? Explain the role of autoscaling rules.

14

Using Azure CLI, how would you attach an existing data disk to a running Azure virtual machine? Provide the necessary command and explain the key parameters.

15

A user accidentally deleted an important file from an Azure VM that is protected by a Backup Vault. Describe the process of restoring that specific file using Azure Backup.

16

What are Environment Variables in Azure App Service, and why are they crucial for managing application settings, especially in different deployment environments (e.g., development, staging, production)?

17

Briefly explain the concept of "VM Extensions" in Azure. Provide two examples of common VM extensions and their functionalities.

18

Compare Azure Container Instances (ACI) with Azure App Service Containers. When would you choose one over the other for deploying a single containerized application?

19

Discuss the concept of "fault domains" and "update domains" within an Azure Availability Set. How do they work together to ensure VM availability during planned and unplanned maintenance events?

20

Explain the concept of "backup policy" within Azure Backup. What are the key configurable components of a backup policy, and how do they determine the backup and retention strategy for protected resources?

21

Explain the concept of "virtual machine scale sets" in Azure and differentiate them from traditional individual Azure Virtual Machines. When would you opt for a VM Scale Set?

22

Describe how you would configure basic networking for an Azure VM using the Azure CLI, including creating a virtual network, subnet, public IP, and network security group to allow SSH access.

23

What is the primary function of an "App Service plan" in Azure, and how does it relate to the billing of Azure App Service applications?

24

A web application deployed on Azure App Service is experiencing slow response times during peak hours. What are three distinct strategies you could implement within Azure App Service to improve its performance and responsiveness?

25

What are the advantages of using Azure App Service to host web applications compared to deploying them on Azure Virtual Machines?

26

Azure App Service offers various runtime stacks like .NET, Node.js, Python, Java, etc. How does Azure App Service provide this multi-language support, and what considerations should a developer make when choosing a runtime for their application?

27

What are the core components of an Azure Virtual Machine, and how do they interact to provide a functional server in the cloud?

28

Explain the concept of "managed disks" in Azure and list two key benefits they offer over "unmanaged disks" (legacy).