フリー問題

SnowPro Specialty: Native Apps のフリー問題 7 / 20 問目

問題文

A code reviewer looks at a stored procedure in an app that builds a SQL string from a procedure argument and runs it. What does the framework's guidance say about this?

選択肢

  1. The security scan rejects the version automatically, so no manual review of this particular pattern is needed before publishing it.
  2. It is acceptable because the app cannot reach the consumer's own objects, so the worst case is confined to data the consumer already sees.
  3. It is acceptable if the procedure uses restricted caller's rights, because that limits the statement to the caller's privileges.
  4. Every SQL command that takes user input should use bound parameters, because all procedures in an app run as the application and have access to everything inside it.

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

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