Microsoft AZ-305 Serverless and Batch Compute Design Practice Test

 

Topic 19 focuses on Serverless and Batch Compute Design for the Microsoft Certified: Azure Solutions Architect Expert certification and the AZ-305 exam, using Microsoft Azure solution-architecture scenarios. For broader exam preparation, review the Microsoft Azure Solutions Architect Expert AZ-305 Exam Dumps page. Each question includes a concise explanation of the correct answer and the technical reason the other choices are incorrect.

Question 1

To execute recurring serverless tasks without a separate scheduler, which Azure design option should be selected?

  1. Azure Functions Premium plan
  2. Timer trigger
  3. Azure Logic Apps
  4. Scale-to-zero

Correct Answer: B

 

Correct Answer

Answer B is correct because Timer trigger runs an Azure Function on a configured schedule. It directly meets the requirement to execute recurring serverless tasks without a separate scheduler.

Incorrect Answers

Answer A is incorrect because Azure Functions Premium plan is used to support serverless workloads that need reduced cold starts or advanced network integration; that does not directly satisfy the requirement in this scenario.

Answer C is incorrect because Azure Logic Apps is used to automate integration workflows with minimal custom code; that does not directly satisfy the requirement in this scenario.

Answer D is incorrect because Scale-to-zero is used to avoid paying for idle compute when workload latency requirements allow cold starts; that does not directly satisfy the requirement in this scenario.

 

Question 2

To minimize management and cost for bursty event-driven serverless code, which Azure design option should be selected?

  1. Container Apps jobs
  2. Azure Functions Consumption plan
  3. Azure Logic Apps
  4. Azure Functions Premium plan

Correct Answer: B

 

Correct Answer

Answer B is correct because Azure Functions Consumption plan is designed to minimize management and cost for bursty event-driven serverless code. Azure Functions Consumption plan runs event-driven functions with automatic scale and usage-based billing for suitable workloads.

Incorrect Answers

Answer A is incorrect because Container Apps jobs can be useful in Azure architectures, but its primary role is to run containerized batch tasks without managing a full cluster; it is not the best match for the stated priority.

Answer C is incorrect because Azure Logic Apps can be useful in Azure architectures, but its primary role is to automate integration workflows with minimal custom code; it is not the best match for the stated priority.

Answer D is incorrect because Azure Functions Premium plan can be useful in Azure architectures, but its primary role is to support serverless workloads that need reduced cold starts or advanced network integration; it is not the best match for the stated priority.

 

Question 3

When considering Azure Batch, which requirement supports that choice?

  1. To run containerized batch tasks without managing a full cluster.
  2. To avoid paying for idle compute when workload latency requirements allow cold starts.
  3. To process reliable asynchronous business messages with serverless compute.
  4. To execute large parallel batch workloads with explicit job and pool control.

Correct Answer: D

 

Correct Answer

Answer D is correct because Azure Batch schedules and runs large-scale parallel and high-performance computing jobs across managed pools of compute nodes.

Incorrect Answers

Answer A is incorrect because that outcome is more directly associated with Container Apps jobs, not Azure Batch.

Answer B is incorrect because that outcome is more directly associated with Scale-to-zero, not Azure Batch.

Answer C is incorrect because that outcome is more directly associated with Service Bus trigger, not Azure Batch.

 

Question 4

To avoid paying for idle compute when workload latency requirements allow cold starts, which Azure design option should be selected?

  1. Azure Functions Consumption plan
  2. Scale-to-zero
  3. Azure Batch
  4. Durable Functions

Correct Answer: B

 

Correct Answer

Answer B is correct because Scale-to-zero is designed to avoid paying for idle compute when workload latency requirements allow cold starts. Scale-to-zero allows supported serverless or container platforms to reduce active instances to zero when idle.

Incorrect Answers

Answer A is incorrect because Azure Functions Consumption plan can be useful in Azure architectures, but its primary role is to minimize management and cost for bursty event-driven serverless code; it is not the best match for the stated priority.

