Which statement is true regarding the use of user input as part of a dynamic SOQL query?

Which statement is true regarding the use of user input as part of a dynamic SOQL query?
A . Free text input should not be allowed, to avoid SOQL injection
B . The String.format() method should be used to prevent injection
C . Quotes should be escaped to protect against SOQL injection
D . The string should be URL encoded by the input form to prevent errors

Answer: C

Latest PDII Dumps Valid Version with 280 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments