You are developing an application that will use a message-based delivery system. The solution must be able to store over 90-GB of data and provide an audit trail of all messages.
Which messaging solution should you use?
Select only one answer.
A. Azure Functions
B. Azure Queue Storage
C. Azure Service Bus queues
D. Azure Service Bus topics
C
技巧:排除明顯錯誤選項,在沒有明顯錯誤的選項中選擇最合理的選項。
A. 不正確。Azure Functions 是一個事件驅(qū)動的計算服務(wù),用于運(yùn)行小塊的代碼(“函數(shù)”)響應(yīng)各種事件。它本身不提供消息存儲或隊列系統(tǒng)的服務(wù)。不適合作為獨立的消息傳遞解決方案,無法滿足審計跟蹤的需求。
B. 不正確。Azure Queue Storage 提供了一個簡單的消息隊列服務(wù),適用于輕量級的消息傳遞場景。它不提供內(nèi)置的消息審計跟蹤功能,因此無法滿足審計需求。
C. 正確。Azure Service Bus queues 是一個企業(yè)級的消息隊列服務(wù),支持事務(wù)、消息會話和死信隊列等高級功能。它支持大規(guī)模消息存儲(超過90GB)并提供消息審計跟蹤功能。它能夠滿足存儲和審計的需求,
D. 不正確。Azure Service Bus topics 提供了發(fā)布/訂閱消息傳遞模式,允許消息被多個訂閱者接收。客戶并未提到這個需求。