フリー問題

Salesforce Certified MuleSoft Platform Integration Architect のフリー問題 19 / 20 問目

問題文

A flow reads files that are usually 3 megabytes but occasionally 400 megabytes, and the payload is read twice in the flow. The team must avoid running out of heap. Which streaming arrangement fits?

選択肢

  1. Switch to the non-repeatable strategy, because it holds no copy of the stream and passes the content straight through to the component that reads it.
  2. Switch to the repeatable in-memory strategy, because it holds the whole stream in memory and grows the buffer in fixed steps until the whole content fits inside it.
  3. Keep the repeatable file-store strategy, because it holds the first part of the stream in memory and writes the rest to disk when the content grows past that.
  4. Keep the repeatable file-store strategy, but raise the in-memory part to the size of the largest file so that the content never has to go to the disk.

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

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