Answer C is incorrect because Azure Batch can be useful in Azure architectures, but its primary role is to execute large parallel batch workloads with explicit job and pool control; it is not the best match for the stated priority.

Answer D is incorrect because Durable Functions can be useful in Azure architectures, but its primary role is to implement reliable stateful serverless workflows in code; it is not the best match for the stated priority.

 

Question 5

To implement reliable stateful serverless workflows in code, which Azure design option should be selected?

  1. Container Apps jobs
  2. Azure Logic Apps
  3. Service Bus trigger
  4. Durable Functions

Correct Answer: D

 

Correct Answer

Answer D is correct because Durable Functions extends Azure Functions with stateful workflow patterns such as orchestration, fan-out/fan-in, and human interaction. It directly meets the requirement to implement reliable stateful serverless workflows in code.

Incorrect Answers

Answer A is incorrect because Container Apps jobs is used to run containerized batch tasks without managing a full cluster; that does not directly satisfy the requirement in this scenario.

Answer B is incorrect because Azure Logic Apps is used to automate integration workflows with minimal custom code; that does not directly satisfy the requirement in this scenario.

Answer C is incorrect because Service Bus trigger is used to process reliable asynchronous business messages with serverless compute; that does not directly satisfy the requirement in this scenario.

 

Question 6

A solution architect needs to support serverless workloads that need reduced cold starts or advanced network integration. Which Azure service or capability is the best fit?

  1. Azure Functions Premium plan
  2. Event Grid trigger
  3. Durable Functions
  4. Azure Batch

Correct Answer: A

 

Correct Answer

Answer A is correct because Azure Functions Premium plan provides pre-warmed instances, advanced networking, longer-running options, and elastic scale. It directly meets the requirement to support serverless workloads that need reduced cold starts or advanced network integration.

Incorrect Answers

Answer B is incorrect because Event Grid trigger is used to invoke serverless code in response to Azure or application events; that does not directly satisfy the requirement in this scenario.

Answer C is incorrect because Durable Functions is used to implement reliable stateful serverless workflows in code; that does not directly satisfy the requirement in this scenario.

Answer D is incorrect because Azure Batch is used to execute large parallel batch workloads with explicit job and pool control; that does not directly satisfy the requirement in this scenario.

 

Question 7

For Event Grid trigger, which statement is accurate?

  1. Delivers discrete events to serverless handlers such as Azure Functions with push-based event routing.
  2. Allows supported serverless or container platforms to reduce active instances to zero when idle.
  3. Invokes supported serverless workloads when durable queue or topic messages arrive.
  4. Provides pre-warmed instances, advanced networking, longer-running options, and elastic scale.

Correct Answer: A

 

Correct Answer

Answer A is correct because Event Grid trigger delivers discrete events to serverless handlers such as Azure Functions with push-based event routing.

Incorrect Answers

Answer B is incorrect because that description belongs to Scale-to-zero, whose purpose is to avoid paying for idle compute when workload latency requirements allow cold starts.

Answer C is incorrect because that description belongs to Service Bus trigger, whose purpose is to process reliable asynchronous business messages with serverless compute.

Answer D is incorrect because that description belongs to Azure Functions Premium plan, whose purpose is to support serverless workloads that need reduced cold starts or advanced network integration.

 

Question 8

To automate integration workflows with minimal custom code, which Azure design option should be selected?

  1. Timer trigger
  2. Azure Batch
  3. Event Grid trigger
  4. Azure Logic Apps

Correct Answer: D

 

Correct Answer

Answer D is correct because Azure Logic Apps provides managed workflow orchestration with connectors, visual design, and integration capabilities. It directly meets the requirement to automate integration workflows with minimal custom code.

Incorrect Answers

Answer A is incorrect because Timer trigger is used to execute recurring serverless tasks without a separate scheduler; that does not directly satisfy the requirement in this scenario.

