フリー問題

Certified Backstage Associate のフリー問題 17 / 20 問目

問題文

A team has written a piece of functionality that two of their backend plugins both need. Which of the three kinds of thing they can add to a backend fits, and what constraint follows from choosing it?

選択肢

  1. A service, whose reference has to carry a globally unique identifier and whose implementation cannot depend on a per-plugin one if it is declared at the root scope.
  2. A plugin, which the two others can then call directly in code.
  3. None of the three; the code has to be duplicated.
  4. A module, whose extension points can be reached by any plugin in the same backend, which is how a single module can serve two plugins that need what it provides.

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

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