AZ-204 Communication & Stakeholder Relations 3 — Questions and Answers
Question 1: Multiple microservices read from the same Azure Event Hubs event stream independently without affecting each other. What feature makes this possible?
- Consumer groups (Correct answer)
- Partition keys
- Capture feature
- Namespace geo-replication
Correct answer: Consumer groups
Each Event Hubs consumer group maintains its own offset, allowing multiple applications to read the full stream independently.
Question 2: A mobile app backend uses Azure Notification Hubs and needs to send a push notification only to users tagged as 'premium'. What should the developer use?
- Tag expressions in the send request (Correct answer)
- Template registrations with placeholders
- Installation namespaces
- Feedback service polling
Correct answer: Tag expressions in the send request
Notification Hubs tag expressions let you target specific device registrations by combining tags with AND/OR logic in the send request.
Question 3: An application uses Azure SignalR Service. A client must receive real-time updates pushed from the server without polling. Which programming model should the developer implement on the server?
- Hub with server-to-client method invocation (Correct answer)
- REST polling endpoint with long-polling
- WebJobs with timer trigger
- Service Bus topic subscription
Correct answer: Hub with server-to-client method invocation
SignalR Hubs allow the server to invoke named methods on connected clients in real time, enabling true server-push communication.
Question 4: A developer wants to automatically archive all Event Hubs events to Azure Blob Storage for offline analytics. Which feature should they enable?
- Event Hubs Capture (Correct answer)
- Event Hubs Auto-Inflate
- Diagnostic settings export
- Stream Analytics output
Correct answer: Event Hubs Capture
Event Hubs Capture automatically delivers streaming events to Azure Blob Storage or Data Lake in Avro format at configurable time/size intervals.
Question 5: A cross-platform mobile app sends push notifications via Azure Notification Hubs. To avoid maintaining platform-specific payloads, what should the developer use?
- Template registrations (Correct answer)
- Native registrations per platform
- Direct send with APNS format
- Shared access signature tokens
Correct answer: Template registrations
Template registrations let devices define their own payload format so the backend sends a single generic notification that Notification Hubs adapts per platform.
Question 6: A developer is building a chat application with Azure SignalR Service in Azure Functions using the serverless hosting mode. How does the client establish a connection?
- Negotiate with a function endpoint to get the SignalR connection info, then connect directly to the SignalR Service (Correct answer)
- Connect directly to the Azure Function URL using WebSockets
- Establish a Service Bus relay connection through the function
- Use an HTTP long-poll to the Azure Function every second
Correct answer: Negotiate with a function endpoint to get the SignalR connection info, then connect directly to the SignalR Service
In serverless mode, clients call a negotiate function to receive the SignalR Service endpoint and access token, then connect directly to the service.
Question 7: Messages sent to the same Event Hubs partition key always land in the same partition. Why is this important for an ordering-sensitive application?
- Events within a single partition are delivered in the order they were received (Correct answer)
- Partitions replicate events to all consumer groups simultaneously
- The same partition key enables geo-redundancy across regions
- Partition keys compress event payloads to reduce storage costs
Correct answer: Events within a single partition are delivered in the order they were received
Event Hubs guarantees ordering only within a single partition, so using a consistent partition key ensures related events are processed in order.
Multiple microservices read from the same Azure Event Hubs event stream independently without affecting each other.
What feature makes this possible?