Connect a workload to the right hosting platform
Choose a host for a web app, function or VM and trace private connections back to the client.
Trace a web request into a private service
A team wants managed hosting for a standard web application, private connectivity to storage and a background function when an upload arrives. A separate application requires a custom guest driver. Where does each requirement belong?
Comparing execution models
Functions run event-triggered code without requiring the author to operate VMs. Choose containers for packaged runtime dependencies and VMs for OS control. Match duration and networking to the hosting plan.
Operating a VM fleet
Scale sets manage a group of similar VMs and can change the instance count. Availability sets distribute VMs across fault and update domains. Azure Virtual Desktop supplies remote desktops and applications.
Required VM networking
A VM needs compute, an OS disk and network connectivity. A NIC attaches it to a subnet in a virtual network. Public IP addresses and separate data disks depend on the workload.
Managed web hosting
App Service hosts supported web runtimes and containers and offers features such as deployment slots on eligible tiers. It suits an HTTP application whose team wants platform-managed hosting.
Connecting virtual networks
Peering connects virtual networks using private IP routing over the Microsoft backbone. Subnets divide a network, Azure DNS resolves names, VPN Gateway can encrypt an internet path and ExpressRoute provides private connectivity from on premises.
Accessing a service privately
A private endpoint places a private IP interface in a VNet for a supported service. Configure DNS so clients resolve the intended address and separately restrict public access where required.
Work through the decision
Compare your reasoning
Use App Service for supported web runtimes, a private endpoint with correct DNS for storage, and a function triggered by uploads. Put the custom driver on a VM. A VM needs a disk, network interface, virtual network and subnet. A public IP is optional.
Change one constraint
The business now requires branch connectivity and persistent user desktops. What options should it compare?
Check your answer
A VPN gateway supplies encrypted connectivity across a public network. ExpressRoute supplies private connectivity through a provider. Peering connects eligible VNets. Azure Virtual Desktop delivers desktops. Scale Sets manage VM fleets and availability sets separate fault and update domains within their scope.
Revisit the demonstration
VM scale and desktop examples both involve virtual machines but serve different needs. Match a growing worker fleet and an employee desktop to the correct offering. Compute Services · 1:44:28.
The App Service deployment discusses runtimes, plans and slots. Write down which parts of an application release remain under the developer’s control. Azure App Service · 2:06:57.
The container instance example changes execution settings. Explain why persistence and restart behavior must be designed separately from choosing an image. Azure Container Instances · 2:27:13.
The networking walkthrough links subnets, gateways and peering. Draw the route to a branch office and the route between two virtual networks. Virtual Networking · 2:34:49.
Sources and further practice
Microsoft exam guide for this objective · Microsoft documentation for this case
Compare the decision in the other cloud. Select a compute model from the unit of work (CLF-C02).
Connect a workload to the right hosting platform quiz
Answer 6 questions. Check each answer for an explanation.