Courseiva

CCNA Event Driven Integration Questions

75 of 128 questions · Page 1/2 · Event Driven Integration · Answers revealed

1
MCQmedium

You are managing an Azure Service Bus Premium namespace. Your application requires strict transactional messaging where a worker receives a message from Queue A, processes it, and sends a resulting message to Queue B. If any step fails, both actions must be rolled back. How should you implement this?

A.Wrap the receive and send operations inside a .NET TransactionScope block.
B.Set the message session ID to the same value on both queues.
C.Enable Event Grid automatic forwarding between queues.
D.Use Event Hubs checkpoints for transactional rollback.
AnswerA

TransactionScope coordinates ambient transactions across Service Bus entities within the same Premium namespace.

Why this answer

Using .NET TransactionScope with Service Bus allows receiving from Queue A and sending to Queue B within a single atomic transaction.

2
MCQmedium

You are building an order processing system with Azure Service Bus. Multiple clients might accidentally submit the exact same order twice within a 60-second window due to network retries. You need to prevent duplicate orders from entering the queue. What should you configure?

A.Enable Duplicate Detection on the queue and set the history time window to 60 seconds.
B.Configure Auto-Forwarding to a dead-letter queue with a 60-second TTL.
C.Set the LockDuration property to 60 seconds.
D.Enable partitioning and set the partition key to the client IP address.
AnswerA

Duplicate detection uses the MessageID to automatically discard messages with identical IDs sent within the specified time window.

Why this answer

Azure Service Bus provides Duplicate Detection. When enabled, the broker inspects the MessageId property of incoming messages within a configurable time window (DuplicateDetectionHistoryTimeWindow) and drops duplicates.

3
MCQmedium

Your application uses Azure Service Bus Queues. A spike in traffic causes multiple worker instances to contend for messages. You want to ensure that when a worker locks a message, no other worker can process it, and the lock is automatically renewed in the background if processing takes longer than expected. Which client library feature should you use?

A.Enable Auto-Lock Renewal on the message processor client.
B.Increase the LockDuration property on the queue to 2 hours permanently.
C.Use Event Grid advanced filters to throttle incoming messages.
D.Switch the queue to ReceiveAndDelete mode.
AnswerA

Auto-lock renewal background tasks keep extending the lock duration automatically until message processing completes.

Why this answer

Modern Azure Service Bus SDKs include an auto-lock renewal feature (e.g., `MaxAutoLockRenewalDuration` in .NET) that automatically extends the message lock while the handler is executing.

4
MCQmedium

Your team is building an analytics pipeline where IoT telemetry data is ingested via Azure Event Hubs and needs to be continuously archived in Parquet format to an Azure Data Lake Storage Gen2 account for AI model training. Which built-in feature of Event Hubs should you enable?

A.Service Bus Geo-Replication
B.Event Grid Auto-Routing
C.Event Hubs Capture
D.Stream Analytics Integration Job
AnswerC

Event Hubs Capture automatically packages streaming telemetry into storage blobs without requiring custom worker code.

Why this answer

Event Hubs Capture allows you to automatically capture streaming data in Event Hubs and save it to an Azure Blob Storage or Azure Data Lake Storage Gen2 account in Avro or Parquet format.

5
MCQeasy

Your application publishes custom events to Azure Event Grid using the CloudEvents 1.0 schema format. Which required attribute must be present in every CloudEvents JSON payload to ensure valid delivery?

A.specversion, type, source, and id
B.PartitionKey and SequenceNumber
C.sb-connection-string and topic-name
D.authorization and aeg-sas-key
AnswerA

The CloudEvents 1.0 specification requires specversion, id, source, and type attributes for schema compliance.

Why this answer

CloudEvents specification mandates attributes such as `specversion`, `type`, `source`, and `id` for every valid event.

6
MCQhard

Your enterprise application uses Azure Service Bus Topics to broadcast AI model inference updates to multiple microservices. One particular subscriber requires filtering messages so it only receives updates where the 'ModelVersion' property is equal to 'v2' and the 'ConfidenceScore' is greater than 0.85. How should you implement this?

A.Create a boolean filter on the subscription matching a correlation ID of 'v2'.
B.Write custom middleware in the subscriber service to drop messages that do not meet the criteria after reading them from the topic.
C.Configure an Event Grid custom filter using advanced filters with an 'And' operator.
D.Create a SQL filter on the Service Bus subscription with the expression ModelVersion = 'v2' AND ConfidenceScore > 0.85.
AnswerD

SQL filters provide powerful boolean expressions based on message properties and system properties for Service Bus subscriptions.

Why this answer

You should create a SQL filter on the Service Bus subscription with an expression like ModelVersion = 'v2' AND ConfidenceScore > 0.85.

7
Multi-Selectmedium

You are configuring an Azure Service Bus Topic and Subscriptions for an AI text classification system. Which THREE filter types are supported on Service Bus subscriptions for routing messages? Each correct answer represents a valid filter type.

Select 3 answers
A.Boolean Filters (True/False filters)
B.Regex Pattern Matching Filters
C.Machine Learning Inference Filters
D.SQL Filters
E.Correlation Filters
AnswersA, D, E

Boolean filters either select all messages or none.

Why this answer

Azure Service Bus supports Correlation Filters, SQL Filters, and Boolean Filters (TrueFilter/FalseFilter) on subscriptions.

8
Multi-Selecthard

You are designing an event-driven architecture that needs to integrate multiple Azure services. Which THREE statements accurately describe the ideal use cases for Azure Event Grid, Azure Service Bus, and Azure Event Hubs respectively? (Choose three)

Select 3 answers
A.Azure Event Hubs is designed for high-throughput big data streaming and telemetry ingestion pipelines.
B.Azure Event Grid is designed for high-speed Kafka protocol big data telemetry streaming.
C.Azure Event Grid is optimized for reactive event distribution and pub/sub routing across Azure services.
D.Azure Service Bus is optimized for stateless event notifications with sub-millisecond webhook delivery.
E.Azure Service Bus is designed for enterprise transactional messaging, queues, topics, and strict ordering.
AnswersA, C, E

Event Hubs ingests millions of events per second for analytics and AI pipelines.

Why this answer

Event Grid is for reactive event notification (pub/sub), Service Bus is for transactional enterprise messaging (queues/topics), and Event Hubs is for big data stream ingestion.

9
MCQmedium

Your team is building a real-time speech transcription pipeline using Azure Event Hubs. Due to intermittent network drops, client applications need to be able to send messages with a scheduled delivery time so they are processed later. Which Azure messaging service supports scheduled message delivery natively?

A.Azure Service Bus
B.Azure Event Grid
C.Azure Storage Queues
D.Azure Event Hubs
AnswerA

Service Bus supports scheduling messages for delayed delivery out-of-the-box.

Why this answer

Azure Service Bus natively supports scheduling messages to be delivered at a specific future time using `ScheduleMessageAsync`.

10
MCQhard

You are designing a disaster recovery strategy for an Azure Event Hubs namespace. You configure Geo-Disaster Recovery pairing between a primary region (East US) and a secondary region (West US). During a disaster drill, you trigger a failover. What happens to the DNS alias pointing to the Event Hubs namespace?

