Practice Service Bus Questions Now
Start a timed practice session focusing on Azure Service Bus topics from the AZ-204 question bank.
Start AZ-204 Practice Quiz →AZ-204 Service Bus Question Bank (26 Questions)
Browse all 26 practice questions covering Azure Service Bus for the AZ-204 certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.
- Question 1Connect to and consume Azure services and third-party services
An Azure Service Bus topic has three subscriptions. A message is published to the topic. How many times is the message delivered?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 2Connect to and consume Azure services and third-party services
A developer configures a dead-letter queue on an Azure Service Bus subscription. Under which conditions are messages moved to the dead-letter queue?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 3Connect to and consume Azure services and third-party services
A developer needs to route a subset of Azure Service Bus messages on a topic to a specific subscription based on a message property. Which feature enables this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 4Connect to and consume Azure services and third-party services
What is the Azure Service Bus 'message session' feature used for?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 5Develop Azure compute solutions
A developer deploys a Function App using the Consumption plan. The function must process messages from an Azure Service Bus queue. Which Function trigger should they use?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 6Connect to and consume Azure services and third-party services
A developer needs to consume messages from an Azure Service Bus queue and ensure that each message is processed at least once. Which receive mode should be used?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 7Connect to and consume Azure services and third-party services
A developer needs to ensure that messages in an Azure Service Bus queue are processed in the exact order they were sent. What must be configured?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 8Connect to and consume Azure services and third-party services
A developer configures an Azure Service Bus queue with a message lock duration of 30 seconds. The function processing takes 45 seconds. What should the developer do?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 9Develop Azure compute solutions
A developer needs to ensure that an Azure Function deployed in the Consumption plan handles exactly one message at a time from a Service Bus queue, regardless of scale-out. What configuration achieves this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 10Connect to and consume Azure services and third-party services
A developer needs to ensure that messages sent to a Service Bus queue are not processed twice even if the sender sends the same message twice within a 5-minute window. Which feature prevents this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 11Connect to and consume Azure services and third-party services
What is the difference between 'Azure Service Bus queues' and 'Azure Service Bus topics' from a developer's perspective?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 12Connect to and consume Azure services and third-party services
You need reliable, ordered message delivery between microservices, with support for message sessions and dead-lettering. Which service should you use?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 13Connect to and consume Azure services and third-party services
What is the difference between Azure Event Hub 'consumer groups' and Azure Service Bus 'subscriptions'?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 14Connect to and consume Azure services and third-party services
What is the Azure Service Bus 'message lock renewal' and why is it important?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 15Connect to and consume Azure services and third-party services
A Service Bus message has been delivered 10 times without being completed. What happens next by default?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 16Develop Azure compute solutions
Which property in host.json controls the maximum number of messages an Azure Functions Service Bus trigger processes concurrently?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 17Connect to and consume Azure services and third-party services
A developer uses the Service Bus SDK and needs to send multiple messages as a single atomic unit — either all succeed or all fail. Which feature should they use?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 18Connect to and consume Azure services and third-party services
A developer implements a Service Bus receiver that must process messages in batches of 5 for efficiency. Which SDK method retrieves multiple messages in one call?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 19Develop Azure compute solutions
An Azure Function needs to trigger whenever a new message arrives in an Azure Storage Queue. Which trigger type should you configure?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 20Connect to and consume Azure services and third-party services
Which Azure messaging service provides AMQP-based messaging with topics and subscriptions for publish-subscribe patterns?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 21Connect to and consume Azure services and third-party services
What is the purpose of Azure Service Bus 'dead-letter queue'?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 22Connect to and consume Azure services and third-party services
What is the difference between 'az servicebus queue create' and using ARM/Bicep templates for Service Bus queue creation?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 23Connect to and consume Azure services and third-party services
An Azure Queue Storage message must not be visible to consumers for 30 minutes after being added. Which parameter achieves this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 24Develop Azure compute solutions
A Container App must process tasks from an Azure Service Bus queue and scale from 0 to N replicas based on queue depth. Which scale rule type should be configured?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 25Connect to and consume Azure services and third-party services
A developer uses Azure Queue Storage. A message was processed but not deleted. After the visibility timeout expires, what happens to the message?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz - Question 26Develop Azure compute solutions
A developer configures a Consumption plan Function App. The function must process 500 messages simultaneously from an Azure Storage Queue. What limits the actual parallelism?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start AZ-204 Quiz
Key Service Bus Concepts for AZ-204
AZ-204 Service Bus Exam Tips
Azure Service Bus questions in AZ-204 are typically scenario-based. Focus on Azure application development, integration services, authentication, and runtime reliability. Priority concepts: service bus, queue, topic, subscription, session, dead letter.
What AZ-204 Expects
- Anchor your answer in choose managed developer services that simplify secure integration and deployment.
- Service Bus scenarios for AZ-204 are frequently mapped to Domain 5 (15-20%), so read the objective carefully before picking controls or architecture.
- Expect multi-topic scenarios where Service Bus interacts with identity, networking, governance, or monitoring patterns rather than appearing as an isolated question.
- When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Associate) and vendor best practices.
High-Value Service Bus Concepts
- Know the core Service Bus building blocks cold: service bus, queue, topic, subscription.
- Review the edge-case features and limits for session, dead letter; these details are commonly used to differentiate answer choices.
- Practice service-integration reasoning: how Service Bus pairs with Event Grid, Azure Functions in real deployment patterns.
- For AZ-204, explain why the chosen Service Bus design meets reliability, security, and cost expectations better than the alternatives.
Common AZ-204 Traps
- Watch for using infrastructure-heavy answers for app-level requirements.
- Questions in Connect to and Consume Azure Services often include distractors that look correct for Service Bus but violate least-privilege, compliance, or availability requirements.
- Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
- If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.
Fast Review Checklist
- Can you compare at least two Service Bus implementation paths and justify which one best fits the scenario?
- Can you map the chosen answer back to Connect to and Consume Azure Services (15-20%) outcomes for AZ-204?
- Can you explain security and access boundaries for Service Bus without relying on default-open assumptions?
- Can you describe how Service Bus integrates with Event Grid and Azure Functions during failure, scaling, and monitoring events?