Answer B is incorrect because Azure Batch is used to execute large parallel batch workloads with explicit job and pool control; that does not directly satisfy the requirement in this scenario.

Answer C is incorrect because Event Grid trigger is used to invoke serverless code in response to Azure or application events; that does not directly satisfy the requirement in this scenario.

 

Question 9

Which Azure capability delivers discrete events to serverless handlers such as Azure Functions with push-based event routing?

  1. Event Grid trigger
  2. Scale-to-zero
  3. Azure Functions Premium plan
  4. Service Bus trigger

Correct Answer: A

 

Correct Answer

Answer A is correct because Event Grid trigger matches the described capability and is intended to invoke serverless code in response to Azure or application events.

Incorrect Answers

Answer B is incorrect because Scale-to-zero is intended to avoid paying for idle compute when workload latency requirements allow cold starts, which is a different architectural function.

Answer C is incorrect because Azure Functions Premium plan is intended to support serverless workloads that need reduced cold starts or advanced network integration, which is a different architectural function.

Answer D is incorrect because Service Bus trigger is intended to process reliable asynchronous business messages with serverless compute, which is a different architectural function.

 

Question 10

When considering Service Bus trigger, which requirement supports that choice?

  1. To implement reliable stateful serverless workflows in code.
  2. To execute recurring serverless tasks without a separate scheduler.
  3. To process reliable asynchronous business messages with serverless compute.
  4. To minimize management and cost for bursty event-driven serverless code.

Correct Answer: C

 

Correct Answer

Answer C is correct because Service Bus trigger invokes supported serverless workloads when durable queue or topic messages arrive.

Incorrect Answers

Answer A is incorrect because that outcome is more directly associated with Durable Functions, not Service Bus trigger.

Answer B is incorrect because that outcome is more directly associated with Timer trigger, not Service Bus trigger.

Answer D is incorrect because that outcome is more directly associated with Azure Functions Consumption plan, not Service Bus trigger.

 

Question 11

For Timer trigger, which statement is accurate?

  1. Runs an Azure Function on a configured schedule.
  2. Provides pre-warmed instances, advanced networking, longer-running options, and elastic scale.
  3. Allows supported serverless or container platforms to reduce active instances to zero when idle.
  4. Provides managed workflow orchestration with connectors, visual design, and integration capabilities.

Correct Answer: A

 

Correct Answer

Answer A is correct because Timer trigger runs an Azure Function on a configured schedule.

Incorrect Answers

Answer B is incorrect because that description belongs to Azure Functions Premium plan, whose purpose is to support serverless workloads that need reduced cold starts or advanced network integration.

Answer C is incorrect because that description belongs to Scale-to-zero, whose purpose is to avoid paying for idle compute when workload latency requirements allow cold starts.

Answer D is incorrect because that description belongs to Azure Logic Apps, whose purpose is to automate integration workflows with minimal custom code.

 

Question 12

A Functions workload needs pre-warmed capacity and advanced networking as part of its hosting design. Which statement accurately describes the Premium plan’s role?

  1. Extends Azure Functions with stateful workflow patterns such as orchestration, fan-out/fan-in, and human interaction.
  2. Schedules and runs large-scale parallel and high-performance computing jobs across managed pools of compute nodes.
  3. Delivers discrete events to serverless handlers such as Azure Functions with push-based event routing.
  4. Provides pre-warmed instances, advanced networking, longer-running options, and elastic scale.

Correct Answer: D

 

Correct Answer

Answer D is correct because Azure Functions Premium plan provides pre-warmed instances, advanced networking, longer-running options, and elastic scale.

Incorrect Answers

Answer A is incorrect because that description belongs to Durable Functions, whose purpose is to implement reliable stateful serverless workflows in code.

Answer B is incorrect because that description belongs to Azure Batch, whose purpose is to execute large parallel batch workloads with explicit job and pool control.

Answer C is incorrect because that description belongs to Event Grid trigger, whose purpose is to invoke serverless code in response to Azure or application events.

 

