フリー問題

Salesforce Certified Heroku Architect のフリー問題 4 / 20 問目

問題文

An insurance portal runs heavy analytical queries that scan large date ranges. These queries slow down the customer-facing pages that share the same Heroku Postgres database. The architect wants the reports to stop competing with transactions without changing the reporting SQL. What should be recommended?

選択肢

  1. Add a follower of the primary database and point the reporting queries at it, because a follower is a continuously updated copy that serves reads.
  2. Raise the statement timeout on the primary so the long queries are cut off before they affect the pages, and the reporting job then retries each range until it fits inside the new limit.
  3. Create a fork of the primary database, schedule the fork to be recreated every night, and run the reports against whichever fork is most recent so that the reporting workload is always isolated from the primary.
  4. Move the reporting queries into a worker process type on the same database.

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

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