A.The primary namespace automatically becomes the replica of the secondary namespace without breaking the pair.
B.The alias is automatically updated to point to the secondary namespace, enabling client reconnection without changing connection strings.
C.The alias enters a Read-Only state for 24 hours while DNS propagation finishes globally.
D.The alias is permanently deleted and clients must be hardcoded with the secondary namespace connection string.
AnswerB

The Geo-DR alias abstracts the underlying namespace endpoints, ensuring seamless failover redirection.

Why this answer

When Geo-DR failover is invoked, the DNS alias is repointed from the primary namespace to the secondary namespace automatically, ensuring client connection strings referencing the alias continue working.

11
MCQmedium

You are writing a Python application that sends telemetry data to an Azure Event Hub. To ensure high performance and non-blocking batch sends, which method from the `azure-eventhub` SDK should you use?

A.event_grid_publisher.upload_blob()
B.client.publish_to_service_bus_queue()
C.producer.create_batch() followed by producer.send_batch()
D.producer.send_single_event_blocking() for every record
AnswerC

create_batch ensures events fit within the size limit, and send_batch transmits the batch efficiently.

Why this answer

The `EventHubProducerClient` provides `create_batch()` to construct a batch object, and `send_batch()` to send it asynchronously or synchronously.

12
MCQhard

You are designing a secure enterprise event-driven architecture. Events published to an Azure Event Grid Domain must be partitioned based on a tenant ID. How should publishers send events to the Event Grid Domain to ensure proper routing to domain topics?

A.Send all events to an Azure Service Bus Topic, then configure a logic app to forward them to Event Grid.
B.Publish events directly to the Event Grid Domain endpoint and specify the subject or topic name within the event structure.
C.Use Azure Event Hubs capture keys to route events to tenant-specific storage containers.
D.Create separate Event Grid custom topics for each tenant and configure an Azure API Management gateway to multiplex the requests.
AnswerB

Event Grid Domains allow single-endpoint publishing where the event specifies the target domain topic.

Why this answer

When publishing to an Event Grid Domain, publishers include the domain topic name in the event metadata (or path for custom schemas), which Event Grid uses to route the event to the correct topic.

13
MCQmedium

Your organization uses Azure Service Bus Queues. A downstream processing service is undergoing maintenance and will be offline for 4 hours. You want to temporarily pause message processing without losing messages or triggering dead-letter timeouts. What is the recommended approach?

A.Set the queue status to 'Disabled' via the Azure Portal or SDK.
B.Export all messages to Azure Blob Storage and purge the queue.
C.Stop the consumer worker application instances; Service Bus will safely retain the messages in the queue until consumers resume.
D.Delete the Service Bus queue and recreate it when maintenance finishes.
AnswerA, C

Wait, Service Bus queues have entity status settings (Active, Disabled, SendDisabled, ReceiveDisabled). Setting EntityStatus to ReceiveDisabled pauses consumption while allowing producers to keep sending.

Why this answer

If workers are simply stopped, messages remain safely in the queue locked or unlocked depending on whether receivers are polling. Stopping the consumer application effectively pauses processing while the broker securely stores the messages.

14
MCQeasy

An AI pipeline uses Azure Service Bus Queues. You want to inspect the number of messages currently residing in a queue waiting to be processed without actually receiving or locking them. Which Azure Portal section or metric should you check?

A.The Azure Storage Account queued message monitoring graphs.
B.The Event Grid subscription delivery status log.
C.The Event Hubs capture storage container file list.
D.The Service Bus Queue 'Overview' blade displaying Active Message Count metrics.
AnswerD

The queue overview displays active, dead-letter, and scheduled message counts in real-time.

Why this answer

You can inspect active message counts, dead-letter message counts, and scheduled message counts directly on the Service Bus Queue overview blade in the Azure Portal.

15
MCQhard

You are troubleshooting an Azure Event Grid subscription where events published to a custom topic are failing to reach an Azure Storage Queue destination. Dead-lettering is enabled on the subscription, and failed events are appearing in the storage account container. Upon inspecting the dead-lettered events, you notice the error indicates an unauthorized access response. What is the most likely root cause and remediation?

A.The Event Grid system-assigned managed identity lacks the Storage Queue Data Contributor role on the target storage account.
B.The event schema version configured on the subscription does not match the storage queue message schema specification.
C.The Azure Storage Queue firewall is blocking Event Grid IPs, so you must add the EventGrid service tag to the storage account firewall rules.
D.The Azure Storage Queue message TTL has expired before Event Grid could establish a TCP handshake.
AnswerA

Event Grid must be granted proper RBAC permissions (such as Storage Queue Data Contributor) via its managed identity to push messages to a storage queue.

Why this answer

Event Grid requires explicit Managed Identity or SAS token permissions configured on the Event Grid subscription to deliver events to secured endpoints like Storage Queues.

16
MCQeasy

An application publishes custom events to an Azure Event Grid topic. You want to inspect the dead-lettered events that failed delivery after the maximum retry period. Where must you configure the dead-letter destination?

A.Azure SQL Database table
B.Local App Service temporary file system
C.Azure Blob Storage container
D.Azure Service Bus Dead-Letter Queue
AnswerC

Event Grid dead-lettering writes undeliverable events directly to an Azure Storage blob container.

Why this answer

Event Grid dead-lettering requires an Azure Storage account container as the destination where failed event blobs are written.

17
MCQhard

You are configuring disaster recovery for an Azure Event Hubs namespace. You have established a geo-recovery pairing between a primary and secondary namespace. A failover has been executed. How should you re-establish replication back to the original primary namespace once it recovers?

A.Establish a new geo-recovery pairing or reverse the roles so the old primary becomes the secondary namespace.
B.Run the az eventhubs namespace sync command from the Azure CLI.
C.Delete both namespaces and recreate them using an Azure Resource Manager template.
D.Update the consumer group offsets manually on both namespaces.
AnswerA

Reversing the partnership or setting up a new pairing re-establishes asynchronous replication in the reverse direction.

Why this answer

After a failover, you must break the pairing or re-establish a new alias pairing pointing the old primary as the new secondary (reverse role) to sync data back.

18
Multi-Selectmedium

You are troubleshooting event delivery failures in Azure Event Grid. Which TWO mechanisms can help you analyze or recover undeliverable events? (Choose two)

Select 2 answers
A.Configuring a Dead-Letter destination pointing to an Azure Blob Storage container
B.Enabling Service Bus message session locks on the event subscription
C.Viewing delivery metrics and logs via Azure Monitor diagnostic settings
D.Running the az servicebus queue purge command
E.Using Event Hubs Capture to replay webhook HTTP headers
AnswersA, C

Dead-lettering saves unconsumed or failed events to storage for analysis.

Why this answer

Event Grid supports configuring a dead-letter destination (Blob Storage) and viewing delivery metrics/logs via Azure Monitor diagnostic settings.

19
MCQhard

You are designing a high-scale event ingestion pipeline using Azure Event Hubs in a secure enterprise environment. Public internet access must be disabled entirely. Producers and consumers reside in a peered Virtual Network (VNet). How should you configure network connectivity to the Event Hubs namespace?