Question 13

To execute large parallel batch workloads with explicit job and pool control, which Azure design option should be selected?

  1. Azure Batch
  2. Scale-to-zero
  3. Container Apps jobs
  4. Service Bus trigger

Correct Answer: A

 

Correct Answer

Answer A is correct because Azure Batch is designed to execute large parallel batch workloads with explicit job and pool control. Azure Batch schedules and runs large-scale parallel and high-performance computing jobs across managed pools of compute nodes.

Incorrect Answers

Answer B is incorrect because Scale-to-zero can be useful in Azure architectures, but its primary role is to avoid paying for idle compute when workload latency requirements allow cold starts; it is not the best match for the stated priority.

Answer C is incorrect because Container Apps jobs can be useful in Azure architectures, but its primary role is to run containerized batch tasks without managing a full cluster; it is not the best match for the stated priority.

Answer D is incorrect because Service Bus trigger can be useful in Azure architectures, but its primary role is to process reliable asynchronous business messages with serverless compute; it is not the best match for the stated priority.

 

Question 14

To process reliable asynchronous business messages with serverless compute, which Azure design option should be selected?

  1. Durable Functions
  2. Timer trigger
  3. Service Bus trigger
  4. Azure Functions Consumption plan

Correct Answer: C

 

Correct Answer

Answer C is correct because Service Bus trigger is designed to process reliable asynchronous business messages with serverless compute. Service Bus trigger invokes supported serverless workloads when durable queue or topic messages arrive.

Incorrect Answers

Answer A is incorrect because Durable Functions can be useful in Azure architectures, but its primary role is to implement reliable stateful serverless workflows in code; it is not the best match for the stated priority.

Answer B is incorrect because Timer trigger can be useful in Azure architectures, but its primary role is to execute recurring serverless tasks without a separate scheduler; it is not the best match for the stated priority.

Answer D is incorrect because Azure Functions Consumption plan can be useful in Azure architectures, but its primary role is to minimize management and cost for bursty event-driven serverless code; it is not the best match for the stated priority.

 

Question 15

Which Azure capability schedules and runs large-scale parallel and high-performance computing jobs across managed pools of compute nodes?

  1. Container Apps jobs
  2. Azure Batch
  3. Scale-to-zero
  4. Service Bus trigger

Correct Answer: B

 

Correct Answer

Answer B is correct because Azure Batch matches the described capability and is intended to execute large parallel batch workloads with explicit job and pool control.

Incorrect Answers

Answer A is incorrect because Container Apps jobs is intended to run containerized batch tasks without managing a full cluster, which is a different architectural function.

Answer C is incorrect because Scale-to-zero is intended to avoid paying for idle compute when workload latency requirements allow cold starts, which is a different architectural function.

Answer D is incorrect because Service Bus trigger is intended to process reliable asynchronous business messages with serverless compute, which is a different architectural function.

 

Question 16

For Durable Functions, which statement is accurate?

  1. Provides managed workflow orchestration with connectors, visual design, and integration capabilities.
  2. Invokes supported serverless workloads when durable queue or topic messages arrive.
  3. Extends Azure Functions with stateful workflow patterns such as orchestration, fan-out/fan-in, and human interaction.
  4. Execute finite container workloads manually, on schedules, or in response to events.

Correct Answer: C

 

Correct Answer

Answer C is correct because Durable Functions extends Azure Functions with stateful workflow patterns such as orchestration, fan-out/fan-in, and human interaction.

Incorrect Answers

Answer A is incorrect because that description belongs to Azure Logic Apps, whose purpose is to automate integration workflows with minimal custom code.

Answer B is incorrect because that description belongs to Service Bus trigger, whose purpose is to process reliable asynchronous business messages with serverless compute.

Answer D is incorrect because that description belongs to Container Apps jobs, whose purpose is to run containerized batch tasks without managing a full cluster.

 

Question 17

