AZ-900 - Microsoft Azure Fundamentals Azure Compute and Networking Questions and Answers 1 — Questions and Answers
Question 1: A company wants to host a web application in Azure. They require full control over the underlying operating system and want to install custom software. Which Azure compute service is the most appropriate choice?
- Azure App Service
- Azure Functions
- Azure Virtual Machines (Correct answer)
- Azure Container Instances
Correct answer: Azure Virtual Machines
Azure Virtual Machines (VMs) provide Infrastructure-as-a-Service (IaaS), giving users complete control over the operating system and the ability to install any custom software, which meets the company's requirements. Azure App Service is a PaaS offering that abstracts the OS, Azure Functions is for serverless event-driven code, and Container Instances are for running containers without managing servers.
Question 2: What is the primary function of an Azure Virtual Network (VNet)?
- To distribute internet traffic to virtual machines.
- To provide a dedicated, private connection to on-premises datacenters.
- To enable Azure resources to securely communicate with each other, the internet, and on-premises networks. (Correct answer)
- To translate domain names into IP addresses.
Correct answer: To enable Azure resources to securely communicate with each other, the internet, and on-premises networks.
An Azure Virtual Network (VNet) is the fundamental building block for your private network in Azure. It enables many types of Azure resources, such as Azure Virtual Machines (VM), to securely communicate with each other, the internet, and on-premises networks.
Question 3: A development team is building a new web application and wants a Platform-as-a-Service (PaaS) solution that simplifies deployment and management, allowing them to focus on writing code without managing the underlying infrastructure. Which Azure service should they use?
- Azure Virtual Machine Scale Sets
- Azure App Service (Correct answer)
- Azure Kubernetes Service (AKS)
- Azure Virtual Desktop
Correct answer: Azure App Service
Azure App Service is a fully managed PaaS offering designed for building, deploying, and scaling web apps and APIs. It handles the infrastructure, OS patching, and maintenance, allowing developers to focus solely on their application code, which directly matches the scenario's requirements.
Question 4: Which of the following Azure networking services provides a dedicated, private connection between an on-premises network and Azure, bypassing the public internet?
- Azure DNS
- Azure VPN Gateway
- Azure Load Balancer
- Azure ExpressRoute (Correct answer)
Correct answer: Azure ExpressRoute
Azure ExpressRoute lets you extend your on-premises networks into the Microsoft cloud over a private connection facilitated by a connectivity provider. Unlike a VPN Gateway, which sends encrypted traffic over the public internet, ExpressRoute connections do not go over the public internet, offering more reliability, faster speeds, and lower latencies.
Question 5: Your company's e-commerce website experiences high traffic. You need a solution that can make intelligent routing decisions based on the HTTP request's URL path, such as sending traffic for `/images/*` to one pool of servers and `/videos/*` to another. Which Azure service should you use?
- Azure Application Gateway (Correct answer)
- Azure Traffic Manager
- Azure Load Balancer
- Azure Firewall
Correct answer: Azure Application Gateway
Azure Application Gateway is a web traffic load balancer that operates at the application layer (Layer 7). It can make routing decisions based on attributes of an HTTP request, such as URL path or host headers. This capability allows it to perform URL-based routing, which is exactly what the scenario requires. Azure Load Balancer operates at Layer 4 and cannot inspect HTTP content.
Question 6: What is the role of Azure DNS in the Azure ecosystem?
- To provide secure, encrypted connectivity between virtual networks.
- To host DNS domains and manage DNS records for name resolution. (Correct answer)
- To automatically scale virtual machines based on demand.
- To filter network traffic between Azure resources.
Correct answer: To host DNS domains and manage DNS records for name resolution.
Azure DNS is a hosting service for DNS domains that provides name resolution by using Microsoft Azure infrastructure. It allows you to manage the DNS records for your domains, translating human-readable domain names (like www.example.com) into machine-readable IP addresses.
A company wants to host a web application in Azure.
They require full control over the underlying operating system and want to install custom software.
Which Azure compute service is the most appropriate choice?