A.Enable Service Bus Relay hybrid connections across the VNet gateway.
B.Configure Private Endpoints for the Event Hubs namespace and disable public network access.
C.Deploy an Azure Bastion host in the subnet connected to the Event Hubs SAS key manager.
D.Configure IP firewall rules to allow the default gateway IP of the VNet.
AnswerB

Private Endpoints provide private IP addresses from your VNet directly to the Event Hubs resource, securing traffic.

Why this answer

To secure Event Hubs without public internet access, you must configure private endpoints using Azure Private Link, placing network interfaces inside the VNet and disabling public network access on the namespace.

20
Multi-Selecthard

You are designing an enterprise messaging architecture using Azure Service Bus. Which THREE features are available exclusively in the Premium tier and not in the Standard tier? (Choose three)

Select 3 answers
A.Virtual Network (VNet) service endpoints and Private Link integration
B.Dedicated compute and memory resources (Isolated environment)
C.Duplicate detection message history windows
D.Support for messages up to 100 MB in size (with large message support)
E.Publishing messages to Topics and Subscriptions
AnswersA, B, D

VNet integration and private endpoints are Premium-tier capabilities.

Why this answer

Azure Service Bus Premium tier provides dedicated resources (CPU/Memory), VNet integration / Private Endpoints, and larger message sizes (up to 100 MB). Standard tier shares multitenant infrastructure.

21
MCQeasy

Your organization uses Azure Event Grid namespaces for MQTT client messaging in an industrial IoT scenario. Which authentication method should you configure for IoT devices connecting directly to the Event Grid namespace MQTT broker?

A.SQL Database connection strings
B.Anonymous access with IP restriction headers
C.OAuth 2.0 client credentials grant via Service Bus endpoints
D.X.509 client certificates
AnswerD

Event Grid MQTT brokers natively support secure device authentication using X.509 certificates.

Why this answer

Event Grid MQTT broker supports client authentication using X.509 client certificates with certificate thumbprint matching or CA certificate chains.

22
MCQeasy

Your organization requires that all messages sent to an Azure Service Bus Premium namespace are encrypted using customer-managed keys (CMK) stored in Azure Key Vault. Where must you configure this encryption setting?

A.At the Service Bus Namespace level
B.Inside the Event Grid subscription endpoint URI
C.At the individual Queue or Topic level
D.Within the Azure Function consumer application configuration
AnswerA

Encryption with CMK applies to the entire Service Bus Premium namespace.

Why this answer

Customer-managed keys for Azure Service Bus are configured at the Namespace level using Azure Key Vault integration.

23
MCQeasy

You are designing an event-driven AI application that requires routing custom events from an Azure resource to multiple downstream serverless webhooks. Which Azure messaging service should you use to publish and route these events reliably?

A.Azure Service Bus
B.Azure Event Hubs
C.Azure Storage Queues
D.Azure Event Grid
AnswerD

Azure Event Grid natively supports pub/sub event routing for discrete events to webhook endpoints.

Why this answer

Azure Event Grid is designed for event-driven architectures, allowing pub/sub routing of discrete events from Azure resources or custom applications to multiple endpoints like webhooks.

24
MCQeasy

You are developing a serverless AI notification workflow. When an AI model finishes training, it publishes an event to an Azure Event Grid topic. You want to trigger an Azure Logic App when this event occurs. Which Event Grid subscription event delivery schema and endpoint type should you select?

A.Select 'Webhook' as the endpoint type and provide the Logic Apps HTTP Request URL.
B.Select 'Storage Queue' as the endpoint type.
C.Select 'Azure Service Bus Queue' as the endpoint type and provide the queue connection string.
D.Select 'Azure Event Hubs' as the endpoint type and provide the connection string.
AnswerA

Logic Apps can receive Event Grid events using a Request trigger configured as a Webhook endpoint.

Why this answer

Azure Logic Apps provides a native Event Grid trigger endpoint, allowing seamless event ingestion directly into the workflow.

25
MCQeasy

Your team needs to monitor when virtual machines are created or deleted across an entire Azure subscription so that an automated audit logger is triggered. Which Azure service should you use to capture these management plane operations?

A.Azure Logic Apps
B.Azure Event Grid
C.Azure Service Bus
D.Azure Event Hubs
AnswerB

Event Grid supports Azure subscriptions and resource groups as event sources for Azure Activity Log events.

Why this answer

Azure Event Grid provides built-in integration with Azure Resource Manager (ARM), allowing you to subscribe to subscription-level and resource-group-level management events.

26
MCQmedium

Your organization uses Azure Service Bus Topics. You need to ensure that messages published to a topic are delivered to subscriptions in a specific priority order (e.g., high priority messages processed before normal priority). What is the recommended Service Bus design pattern to achieve this?

A.Create separate queues or subscriptions for high-priority and normal-priority messages, and have workers poll the high-priority entity first.
B.Set the Priority property on the Service Bus message header to 99.
C.Configure Event Hubs partition key hashing to group priority messages.
D.Enable Event Grid priority filters on the topic.
AnswerA

Separate entities or subscriptions allow consumers to prioritize polling high-priority work streams.

Why this answer

Because Service Bus Topics do not support intra-topic message priority sorting, the recommended design pattern is to create separate subscriptions or separate topics/queues for high-priority versus normal messages, or use multiple queues.

27
MCQhard

You are designing an enterprise AI event-driven pipeline. Events from multiple SaaS applications are published to an Azure Event Grid domain. You need to ensure that a rogue tenant cannot exhaust the delivery throughput of other tenants. Which feature should you leverage?

A.Deploy separate Event Grid topics or distinct Event Domains per tenant with dedicated custom access keys or managed identities.
B.Set the maximum delivery retry count to zero for all tenants.
C.Enable Azure DDoS Protection Standard on the storage account dead-letter container.
D.Configure Service Bus partitioned queues in front of the Event Grid domain.
AnswerA

Isolating tenants into separate topics or domains ensures resource and security isolation across tenant boundaries.

Why this answer

Azure Event Grid domains allow multi-tenant isolation by grouping topics under a single domain resource, and quotas/throttling are managed at the tier level, but for tenant isolation, separate Event Grid topics/domains or enterprise tier configurations are utilized.

28
MCQhard

You are optimizing the cost and performance of an Azure Event Hubs namespace processing millions of financial telemetry records daily. Traffic fluctuates heavily between business hours and night time. You want to ensure the namespace scales automatically without manual intervention while bounding maximum costs. What should you configure?

A.Set the retention period to 1 hour to reduce storage overhead.
B.Enable Auto-Inflate and set the maximum Throughput Units limit.
C.Configure an Azure Autoscale rule on the Event Hubs Resource Group via Azure Monitor.
D.Upgrade the namespace to Azure Service Bus Premium with partitioned entities.
AnswerB

Auto-Inflate automatically increases TUs as load increases up to the specified maximum limit, controlling costs.

Why this answer

Event Hubs Standard and Premium tiers support Auto-Inflate. You enable Auto-Inflate and specify the maximum number of Throughput Units (TUs) or Processing Units (PUs) to cap expenses.

