フリー問題

Salesforce Certified Platform Developer のフリー問題 18 / 20 問目

問題文

A cosmetics retailer's developer fixed a production defect by editing the class directly in the Developer Console because the queue was long. The next scheduled release overwrote the fix. What practice would have prevented this?

選択肢

  1. Make the change in the local project, commit it, and deploy it, because the version control system is meant to be the source of truth and anything edited only in an org is invisible to the next deployment.
  2. Make the change in the local project and deploy it, and additionally retrieve the org's version first with source tracking so that the conflict is reported and the local copy can be overwritten before the fix is committed.
  3. Use the Developer Console only for reading logs and running queries, never for editing, so that the project held in version control stays the one place where each of these classes is actually changed and kept.
  4. Edit in the Developer Console but immediately mark the class in the org so the next deployment skips it, because a component that a deployment has been told to ignore keeps whatever version the org happens to have.

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

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