AZ-204 Research & Evidence-Based Practice 3 — Questions and Answers
Question 1: In Azure Functions, which trigger type monitors a Service Bus queue depth and automatically scales instances to process backlogged messages?
- HTTP trigger
- Timer trigger
- Service Bus trigger (Correct answer)
- Event Grid trigger
Correct answer: Service Bus trigger
The Service Bus trigger integrates with KEDA-based scaling to spin up additional function instances as queue depth increases.
Question 2: Which Durable Functions orchestration pattern fans out work across multiple parallel activity functions and then waits for all results before continuing?
- Function chaining
- Fan-out/fan-in (Correct answer)
- External events
- Eternal orchestrations
Correct answer: Fan-out/fan-in
The fan-out/fan-in pattern starts multiple activity tasks concurrently with Task.WhenAll and aggregates their results once all complete.
Question 3: What is the maximum execution timeout for an Azure Function running on the Consumption hosting plan?
- 5 minutes
- 10 minutes (Correct answer)
- 15 minutes
- 30 minutes
Correct answer: 10 minutes
The Consumption plan caps function execution at 10 minutes (600 seconds); the default timeout is 5 minutes but can be raised to this ceiling.
Question 4: Which Azure Service Bus feature guarantees that related messages are processed in order by a single consumer at a time?
- Dead-letter queue
- Message sessions (Correct answer)
- Auto-forwarding
- Duplicate detection
Correct answer: Message sessions
Sessions group messages by a session ID and ensure a single receiver processes all messages in that session sequentially.
Question 5: Which Azure Event Hubs feature automatically captures streaming event data and writes it to Azure Blob Storage or Azure Data Lake?
- Consumer groups
- Event Hubs Capture (Correct answer)
- Schema Registry
- Partitioned receivers
Correct answer: Event Hubs Capture
Event Hubs Capture writes incoming events to a storage destination on a configurable time or size window, enabling batch analytics.
Question 6: What happens to an Azure Service Bus message that has been delivered more times than its configured maximum delivery count?
- It is immediately deleted from the queue
- It is moved to the dead-letter queue (Correct answer)
- It is returned to the sending application
- It is archived to Azure Blob Storage
Correct answer: It is moved to the dead-letter queue
After exceeding the maximum delivery count, Service Bus automatically transfers the message to the associated dead-letter subqueue for inspection.
Question 7: In Azure Functions, which binding type injects data from an external source such as Azure Blob Storage directly into a function parameter for reading?
- Input binding (Correct answer)
- Output binding
- Trigger binding
- Connection binding
Correct answer: Input binding
Input bindings supply data to the function at invocation time, removing the need to write explicit SDK calls to read the source.
In Azure Functions, which trigger type monitors a Service Bus queue depth and automatically scales instances to process backlogged messages?