29
MCQeasy

Your application publishes events to an Azure Event Grid topic. You want to ensure that event publishers must present a valid shared access signature or key in the HTTP request header. Which header name does Event Grid expect for key-based authentication?

A.aeg-sas-key
B.Authorization
C.x-functions-key
D.sb-connection-string
AnswerA

Event Grid uses 'aeg-sas-key' to authenticate publishers presenting an access key.

Why this answer

Event Grid accepts keys via the 'aeg-sas-key' header for SAS keys or 'aeg-sas-token' for SAS tokens.

30
Multi-Selecthard

Your enterprise AI solution requires secure connectivity between Azure Event Grid and private webhook endpoints. Which THREE features support secure, private event delivery? Each correct answer represents a valid security feature.

Select 3 answers
A.Private Endpoints for inbound event publishing connectivity
B.Service Bus shared access signature (SAS) keys on event subscriptions
C.Anonymous public webhook access bypass headers
D.Managed Identities for authenticating event deliveries to webhook destinations
E.IP firewall rules to restrict publishing sources
AnswersA, D, E

Private endpoints secure the ingress path to Event Grid namespaces.

Why this answer

Event Grid supports managed identities for webhooks, private endpoints for ingress, and IP firewalls.

31
MCQmedium

You are integrating an external SaaS platform with your Azure AI architecture using Azure Event Grid. The external partner wants to ensure that the events they receive from your custom topic are authentic and originated from your Event Grid namespace. Which security feature should you advise the partner to verify?

A.Check the Azure Active Directory tenant ID in the Event Hubs connection string.
B.Verify the SAS token attached to the event payload body.
C.Validate the event delivery request using the AEG-Signature HTTP header and webhook HMAC verification.
D.Inspect the Storage account access key provided in the event subject.
AnswerC

Event Grid signs delivery requests using HMAC, allowing subscribers to verify authenticity using the shared secret.

Why this answer

Event Grid delivers events with a signature in the `AEG-Signature` HTTP header, which partners can validate using the public key or HMAC validation against the webhook secret key.

32
MCQmedium

You are building an AI financial transactions ledger using Azure Service Bus. Each transaction must be processed strictly in order per account ID, and if a transaction fails, subsequent transactions for that specific account must wait until the issue is resolved. Which feature should you use?

A.Event Hubs partitions with round-robin load balancing
B.Service Bus Sessions (SessionId set to the account ID)
C.Azure Storage Queues with invisible timeout properties
D.Event Grid advanced filters keyed by account ID
AnswerB

Sessions ensure that only one receiver can acquire a session lock at a time, enforcing strict ordering per account ID.

Why this answer

Azure Service Bus Sessions provide guaranteed FIFO ordering and session-level locking. All messages sharing the same SessionId are locked by a single worker, ensuring serial processing per session.

33
MCQmedium

Your enterprise application uses Azure Service Bus Topics to distribute orders to inventory and billing services. A transient database outage occurs in the billing service. You must ensure that billing messages are not lost and can be retried without interfering with the inventory service. What feature should you configure?

A.Enable partitioned queues on the sender application.
B.Use Event Grid filters to duplicate the messages into two separate storage accounts.
C.Configure separate subscriptions for each service under the Service Bus Topic.
D.Implement Azure Relay to tunnel the database connection.
AnswerC

Separate subscriptions allow each application to maintain its own cursor and processing state, isolating failures.

Why this answer

Service Bus Subscriptions support sessions, dead-lettering, and independent subscriber configuration. Each subscription acts as a virtual queue, ensuring the billing service can process messages independently of inventory.

34
MCQhard

Your distributed AI system uses Azure Event Hubs with multiple partitions. A downstream machine learning model worker needs to guarantee that all inference requests originating from the same client session are processed by the exact same worker instance and partition in order to maintain conversation context. How should you ensure this?

A.Set the Event Hub consumer group owner to exclusive mode.
B.Enable Event Hubs Capture with automatic partition balancing.
C.Configure a Service Bus session on the Event Hub consumer group.
D.Include a consistent PartitionKey when publishing events to the Event Hub.
AnswerD

Providing a PartitionKey ensures all events with that key are routed to the same partition and processed by the same worker.

Why this answer

When publishing events to Event Hubs, you must supply a PartitionKey (such as the client session ID). Event Hubs hashes this key to route the event to the same partition consistently.

35
MCQhard

You are designing an AI streaming architecture using Azure Event Hubs in a Dedicated cluster. You need to monitor capacity utilization to ensure the cluster does not exceed its allocated Processing Units (PUs). Which metric should you track in Azure Monitor?

A.Service Bus Active Message Count.
B.Event Grid Delivery Success Rate percentage.
C.Dedicated Cluster Memory and CPU Usage / Processing Units (PUs) Utilization metrics.
D.Storage Account Blob Capacity utilization.
AnswerC

Cluster-level metrics in Azure Monitor track PU capacity and resource consumption for Dedicated Event Hubs tiers.

Why this answer

Azure Event Hubs Dedicated clusters are measured in Processing Units (PUs). You monitor CPU usage and PU utilization metrics in Azure Monitor to determine if scaling out the dedicated cluster is necessary.

36
MCQhard

Your Azure Service Bus Premium namespace hosts critical AI request queues. Due to sudden spikes in inference requests, one of the queues experiences peak concurrency exceeding the maximum throughput units. You need to scale the namespace capacity automatically without manual intervention. What feature should you configure?

A.Configure geo-disaster recovery pairing with an active-active replication policy.
B.Enable Partitioning on the Service Bus queue entities.
C.Configure Azure Functions Premium plan scaling triggers based on Service Bus queue length.
D.Enable Auto-inflate on the Service Bus namespace and specify the maximum messaging units.
AnswerD

Auto-inflate automatically scales up messaging units for Service Bus Premium namespaces based on load.

Why this answer

Azure Service Bus Premium supports Auto-inflate, which automatically scales up the number of messaging units (MUs) when the namespace load exceeds thresholds.

37
MCQhard

You are designing an enterprise event-driven architecture where microservices across different Azure subscriptions need to subscribe to domain events published by a central Order Service. Which Azure Event Grid architecture should you implement?

A.Deploy an Azure Service Bus relay across all subscriptions.
B.Deploy an Azure Event Grid Event Domain and create event subscriptions under the domain for each consuming team.
C.Create individual Event Hubs namespaces in every consumer subscription and peer them via ExpressRoute.
D.Use Azure Storage Queues shared via SAS URLs across subscriptions.
AnswerB

Event Domains manage multiple topics under a single resource, making them ideal for multi-tenant and cross-subscription enterprise architectures.

Why this answer

Azure Event Grid Topics and Event Domains allow publishers to push events to a single domain, where multiple event subscriptions across different resource groups or subscriptions can be managed efficiently.

38
Multi-Selecthard

Your team is comparing Azure Event Grid, Event Hubs, and Service Bus for an AI platform integration project. Which THREE statements correctly contrast these services? Each correct answer is factually accurate.

