フリー問題

Developing AI Cloud Solutions on Azure (AI-200) のフリー問題 12 / 20 問目

問題文

A function is triggered by a queue and must, within the same invocation, write to two different containers such that either both writes happen or neither does. What is the limitation?

選択肢

  1. The limitation disappears if both containers are placed in the same account and share a partition key value, because writes then land in the same logical partition
  2. The function can enable a distributed transaction setting in its host configuration, which coordinates the two writes through a two-phase commit
  3. Output bindings provide a transaction across all bound targets, so declaring both writes as bindings gives the all-or-nothing behavior the requirement asks for
  4. There is no cross-container transaction, so the function must be designed to be safely repeatable and to reconcile partial writes after a failure

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。