0
0
Azurecloud~20 mins

Serverless vs PaaS vs IaaS decision in Azure - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Cloud Service Model Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Choosing the best Azure service model for a simple event-driven app

You want to build a small app that runs code only when a user uploads a file. You want to pay only when the code runs and avoid managing servers.

Which Azure service model fits best?

AAzure Blob Storage because it stores files but does not run code.
BAzure Virtual Machines (IaaS) because you get full control over the server and can install any software.
CAzure App Service (PaaS) because it automatically scales but you pay for reserved compute even if idle.
DAzure Functions (Serverless) because it runs code on demand and you pay per execution.
Attempts:
2 left
💡 Hint

Think about paying only when code runs and not managing servers.

Architecture
intermediate
2:00remaining
Selecting Azure service model for a web app needing custom OS configuration

You need to deploy a web app that requires installing custom OS software and full control over the environment.

Which Azure service model should you choose?

AAzure App Service (PaaS) because it manages OS and runtime for you.
BAzure Functions (Serverless) because it automatically scales without OS management.
CAzure Virtual Machines (IaaS) because it gives full control over OS and software installation.
DAzure Logic Apps because it is for workflow automation, not custom OS control.
Attempts:
2 left
💡 Hint

Think about needing full OS control and custom software installation.

Best Practice
advanced
2:00remaining
Cost optimization for a continuously running web app with moderate traffic

You have a web app that runs 24/7 with moderate traffic. You want to minimize management overhead and optimize cost.

Which Azure service model is the best choice?

AAzure App Service (PaaS) to reduce management overhead and pay for reserved compute.
BAzure Virtual Machines (IaaS) to control costs by managing VM size and uptime.
CAzure Functions (Serverless) because it charges only when code runs, ideal for continuous apps.
DAzure Container Instances because they are for short-lived containers, not continuous apps.
Attempts:
2 left
💡 Hint

Consider a service that reduces management but supports continuous running.

security
advanced
2:00remaining
Security responsibility in Azure service models

Which Azure service model requires you to manage the most security responsibilities, including OS patching and network configuration?

AAzure Virtual Machines (IaaS) because you manage OS, network, and app security.
BAzure App Service (PaaS) because you manage app security but not OS patching.
CAzure Functions (Serverless) because you manage code security only.
DAzure SQL Database (PaaS) because Microsoft manages OS and database security.
Attempts:
2 left
💡 Hint

Think about who manages OS and network security in each model.

service_behavior
expert
2:00remaining
Behavior of Azure Functions under heavy load

You deploy an Azure Function with a consumption plan. What happens when many events trigger the function simultaneously?

AAzure Functions queue the events and process them one by one on a single instance.
BAzure Functions automatically scale out by creating more instances to handle the load.
CAzure Functions reject new events until the current instance finishes processing all events.
DAzure Functions require manual scaling to handle increased load.
Attempts:
2 left
💡 Hint

Think about serverless scaling behavior on demand.