Select 3 answers
A.Event Hubs provides native webhook push delivery for serverless triggers without consumer code.
B.Event Grid is optimized for pub/sub discrete event notifications with push delivery.
C.Event Hubs is optimized for high-throughput big data streaming and telemetry ingestion.
D.Event Grid supports AMQP 1.0 session-based strict FIFO message ordering.
E.Service Bus is designed for enterprise messaging supporting transactions, sessions, and dead-lettering.
AnswersB, C, E

Event Grid delivers discrete events via push.

Why this answer

Event Grid is for reactive discrete events, Event Hubs is for big data telemetry streams, and Service Bus is for enterprise transactional messaging.

39
MCQeasy

Your application publishes events to an Azure Event Grid system topic. You want to filter events so that your webhook subscriber receives only events where the 'eventType' is 'Microsoft.Storage.BlobCreated'. Where should you configure this filter?

A.Within the Azure Function host.json configuration file.
B.In the Service Bus Topic subscription SQL filter.
C.Inside the Azure Storage account connection string settings.
D.In the Event Grid subscription filter configuration blade under 'Included Event Types'.
AnswerD

Subscription-level filters allow you to specify exact event types you want delivered to your endpoint.

Why this answer

Event Grid subscriptions support basic filters, including filtering by event type (`includedEventTypes`).

40
MCQhard

You are designing an asynchronous AI transaction pipeline using Azure Service Bus. You need to implement the Competing Consumers pattern where multiple worker instances process messages from a single queue without duplicating work. How does Azure Service Bus natively support this pattern?

A.Configure Event Hubs consumer groups with exclusive read locks.
B.You must write custom distributed locking logic using Azure Blob Leases in front of the queue.
C.Service Bus automatically locks and distributes messages across competing workers using PeekLock mode.
D.You must deploy an Event Grid topic with a round-robin webhook load balancer.
AnswerC

PeekLock ensures that when worker A grabs a message, it is locked and hidden from worker B until settled.

Why this answer

Azure Service Bus queues inherently implement the Competing Consumers pattern. When multiple workers pull from the same queue, Service Bus locks each message to a single worker so no other worker receives it.

41
MCQhard

You are deploying an enterprise AI text-analysis system using Azure Service Bus topics and subscriptions. Downstream processing requires strict message ordering and session-aware processing so that related conversational turns are processed sequentially by the same worker instance. Which property must you enable on the Service Bus subscription?

A.Enable Sessions on the subscription and group messages using a Session ID.
B.Enable Partitioning on the topic.
C.Set Duplicate Detection with a time window.
D.Configure Dead-lettering on message expiration.
AnswerA

Service Bus sessions enable strict first-in, first-out (FIFO) ordering and grouping for related messages sharing a common session ID.

Why this answer

To ensure ordered processing for related messages, you must enable Sessions on the Service Bus entity and ensure your application processes messages using message sessions.

42
MCQmedium

You are managing an Azure Service Bus Standard namespace. Your development team requests the ability to use Topics and Subscriptions. What action must you take to support this requirement?

A.Enable AMQP 1.0 multiplexing on the Basic tier namespace.
B.Create an Event Hubs capture rule to simulate topic subscriptions.
C.Ensure the Service Bus namespace is at the Standard or Premium tier.
D.Upgrade the namespace to Azure Event Grid Premium.
AnswerC

The Basic tier of Service Bus only supports Queues, whereas Standard and Premium support both Queues and Topics.

Why this answer

Azure Service Bus Standard and Premium tiers both support Topics and Subscriptions. Basic tier does not support Topics; therefore, the namespace must be at least Standard tier.

43
MCQhard

You are optimizing an Azure Event Hubs stream processing application in Python. Messages are being processed too slowly, and you notice high CPU utilization on the consumer instance due to synchronous network I/O. Which programming model should you adopt to maximize ingestion throughput?

A.Increase the partition count of the Event Hub to 1,000 partitions.
B.Switch from Event Hubs to Azure Storage Queues for parallel processing.
C.Migrate all consumer code to use synchronous REST API polling over HTTPS GET requests.
D.Use the asynchronous Event Hub client library (`azure-eventhub.aio`) with `asyncio` for non-blocking I/O operations.
AnswerD

Async/await patterns in Python prevent thread blocking during network calls to Event Hubs, dramatically increasing throughput.

Why this answer

For high-performance asynchronous I/O in Python with Azure Event Hubs, developers should use the `azure-eventhub` asynchronous client library (`aiohttp` / `asyncio`) to process events concurrently.

44
MCQhard

You are designing an AI streaming pipeline using Azure Event Hubs. You need to inspect diagnostic logs and operational metrics to track incoming request rates, server errors, and throttling events across the namespace. Where should you configure this telemetry collection in the Azure Portal?

A.Diagnostic Settings on the Event Hubs namespace pointing to a Log Analytics workspace.
B.Event Hubs Capture export storage container settings.
C.Azure Bastion diagnostic configuration.
D.Auto-Inflate throughput unit configuration blade.
AnswerA

Diagnostic settings allow you to stream operational logs and metrics to Log Analytics for querying via Kusto (KQL).

Why this answer

To capture diagnostic logs and metrics in Azure, you must configure a Diagnostic Setting on the Event Hubs namespace pointing to an Log Analytics workspace, Storage Account, or Event Hub.

45
MCQeasy

You are building an event-driven AI workflow where an Azure Event Grid event triggers an Azure Function. To ensure that the function handles the Event Grid handshake validation handshake correctly when the subscription is created, what must your function code include?

A.An Event Hubs consumer group checkpoint store configuration.
B.A Service Bus session lock renewal loop.
C.Code to handle the SubscriptionValidationEvent and return the validation code.
D.An AMQP listener connection string.
AnswerC

Event Grid sends a validation handshake request containing a validation code, which the webhook must echo back to prove ownership.

Why this answer

When validating an Event Grid subscription, your webhook must respond to the `Microsoft.EventGrid.SubscriptionValidationEvent` by echoing back the validation code.

46
MCQeasy

Your application publishes events to an Azure Event Grid custom topic. You need to inspect the operational health and delivery success metrics of your event subscriptions. Where should you view these metrics natively in the Azure Portal?

A.The Metrics blade of the Event Grid Topic or Domain in the Azure Portal
B.The Azure Storage Account Access Logs
C.The Service Bus Explorer tool
D.The App Service Kudu diagnostic console
AnswerA

Azure Monitor integrates directly into Azure Event Grid resources, providing native charts for delivery metrics.

Why this answer

Azure Monitor and Event Grid's built-in Metrics blade provide visual charts for published events, delivery success, delivery failure, and latency.

47
MCQmedium

You are building an event-driven application where messages sent to an Azure Service Bus queue must not be processed until a specific date and time in the future (e.g., 2 hours from now). What property should you set on the outgoing message?

A.TimeToLive
B.LockDuration
C.ScheduledEnqueueTimeUtc
D.SequenceNumber
AnswerC

ScheduledEnqueueTimeUtc delays message availability in the queue until the designated timestamp.

Why this answer

Azure Service Bus supports scheduled messaging. You can set the ScheduledEnqueueTimeUtc property on a message so that it becomes available for consumption only at the specified time.

