For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAzure Solutions Architect Expert (AZ-305)Azure Solutions Architect Expert AZ-305 Practice Exam 2Question 41
    Easy1 markMultiple Choice
    Domain 4.1: Compute SolutionsDomain 4Azure FunctionsServerlessCost Optimization

    AZ-305 · Question 41 · Domain 4.1: Compute Solutions

    You are designing a serverless architecture using Azure Functions.

    The function will be triggered by messages in an Azure Service Bus queue. The workload is highly unpredictable; it may process zero messages for days, and then suddenly need to process 10,000 messages in a few minutes.

    Cost optimization is a primary concern. You want to pay ONLY when the function is actively executing code.

    Which hosting plan should you choose?

    Answer options:

    A.

    Premium plan

    B.

    Dedicated (App Service) plan

    C.

    Consumption plan

    D.

    Azure Container Apps

    How to approach this question

    Match 'pay ONLY when executing' and 'unpredictable workload' to the true serverless billing model.

    Full Answer

    C.Consumption plan✓ Correct
    Consumption plan
    The Azure Functions Consumption plan is the true serverless hosting option. It scales automatically based on the number of incoming events (like Service Bus messages). Crucially, it scales to zero when there is no traffic, meaning you incur absolutely no compute charges when the function is idle. Premium and Dedicated plans incur continuous costs.

    Common mistakes

    Choosing Premium plan to handle the sudden spike. While Premium handles spikes well (no cold starts), it violates the strict cost requirement to pay ONLY when executing.
    Question 40All questionsQuestion 42

    Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 2

    55 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01Fabrikam Inc. is a global financial services company with 200 Azure subscriptions managed via a c...HardQ02A healthcare organization has 500 on-premises Windows Server VMs and 300 Azure VMs. They are impl...HardQ03You are designing a security monitoring solution using Microsoft Sentinel. The compliance depar...EasyQ04Your company has a microservices application deployed across multiple Azure App Service instances...MediumQ05A defense contractor is migrating to Microsoft 365 and Azure. They have a strict security policy ...Hard
    View all 55 questions →