Question 550 of 997
Develop Azure compute solutionseasyMultiple ChoiceObjective-mapped

Quick Answer

The answer is to configure the function app to use a Premium plan to allow longer execution times. This is correct because the Consumption plan enforces a maximum execution timeout of 10 minutes (5 minutes by default), which is insufficient for CPU-intensive long-running Azure Functions that may take up to 30 minutes. The Premium plan, by contrast, supports unlimited execution duration subject to the functionTimeout setting, and provides dedicated, pre-warmed instances ideal for resource-heavy workloads. On the AZ-204 exam, this scenario tests your understanding of Azure Functions hosting plan limits and scaling behaviors—a common trap is assuming the Consumption plan’s timeout can be extended, but it cannot beyond 10 minutes. Remember the memory tip: “Consumption caps at ten, Premium lets you run again and again.”

AZ-204 Develop Azure compute solutions Practice Question

This AZ-204 practice question tests your understanding of develop azure compute solutions. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You are developing an Azure Function that runs on a Consumption plan. The function needs to process a large file uploaded to Azure Blob Storage. The processing is CPU-intensive and may take up to 30 minutes. What should you use to implement the function?

Question 1easymultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Configure the function app to use a Premium plan to allow longer execution times.

Azure Functions on a Consumption plan have a maximum execution timeout of 10 minutes (or 5 minutes by default). For CPU-intensive processing that may take up to 30 minutes, you must use a Premium plan, which supports unlimited execution duration (subject to the functionTimeout setting, which can be set up to 60 minutes by default and up to unlimited if configured). The Premium plan also provides dedicated instances and pre-warmed workers, which are suitable for long-running, resource-intensive workloads.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use a blob trigger and set the batchSize to 1 to avoid timeouts.

    Why it's wrong here

    Batch size does not affect execution timeout.

  • Configure the function app to use a Premium plan to allow longer execution times.

    Why this is correct

    Premium plan allows up to 60 minutes execution time.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Set the functionTimeout in host.json to 30 minutes on the Consumption plan.

    Why it's wrong here

    The Consumption plan has a hard limit of 10 minutes max.

  • Create an orchestrator function using Durable Functions to manage the processing.

    Why it's wrong here

    Durable Functions can handle long-running processes but still requires a plan that supports the timeout.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume they can simply increase the functionTimeout in host.json on a Consumption plan, not realizing that the Consumption plan enforces a hard cap of 10 minutes regardless of the setting.

Detailed technical explanation

How to think about this question

Under the hood, the Consumption plan uses a shared, dynamic scaling model where function instances are recycled after the timeout period to free resources for other tenants. The Premium plan, in contrast, provides dedicated instances with always-available workers and supports a configurable functionTimeout up to 60 minutes (or unlimited with the 'unlimited' setting). In real-world scenarios, if you need to process a large file (e.g., video transcoding or data transformation) that exceeds 10 minutes, you must either switch to a Premium plan or use an alternative compute service like Azure Batch or Azure Container Instances.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-204 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-204 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-204 question test?

Develop Azure compute solutions — This question tests Develop Azure compute solutions — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Configure the function app to use a Premium plan to allow longer execution times. — Azure Functions on a Consumption plan have a maximum execution timeout of 10 minutes (or 5 minutes by default). For CPU-intensive processing that may take up to 30 minutes, you must use a Premium plan, which supports unlimited execution duration (subject to the functionTimeout setting, which can be set up to 60 minutes by default and up to unlimited if configured). The Premium plan also provides dedicated instances and pre-warmed workers, which are suitable for long-running, resource-intensive workloads.

What should I do if I get this AZ-204 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More AZ-204 practice questions

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.