48
MCQeasy

You are developing a serverless application using Azure Functions that reacts to Azure Blob Storage creation events. Which event schema format should your function code expect by default when triggered by an Event Grid subscription?

A.Azure Event Grid schema
B.Apache Kafka record batch schema
C.AMQP 1.0 message envelope
D.SOAP XML envelope
AnswerA

Azure services natively publish events using the Event Grid event schema unless configured otherwise.

Why this answer

Event Grid sends events using either the CloudEvents 1.0 schema or the Event Grid schema. The default Azure Event Grid schema includes fields like id, topic, subject, data, eventType, and eventTime.

49
MCQmedium

You are designing a multi-tenant AI document processing system. Tenants upload documents, and events are dispatched via Azure Event Grid. You need to ensure that tenant isolation is maintained and that events are securely delivered to tenant-specific webhook endpoints using Azure AD (Entra ID) authentication. Which authentication mechanism should you configure on the Event Grid subscription?

A.Configure a Managed Identity and Microsoft Entra ID authentication on the Event Grid webhook subscription destination.
B.Configure a Shared Access Signature (SAS) token on the Event Grid topic endpoint.
C.Attach an IP firewall rule on the Event Grid namespace to restrict delivery sources.
D.Enable Basic Authentication with a static API key in the Event Grid subscription schema settings.
AnswerA

Event Grid supports native Azure AD authentication using managed identities to securely push events to webhook endpoints.

Why this answer

Event Grid supports delivering events to webhook endpoints secured by Microsoft Entra ID by configuring an Azure AD application and managed identity.

50
Multi-Selecthard

Your enterprise AI solution utilizes Azure Service Bus Premium. Which THREE features are exclusively available in the Premium messaging tier (or require Premium) compared to the Standard tier? Each correct answer represents a differentiating feature.

Select 3 answers
A.Dedicated resource allocation (isolated CPU and memory per namespace)
B.Auto-inflate for automatically scaling messaging units
C.Creation of brokered message queues and topics
D.Basic message session support for FIFO ordering
E.Virtual Network (VNet) service endpoints and private endpoints
AnswersA, B, E

Premium namespaces run on dedicated hardware resources.

Why this answer

Service Bus Premium provides VNet integration, Auto-inflate, and higher maximum message sizes or dedicated resource isolation.

51
MCQhard

You are implementing distributed tracing across an event-driven AI workflow that passes messages from Azure Service Bus to Azure Functions, and finally to an Azure Cosmos DB database. Which mechanism should you use to propagate correlation context between these services?

A.Enabling Azure Monitor diagnostic logs on the storage account.
B.Using AMQP 1.0 session locks to lock the trace state across network boundaries.
C.W3C Trace Context standard HTTP headers (such as traceparent) propagated through Service Bus message user properties.
D.Custom GUID generation stored exclusively in the Event Grid event subject field.
AnswerC

Modern Azure SDKs automatically inject W3C trace headers into Service Bus message properties, enabling end-to-end distributed tracing.

Why this answer

OpenTelemetry and W3C Trace Context standards (using headers like `traceparent`) are automatically injected and propagated by Azure Service Bus client libraries and Azure Functions bindings.

52
MCQmedium

You are configuring an Azure Service Bus queue. Business requirements state that messages must automatically expire if they are not consumed within 30 minutes. Which property should you set on the queue definition?

A.DuplicateDetectionHistoryTimeWindow
B.DefaultMessageTimeToLive
C.LockDuration
D.AutoDeleteOnIdle
AnswerB

DefaultMessageTimeToLive defines the lifespan of messages in the queue before expiration.

Why this answer

Azure Service Bus allows you to set the DefaultMessageTimeToLive property on a queue or subscription. Messages older than this duration are automatically moved to the dead-letter queue or discarded.

53
MCQeasy

You are building an event-driven workflow where an external partner application needs to send custom events to your Azure backend. You decide to use Azure Event Grid Custom Topics. When the partner publishes an event, which event schema format must the JSON payload adhere to?

A.OData v4 batch request format
B.SOAP 1.2 XML envelope format
C.CloudEvents v1.0 schema or Event Grid schema
D.AMQP 1.0 message format exclusively
AnswerC

Event Grid supports both the standardized CloudEvents v1.0 schema and the native Event Grid schema for custom topics.

Why this answer

Azure Event Grid supports the CloudEvents v1.0 schema as well as the native Event Grid schema for custom topics.

54
Multi-Selectmedium

Your enterprise system uses Azure Service Bus. Which TWO mechanisms can you implement to handle 'poison' or repeatedly failing messages? (Choose two)

Select 2 answers
A.Configuring Auto-Inflate on the Service Bus namespace
B.Enabling Event Grid advanced filters on the queue
C.Setting the Partition Key to a null value
D.Configuring Max Delivery Count and automatic dead-lettering
E.Explicitly calling DeadLetterMessageAsync() in application code upon processing failure
AnswersD, E

When delivery attempts exceed Max Delivery Count, Service Bus automatically moves the message to the DLQ.

Why this answer

Poison messages are handled using the Dead-Letter Queue (DLQ) and setting a Max Delivery Count on the queue or subscription.

55
MCQmedium

You are implementing an asynchronous AI processing pipeline using Azure Event Hubs. Multiple worker instances consume events from the same Event Hub. To prevent duplicate processing and ensure load balancing across workers, how should you manage consumer checkpoints?

A.Configure Azure Service Bus auto-forwarding from Event Hubs to a queue.
B.Use the Azure Event Hubs EventProcessorClient with an Azure Blob Storage checkpoint store.
C.Set the Event Hub partition retention period to zero.
D.Write custom code to maintain consumer offsets in a local memory cache on each worker instance.
AnswerB

The EventProcessorClient coordinates partition ownership across instances and stores checkpoints in Azure Blob Storage.

Why this answer

Using the Azure Event Hubs `EventProcessorClient` library automatically handles load balancing across partitions and persists checkpoints to an Azure Blob Storage container.

56
MCQmedium

You are writing a Python worker application that consumes messages from an Azure Service Bus queue. To prevent message loss during unexpected application crashes, you need to ensure that messages are locked while being processed and only deleted from the queue after successful processing. Which receive mode should you use?

A.Deferred mode
B.SessionLock mode
C.PeekLock mode
D.ReceiveAndDelete mode
AnswerC

PeekLock locks the message in the broker, giving the worker time to process it safely before settling the message.

Why this answer

PeekLock mode receives the message and locks it in the broker for a specified lock duration, preventing other consumers from processing it. The application must explicitly call complete() to delete it or abandon/dead-letter it on failure.

57
MCQeasy

You are designing an AI application that needs to route real-time telemetry events from thousands of IoT devices to multiple downstream serverless functions simultaneously. Which Azure service should you use as the event broker?

A.Azure Service Bus Queues
B.Azure Event Hubs
C.Azure Event Grid
D.Azure Blob Storage
AnswerC

Event Grid natively supports a pub/sub model for routing events to multiple endpoints like Azure Functions.

Why this answer

