Salesforce
PDII · Question #84
PDII Question #84: Real Exam Question with Answer & Explanation
Sign in or unlock PDII to reveal the answer and full explanation for question #84. The question stem and answer options stay visible for context.
Question
Which statement is true regarding the use of user input as part of a dynamic SOQL query?
Options
- AFree text input should not be allowed, to avoid SOQL injection
- BThe String.format() method should be used to prevent injection
- CQuotes should be escaped to protect against SOQL injection
- DThe string should be URL encoded by the input form to prevent errors
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.