フリー問題

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

問題文

A cheese maker has three requirements on Batch__c: set a default grade on the record being saved, update the related Vat__c records when the grade changes, and notify an external quality system. Which combination fits the three requirements?

選択肢

  1. A before-save automation for the default on the same record, an after-save automation for the related records, and an asynchronous callout or a platform event for the external notification.
  2. A before-save automation for the default, an after-save automation for the related records, and a synchronous callout from the after-save trigger, because at that point the record has already been written to the database and the transaction therefore has no pending work left to settle.
  3. An after-save automation for all three, because the record must exist before any of the work can be done.
  4. A before-save automation for all three, because doing everything in one place keeps the order predictable and avoids a second pass through the save order, so the vat records are written in the same pass.

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

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