Azure Event Grid is designed for reactive programming and reliable event routing at scale, making it ideal for routing telemetry metadata or state changes to serverless functions.

58
MCQeasy

Your application uses Azure Event Grid to deliver events to an Azure Function webhook. Due to a downstream database outage, the Azure Function returns HTTP 500 errors. How does Event Grid handle event delivery when the endpoint fails?

A.Event Grid stops the event subscription until manually restarted by an administrator.
B.Event Grid immediately discards the event upon receiving the first HTTP 500 error.
C.Event Grid automatically migrates the event to an Azure Service Bus queue.
D.Event Grid retries delivery using an exponential backoff retry policy for up to 24 hours.
AnswerD

Event Grid automatically retries failed deliveries using a backoff schedule, dropping or dead-lettering after the retry period expires.

Why this answer

Event Grid implements a robust retry policy with exponential backoff and jitter for up to 24 hours by default. If delivery still fails, events can be dead-lettered to a storage account if configured.

59
Multi-Selecthard

Your AI processing pipeline requires high-throughput streaming ingestion and retention of telemetry data. Which THREE features or capabilities are native to Azure Event Hubs? Each correct answer represents a complete capability.

Select 3 answers
A.Event Hubs Capture for automatically batching and saving stream data to Azure Storage
B.Native webhook push delivery for discrete serverless event triggers
C.Consumer Groups enabling multiple independent applications to read the stream
D.Partitioned consumer architecture allowing parallel stream processing
E.Automatic dead-lettering of messages exceeding a MaxDeliveryCount threshold
AnswersA, C, D

Event Hubs Capture automatically archives streaming data into storage.

Why this answer

Azure Event Hubs provides partitioned architecture, consumer groups for independent reading, and Event Hubs Capture for long-term storage.

60
Multi-Selectmedium

Your application publishes messages to an Azure Service Bus queue. Which TWO methods can a C# .NET worker use to settle a message after successful processing? (Choose two)

Select 2 answers
A.PeekLockMessageAsync()
B.ScheduleMessageAsync()
C.DeadLetterMessageAsync()
D.CreateMessageBatchAsync()
E.CompleteMessageAsync()
AnswersC, E

DeadLetterMessageAsync moves the message to the DLQ, which is a final settlement disposition.

Why this answer

After receiving a message in PeekLock mode, a worker can settle it by calling CompleteMessageAsync or DeferMessageAsync (or AbandonMessageAsync / DeadLetterMessageAsync). The question asks for settling after successful processing, which is `CompleteMessageAsync()`. Wait, let's look at the settlement options: CompleteMessageAsync and DeadLetterMessageAsync or AbandonMessageAsync.

To settle a message (meaning finalize its disposition), methods are `CompleteMessageAsync`, `AbandonMessageAsync`, `DeferMessageAsync`, `DeadLetterMessageAsync`. Specifically for successful processing, it is `CompleteMessageAsync`. Let's select two settlement disposition methods.

61
MCQeasy

Your organization requires that all data transmitted to an Azure Service Bus namespace is encrypted in transit using Transport Layer Security (TLS). What is the minimum required TLS version enforced by modern Azure Service Bus secure baselines?

A.SSL 3.0
B.TLS 1.2
C.Plaintext HTTP with custom Base64 encoding
D.TLS 1.0
AnswerB

TLS 1.2 is the mandatory minimum standard for secure encrypted communications in Azure PaaS services.

Why this answer

Azure enforces TLS 1.2 as the minimum secure baseline for all modern Azure PaaS services, including Service Bus, Event Hubs, and Event Grid.

62
MCQeasy

Your organization uses Azure Event Grid to route IoT device lifecycle events. You want to ensure that events published to your custom topic are encrypted at rest using Microsoft-managed keys by default. Which action is required to enable this?

A.You must enable Event Hubs Capture on the topic.
B.You must configure a Storage Account dead-letter container.
C.No action is required; encryption at rest using Microsoft-managed keys is enabled by default.
D.You must link an Azure Key Vault instance during topic creation.
AnswerC

Azure automatically encrypts all data at rest in Event Grid topics using platform-managed keys.

Why this answer

Azure platform services encrypt data at rest by default using Microsoft-managed keys without requiring any explicit configuration.

63
MCQhard

You are architecting an AI-driven video analytics pipeline using Azure Event Hubs. You need to ensure that frames belonging to the exact same video session are processed in strict chronological order by the same backend stream analytics worker. How should you partition your Event Hub?

A.Increase the consumer group count to match the number of active video sessions.
B.Set the message TTL to zero and enable capture mode on the Event Hub namespace.
C.Include the video session ID as the Partition Key when publishing events to the Event Hub.
D.Deploy an Azure Service Bus Session-enabled queue in front of the Event Hubs ingestion layer.
AnswerC

Event Hubs hashes the partition key to map it to a specific partition, ensuring FIFO order for that key.

Why this answer

To guarantee ordered processing for a specific entity, you must use a Partition Key when sending events to Event Hubs. All events with the same partition key are automatically routed to the same underlying partition.

64
MCQeasy

Your team is building an AI document parser. When a user uploads a PDF to Azure Blob Storage, an event triggers an Azure Function. You want to view the delivery success rate and latency metrics of these events in the Azure Portal. Which Azure service dashboard provides these metrics out-of-the-box?

A.Azure Container Apps Health Probes
B.Azure Cosmos DB Insights
C.Azure AI Services Dashboard
D.Azure Event Grid Metrics
AnswerD

Event Grid provides native Azure Monitor metrics for tracking delivery success, failures, and latency.

Why this answer

Azure Event Grid provides built-in metrics in the Azure Portal, such as delivery success, delivery latency, and matched events.

65
MCQeasy

Your organization uses Azure Event Hubs to ingest telemetry from smart meters. You want to grant an external analytics vendor read-only access to the Event Hub data without sharing your master connection string or account keys. What should you create?

A.An Event Grid subscription key with administrator rights.
B.A SAS rule with 'Manage' permissions.
C.A Storage Account connection string with Contributor access.
D.A SAS authorization rule with 'Listen' permissions only, or assign the Azure Event Hubs Data Receiver RBAC role.
AnswerD

Granting only Listen permissions ensures the vendor can read streams but cannot send data or manage the namespace.

Why this answer

You can create a Shared Access Signature (SAS) authorization rule specifically for the Event Hub with 'Listen' permissions only, or use Microsoft Entra ID RBAC (Azure Event Hubs Data Receiver role).

66
MCQmedium

Your enterprise application uses Azure Service Bus Topics. A specific downstream billing system needs to receive only messages where the 'Region' property in the message application properties equals 'NorthAmerica'. What should you create on the Service Bus subscription?

A.An Event Grid Advanced Filter on the namespace topic
B.A Storage Queue access policy
C.An Event Hubs Partition Key routing rule
D.A SQL Filter or Correlation Filter on the subscription
AnswerD

Filters on subscriptions dictate which topic messages are copied into the subscriber's virtual queue.

Why this answer

Service Bus subscriptions support SQL filters and correlation filters. A correlation filter or SQL filter (e.g., Region = 'NorthAmerica') can be applied to the subscription to filter incoming topic messages.

