Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure and deploy function apps

A worked example

Yes or no

A function app runs on the Flex Consumption plan. Nobody has changed the instance memory size since the app was created. One function loads a large classification model into memory and runs CPU-intensive inference. Response times are inconsistent, and the team wants each inference invocation to have more dedicated compute.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

StatementYesNo
The app's current instance size typically provides one vCPU per instance.

The default instance size is 2,048 MB, which is associated with a typical allocation of one vCPU.

Correct
Raising the per-instance concurrency setting gives each inference invocation more dedicated resources.

Higher concurrency runs more executions in parallel on fewer instances. Lower concurrency spreads load across more instances and gives each invocation more dedicated resources.

Correct
Changing the instance memory size to 4,096 MB doubles the typical vCPU allocation per instance.

The typical CPU allocation increases from one vCPU at 2,048 MB to two vCPUs at 4,096 MB.

Correct
Why

The default 2,048-MB instance size typically provides one vCPU. Moving to 4,096 MB increases the typical allocation to two vCPUs and suits functions that load large models or need more CPU. Lower concurrency reduces competition for instance resources among simultaneous inference invocations.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free