Which Azure capability provides managed workflow orchestration with connectors, visual design, and integration capabilities?

  1. Event Grid trigger
  2. Azure Batch
  3. Timer trigger
  4. Azure Logic Apps

Correct Answer: D

 

Correct Answer

Answer D is correct because Azure Logic Apps matches the described capability and is intended to automate integration workflows with minimal custom code.

Incorrect Answers

Answer A is incorrect because Event Grid trigger is intended to invoke serverless code in response to Azure or application events, which is a different architectural function.

Answer B is incorrect because Azure Batch is intended to execute large parallel batch workloads with explicit job and pool control, which is a different architectural function.

Answer C is incorrect because Timer trigger is intended to execute recurring serverless tasks without a separate scheduler, which is a different architectural function.

 

Question 18

To invoke serverless code in response to Azure or application events, which Azure design option should be selected?

  1. Azure Functions Premium plan
  2. Event Grid trigger
  3. Service Bus trigger
  4. Scale-to-zero

Correct Answer: B

 

Correct Answer

Answer B is correct because Event Grid trigger is designed to invoke serverless code in response to Azure or application events. Event Grid trigger delivers discrete events to serverless handlers such as Azure Functions with push-based event routing.

Incorrect Answers

Answer A is incorrect because Azure Functions Premium plan can be useful in Azure architectures, but its primary role is to support serverless workloads that need reduced cold starts or advanced network integration; it is not the best match for the stated priority.

Answer C is incorrect because Service Bus trigger can be useful in Azure architectures, but its primary role is to process reliable asynchronous business messages with serverless compute; it is not the best match for the stated priority.

Answer D is incorrect because Scale-to-zero can be useful in Azure architectures, but its primary role is to avoid paying for idle compute when workload latency requirements allow cold starts; it is not the best match for the stated priority.

 

Question 19

For Service Bus trigger, which statement is accurate?

  1. Extends Azure Functions with stateful workflow patterns such as orchestration, fan-out/fan-in, and human interaction.
  2. Runs event-driven functions with automatic scale and usage-based billing for suitable workloads.
  3. Invokes supported serverless workloads when durable queue or topic messages arrive.
  4. Runs an Azure Function on a configured schedule.

Correct Answer: C

 

Correct Answer

Answer C is correct because Service Bus trigger invokes supported serverless workloads when durable queue or topic messages arrive.

Incorrect Answers

Answer A is incorrect because that description belongs to Durable Functions, whose purpose is to implement reliable stateful serverless workflows in code.

Answer B is incorrect because that description belongs to Azure Functions Consumption plan, whose purpose is to minimize management and cost for bursty event-driven serverless code.

Answer D is incorrect because that description belongs to Timer trigger, whose purpose is to execute recurring serverless tasks without a separate scheduler.

 

Question 20

Which Azure capability provides pre-warmed instances, advanced networking, longer-running options, and elastic scale?

  1. Azure Functions Premium plan
  2. Event Grid trigger
  3. Durable Functions
  4. Azure Batch

Correct Answer: A

 

Correct Answer

Answer A is correct because Azure Functions Premium plan matches the described capability and is intended to support serverless workloads that need reduced cold starts or advanced network integration.

Incorrect Answers

Answer B is incorrect because Event Grid trigger is intended to invoke serverless code in response to Azure or application events, which is a different architectural function.

Answer C is incorrect because Durable Functions is intended to implement reliable stateful serverless workflows in code, which is a different architectural function.

Answer D is incorrect because Azure Batch is intended to execute large parallel batch workloads with explicit job and pool control, which is a different architectural function.

 

Question 21

When considering Event Grid trigger, which requirement supports that choice?

  1. To invoke serverless code in response to Azure or application events.
  2. To support serverless workloads that need reduced cold starts or advanced network integration.
  3. To avoid paying for idle compute when workload latency requirements allow cold starts.
  4. To process reliable asynchronous business messages with serverless compute.

Correct Answer: A

 