67
MCQmedium

You are configuring an Azure Event Grid system to route custom application events to an Azure Function webhook. To ensure secure communication, you decide to use Event Grid custom topics with Azure AD authentication. Which configuration step is required on the Azure Function endpoint to authenticate incoming events from Event Grid?

A.Configure the Azure Function app with an Event Grid system-assigned managed identity and grant it the Event Grid Data Sender role.
B.Install the Microsoft.Azure.EventGrid NuGet package and configure a SAS token generated from the Function App settings.
C.Enable mutual TLS (mTLS) authentication on the Azure Function App and upload the Event Grid root CA certificate.
D.Implement validation handshake logic in the Azure Function code to respond to the Event Grid subscription validation event.
AnswerD

Endpoints must validate their ownership by responding to the validation handshake request sent by Event Grid upon creation.

Why this answer

Azure Event Grid supports Webhook validation handshake by sending a Subscription Validation Event containing a validation code, which the webhook endpoint must echo back.

68
MCQmedium

Your Azure Event Hubs namespace is experiencing high throughput spikes from AI inference nodes. You notice that some client producers are receiving 'QuotaExceededException' errors. What is the root cause and how should you remediate it?

A.Ingress or egress limits have been exceeded; enable Auto-Inflate on the Event Hubs namespace.
B.The partition count has been exceeded; decrease the number of consumer groups.
C.The SAS token has expired; regenerate the connection string.
D.The message retention period has expired; increase retention days.
AnswerA

Auto-Inflate automatically scales up the number of Throughput Units based on traffic load, preventing throttling.

Why this answer

Event Hubs throughput is governed by Throughput Units (TUs) or Processing Units (PUs) in dedicated clusters. Exceeding ingress or egress limits triggers QuotaExceededException. Remediation involves scaling up TUs or enabling Auto-Inflate.

69
MCQeasy

An AI inference pipeline uses Azure Event Hubs to ingest telemetry. Your consumer application needs to read events starting from a specific timestamp to replay historical data for model retraining. Which feature of Event Hubs enables this capability?

A.Starting position based on Enqueued Time
B.Event Hubs Capture window
C.Event Grid event retention policy
D.Service Bus message lock duration
AnswerA

Event Hubs allows consumers to start reading from a specific enqueued time stamp to replay historical streams.

Why this answer

Event Hubs consumer groups allow multiple applications to read the stream independently, and you can specify a starting offset, sequence number, or offset datetime (enqueue time) when creating an EventProcessorClient or partition receiver.

70
MCQeasy

Your application publishes custom events to an Azure Event Grid topic. You want to ensure that the webhook endpoint receiving these events can verify that the request genuinely originated from Event Grid. Which validation mechanism should your webhook implement?

A.Validate the validation handshake request during setup and check the aeg-signature header on incoming event deliveries.
B.Require mutual TLS client certificates issued by the consumer app.
C.Verify the client's SQL Server connection string.
D.Check that the incoming IP address matches Azure Blob Storage storage IPs.
AnswerA

Checking the validation handshake and signature headers ensures the endpoint only accepts authentic Event Grid payloads.

Why this answer

Event Grid sends a validation handshake (Subscription Validation event) when creating a subscription, and subsequent events include signature validation headers (such as `aeg-signature`) if configured, or webhook validation tokens.

71
MCQhard

Your enterprise AI system uses Azure Service Bus. A background job processes messages from a subscription. If an exception occurs, the message must be abandoned, but you want to ensure that after 5 failed delivery attempts, the message is automatically moved to a dead-letter queue without custom retry logic in code. How should you configure this?

A.Implement a Session-based retry policy with an exponential backoff timer.
B.Set the MaxDeliveryCount property on the Service Bus subscription to 5.
C.Enable DeadLetteringOnMessageExpiration on the subscription settings.
D.Configure the LockDuration property to 5 seconds.
AnswerB

When delivery count exceeds MaxDeliveryCount, Service Bus automatically dead-letters the message.

Why this answer

You should configure the MaxDeliveryCount property on the Service Bus subscription to 5. Once exceeded, Service Bus automatically moves the message to the dead-letter sub-queue.

72
Multi-Selecthard

When designing an Azure Event Hubs streaming pipeline for AI telemetry, which THREE components or configurations are required to consume events reliably using the EventProcessorClient? Each correct answer represents a necessary element.

Select 3 answers
A.A Checkpoint Store (such as an Azure Blob Storage container client)
B.An active Azure Service Bus subscription connection
C.An Event Hubs Consumer Group name
D.An Event Grid custom topic endpoint URL
E.Event Hubs connection string and Event Hub name
AnswersA, C, E

The processor needs a checkpoint store to persist consumer progress and coordinate partitions.

Why this answer

Using EventProcessorClient requires an Event Hubs connection string, a consumer group, and a checkpoint store (such as Azure Blob Storage).

73
MCQmedium

Your application sends messages to an Azure Service Bus queue. A downstream worker needs to postpone processing of a specific message until a later time without losing its place in the queue or dead-lettering it. What method should the worker invoke?

A.CompleteMessageAsync()
B.DeferMessageAsync()
C.AbandonMessageAsync()
D.DeadLetterMessageAsync()
AnswerB

Deferral sets the message aside in a deferred state, preserving its sequence number for later retrieval.

Why this answer

Service Bus supports message deferral. A receiver can call `DefferMessageAsync()` on a received message, which moves it into a deferred state where it can only be retrieved by its unique `SequenceNumber` later.

74
MCQhard

You are integrating an Azure Event Hubs namespace with Azure Machine Learning for real-time model training. You need to archive raw telemetry data into Azure Data Lake Storage Gen2 in Apache Parquet format without writing custom code. Which feature should you enable?

A.Event Grid system topic with a Storage Blob export endpoint
B.Azure Stream Analytics job with a Blob output sink
C.Service Bus Geo-Disaster Recovery replication
D.Event Hubs Capture
AnswerD

Capture allows seamless, continuous batching of streaming data to storage in configurable time and size intervals.

Why this answer

Event Hubs Capture automatically packages streaming data into Avro or Parquet files and stores them directly in Azure Blob Storage or Azure Data Lake Storage Gen2.

75
MCQhard

You are troubleshooting a connection issue where an on-premises worker application cannot connect to an Azure Event Hubs namespace over AMQP port 5671 due to strict corporate firewall rules. Only port 443 outbound traffic is allowed. How can you configure the client connection to bypass this restriction?

A.Deploy an Azure VPN Gateway on the local workstation.
B.Configure the Event Hub client connection to use AMQP over WebSockets (port 443).
C.Switch the connection string to use an Event Grid webhook protocol.
D.Open an Azure Support ticket to whitelist port 5671 on the Azure backbone router.
AnswerB

AMQP over WebSockets encapsulates AMQP frames inside standard HTTPS (port 443) web socket traffic, bypassing strict outbound port blocks.

Why this answer

Azure Event Hubs and Service Bus client libraries support AMQP over WebSockets (port 443), allowing clients to tunnel AMQP traffic through HTTPS firewalls.

Page 1 of 2 · 128 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Event Driven Integration questions.