フリー問題

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

問題文

The same worker image must run in a test environment against a test database and in production against the production database. Which arrangement follows the practices in this exam's scope?

選択肢

  1. One image that discovers the correct database at startup by trying both and using whichever responds, so that no environment-specific configuration is needed
  2. One image with the connection information supplied through platform settings, and secrets held in a vault referenced from those settings
  3. Two images built from the same source, each carrying its own environment's connection information so that a misconfigured setting can never point at the wrong database
  4. One image containing both connection strings, selecting between them with a value compiled in at build time so that the choice is fixed and cannot be changed by mistake

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

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