- A
Azure Notification Hubs with APNs and FCM credentials configured in the hub namespace
Notification Hubs is the Azure service designed for exactly this use case. Configure your APNs certificate and FCM server key once. The backend then calls Notification Hubs with a unified API, specifying templates or platform-specific payloads. The hub routes and delivers to the appropriate PNS for each device's platform.
- B
Azure Service Bus with topics — one subscription per platform, each subscription delivering to APNs or FCM
Why wrong: Service Bus is a messaging backbone for application-to-application communication. It does not integrate with APNs or FCM and provides no push notification delivery infrastructure. Building this integration manually would require significant custom code and infrastructure.
- C
Azure Event Grid with a custom endpoint handler per platform that calls APNs or FCM directly
Why wrong: This approach requires building, hosting, and maintaining separate custom handlers for each platform — exactly the complexity Notification Hubs eliminates. Event Grid is an event routing service, not a push notification platform.
- D
Azure Communication Services email with HTML-formatted alerts sent to device email addresses
Why wrong: Email is not push notification. Mobile push notifications appear on the device lock screen and in the notification tray via the platform's native push system. Email cannot replace APNs/FCM delivery.
Quick Answer
Azure Notification Hubs is the correct choice because it provides a fully managed, cross-platform push notification service that abstracts the differences between APNs for iOS and FCM for Android. By configuring both platform credentials within a single hub namespace, the team can send one notification payload that the hub automatically routes to the correct platform service, scaling seamlessly to 10 million devices without managing separate integrations. On the AZ-204 exam, this scenario tests your understanding of how Notification Hubs decouple app logic from platform-specific push services—a common trap is assuming you need separate services per platform or that you must handle token management yourself. Remember the key concept: the hub acts as a single gateway, not a relay; you configure credentials once, and the hub handles delivery routing. A helpful memory tip is “One hub to rule them all”—think of the hub as a universal translator for push notifications, letting you focus on the message content rather than the underlying platform mechanics.
AZ-204 Practice Question: Azure Notification Hubs for cross-platform mobile…
This AZ-204 practice question tests your understanding of connect to and consume azure services and third-party services. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. A key principle to apply: azure Notification Hubs. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
The mobile app team needs to send push notifications to 10 million devices running both iOS and Android. On iOS, notifications go through Apple Push Notification service (APNs); on Android, through Firebase Cloud Messaging (FCM). The team wants a single Azure service that abstracts platform differences and scales without managing separate APNs and FCM integrations per platform. Which service should they use?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Azure Notification Hubs with APNs and FCM credentials configured in the hub namespace
Azure Notification Hubs is the correct choice because it is a fully managed push notification service designed to abstract platform-specific notification systems like APNs (iOS) and FCM (Android). By configuring the APNs and FCM credentials in the hub namespace, the team can send a single notification that is automatically routed to the correct platform service, scaling to millions of devices without managing separate integrations.
Key principle: Azure Notification Hubs
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Azure Notification Hubs with APNs and FCM credentials configured in the hub namespace
Why this is correct
Notification Hubs is the Azure service designed for exactly this use case. Configure your APNs certificate and FCM server key once. The backend then calls Notification Hubs with a unified API, specifying templates or platform-specific payloads. The hub routes and delivers to the appropriate PNS for each device's platform.
Related concept
Azure Notification Hubs
- ✗
Azure Service Bus with topics — one subscription per platform, each subscription delivering to APNs or FCM
Why it's wrong here
Service Bus is a messaging backbone for application-to-application communication. It does not integrate with APNs or FCM and provides no push notification delivery infrastructure. Building this integration manually would require significant custom code and infrastructure.
- ✗
Azure Event Grid with a custom endpoint handler per platform that calls APNs or FCM directly
Why it's wrong here
This approach requires building, hosting, and maintaining separate custom handlers for each platform — exactly the complexity Notification Hubs eliminates. Event Grid is an event routing service, not a push notification platform.
- ✗
Azure Communication Services email with HTML-formatted alerts sent to device email addresses
Why it's wrong here
Email is not push notification. Mobile push notifications appear on the device lock screen and in the notification tray via the platform's native push system. Email cannot replace APNs/FCM delivery.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may confuse Azure Service Bus or Event Grid as viable push notification services, but neither provides direct, platform-abstracted push notification delivery to mobile devices like Notification Hubs does.
Detailed technical explanation
How to think about this question
Azure Notification Hubs uses a single REST API endpoint to send notifications, and internally it maps each device registration (including platform type and device token) to the appropriate PNS (APNs or FCM). The hub handles retries, throttling, and feedback from the PNS, such as detecting expired tokens and removing invalid registrations automatically. In a real-world scenario, if the team needs to send targeted notifications based on user tags (e.g., location or language), Notification Hubs supports tag-based routing without any platform-specific code.
KKey Concepts to Remember
- Azure Notification Hubs
- push notification abstraction
- APNs
- FCM
- cross-platform mobile
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Azure Notification Hubs
Real-world example
How this comes up in practice
An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.
What to study next
Got this wrong? Here's your next step.
Review azure Notification Hubs, then practise related AZ-204 questions on the same topic to reinforce the concept.
- →
Connect to and consume Azure services and third-party services — study guide chapter
Learn the concepts, then practise the questions
- →
Connect to and consume Azure services and third-party services practice questions
Targeted practice on this topic area only
- →
All AZ-204 questions
997 questions across all exam domains
- →
Microsoft Azure Developer Associate AZ-204 study guide
Full concept coverage aligned to exam objectives
- →
AZ-204 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AZ-204 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Develop Azure compute solutions practice questions
Practise AZ-204 questions linked to Develop Azure compute solutions.
Develop for Azure storage practice questions
Practise AZ-204 questions linked to Develop for Azure storage.
Implement Azure security practice questions
Practise AZ-204 questions linked to Implement Azure security.
Connect to and consume Azure services and third-party services practice questions
Practise AZ-204 questions linked to Connect to and consume Azure services and third-party services.
Monitor, troubleshoot, and optimize Azure solutions practice questions
Practise AZ-204 questions linked to Monitor, troubleshoot, and optimize Azure solutions.
AZ-204 fundamentals practice questions
Practise AZ-204 questions linked to AZ-204 fundamentals.
AZ-204 scenario practice questions
Practise AZ-204 questions linked to AZ-204 scenario.
AZ-204 troubleshooting practice questions
Practise AZ-204 questions linked to AZ-204 troubleshooting.
Practice this exam
Start a free AZ-204 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AZ-204 question test?
Connect to and consume Azure services and third-party services — This question tests Connect to and consume Azure services and third-party services — Azure Notification Hubs.
What is the correct answer to this question?
The correct answer is: Azure Notification Hubs with APNs and FCM credentials configured in the hub namespace — Azure Notification Hubs is the correct choice because it is a fully managed push notification service designed to abstract platform-specific notification systems like APNs (iOS) and FCM (Android). By configuring the APNs and FCM credentials in the hub namespace, the team can send a single notification that is automatically routed to the correct platform service, scaling to millions of devices without managing separate integrations.
What should I do if I get this AZ-204 question wrong?
Review azure Notification Hubs, then practise related AZ-204 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Azure Notification Hubs
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more ways this is tested on AZ-204
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. You need to send notifications to mobile devices when a new file is uploaded to Azure Blob Storage. Which Azure service should you use to route the event to a notification hub?
easy- A.Azure Service Bus
- B.Azure Queue Storage
- ✓ C.Azure Event Grid
- D.Azure Event Hubs
Why C: Option B is correct because Azure Event Grid is designed for event routing from Azure services to handlers like Azure Notification Hubs. Option A is wrong because Azure Service Bus is for messaging. Option C is wrong because Azure Queue Storage is for storage queues. Option D is wrong because Azure Event Hubs is for big data streaming.
Last reviewed: Jun 11, 2026
This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.