Correct Answer

Answer A is correct because Event Grid trigger delivers discrete events to serverless handlers such as Azure Functions with push-based event routing.

Incorrect Answers

Answer B is incorrect because that outcome is more directly associated with Azure Functions Premium plan, not Event Grid trigger.

Answer C is incorrect because that outcome is more directly associated with Scale-to-zero, not Event Grid trigger.

Answer D is incorrect because that outcome is more directly associated with Service Bus trigger, not Event Grid trigger.

 

Question 22

Which Azure capability extends Azure Functions with stateful workflow patterns such as orchestration, fan-out/fan-in, and human interaction?

  1. Azure Logic Apps
  2. Service Bus trigger
  3. Durable Functions
  4. Container Apps jobs

Correct Answer: C

 

Correct Answer

Answer C is correct because Durable Functions matches the described capability and is intended to implement reliable stateful serverless workflows in code.

Incorrect Answers

Answer A is incorrect because Azure Logic Apps is intended to automate integration workflows with minimal custom code, which is a different architectural function.

Answer B is incorrect because Service Bus trigger is intended to process reliable asynchronous business messages with serverless compute, which is a different architectural function.

Answer D is incorrect because Container Apps jobs is intended to run containerized batch tasks without managing a full cluster, which is a different architectural function.

 

Question 23

An organization wants to execute large parallel batch workloads with explicit job and pool control. Which design choice most directly meets the requirement?

  1. Scale-to-zero
  2. Azure Batch
  3. Service Bus trigger
  4. Container Apps jobs

Correct Answer: B

 

Correct Answer

Answer B is correct because Azure Batch schedules and runs large-scale parallel and high-performance computing jobs across managed pools of compute nodes. It directly meets the requirement to execute large parallel batch workloads with explicit job and pool control.

Incorrect Answers

Answer A is incorrect because Scale-to-zero is used to avoid paying for idle compute when workload latency requirements allow cold starts; that does not directly satisfy the requirement in this scenario.

Answer C is incorrect because Service Bus trigger is used to process reliable asynchronous business messages with serverless compute; that does not directly satisfy the requirement in this scenario.

Answer D is incorrect because Container Apps jobs is used to run containerized batch tasks without managing a full cluster; that does not directly satisfy the requirement in this scenario.

 

Question 24

When considering Azure Functions Premium plan, which requirement supports that choice?

  1. To invoke serverless code in response to Azure or application events.
  2. To execute large parallel batch workloads with explicit job and pool control.
  3. To support serverless workloads that need reduced cold starts or advanced network integration.
  4. To implement reliable stateful serverless workflows in code.

Correct Answer: C

 

Correct Answer

Answer C is correct because Azure Functions Premium plan provides pre-warmed instances, advanced networking, longer-running options, and elastic scale.

Incorrect Answers

Answer A is incorrect because that outcome is more directly associated with Event Grid trigger, not Azure Functions Premium plan.

Answer B is incorrect because that outcome is more directly associated with Azure Batch, not Azure Functions Premium plan.

Answer D is incorrect because that outcome is more directly associated with Durable Functions, not Azure Functions Premium plan.

 

Question 25

When considering Azure Logic Apps, which requirement supports that choice?

  1. To execute large parallel batch workloads with explicit job and pool control.
  2. To invoke serverless code in response to Azure or application events.
  3. To execute recurring serverless tasks without a separate scheduler.
  4. To automate integration workflows with minimal custom code.

Correct Answer: D

 

Correct Answer

Answer D is correct because Azure Logic Apps provides managed workflow orchestration with connectors, visual design, and integration capabilities.

Incorrect Answers

Answer A is incorrect because that outcome is more directly associated with Azure Batch, not Azure Logic Apps.

Answer B is incorrect because that outcome is more directly associated with Event Grid trigger, not Azure Logic Apps.

Answer C is incorrect because that outcome is more directly associated with Timer trigger, not Azure Logic Apps.

 

img